]> granicus.if.org Git - php/commitdiff
add test
authorAntony Dovgal <tony2001@php.net>
Thu, 17 May 2007 17:34:23 +0000 (17:34 +0000)
committerAntony Dovgal <tony2001@php.net>
Thu, 17 May 2007 17:34:23 +0000 (17:34 +0000)
Zend/tests/concat_003.phpt [new file with mode: 0644]

diff --git a/Zend/tests/concat_003.phpt b/Zend/tests/concat_003.phpt
new file mode 100644 (file)
index 0000000..013d46d
--- /dev/null
@@ -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