php-src/Zend/tests/get_called_class_001.phpt
2008-05-12 17:57:21 +00:00

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)