mirror of
https://github.com/php/php-src.git
synced 2024-10-04 16:26:13 +00:00
6d8760677d
- altered EXPECT for parser errors. This may or may not be a Good Thing.
16 lines
196 B
PHP
16 lines
196 B
PHP
--TEST--
|
|
bitwise NOT and arrays
|
|
--FILE--
|
|
<?php
|
|
|
|
$a = array(1,2,3);
|
|
$b = array(1,2);
|
|
|
|
$a = ~$b;
|
|
var_dump($a);
|
|
|
|
echo "Done\n";
|
|
?>
|
|
--EXPECTF--
|
|
Fatal error: Unsupported operand types in %s on line %d
|