3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php posix_kill(999459,SIGKILL); echo 'Your error returned was '.posix_get_last_error();
Output for 7.2.0 - 7.2.6
Warning: Use of undefined constant SIGKILL - assumed 'SIGKILL' (this will throw an Error in a future version of PHP) in /in/8tn19 on line 2 Warning: posix_kill() expects parameter 2 to be integer, string given in /in/8tn19 on line 2 Your error returned was 0
Output for 7.0.0 - 7.1.20
Notice: Use of undefined constant SIGKILL - assumed 'SIGKILL' in /in/8tn19 on line 2 Warning: posix_kill() expects parameter 2 to be integer, string given in /in/8tn19 on line 2 Your error returned was 0
Output for hhvm-3.18.5 - 3.22.0
Your error returned was 3
Output for 5.6.0 - 5.6.30
Notice: Use of undefined constant SIGKILL - assumed 'SIGKILL' in /in/8tn19 on line 2 Warning: posix_kill() expects parameter 2 to be long, string given in /in/8tn19 on line 2 Your error returned was 0