constant_expressions_exceptions_002.phpt 357 B

1234567891011121314
  1. --TEST--
  2. Constant Expressions with unsupported operands 002
  3. --FILE--
  4. <?php
  5. try {
  6. require("constant_expressions_exceptions.inc");
  7. } catch (Error $e) {
  8. echo "\nException: " . $e->getMessage() . " in " , $e->getFile() . " on line " . $e->getLine() . "\n";
  9. }
  10. ?>
  11. DONE
  12. --EXPECTF--
  13. Exception: Unsupported operand types: array - array in %s on line %d
  14. DONE