3v4l.org

run code in 300+ PHP versions simultaneously
<?php $default = ignore_user_abort(true); ignore_user_abort(false); var_dump($default, ignore_user_abort(), ini_get('ignore_user_abort'));
Output for 7.0.8 - 7.0.33, 7.1.0 - 7.1.33, 7.2.0 - 7.2.33, 7.3.0 - 7.3.33, 7.4.0 - 7.4.33, 8.0.0 - 8.0.26, 8.1.0 - 8.1.13
int(0) int(0) string(1) "0"
Output for 7.0.0 - 7.0.7
int(0) int(1) string(1) "1"
Output for 5.5.0 - 5.5.38, 5.6.0 - 5.6.40
int(0) int(0) string(0) ""

preferences:
68.13 ms | 411 KiB | 5 Q