mirror of
https://github.com/php/php-src.git
synced 2024-09-28 05:16:12 +00:00
11 lines
339 B
PHP
11 lines
339 B
PHP
--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
|
|
--UEXPECTF--
|
|
Fatal error: Non-static method ReflectionClass::getName() cannot be called statically in %s on line 2
|