3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $var = 15; $len = strlen($var)-1; $divide = 1; for($i=1;$i<=$len;$i++){ $divide .= 0; } echo floor($var/$divide)*$divide;
based on kbciQ
Output for 4.3.0 - 7.2.0
10