mirror of
https://github.com/php/php-src.git
synced 2024-12-19 15:00:15 +08:00
12 lines
199 B
PHP
12 lines
199 B
PHP
--TEST--
|
|
Calling get_called_class() outside a class
|
|
--FILE--
|
|
<?php
|
|
|
|
var_dump(get_called_class());
|
|
|
|
?>
|
|
--EXPECTF--
|
|
Warning: get_called_class() called from outside a class in %s on line %d
|
|
bool(false)
|