blob: 4a46d6970ee6639c6b6d8c105e4a9fc0b9020582 (
plain)
1
2
3
4
5
6
7
8
9
10
11
|
--TEST--
ReflectionClass::getName - forbid static invocation
--FILE--
<?php
ReflectionClass::getName();
?>
--EXPECTF--
Fatal error: Uncaught exception 'Error' with message 'Non-static method ReflectionClass::getName() cannot be called statically' in %s:2
Stack trace:
#0 {main}
thrown in %s on line 2
|