Created
January 6, 2019 15:18
-
-
Save Frago9876543210/8038519a689d7d1cbecb9e28124759bd to your computer and use it in GitHub Desktop.
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
<?php | |
declare(strict_types=1); | |
ini_set("memory_limit", "1M"); | |
global $i; | |
register_shutdown_function(function() : void{ | |
if(error_get_last() !== null){ | |
var_dump($GLOBALS["i"]); | |
} | |
}); | |
$array = []; | |
for(; $i < PHP_INT_MAX; $i++){ | |
$array[] = ""; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment