> I think the current behavior solves made old bug reports, > where by people used is_readable() to see if they could read > from a file, only to have the operation file due to > safe_mode/open_basedir restrictions. Taking the check away > would also mean it would be possible to "explore" file file > system bypassing PHP's file system restrictions. So this is a documentation bug and there is no way to check beforehand whether an include($filepath) will succeed or not when safe_mode is on?
Kind regards mp. -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php