-
Notifications
You must be signed in to change notification settings - Fork 7.7k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix bug #76801: phpdbg too many open files error
- Loading branch information
Showing
6 changed files
with
52 additions
and
33 deletions.
There are no files selected for viewing
This file contains 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
This file contains 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
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
--TEST-- | ||
include()ing files should not raise "too many open files" error | ||
--PHPDBG-- | ||
r | ||
q | ||
--EXPECTF-- | ||
[Successful compilation of %s] | ||
prompt> [Script ended normally] | ||
prompt> | ||
--FILE-- | ||
<?php | ||
|
||
for ($i = 0; $i < 25000; ++$i) { | ||
include __DIR__.'/empty.inc'; | ||
} |
Empty file.
File renamed without changes.
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
--TEST-- | ||
include_once must include only once #2 | ||
--PHPDBG-- | ||
r | ||
q | ||
--EXPECTF-- | ||
[Successful compilation of %s] | ||
prompt> 1 | ||
[Script ended normally] | ||
prompt> | ||
--FILE-- | ||
<?php | ||
|
||
include __DIR__.'/include.inc'; | ||
include_once __DIR__.'/include.inc'; |