mirror of
https://github.com/php/php-src.git
synced 2024-10-19 15:34:25 +00:00
9 lines
221 B
PHP
9 lines
221 B
PHP
--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
|