Test: /ext/standard/tests/file/file_get_contents_variation8.phpt - Version 7.3.11    

There are 2 different diffs reported by users for this test.

Count Diff
3 (75%)
039+ string(0) ""
040- Warning: file_get_contents(php/php): failed to open stream: No such file or directory in %s on line %d
041- bool(false)
042-
1 (25%)
007+ string(1249) "--TEST--
008+ Test stream_isatty with redirected STDIN/STDERR
009+ --SKIPIF--
010+ --CAPTURE_STDIO--
011+ STDIN STDERR
012+ --FILE--
013+ STDIN (constant): bool(true)
014+ STDIN (fopen): bool(true)
015+ STDIN (php://fd/0): bool(true)
016+ STDOUT (constant): bool(false)
017+ STDOUT (fopen): bool(false)
018+ STDOUT (php://fd/1): bool(false)
019+ STDERR (constant): bool(false)
020+ STDERR (fopen): bool(false)
021+ STDERR (php://fd/2): bool(false)
022+ Not a stream:
023+ Warning: stream_isatty() expects parameter 1 to be resource, string given in /home/maker/php-7.3.11/tests/output/stream_isatty.inc on line 23
007-
008- Warning: file_get_contents(1): failed to open stream: No such file or directory in %s on line %d
009- bool(false)
010- -- Iteration 2 --
011-
012- Warning: file_get_contents(): Filename cannot be empty in %s on line %d
013- bool(false)
014- -- Iteration 3 --
015-
016- Warning: file_get_contents(): Filename cannot be empty in %s on line %d
018- -- Iteration 4 --
019-
020- Warning: file_get_contents(): Filename cannot be empty in %s on line %d
021- bool(false)
022- -- Iteration 5 --
023-
024- Warning: file_get_contents( ): failed to open stream: No such file or directory in %s on line %d
025+ Invalid stream (php://temp): bool(false)
026+ Invalid stream (php://input): bool(false)
027+ Invalid stream (php://memory): bool(false)
028+ File stream: bool(false)
029+ --EXPECTF--
030+ STDIN (constant): bool(false)
031+ STDIN (fopen): bool(false)
032+ STDIN (php://fd/0): bool(false)
033+ STDOUT (constant): bool(true)
034+ STDOUT (fopen): bool(true)
035+ STDOUT (php://fd/1): bool(true)
036+ STDERR (constant): bool(false)
037+ STDERR (fopen): bool(false)
038+ STDERR (php://fd/2): bool(false)
039+ Not a stream:
040+ Warning: stream_isatty() expects parameter 1 to be resource, string given in %s on line %d
042+ Invalid stream (php://temp): bool(false)
043+ Invalid stream (php://input): bool(false)
044+ Invalid stream (php://memory): bool(false)
045+ File stream: bool(false)
046+ "
047+ -- Iteration 2 --
048+
049+ Warning: file_get_contents(): Filename cannot be empty in %s/file_get_contents_variation8.php on line 29
050+ bool(false)
051+ -- Iteration 3 --
052+
053+ Warning: file_get_contents(): Filename cannot be empty in %s/file_get_contents_variation8.php on line 29
054+ bool(false)
055+ -- Iteration 4 --
056+
057+ Warning: file_get_contents(): Filename cannot be empty in %s/file_get_contents_variation8.php on line 29
058+ bool(false)
059+ -- Iteration 5 --
060+
061+ Warning: file_get_contents( ): failed to open stream: No such file or directory in %s/file_get_contents_variation8.php on line 29
062+ bool(false)