3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php declare(strict_types = 1); var_dump(1 / 2);
based on neEmH
Output for 7.0.0 - 7.2.0
float(0.5)
Output for 5.3.21 - 5.6.28
Warning: Unsupported declare 'strict_types' in /in/Z2De7 on line 1 float(0.5)