summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAntony Dovgal <tony2001@php.net>2007-05-17 17:34:23 +0000
committerAntony Dovgal <tony2001@php.net>2007-05-17 17:34:23 +0000
commitd05cf2f650c088e68a3e0b53179fb4982f2e2d33 (patch)
tree0ed1786cab01a8970f62aeb238131eb8d546d24f
parent9c99b709a72d962c6cefb272b0d7d43d4ceb353d (diff)
downloadphp-git-d05cf2f650c088e68a3e0b53179fb4982f2e2d33.tar.gz
add test
-rw-r--r--Zend/tests/concat_003.phpt11
1 files changed, 11 insertions, 0 deletions
diff --git a/Zend/tests/concat_003.phpt b/Zend/tests/concat_003.phpt
new file mode 100644
index 0000000000..013d46da3d
--- /dev/null
+++ b/Zend/tests/concat_003.phpt
@@ -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