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