3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php var_dump(intdiv(30000, 60)); if ($intdiv == true); echo minuts; ?>
based on gkNSR
Output for 7.2.0 - 7.3.0beta1
int(500) Notice: Undefined variable: intdiv in /in/Ks2qf on line 3 Warning: Use of undefined constant minuts - assumed 'minuts' (this will throw an Error in a future version of PHP) in /in/Ks2qf on line 4 minuts
Output for hhvm-3.18.5 - 3.21.3, 7.0.30 - 7.1.20
int(500) Notice: Undefined variable: intdiv in /in/Ks2qf on line 3 Notice: Use of undefined constant minuts - assumed 'minuts' in /in/Ks2qf on line 4 minuts
Output for hhvm-3.22.0
int(500) Notice: Undefined variable: intdiv in /in/Ks2qf on line -1 Notice: Use of undefined constant minuts - assumed 'minuts' in /in/Ks2qf on line -1 minuts
Output for 5.6.30
Fatal error: Call to undefined function intdiv() in /in/Ks2qf on line 2
Process exited with code 255.