--TEST-- casting different variables to string --FILE-- --EXPECTF-- string(6) "string" string(7) "8754456" string(0) "" string(1) "%0" string(7) "9876545" string(3) "0.1" Warning: Array to string conversion in %s on line %d string(5) "Array" Warning: Array to string conversion in %s on line %d string(5) "Array" string(0) "" string(1) "1" string(0) "" string(%d) "Resource id #%d" string(2) "10" Done