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

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

Count Diff
10 (91%)
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]=>
1 (9%)
001+ Sat Jul 9 18:21:18 2022 (6694): 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- }