Test: /ext/standard/tests/file/bug69442.phpt - Version 7.4.1        

Bug #69442 proc_open with PTY closes incorrect filedescriptor
Submitted: 2015-04-14 08:43:24 Modified: 2017-01-06 07:02:13
From: jthijssen+php Assigned: krakjoe
Status: Closed Package: Program Execution
PHP Version: 5.6.8RC1 OS: Ubuntu

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

Count Diff
2 (40%)
003+
004+ Notice: fread(): read of 8192 bytes failed with errno=5 Input/output error in %s/bug69442.php on line 9
005+ type 1 bool(false)
006+
007+ Notice: fread(): read of 8192 bytes failed with errno=5 Input/output error in %s/bug69442.php on line 9
008+ type 2 bool(false)
003- type 1 string(0) ""
004- type 2 string(0) ""
2 (40%)
001+ Warning: proc_open(): pty pseudo terminal not supported on this system in %s/bug69442.php on line 6
002+
003+ Warning: proc_close() expects parameter 1 to be resource, bool given in %s/bug69442.php on line 14
001- type 0 string(5) "foo
002- "
003- type 1 string(0) ""
004- type 2 string(0) ""
005- type 3 string(3) "42
006- "
1 (20%)
001+ type 0 string(3) "foo"
002+ type 1 string(2) "
001- type 0 string(5) "foo
003- type 1 string(0) ""
004- type 2 string(0) ""
004+
005+ Notice: fread(): read of 8192 bytes failed with errno=5 Input/output error in %s/bug69442.php on line 9
006+ type 2 bool(false)