3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php echo (4 % 2 ? 'pari' : 'dispari'); echo "\n"; echo (4.3 % 2 ? 'pari' : 'dispari'); echo "\n"; echo (4.8 % 2 ? 'pari' : 'dispari'); echo "\n"; echo (0 % 2 ? 'pari' : 'dispari');
Output for 4.3.0 - 5.6.28, hhvm-3.12.0, 7.0.0 - 7.1.0
dispari dispari dispari dispari
Output for hhvm-3.10.0

Process exited with code 153.