mirror of
https://github.com/php/php-src.git
synced 2024-09-21 09:57:23 +00:00
7aacc705d0
Closes GH-5958
12 lines
255 B
PHP
12 lines
255 B
PHP
--TEST--
|
|
Constant Expressions with unsupported operands 001
|
|
--FILE--
|
|
<?php
|
|
const T = array(1,2) - array(0);
|
|
?>
|
|
--EXPECTF--
|
|
Fatal error: Uncaught TypeError: Unsupported operand types: array - array in %s:%d
|
|
Stack trace:
|
|
#0 {main}
|
|
thrown in %s on line %d
|