3v4l.org

run code in 300+ PHP versions simultaneously
<?php // Initial Configurationglobal $aHash;$i   = 0;$tmp = '';while($i < 10000) {  $tmp .= 'a';  ++$i;}$aHash = array_fill(100000000000000000000000, 100, $tmp);unset($i, $tmp);// Test Sourcefunction Test2_3() {    global $aHash;    /* The Test */    $t = microtime(true);    $key = array_keys($aHash);    $size = sizeOf($key);    for ($i=0; $i<$size; $i++) $aHash[$key[$i]] .= "a";    return (microtime(true) - $t);}// Variable Clean-upfunction Test2_End() {    global $aHash;    unset($aHash);}
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/SUMR3
function name:  (null)
number of ops:  1
compiled vars:  none
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E > > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
155.02 ms | 1392 KiB | 13 Q