3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $click_num = 2550; $oddNumber = ($click_num & 1) == 1 ? true : false; $evenNumber = ($click_num & 1) == 0 ? true : false; $tenTimes = ($click_num % 10) == 0 ? true : false; $multiple30 = ($click_num % 50) == 0 ? true : false; $multiple150 = ($click_num % 300) == 0 ? true : false; $multiple1500 = ($click_num % 30000) == 0 ? true : false; var_dump($oddNumber, $evenNumber, $tenTimes, $multiple30, $multiple150, $multiple1500); echo base64_decode('5aSa5aSa55uK5ZaE'); echo ceil(-3.44);echo floor(-3.44);
based on YPnd5
Output for 5.6.0 - 5.6.30, hhvm-3.18.5 - 3.22.0, 7.0.0 - 7.3.0rc3
bool(false) bool(true) bool(true) bool(true) bool(false) bool(false) 多多益善-3-4