summaryrefslogtreecommitdiff
path: root/ext/reflection/tests/ReflectionClass_getName_error1.phpt
blob: 5590137f894c8813dae9154f3684385d8d2ab7ff (plain)
1
2
3
4
5
6
7
8
--TEST--
ReflectionClass::getName - forbid static invocation
--FILE--
<?php
ReflectionClass::getName();
?>
--EXPECTF--
Fatal error: Non-static method ReflectionClass::getName() cannot be called statically in %s on line 2