diff options
Diffstat (limited to 'ext/standard/tests/file/file_put_contents_variation8.phpt')
-rw-r--r-- | ext/standard/tests/file/file_put_contents_variation8.phpt | 11 |
1 files changed, 4 insertions, 7 deletions
diff --git a/ext/standard/tests/file/file_put_contents_variation8.phpt b/ext/standard/tests/file/file_put_contents_variation8.phpt index f5b956faee..70456fad9f 100644 --- a/ext/standard/tests/file/file_put_contents_variation8.phpt +++ b/ext/standard/tests/file/file_put_contents_variation8.phpt @@ -22,7 +22,6 @@ $names_arr = array( -1, TRUE, FALSE, - NULL, "", " ", //this one also generates a java message rather than our own so we don't replicate php message @@ -64,18 +63,16 @@ ValueError: Path cannot be empty -- Iteration 3 -- ValueError: Path cannot be empty -- Iteration 4 -- -ValueError: Path cannot be empty --- Iteration 5 -- 9 bytes written to: ' ' --- Iteration 6 -- +-- Iteration 5 -- ValueError: file_put_contents(): Argument #1 ($filename) must not contain any null bytes --- Iteration 7 -- +-- Iteration 6 -- TypeError: file_put_contents(): Argument #1 ($filename) must be of type string, array given --- Iteration 8 -- +-- Iteration 7 -- Warning: file_put_contents(%sdir): Failed to open stream: %s in %s on line %d Failed to write data to: '%sir' --- Iteration 9 -- +-- Iteration 8 -- Warning: file_put_contents(%sphp): Failed to open stream: %s in %s on line %d Failed to write data to: '%sphp' |