]> granicus.if.org Git - php/commitdiff
Increase FD used in php://fd test
authorNikita Popov <nikita.ppv@gmail.com>
Thu, 24 Oct 2019 10:28:43 +0000 (12:28 +0200)
committerNikita Popov <nikita.ppv@gmail.com>
Thu, 24 Oct 2019 12:46:34 +0000 (14:46 +0200)
ext/standard/tests/file/php_fd_wrapper_04.phpt

index 2b3a69ce1aff3d6b90e53bec77aa9e8f5b3191c4..76a1e609bce2e96c1a4ef45cfc258cf613632b7a 100644 (file)
@@ -2,10 +2,10 @@
 php://fd wrapper: invalid file descriptor
 --FILE--
 <?php
-fopen("php://fd/12", "w");
+fopen("php://fd/120", "w");
 
 echo "\nDone.\n";
 --EXPECTF--
-Warning: fopen(php://fd/12): failed to open stream: Error duping file descriptor 12; possibly it doesn't exist: [9]: %s in %s on line %d
+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
 
 Done.