Created
March 11, 2012 09:55
-
-
Save videlalvaro/2015816 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| some empty file. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <?php | |
| error_reporting(E_ALL ^ E_WARNING); | |
| exec('ulimit -n', $output); | |
| $fds = array(); | |
| for ($i = 0; $i < (int) $output[0]; $i++) { | |
| $fds[] = @fopen('./require_test.php', 'r'); | |
| } | |
| require('./lib.php'); |
Author
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Try this script like this:
Then try also displaying warnings to see the actual errors. The question is why an error that might cause a fatal error is flagged as a Warning in PHP.