mirror of
https://github.com/php/php-src.git
synced 2025-01-20 10:43:40 +08:00
add test
This commit is contained in:
parent
9c99b709a7
commit
d05cf2f650
11
Zend/tests/concat_003.phpt
Normal file
11
Zend/tests/concat_003.phpt
Normal file
@ -0,0 +1,11 @@
|
||||
--TEST--
|
||||
notices when incorporating arrays into strings
|
||||
--FILE--
|
||||
<?php
|
||||
$arr = array(1,2);
|
||||
|
||||
echo "$arr\n";
|
||||
?>
|
||||
--EXPECTF--
|
||||
Notice: Array to string conversion in %s on line %d
|
||||
Array
|
Loading…
Reference in New Issue
Block a user