3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php var_dump(SIGINT, constant('SIGINT'), defined('SIGINT'));
Output for 7.2.0
Warning: Use of undefined constant SIGINT - assumed 'SIGINT' (this will throw an Error in a future version of PHP) in /in/WZdYM on line 3 Warning: constant(): Couldn't find constant SIGINT in /in/WZdYM on line 3 string(6) "SIGINT" NULL bool(false)
Output for 5.4.2 - 7.1.10
Notice: Use of undefined constant SIGINT - assumed 'SIGINT' in /in/WZdYM on line 3 Warning: constant(): Couldn't find constant SIGINT in /in/WZdYM on line 3 string(6) "SIGINT" NULL bool(false)
Output for 5.3.17 - 5.3.29
int(2) int(2) bool(true)