Edit report at https://bugs.php.net/bug.php?id=78283&edit=1
ID: 78283 Updated by: c...@php.net Reported by: v-altruo at microsoft dot com Summary: no output for explicit environment -Status: Open +Status: Verified Type: Bug Package: Testing related Operating System: Windows PHP Version: 7.4.0alpha3 -Assigned To: +Assigned To: cmb Block user comment: N Private report: N New Comment: Ah, good catch! Thanks. Previous Comments: ------------------------------------------------------------------------ [2019-07-12 20:05:43] v-altruo at microsoft dot com Description: ------------ Test fails for both NTS/TS for both x64/x86 only with opcache on. Failed Test Location: ext\standard\tests\general_functions\proc_open_array.phpt Expected result: ---------------- Empty command array: Warning: proc_open(): Command array must have at least one element in %s on line %d bool(false) Nul byte in program name: Warning: proc_open(): Command array element 1 contains a null byte in %s on line %d bool(false) Nul byte in argument: Warning: proc_open(): Command array element 2 contains a null byte in %s on line %d bool(false) Basic usage: Hello World! Environment inheritance: string(5) "ENV_1" bool(false) Explicit environment: bool(false) string(5) "ENV_2" Check that arguments are correctly passed through: array ( 0 => 'Simple', 1 => 'White space tab newline', 2 => '"Quoted"', 3 => 'Qu"ot"ed', 4 => '\\Back\\slash\\', 5 => '\\\\Back\\\\slash\\\\', 6 => '\\"Qu\\"ot\\"ed\\"', ) Actual result: -------------- Empty command array: Warning: proc_open(): Command array must have at least one element in C:\...\php-test-pack-7.4.0alpha3\ext\standard\tests\general_functions\proc_open_array.php on line 11 bool(false) Nul byte in program name: Warning: proc_open(): Command array element 1 contains a null byte in C:\...\php-test-pack-7.4.0alpha3\ext\standard\tests\general_functions\proc_open_array.php on line 14 bool(false) Nul byte in argument: Warning: proc_open(): Command array element 2 contains a null byte in C:\...\php-test-pack-7.4.0alpha3\ext\standard\tests\general_functions\proc_open_array.php on line 17 bool(false) Basic usage: Hello World! Environment inheritance: string(5) "ENV_1" bool(false) Explicit environment: Check that arguments are correctly passed through: array ( 0 => 'Simple', 1 => 'White space tab newline', 2 => '"Quoted"', 3 => 'Qu"ot"ed', 4 => '\\Back\\slash\\', 5 => '\\\\Back\\\\slash\\\\', 6 => '\\"Qu\\"ot\\"ed\\"', ) ------------------------------------------------------------------------ -- Edit this bug report at https://bugs.php.net/bug.php?id=78283&edit=1