1--TEST--
2implode() function
3--FILE--
4<?php
5echo implode(array())."\n";
6echo implode('nothing', array())."\n";
7echo implode(array('foo', 'bar', 'baz'))."\n";
8echo implode(':', array('foo', 'bar', 'baz'))."\n";
9echo implode(':', array('foo', array('bar', 'baz'), 'burp'))."\n";
10?>
11--EXPECTF--
12foobarbaz
13foo:bar:baz
14
15Warning: Array to string conversion in %s on line %d
16foo:Array:burp
17