<?php
$vars = array('a', 'b', 'c', 'd', 'e', 'f', 'g', 'h', 'i', 'j');
$start = microtime(true);
for($k=0;$k<100000;$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<100000;$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
- 0.041263818740845
Process exited with code 137. - Output for 7.1.7
- 0.043113946914673
Process exited with code 137. - Output for 7.1.6
- 0.078965902328491
Process exited with code 137. - Output for 7.1.5
- 0.07906699180603
Process exited with code 137. - Output for 7.1.0
- 0.12128901481628
Process exited with code 137. - Output for 7.0.20
- 0.051427841186523
Process exited with code 137. - Output for 7.0.14
- 0.086755037307739
Process exited with code 137. - Output for 7.0.6
- 0.063936948776245
Process exited with code 137. - Output for 7.0.5
- 0.062049865722656
Process exited with code 137. - Output for 7.0.4
- 0.047930002212524
Process exited with code 137. - Output for 7.0.3
- 0.050556182861328
Process exited with code 137. - Output for 7.0.2
- 0.057377099990845
Process exited with code 137. - Output for 7.0.1
- 0.048288106918335
Process exited with code 137. - Output for 7.0.0
- 0.066969156265259
Process exited with code 137. - Output for 5.6.28
- 0.16133403778076
Process exited with code 137. - Output for 5.6.21
- 0.12406086921692
Process exited with code 137. - Output for 5.6.20
- 0.17338681221008
Process exited with code 137. - Output for 5.6.19
- 0.10567283630371
Process exited with code 137. - Output for 5.6.18
- 0.1170539855957
Process exited with code 137. - Output for 5.6.17
- 0.13795399665833
Process exited with code 137. - Output for 5.6.16
- 0.12299799919128
Process exited with code 137. - Output for 5.6.15
- 0.12980198860168
Process exited with code 137. - Output for 5.6.14
- 0.12733507156372
Process exited with code 137. - Output for 5.6.13
- 0.10091996192932
Process exited with code 137. - Output for 5.6.12
- 0.12070894241333
Process exited with code 137. - Output for 5.6.11
- 0.10192489624023
Process exited with code 137. - Output for 5.6.10
- 0.13212108612061
Process exited with code 137. - Output for 5.6.9
- 0.12379193305969
Process exited with code 137. - Output for 5.6.8
- 0.13381409645081
Process exited with code 137. - Output for 5.5.35
- 0.12482094764709
Process exited with code 137. - Output for 5.5.34
- 0.12247800827026
Process exited with code 137. - Output for 5.5.33
- 0.10243606567383
Process exited with code 137. - Output for 5.5.32
- 0.10242390632629
Process exited with code 137. - Output for 5.5.31
- 0.12671518325806
Process exited with code 137. - Output for 5.5.30
- 0.11323189735413
Process exited with code 137. - Output for 5.5.29
- 0.1248300075531
Process exited with code 137. - Output for 5.5.28
- 0.12933611869812
Process exited with code 137. - Output for 5.5.27
- 0.12811088562012
Process exited with code 137. - Output for 5.5.26
- 0.13332796096802
Process exited with code 137. - Output for 5.5.25
- 0.12074303627014
Process exited with code 137. - Output for 5.5.24
- 0.11387395858765
Process exited with code 137. - Output for 5.4.45
- 0.10903906822205
Process exited with code 137. - Output for 5.4.44
- 0.10475397109985
Process exited with code 137. - Output for 5.4.43
- 0.107253074646
Process exited with code 137. - Output for 5.4.42
- 0.11727786064148
Process exited with code 137. - Output for 5.4.41
- 0.12859201431274
Process exited with code 137. - Output for 5.4.40
- 0.11685991287231
Process exited with code 137. - Output for 5.4.39
- 0.1291069984436
Process exited with code 137. - Output for 5.4.38
- 0.13989400863647
Process exited with code 137. - Output for 5.4.37
- 0.10315084457397
Process exited with code 137. - Output for 5.4.36
- 0.13981294631958
Process exited with code 137. - Output for 5.4.35
- 0.11030292510986
Process exited with code 137. - Output for 5.4.34
- 0.12842488288879
Process exited with code 137. - Output for 5.4.32
- 0.1031231880188
Process exited with code 137. - Output for 5.4.31
- 0.13390207290649
Process exited with code 137. - Output for 5.4.30
- 0.10988092422485
Process exited with code 137. - Output for 5.4.29
- 0.12727999687195
Process exited with code 137. - Output for 5.4.28
- 0.10964608192444
Process exited with code 137. - Output for 5.4.27
- 0.11328387260437
Process exited with code 137. - Output for 5.4.26
- 0.10331296920776
Process exited with code 137. - Output for 5.4.25
- 0.11872506141663
Process exited with code 137. - Output for 5.4.24
- 0.11716389656067
Process exited with code 137. - Output for 5.4.23
- 0.10438799858093
Process exited with code 137. - Output for 5.4.22
- 0.11780595779419
Process exited with code 137. - Output for 5.4.21
- 0.15872597694397
Process exited with code 137. - Output for 5.4.20
- 0.11041402816772
Process exited with code 137. - Output for 5.4.19
- 0.10300803184509
Process exited with code 137. - Output for 5.4.18
- 0.10692405700684
Process exited with code 137. - Output for 5.4.17
- 0.10316801071167
Process exited with code 137. - Output for 5.4.16
- 0.11379384994507
Process exited with code 137. - Output for 5.4.15
- 0.10581707954407
Process exited with code 137. - Output for 5.4.14
- 0.1064760684967
Process exited with code 137. - Output for 5.4.13
- 0.1143159866333
Process exited with code 137. - Output for 5.4.12
- 0.10933899879456
Process exited with code 137. - Output for 5.4.11
- 0.11328792572021
Process exited with code 137. - Output for 5.4.10
- 0.11221098899841
Process exited with code 137. - Output for 5.4.9
- 0.11495590209961
Process exited with code 137. - Output for 5.4.8
- 0.122150182724
Process exited with code 137. - Output for 5.4.7
- 0.1317298412323
Process exited with code 137. - Output for 5.4.6
- 0.10548996925354
Process exited with code 137. - Output for 5.4.5
- 0.10740613937378
Process exited with code 137. - Output for 5.4.4
- 0.12404918670654
Process exited with code 137. - Output for 5.4.3
- 0.111172914505
Process exited with code 137. - Output for 5.4.2
- 0.12195110321045
Process exited with code 137. - Output for 5.4.1
- 0.10109400749207
Process exited with code 137. - Output for 5.4.0
- 0.10755586624146
Process exited with code 137.
preferences:
101.11 ms | 401 KiB | 91 Q