mirror of
https://github.com/php/php-src.git
synced 2024-10-21 00:12:34 +00:00
9 lines
224 B
Plaintext
9 lines
224 B
Plaintext
|
--TEST--
|
||
|
ReflectionObject::getName - forbid static invocation
|
||
|
--FILE--
|
||
|
<?php
|
||
|
ReflectionObject::getName();
|
||
|
?>
|
||
|
--EXPECTF--
|
||
|
Fatal error: Non-static method ReflectionClass::getName() cannot be called statically in %s on line 2
|