3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php define('KINT_MB', function_exists('mb_substr')); $time = microtime(true) * 1000; for ($i = 0; $i < 1000; $i++) { if (function_exists('mb_substr')) { } } $time1 = microtime(true) * 1000; for ($i = 0; $i < 1000; $i++) { if (KINT_MB) { } } $time2 = microtime(true) * 1000; var_dump(round($time1 - $time)); var_dump(round($time2 - $time1));
Output for 7.0.0
float(0) float(0)