3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $elements = 1000; $iterations = 10000; $array = array(); for ($i = 0; $i < $elements; $i++) $array[] = $i; $s = microtime(true); for ($i = 0; $i < $iterations; $i++) $array . '' === 'Array'; $e = microtime(true); echo "String Array completed in " . ($e - $s) ." Seconds\n";

Abusive script

This script was stopped while abusing our resources