ID: 35005 Updated by: [EMAIL PROTECTED] Reported By: daniel at polkabrothers dot com -Status: Open +Status: Feedback Bug Type: Network related Operating System: Mac OS X 10.4.2 PHP Version: 5.0.5 New Comment:
Not enough information was provided for us to be able to handle this bug. Please re-read the instructions at http://bugs.php.net/how-to-report.php If you can provide more information, feel free to add it to this bug and change the status back to "Open". Thank you for your interest in PHP. Previous Comments: ------------------------------------------------------------------------ [2005-10-27 22:31:53] daniel at polkabrothers dot com Description: ------------ When opening a lot (3000 in this case) files under Mac OS X, network connectivity disappears. This has been tested under Linux 2.6, and works fine. Reproduce code: --------------- $fp = array(); for($x=0;$x<3000;$x++) { $fp[$x] = fopen("/tmp/$x", "w"); } $url_fp = fopen("http://www.google.com", "r"); var_dump(fread($url_fp, 1500)); Expected result: ---------------- To get the first 1500 bytes from www.google.com Actual result: -------------- string(0) "" ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=35005&edit=1