mirror of
https://github.com/bdnugget/php-src.git
synced 2026-11-07 17:27:30 +00:00
9 lines
224 B
PHP
9 lines
224 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
|