- str_repeat: documentation ( source)
- error_get_last: documentation ( source)
- register_shutdown_function: documentation ( source)
- ini_set: documentation ( source)
- extension_loaded: documentation ( source)
<?php
register_shutdown_function(function() {
vardump(error_get_last());
echo extension_loaded('xdebug') ? 'you had xdebug enabled, consider disabling it!' : '';
});
ini_set('memory_limit', '2M');
str_repeat('a', 999999999);