3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $t = microtime(true); $a = ''; for($i=0; $i<1000000; $i++) $a = 'yay'; echo round(microtime(true)-$t); $t = microtime(true); $a = ''; for($i=0; $i<1000000; $i++) $a = "yay"; echo round(microtime(true)-$t);
Output for 4.3.0 - 7.1.0
00