php-src/Zend/tests/constant_expressions_exceptions_002.phpt
2015-05-16 16:49:14 -05:00

14 lines
367 B
PHP

--TEST--
Constant Expressions with unsupported operands 002
--FILE--
<?php
try {
require("constant_expressions_exceptions.inc");
} catch (Error $e) {
echo "\nException: " . $e->getMessage() . " in " , $e->getFile() . " on line " . $e->getLine() . "\n";
}
?>
DONE
--EXPECTF--
Fatal error: Unsupported operand types in %sconstant_expressions_exceptions.inc on line 2