mirror of
https://github.com/php/php-src.git
synced 2025-01-20 10:43:40 +08:00
6d8760677d
- altered EXPECT for parser errors. This may or may not be a Good Thing.
16 lines
194 B
PHP
16 lines
194 B
PHP
--TEST--
|
|
multiplying arrays
|
|
--FILE--
|
|
<?php
|
|
|
|
$a = array(1,2,3);
|
|
$b = array(1);
|
|
|
|
$c = $a * $b;
|
|
var_dump($c);
|
|
|
|
echo "Done\n";
|
|
?>
|
|
--EXPECTF--
|
|
Fatal error: Unsupported operand types in %s on line %d
|