mirror of
https://github.com/php/php-src.git
synced 2024-12-02 22:34:55 +08:00
cdaf35033d
By mentioning the operand types. We can do that now, as the original operand types now remain available. Closes GH-5330.
15 lines
357 B
PHP
15 lines
357 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--
|
|
Exception: Unsupported operand types: array - array in %s on line %d
|
|
DONE
|