Test: /ext/standard/tests/network/setcookie_error.phpt - Version 7.3.11    

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

Count Diff
19 (79%)
012+ array(3) {
012- array(4) {
014- string(%d) "X-Powered-By: PHP/%s"
015- [1]=>
015+ [1]=>
016+ string(24) "Set-Cookie: name2=value2"
018- string(24) "Set-Cookie: name2=value2"
019- [3]=>
3 (13%)
001+ Fatal error: The cgi-fcgi SAPI is not supported by pthreads in Unknown on line 0
001- Warning: setcookie(): Unrecognized key 'unknown_key' found in the options array in %s
003+ Fatal error: Unable to start pthreads module in Unknown on line 0
003- Warning: setcookie(): No valid options were found in the given array in %s
004-
005- Warning: setcookie(): Numeric key found in the options array in %s
006-
007- Warning: setcookie(): No valid options were found in the given array in %s
008-
009- Warning: setcookie(): Unrecognized key 'foo' found in the options array in %s
010-
011- Warning: setcookie(): Cannot pass arguments after the options array in %s
012- array(4) {
013- [0]=>
014- string(%d) "X-Powered-By: PHP/%s"
015- [1]=>
016- string(22) "Set-Cookie: name=value"
017- [2]=>
018- string(24) "Set-Cookie: name2=value2"
019- [3]=>
020- string(37) "Set-Cookie: name3=value3; path=/path/"
021- }
1 (4%)
001+ Sat Oct 26 10:40:08 2019 (11990): Fatal Error Unable to allocate shared memory segment of 134217728 bytes: unknown: Inappropriate ioctl for device (25)
001- Warning: setcookie(): Unrecognized key 'unknown_key' found in the options array in %s
002-
003- Warning: setcookie(): No valid options were found in the given array in %s
004-
005- Warning: setcookie(): Numeric key found in the options array in %s
006-
007- Warning: setcookie(): No valid options were found in the given array in %s
008-
009- Warning: setcookie(): Unrecognized key 'foo' found in the options array in %s
010-
011- Warning: setcookie(): Cannot pass arguments after the options array in %s
012- array(4) {
013- [0]=>
014- string(%d) "X-Powered-By: PHP/%s"
015- [1]=>
016- string(22) "Set-Cookie: name=value"
017- [2]=>
018- string(24) "Set-Cookie: name2=value2"
019- [3]=>
020- string(37) "Set-Cookie: name3=value3; path=/path/"
021- }
1 (4%)
001+ Sun Nov 24 22:32:56 2019 (4804): Fatal Error Unable to allocate shared memory segment of 134217728 bytes: unknown: Success (0)
001- Warning: setcookie(): Unrecognized key 'unknown_key' found in the options array in %s
002-
003- Warning: setcookie(): No valid options were found in the given array in %s
004-
005- Warning: setcookie(): Numeric key found in the options array in %s
006-
007- Warning: setcookie(): No valid options were found in the given array in %s
008-
009- Warning: setcookie(): Unrecognized key 'foo' found in the options array in %s
010-
011- Warning: setcookie(): Cannot pass arguments after the options array in %s
012- array(4) {
013- [0]=>
014- string(%d) "X-Powered-By: PHP/%s"
015- [1]=>
016- string(22) "Set-Cookie: name=value"
017- [2]=>
018- string(24) "Set-Cookie: name2=value2"
019- [3]=>
020- string(37) "Set-Cookie: name3=value3; path=/path/"
021- }