3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $shift = 1.30; $bh = explode('.',$shift); $a = intval($bh[0]); $b = intval($bh[1]); echo $a."---"; echo $b;
based on 83QfO
Output for 5.3.18 - 7.2.0
1---3