1--TEST--
2implode() function
3--INI--
4error_reporting=2047
5log_errors=0
6display_errors=0
7track_errors=1
8--FILE--
9<?php
10echo implode(array())."\n";
11echo implode('nothing', array())."\n";
12echo implode(array('foo', 'bar', 'baz'))."\n";
13echo implode(':', array('foo', 'bar', 'baz'))."\n";
14echo implode(':', array('foo', array('bar', 'baz'), 'burp'))."\n";
15echo $php_errormsg."\n";
16?>
17--EXPECTF--
18
19
20foobarbaz
21foo:bar:baz
22foo:Array:burp
23Array to string conversion
24