php-src/Zend/tests/isset_func_error.phpt
2014-06-21 18:54:13 +02:00

9 lines
209 B
PHP

--TEST--
Error message for isset(func())
--FILE--
<?php
isset(abc());
?>
--EXPECTF--
Fatal error: Cannot use isset() on the result of an expression (you can use "null !== expression" instead) in %s on line %d