Permalink
Show file tree
Hide file tree
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Browse the repository at this point in the history
Fix self recursion in compact
Summary: There were no checks at all. Reviewed By: alexmalyshev Differential Revision: D3623763 fbshipit-source-id: 9d708deca05bbd121503e8f323b4f295fde8e835
- Loading branch information
mwilliams@fb.com
authored and
Hhvm Bot
committed
Aug 1, 2016
1 parent
05e706d
commit e264f04
Showing
3 changed files
with
27 additions
and
13 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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -15,6 +15,7 @@ function main() { | |
|
|
||
| test($a); | ||
| test($GLOBALS); | ||
| var_dump(compact($a)); | ||
| } | ||
|
|
||
| main(); | ||
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