--TEST-- Test file_put_contents() function : usage variation - obscure filenames --CREDITS-- Dave Kelsey --SKIPIF-- --FILE-- --EXPECTF-- *** Testing file_put_contents() : usage variation *** -- Iteration 0 -- 9 bytes written to: -1 -- Iteration 1 -- 9 bytes written to: 1 -- Iteration 2 -- Failed to write data to: -- Iteration 3 -- Failed to write data to: -- Iteration 4 -- Failed to write data to: -- Iteration 5 -- Warning: file_put_contents( ): failed to open stream: Permission denied in %s on line %d Failed to write data to: -- Iteration 6 -- Failed to write data to:%s -- Iteration 7 -- Warning: file_put_contents() expects parameter 1 to be string, array given in %s on line %d Failed to write data to: Array -- Iteration 8 -- Warning: file_put_contents(/no/such/file/dir): failed to open stream: %s in %s on line %d Failed to write data to: /no/such/file/dir -- Iteration 9 -- Warning: file_put_contents(php/php): failed to open stream: %s in %s on line %d Failed to write data to: php/php *** Done ***