summaryrefslogtreecommitdiff
path: root/Zend/tests/constant_expressions_exceptions_002.phpt
blob: 88c20f10cf62fedd500f46ff4449b562f0832680 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
--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--
Exception: Unsupported operand types: array - array in %s on line %d
DONE