From: ax_the_hacker at yahoo dot com Operating system: SunOS PHP version: 5.2.9 PHP Bug Type: Performance problem Bug description: is_readable hits the max execution time if a host no longer exists.
Description: ------------ is_readable hits the max execution time if a host no longer exists.(max time=60 seconds). WOuld be nice to add a timeout parameter. Reproduce code: --------------- $webdir1 = is_readable($dir."/public_html/index.html"); -- Edit bug report at http://bugs.php.net/?id=47680&edit=1 -- Try a CVS snapshot (PHP 5.2): http://bugs.php.net/fix.php?id=47680&r=trysnapshot52 Try a CVS snapshot (PHP 5.3): http://bugs.php.net/fix.php?id=47680&r=trysnapshot53 Try a CVS snapshot (PHP 6.0): http://bugs.php.net/fix.php?id=47680&r=trysnapshot60 Fixed in CVS: http://bugs.php.net/fix.php?id=47680&r=fixedcvs Fixed in CVS and need be documented: http://bugs.php.net/fix.php?id=47680&r=needdocs Fixed in release: http://bugs.php.net/fix.php?id=47680&r=alreadyfixed Need backtrace: http://bugs.php.net/fix.php?id=47680&r=needtrace Need Reproduce Script: http://bugs.php.net/fix.php?id=47680&r=needscript Try newer version: http://bugs.php.net/fix.php?id=47680&r=oldversion Not developer issue: http://bugs.php.net/fix.php?id=47680&r=support Expected behavior: http://bugs.php.net/fix.php?id=47680&r=notwrong Not enough info: http://bugs.php.net/fix.php?id=47680&r=notenoughinfo Submitted twice: http://bugs.php.net/fix.php?id=47680&r=submittedtwice register_globals: http://bugs.php.net/fix.php?id=47680&r=globals PHP 4 support discontinued: http://bugs.php.net/fix.php?id=47680&r=php4 Daylight Savings: http://bugs.php.net/fix.php?id=47680&r=dst IIS Stability: http://bugs.php.net/fix.php?id=47680&r=isapi Install GNU Sed: http://bugs.php.net/fix.php?id=47680&r=gnused Floating point limitations: http://bugs.php.net/fix.php?id=47680&r=float No Zend Extensions: http://bugs.php.net/fix.php?id=47680&r=nozend MySQL Configuration Error: http://bugs.php.net/fix.php?id=47680&r=mysqlcfg
