FillArrayFixedTest

Fill an fixed array with for


<?php 

$this
->start($loop);

$values = new SplFixedArray($this->loop);

for (
$i 0$i $this->loop$i++) {
    
$values[$i] = $i;
}

return 
$this->end();
PHP Loops Seconds Percent
8.3.13 100.000 0.009654 +294%
8.3.10 100.000 0.008162 +248%
8.3.9 100.000 0.008503 +259%
7.3.33 100.000 0.005251 +160%
7.3.31 100.000 0.004561 +139%
7.3.30 100.000 0.004814 +147%
7.3.29 100.000 0.004501 +137%
7.3.28 100.000 0.004750 +145%
7.3.27 100.000 0.005854 +178%
7.3.24 100.000 0.004059 +124%
7.3.23 100.000 0.004498 +137%
7.3.22 100.000 0.004673 +142%
7.3.19 100.000 0.004890 +149%
7.3.18 100.000 0.005380 +164%
7.3.17 100.000 0.004679 +142%
7.3.16 100.000 0.004164 +127%
7.3.15 100.000 0.003723 +113%
7.3.14 100.000 0.005935 +181%
7.3.13 100.000 0.005692 +173%
7.3.12 100.000 0.005256 +160%
7.3.11 100.000 0.003936 +120%
7.3.9 100.000 0.004141 +126%
7.3.8 100.000 0.003494 +106%
7.2.29 100.000 0.005319 +162%
8.3.13 10.000 0.001396 +430%
7.2.34 100.000 0.005351 +163%
7.2.33 100.000 0.004167 +127%
7.2.31 100.000 0.004778 +145%
7.2.30 100.000 0.005527 +168%
8.3.10 10.000 0.001049 +323%
7.2.28 100.000 0.004360 +133%
7.2.27 100.000 0.005086 +155%
7.2.26 100.000 0.005970 +182%
7.2.25 100.000 0.004789 +146%
7.2.24 100.000 0.004376 +133%
7.2.22 100.000 0.004045 +123%
7.2.21 100.000 0.003591 +109%
7.1.33 100.000 0.005972 +182%
7.1.32 100.000 0.005347 +163%
7.1.31 100.000 0.004819 +147%
7.1.0 100.000 0.020290 +618%
7.0.33 100.000 0.012322 +375%
7.0.7 100.000 0.022145 +674%
5.6.40 100.000 0.018471 +562%
5.6.22 100.000 0.077906 +2371%
5.5.36 100.000 0.077505 +2359%
5.4.45 100.000 0.074749 +2275%
5.3.29 100.000 0.092784 +2824%
8.3.9 10.000 0.000823 +253%
8.0.30 100.000 0.006148 +187%
8.0.29 100.000 0.003307 +101%
8.0.28 100.000 0.003527 +107%
8.0.27 100.000 0.004461 +136%
8.0.26 100.000 0.004243 +129%
8.0.25 100.000 0.004641 +141%
8.0.24 100.000 0.004262 +130%
8.0.23 100.000 0.004722 +144%
8.0.20 10.000 0.000382 +117%
8.0.20 100.000 0.004267 +130%
8.0.19 10.000 0.000539 +166%
8.0.19 100.000 0.005825 +177%
8.0.17 10.000 0.000529 +163%
8.0.17 100.000 0.005536 +168%
8.0.16 10.000 0.000472 +145%
8.0.16 100.000 0.005306 +162%
8.0.14 10.000 0.000542 +167%
8.0.14 100.000 0.005452 +166%
8.0.11 100.000 0.004056 +123%
8.0.10 100.000 0.004410 +134%
8.0.9 100.000 0.004196 +128%
8.0.8 100.000 0.006069 +185%
8.0.7 100.000 0.005244 +160%
8.0.3 100.000 0.005775 +176%
8.0.2 100.000 0.006524 +199%
8.0.0 100.000 0.004447 +135%
7.4.33 100.000 0.005301 +161%
7.4.32 100.000 0.004098 +125%
7.4.30 100.000 0.003634 +111%
7.4.28 100.000 0.004849 +148%
7.4.27 100.000 0.004688 +143%
7.4.24 100.000 0.004070 +124%
7.4.23 100.000 0.004128 +126%
7.4.22 100.000 0.003285 100%
8.0.11 10.000 0.000444 +137%
8.0.10 10.000 0.000453 +139%
8.0.0 10.000 0.000454 +140%
7.4.29 100.000 0.004851 +148%
7.4.21 10.000 0.000467 +144%
7.4.21 100.000 0.004769 +145%
7.4.20 10.000 0.000437 +135%
7.4.20 100.000 0.005052 +154%
7.4.16 100.000 0.005396 +164%
7.4.15 100.000 0.005899 +180%
7.4.33 10.000 0.000558 +172%
7.4.32 10.000 0.000419 +129%
7.4.30 10.000 0.000377 +116%
7.4.29 10.000 0.000406 +125%
7.4.24 10.000 0.000420 +129%
7.4.23 10.000 0.000461 +142%
7.4.22 10.000 0.000395 +122%
7.4.13 100.000 0.004091 +125%
7.4.12 100.000 0.003999 +122%
7.4.11 100.000 0.004520 +138%
7.4.10 100.000 0.004325 +132%
8.0.2 10.000 0.000693 +213%
7.4.0 100.000 0.003761 +114%
8.0.30 10.000 0.000702 +216%
8.0.29 10.000 0.000362 +111%
8.0.28 10.000 0.000351 +108%
8.0.27 10.000 0.000477 +147%
8.0.26 10.000 0.000469 +144%
8.0.25 10.000 0.000492 +151%
8.0.24 10.000 0.000325 100%
8.0.23 10.000 0.000447 +138%
8.0.9 10.000 0.000377 +116%
8.0.8 10.000 0.000461 +142%
8.0.7 10.000 0.000535 +165%
8.0.3 10.000 0.000586 +180%
7.4.28 10.000 0.000429 +132%
7.4.27 10.000 0.000458 +141%
7.4.16 10.000 0.000558 +172%
7.4.15 10.000 0.000670 +206%
7.4.13 10.000 0.000426 +131%
7.4.12 10.000 0.000392 +121%
7.4.11 10.000 0.000385 +118%
7.4.10 10.000 0.000364 +112%
7.4.7 10.000 0.000430 +132%
7.4.7 100.000 0.004411 +134%
7.4.6 10.000 0.000418 +129%
7.4.6 100.000 0.004484 +136%
7.4.5 10.000 0.000456 +140%
7.4.5 100.000 0.004310 +131%
7.4.4 10.000 0.000444 +137%
7.4.4 100.000 0.004330 +132%
7.4.3 10.000 0.000356 +110%
7.4.3 100.000 0.004057 +123%
7.4.1 100.000 0.005245 +160%
7.4.2 10.000 0.000491 +151%
7.4.2 100.000 0.005369 +163%
7.4.1 10.000 0.000524 +161%
7.4.0 10.000 0.000355 +109%
7.3.33 10.000 0.000585 +180%
7.3.31 10.000 0.001324 +408%
7.3.30 10.000 0.001314 +404%
7.3.29 10.000 0.001464 +450%
7.3.28 10.000 0.000448 +138%
7.3.27 10.000 0.000571 +176%
7.3.24 10.000 0.000544 +168%
7.3.23 10.000 0.000494 +152%
7.3.22 10.000 0.000480 +148%
7.3.19 10.000 0.000519 +160%
7.3.18 10.000 0.000493 +152%
7.3.17 10.000 0.000414 +127%
7.3.16 10.000 0.000420 +129%
7.3.15 10.000 0.000401 +123%
7.3.14 10.000 0.000531 +163%
7.3.13 10.000 0.000529 +163%
7.3.12 10.000 0.000612 +188%
7.3.11 10.000 0.000367 +113%
7.3.9 10.000 0.000404 +124%
7.3.8 10.000 0.000418 +129%
7.2.34 10.000 0.000553 +170%
7.2.33 10.000 0.000485 +149%
7.2.31 10.000 0.000565 +174%
7.2.30 10.000 0.000515 +158%
7.2.29 10.000 0.000464 +143%
7.2.28 10.000 0.000492 +151%
7.2.27 10.000 0.000586 +180%
7.2.26 10.000 0.000573 +176%
7.2.25 10.000 0.000451 +139%
7.2.24 10.000 0.000552 +170%
7.2.22 10.000 0.000462 +142%
7.2.21 10.000 0.000481 +148%
7.1.33 10.000 0.000637 +196%
7.1.32 10.000 0.000546 +168%
7.1.31 10.000 0.000520 +160%
7.1.0 10.000 0.002191 +674%
7.0.33 10.000 0.000830 +255%
7.0.7 10.000 0.002316 +713%
5.6.40 10.000 0.002060 +634%
5.6.22 10.000 0.007120 +2191%
5.5.36 10.000 0.006948 +2138%
5.4.45 10.000 0.006809 +2095%
5.3.29 10.000 0.008520 +2622%