3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $amount = 100 * 100000; $tri = 10000; $charaData = array('character_int' => 400); for ($i=0; $i<$tri; ++$i) $up += intval2($amount / 100000) * mt_rand_a(100000, ($charaData['character_int'] + 100) * 500 / 3) / 100000; echo $up / $tri;
Output for 7.0.0 - 7.2.0
Fatal error: Uncaught Error: Call to undefined function intval2() in /in/Sl3er:8 Stack trace: #0 {main} thrown in /in/Sl3er on line 8
Process exited with code 255.
Output for 5.3.18 - 5.6.28
Fatal error: Call to undefined function intval2() in /in/Sl3er on line 8
Process exited with code 255.