Annotation of embedaddon/php/ext/standard/tests/strings/implode.phpt, revision 1.1
1.1 ! misho 1: --TEST--
! 2: implode() function
! 3: --INI--
! 4: error_reporting=2047
! 5: log_errors=0
! 6: display_errors=0
! 7: track_errors=1
! 8: --FILE--
! 9: <?php
! 10: echo implode(array())."\n";
! 11: echo implode('nothing', array())."\n";
! 12: echo implode(array('foo', 'bar', 'baz'))."\n";
! 13: echo implode(':', array('foo', 'bar', 'baz'))."\n";
! 14: echo implode(':', array('foo', array('bar', 'baz'), 'burp'))."\n";
! 15: echo $php_errormsg."\n";
! 16: ?>
! 17: --EXPECTF--
! 18:
! 19:
! 20: foobarbaz
! 21: foo:bar:baz
! 22: foo:Array:burp
! 23: Array to string conversion
FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>