<?php
$vars = array('a', 'b', 'c', 'd', 'e', 'f', 'g', 'h', 'i', 'j');
$start = microtime(true);
for($k=0;$k<100;$k++) {
$str = ltrim(strrev(chunk_split(implode(array_reverse($vars)), 3, ';')),';');
}
$end = microtime(true);
echo $end - $start;
echo "\n\n";
$start = microtime(true);
for($k=0;$k<100;$k++) {
$size = sizeOf($vars);
for ($i = $size-3; $i > 0; $i-=3) {
array_splice($vars,$i,0,";");
}
}
$end = microtime(true);
echo $end - $start;
- Output for 7.2.0
- 8.7976455688477E-5
Process exited with code 137. - Output for 7.1.7
- 0.00010490417480469
Process exited with code 137. - Output for 7.1.6
- 0.0001220703125
Process exited with code 137. - Output for 7.1.5
- 5.4121017456055E-5
Process exited with code 137. - Output for 7.1.0
- 9.608268737793E-5
Process exited with code 137. - Output for 7.0.20
- 5.5074691772461E-5
Process exited with code 137. - Output for 5.6.20, 7.0.14
- 0.0001060962677002
Process exited with code 137. - Output for 7.0.6
- 7.2002410888672E-5
Process exited with code 137. - Output for 7.0.5
- 8.2969665527344E-5
Process exited with code 137. - Output for 7.0.4
- 5.3167343139648E-5
Process exited with code 137. - Output for 7.0.3
- 7.5817108154297E-5
Process exited with code 137. - Output for 7.0.2
- 7.8201293945312E-5
Process exited with code 137. - Output for 7.0.1
- 5.793571472168E-5
Process exited with code 137. - Output for 7.0.0
- 6.5088272094727E-5
Process exited with code 137. - Output for 5.6.28
- 0.00029706954956055
Process exited with code 137. - Output for 5.6.21
- 0.00023198127746582
Process exited with code 137. - Output for 5.4.41, 5.6.19
- 0.00015902519226074
Process exited with code 137. - Output for 5.4.22 - 5.4.23, 5.4.29, 5.6.18
- 0.00015997886657715
Process exited with code 137. - Output for 5.6.17
- 0.00016403198242188
Process exited with code 137. - Output for 5.6.16
- 0.00015497207641602
Process exited with code 137. - Output for 5.6.15
- 0.00011014938354492
Process exited with code 137. - Output for 5.6.14
- 0.0001521110534668
Process exited with code 137. - Output for 5.6.8, 5.6.13
- 0.00017094612121582
Process exited with code 137. - Output for 5.4.37, 5.6.12
- 0.00010800361633301
Process exited with code 137. - Output for 5.6.11
- 0.00019216537475586
Process exited with code 137. - Output for 5.6.10
- 0.00017499923706055
Process exited with code 137. - Output for 5.6.9
- 0.00015592575073242
Process exited with code 137. - Output for 5.6.7
- 9.2983245849609E-5
Process exited with code 137. - Output for 5.5.35
- 0.00017809867858887
Process exited with code 137. - Output for 5.5.34
- 0.00011992454528809
Process exited with code 137. - Output for 5.5.33
- 0.00014209747314453
Process exited with code 137. - Output for 5.4.12, 5.5.32
- 0.00014185905456543
Process exited with code 137. - Output for 5.4.10, 5.5.31
- 0.00016117095947266
Process exited with code 137. - Output for 5.5.30
- 0.00014901161193848
Process exited with code 137. - Output for 5.5.29
- 0.00011110305786133
Process exited with code 137. - Output for 5.5.28
- 0.00018501281738281
Process exited with code 137. - Output for 5.4.14, 5.5.27
- 0.00017714500427246
Process exited with code 137. - Output for 5.5.26
- 0.00016880035400391
Process exited with code 137. - Output for 5.5.25
- 0.00018596649169922
Process exited with code 137. - Output for 5.5.24
- 0.00016212463378906
Process exited with code 137. - Output for 5.4.38, 5.4.45
- 0.00010895729064941
Process exited with code 137. - Output for 5.4.44
- 0.00014495849609375
Process exited with code 137. - Output for 5.4.43
- 0.00018787384033203
Process exited with code 137. - Output for 5.4.42
- 0.0001838207244873
Process exited with code 137. - Output for 5.4.8, 5.4.11, 5.4.19, 5.4.40
- 0.0001370906829834
Process exited with code 137. - Output for 5.4.6, 5.4.39
- 0.00014400482177734
Process exited with code 137. - Output for 5.4.36
- 0.0001380443572998
Process exited with code 137. - Output for 5.4.35
- 0.00020098686218262
Process exited with code 137. - Output for 5.4.34
- 0.00011301040649414
Process exited with code 137. - Output for 5.4.32
- 0.00014615058898926
Process exited with code 137. - Output for 5.4.7, 5.4.31
- 0.0001378059387207
Process exited with code 137. - Output for 5.4.30
- 0.00016188621520996
Process exited with code 137. - Output for 5.4.28
- 0.0001671314239502
Process exited with code 137. - Output for 5.4.27
- 0.00014781951904297
Process exited with code 137. - Output for 5.4.26
- 0.00016307830810547
Process exited with code 137. - Output for 5.4.17, 5.4.25
- 0.00012898445129395
Process exited with code 137. - Output for 5.4.18, 5.4.24
- 0.00015091896057129
Process exited with code 137. - Output for 5.4.21
- 0.00013303756713867
Process exited with code 137. - Output for 5.4.20
- 0.00014805793762207
Process exited with code 137. - Output for 5.4.16
- 0.00025010108947754
Process exited with code 137. - Output for 5.4.15
- 0.00029087066650391
Process exited with code 137. - Output for 5.4.4, 5.4.13
- 0.0001528263092041
Process exited with code 137. - Output for 5.4.9
- 0.00014019012451172
Process exited with code 137. - Output for 5.4.5
- 0.00013518333435059
Process exited with code 137. - Output for 5.4.1, 5.4.3
- 0.00013494491577148
Process exited with code 137. - Output for 5.4.2
- 0.00013089179992676
Process exited with code 137. - Output for 5.4.0
- 0.00016617774963379
Process exited with code 137.
preferences:
93.28 ms | 401 KiB | 92 Q