1--TEST-- 2Test join() function : usage variations - binary safe 3--FILE-- 4<?php 5/* 6 * check the working of join() when given binary input given 7*/ 8 9echo "*** Testing join() : usage variationsi - binary safe ***\n"; 10 11$glues = array( 12 ",".chr(0)." ", 13 ", " 14); 15 16$pieces = array("Red", "Green", "White", 1); 17var_dump( join($glues[0], $pieces) ); 18var_dump( join($glues[1], $pieces) ); 19 20echo "Done\n"; 21?> 22--EXPECT-- 23*** Testing join() : usage variationsi - binary safe *** 24string(23) "Red, Green, White, 1" 25string(20) "Red, Green, White, 1" 26Done 27