mirror of
https://github.com/php/php-src.git
synced 2024-09-22 02:17:32 +00:00
Try one more FD in ext/standard/tests/file/php_fd_wrapper_04.phpt
For some reason FD 120 seems to exist on macos quite often, while FD 12 did not... Let's try an even larger number, otherwise we should just drop this test.
This commit is contained in:
parent
601aef3468
commit
43dc7da8e3
@ -2,10 +2,10 @@
|
||||
php://fd wrapper: invalid file descriptor
|
||||
--FILE--
|
||||
<?php
|
||||
fopen("php://fd/120", "w");
|
||||
fopen("php://fd/1023", "w");
|
||||
|
||||
echo "\nDone.\n";
|
||||
--EXPECTF--
|
||||
Warning: fopen(php://fd/120): failed to open stream: Error duping file descriptor 120; possibly it doesn't exist: [9]: %s in %s on line %d
|
||||
Warning: fopen(php://fd/1023): failed to open stream: Error duping file descriptor 1023; possibly it doesn't exist: [9]: %s in %s on line %d
|
||||
|
||||
Done.
|
||||
|
Loading…
Reference in New Issue
Block a user