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--
18foobarbaz
19foo:bar:baz
20foo:Array:burp
21Array to string conversion
22