3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php echo (4 % 2 === 0 ? 'pari' : 'dispari'); echo "\n"; echo (4.3 % 2 === 0 ? 'pari' : 'dispari'); echo "\n"; echo (4.8 % 2 === 0 ? 'pari' : 'dispari'); echo "\n"; echo (0 % 2 === 0 ? 'pari' : 'dispari');
Output for 4.3.0 - 7.1.10
pari pari pari pari