- Output for 5.4.0 - 5.4.45, 5.5.0 - 5.5.38, 5.6.0 - 5.6.28, 7.0.0 - 7.0.20, 7.1.0 - 7.1.20, 7.2.0 - 7.2.6
- 123
Process exited with code 137.
<?php
$start = time();
register_shutdown_function(function() use ($start){
sleep(2);
echo time()-$start;
});
set_time_limit(1);
sleep(2);
echo 123;