<?
$count = 1000000;
function t($a) {
return $a + 1;
}
function tl1(&$a) {
$a += 1;
}
function tl2(&$a) {
$a++;
}
class test {
public static function staticTest($a) {
return $a + 1;
}
public function nonStaticTest($a) {
return $a + 1;
}
}
$time = microtime(true);
$i = 0;
$a = 1;
while ($i++ < $count) {
$a = $a + 1;
}
echo '$a = $a + 1: ', "\t\t\t", (microtime(true) - $time), PHP_EOL;
$time = microtime(true);
$i = 0;
$a = 1;
while ($i++ < $count) {
$a += 1;
}
echo '$a += 1: ', "\t\t\t", (microtime(true) - $time), PHP_EOL;
$time = microtime(true);
$i = 0;
$a = 1;
while ($i++ < $count) {
$a++;
}
echo '$a++: ', "\t\t\t\t", (microtime(true) - $time), PHP_EOL;
$time = microtime(true);
$i = 0;
$a = 1;
while ($i++ < $count) {
++$a;
}
echo '++$a: ', "\t\t\t\t", (microtime(true) - $time), PHP_EOL;
$time = microtime(true);
$i = 0;
$a = 1;
while ($i++ < $count) {
$a = t($a);
}
echo '$a = t($a): ', "\t\t\t", (microtime(true) - $time), PHP_EOL;
$time = microtime(true);
$i = 0;
$a = 1;
while ($i++ < $count) {
tl1($a);
}
echo 'tl1($a): ', "\t\t\t", (microtime(true) - $time), PHP_EOL;
$time = microtime(true);
$i = 0;
$a = 1;
while ($i++ < $count) {
tl2($a);
}
echo 'tl2($a): ', "\t\t\t", (microtime(true) - $time), PHP_EOL;
$time = microtime(true);
$i = 0;
$a = 1;
while ($i++ < $count) {
test::staticTest($a);
}
echo 'test::staticTest($a): ', "\t\t", (microtime(true) - $time), PHP_EOL;
$time = microtime(true);
$test = new test;
$i = 0;
$a = 1;
while ($i++ < $count) {
$test->nonStaticTest($a);
}
echo '$test->nonStaticTest($a): ', "\t", (microtime(true) - $time), PHP_EOL;
- Output for 7.2.29 - 7.2.33, 7.3.16 - 7.3.31, 7.4.3 - 7.4.32, 8.0.0 - 8.0.12, 8.0.14 - 8.0.30, 8.1.0 - 8.1.24, 8.2.0 - 8.2.11
- <?
$count = 1000000;
function t($a) {
return $a + 1;
}
function tl1(&$a) {
$a += 1;
}
function tl2(&$a) {
$a++;
}
class test {
public static function staticTest($a) {
return $a + 1;
}
public function nonStaticTest($a) {
return $a + 1;
}
}
$time = microtime(true);
$i = 0;
$a = 1;
while ($i++ < $count) {
$a = $a + 1;
}
echo '$a = $a + 1: ', "\t\t\t", (microtime(true) - $time), PHP_EOL;
$time = microtime(true);
$i = 0;
$a = 1;
while ($i++ < $count) {
$a += 1;
}
echo '$a += 1: ', "\t\t\t", (microtime(true) - $time), PHP_EOL;
$time = microtime(true);
$i = 0;
$a = 1;
while ($i++ < $count) {
$a++;
}
echo '$a++: ', "\t\t\t\t", (microtime(true) - $time), PHP_EOL;
$time = microtime(true);
$i = 0;
$a = 1;
while ($i++ < $count) {
++$a;
}
echo '++$a: ', "\t\t\t\t", (microtime(true) - $time), PHP_EOL;
$time = microtime(true);
$i = 0;
$a = 1;
while ($i++ < $count) {
$a = t($a);
}
echo '$a = t($a): ', "\t\t\t", (microtime(true) - $time), PHP_EOL;
$time = microtime(true);
$i = 0;
$a = 1;
while ($i++ < $count) {
tl1($a);
}
echo 'tl1($a): ', "\t\t\t", (microtime(true) - $time), PHP_EOL;
$time = microtime(true);
$i = 0;
$a = 1;
while ($i++ < $count) {
tl2($a);
}
echo 'tl2($a): ', "\t\t\t", (microtime(true) - $time), PHP_EOL;
$time = microtime(true);
$i = 0;
$a = 1;
while ($i++ < $count) {
test::staticTest($a);
}
echo 'test::staticTest($a): ', "\t\t", (microtime(true) - $time), PHP_EOL;
$time = microtime(true);
$test = new test;
$i = 0;
$a = 1;
while ($i++ < $count) {
$test->nonStaticTest($a);
}
echo '$test->nonStaticTest($a): ', "\t", (microtime(true) - $time), PHP_EOL;
- Output for 8.0.13
- $a = $a + 1: 0.013608932495117
$a += 1: 0.01119589805603
$a++: 0.0088491439819336
++$a: 0.0087780952453613
$a = t($a): 0.028481006622314
tl1($a): 0.026822805404663
tl2($a): 0.027601003646851
test::staticTest($a): 0.022371053695679
$test->nonStaticTest($a): 0.03337287902832
- Output for 7.4.33
- $a = $a + 1: 0.0072791576385498
$a += 1: 0.0075650215148926
$a++: 0.0062229633331299
++$a: 0.0042898654937744
$a = t($a): 0.018191814422607
tl1($a): 0.019445896148682
tl2($a): 0.024258852005005
test::staticTest($a): 0.017703771591187
$test->nonStaticTest($a): 0.019957065582275
- Output for 7.3.33
- $a = $a + 1: 0.013943910598755
$a += 1: 0.011178970336914
$a++: 0.011816024780273
++$a: 0.0094149112701416
$a = t($a): 0.032977819442749
tl1($a): 0.029639005661011
tl2($a): 0.036891222000122
test::staticTest($a): 0.031765937805176
$test->nonStaticTest($a): 0.039360046386719
- Output for 7.3.32
- $a = $a + 1: 0.014932870864868
$a += 1: 0.013227939605713
$a++: 0.013444900512695
++$a: 0.0098910331726074
$a = t($a): 0.030694961547852
tl1($a): 0.031320810317993
tl2($a): 0.030084848403931
test::staticTest($a): 0.025366067886353
$test->nonStaticTest($a): 0.038664102554321
- Output for 7.3.1
- $a = $a + 1: 0.01420783996582
$a += 1: 0.011328935623169
$a++: 0.020800113677979
++$a: 0.010922193527222
$a = t($a): 0.031186819076538
tl1($a): 0.029519081115723
tl2($a): 0.046165943145752
test::staticTest($a): 0.028560161590576
$test->nonStaticTest($a): 0.039362192153931
- Output for 7.3.0
- $a = $a + 1: 0.015241146087646
$a += 1: 0.011873006820679
$a++: 0.023502111434937
++$a: 0.0089399814605713
$a = t($a): 0.031507015228271
tl1($a): 0.030029058456421
tl2($a): 0.048423051834106
test::staticTest($a): 0.032533168792725
$test->nonStaticTest($a): 0.038269996643066
- Output for 7.2.13
- $a = $a + 1: 0.014317989349365
$a += 1: 0.016058921813965
$a++: 0.021362066268921
++$a: 0.0093898773193359
$a = t($a): 0.034903049468994
tl1($a): 0.038651943206787
tl2($a): 0.050052165985107
test::staticTest($a): 0.03052806854248
$test->nonStaticTest($a): 0.044797897338867
- Output for 7.2.12
- $a = $a + 1: 0.0157790184021
$a += 1: 0.01581883430481
$a++: 0.021148920059204
++$a: 0.0090479850769043
$a = t($a): 0.034839153289795
tl1($a): 0.035316944122314
tl2($a): 0.048021078109741
test::staticTest($a): 0.030785083770752
$test->nonStaticTest($a): 0.041432857513428
- Output for 7.2.11
- $a = $a + 1: 0.019211053848267
$a += 1: 0.02350902557373
$a++: 0.021214008331299
++$a: 0.0088748931884766
$a = t($a): 0.035248994827271
tl1($a): 0.035945892333984
tl2($a): 0.049293994903564
test::staticTest($a): 0.030694007873535
$test->nonStaticTest($a): 0.041976928710938
- Output for 7.2.10
- $a = $a + 1: 0.015998840332031
$a += 1: 0.014524936676025
$a++: 0.020770788192749
++$a: 0.012706995010376
$a = t($a): 0.037200927734375
tl1($a): 0.039530992507935
tl2($a): 0.04955005645752
test::staticTest($a): 0.030652046203613
$test->nonStaticTest($a): 0.040678977966309
- Output for 7.2.9
- $a = $a + 1: 0.014162063598633
$a += 1: 0.014007806777954
$a++: 0.020612955093384
++$a: 0.0089161396026611
$a = t($a): 0.035345077514648
tl1($a): 0.038574934005737
tl2($a): 0.048869132995605
test::staticTest($a): 0.030488014221191
$test->nonStaticTest($a): 0.038810014724731
- Output for 7.2.8
- $a = $a + 1: 0.016962051391602
$a += 1: 0.014961004257202
$a++: 0.021265029907227
++$a: 0.0094521045684814
$a = t($a): 0.036260843276978
tl1($a): 0.036899089813232
tl2($a): 0.050659894943237
test::staticTest($a): 0.032738924026489
$test->nonStaticTest($a): 0.040682077407837
- Output for 7.2.7
- $a = $a + 1: 0.016173124313354
$a += 1: 0.014110088348389
$a++: 0.020655870437622
++$a: 0.0088651180267334
$a = t($a): 0.036926031112671
tl1($a): 0.036435842514038
tl2($a): 0.049096822738647
test::staticTest($a): 0.030077934265137
$test->nonStaticTest($a): 0.038550138473511
- Output for 7.2.6
- $a = $a + 1: 0.014833927154541
$a += 1: 0.014115810394287
$a++: 0.02052903175354
++$a: 0.008861780166626
$a = t($a): 0.034939050674438
tl1($a): 0.035876989364624
tl2($a): 0.048111915588379
test::staticTest($a): 0.031522035598755
$test->nonStaticTest($a): 0.038533926010132
- Output for 7.2.5
- $a = $a + 1: 0.015462875366211
$a += 1: 0.013861894607544
$a++: 0.020201921463013
++$a: 0.0095701217651367
$a = t($a): 0.035234928131104
tl1($a): 0.035022020339966
tl2($a): 0.04834508895874
test::staticTest($a): 0.035805940628052
$test->nonStaticTest($a): 0.055355072021484
- Output for 7.2.4
- $a = $a + 1: 0.016958951950073
$a += 1: 0.01417088508606
$a++: 0.020588159561157
++$a: 0.0089828968048096
$a = t($a): 0.036858081817627
tl1($a): 0.038568019866943
tl2($a): 0.052649021148682
test::staticTest($a): 0.03025484085083
$test->nonStaticTest($a): 0.038455963134766
- Output for 7.2.3
- $a = $a + 1: 0.019495964050293
$a += 1: 0.025888204574585
$a++: 0.020956993103027
++$a: 0.0094938278198242
$a = t($a): 0.035229921340942
tl1($a): 0.035369873046875
tl2($a): 0.048377990722656
test::staticTest($a): 0.030536890029907
$test->nonStaticTest($a): 0.038326978683472
- Output for 7.2.2
- $a = $a + 1: 0.01586389541626
$a += 1: 0.014225006103516
$a++: 0.020786046981812
++$a: 0.0091280937194824
$a = t($a): 0.035127878189087
tl1($a): 0.036373853683472
tl2($a): 0.05188512802124
test::staticTest($a): 0.038370847702026
$test->nonStaticTest($a): 0.038455009460449
- Output for 7.2.1
- $a = $a + 1: 0.015086889266968
$a += 1: 0.01411509513855
$a++: 0.020763874053955
++$a: 0.0093080997467041
$a = t($a): 0.03800892829895
tl1($a): 0.036029100418091
tl2($a): 0.046504020690918
test::staticTest($a): 0.030208110809326
$test->nonStaticTest($a): 0.038465976715088
- Output for 7.2.0
- $a = $a + 1: 0.015989065170288
$a += 1: 0.014014005661011
$a++: 0.021244049072266
++$a: 0.010066986083984
$a = t($a): 0.034812211990356
tl1($a): 0.034857988357544
tl2($a): 0.046792984008789
test::staticTest($a): 0.030501842498779
$test->nonStaticTest($a): 0.03880500793457
- Output for 7.1.25
- $a = $a + 1: 0.040673017501831
$a += 1: 0.029685974121094
$a++: 0.03165602684021
++$a: 0.026324987411499
$a = t($a): 0.087401151657104
tl1($a): 0.10110402107239
tl2($a): 0.091814994812012
test::staticTest($a): 0.083392143249512
$test->nonStaticTest($a): 0.085184097290039
- Output for 7.1.7
- $a = $a + 1: 0.010905027389526
$a += 1: 0.016627788543701
$a++: 0.010190963745117
++$a: 0.01274299621582
$a = t($a): 0.034930944442749
tl1($a): 0.029106855392456
tl2($a): 0.031047105789185
test::staticTest($a): 0.030440092086792
$test->nonStaticTest($a): 0.031612157821655
- Output for 7.1.6
- $a = $a + 1: 0.023505210876465
$a += 1: 0.023705959320068
$a++: 0.017510175704956
++$a: 0.012660026550293
$a = t($a): 0.039458990097046
tl1($a): 0.036509037017822
tl2($a): 0.033757925033569
test::staticTest($a): 0.027797937393188
$test->nonStaticTest($a): 0.031521081924438
- Output for 7.1.5
- $a = $a + 1: 0.020108938217163
$a += 1: 0.023484945297241
$a++: 0.014366149902344
++$a: 0.010824203491211
$a = t($a): 0.036839962005615
tl1($a): 0.03056001663208
tl2($a): 0.030636072158813
test::staticTest($a): 0.027480840682983
$test->nonStaticTest($a): 0.039556980133057
- Output for 7.1.0
- $a = $a + 1: 0.018726110458374
$a += 1: 0.023811101913452
$a++: 0.014766216278076
++$a: 0.010807037353516
$a = t($a): 0.0098400115966797
tl1($a): -0.035279989242554
tl2($a): -0.034653186798096
test::staticTest($a): -0.027274131774902
$test->nonStaticTest($a): -0.031149864196777
- Output for 7.0.20
- $a = $a + 1: 0.015200138092041
$a += 1: 0.016088008880615
$a++: 0.012471914291382
++$a: 0.013423919677734
$a = t($a): 0.045192003250122
tl1($a): 0.03716778755188
tl2($a): 0.033493995666504
test::staticTest($a): 0.031944990158081
$test->nonStaticTest($a): 0.034336805343628
- Output for 7.0.14
- $a = $a + 1: 0.012982845306396
$a += 1: 0.013092041015625
$a++: 0.0093419551849365
++$a: 0.0074641704559326
$a = t($a): 0.024300098419189
tl1($a): 0.028589963912964
tl2($a): 0.029748201370239
test::staticTest($a): 0.027002096176147
$test->nonStaticTest($a): 0.02907395362854
- Output for 7.0.6
- $a = $a + 1: 0.016691923141479
$a += 1: 0.018538951873779
$a++: 0.013785123825073
++$a: 0.010898113250732
$a = t($a): 0.033318042755127
tl1($a): 0.032191038131714
tl2($a): 0.032873868942261
test::staticTest($a): 0.028882026672363
$test->nonStaticTest($a): 0.031162977218628
- Output for 7.0.5
- $a = $a + 1: 0.015606164932251
$a += 1: 0.016792058944702
$a++: 0.012788057327271
++$a: 0.01003098487854
$a = t($a): 0.031625986099243
tl1($a): 0.030503988265991
tl2($a): 0.032951831817627
test::staticTest($a): 0.028917789459229
$test->nonStaticTest($a): 0.032117128372192
- Output for 7.0.4
- $a = $a + 1: 0.014896154403687
$a += 1: 0.016909122467041
$a++: 0.012043952941895
++$a: 0.0087099075317383
$a = t($a): 0.030048131942749
tl1($a): 0.030419111251831
tl2($a): 0.031446933746338
test::staticTest($a): 0.029338121414185
$test->nonStaticTest($a): 0.03156590461731
- Output for 7.0.3
- $a = $a + 1: 0.013810157775879
$a += 1: 0.015352010726929
$a++: 0.011535882949829
++$a: 0.0081868171691895
$a = t($a): 0.029752016067505
tl1($a): 0.02975606918335
tl2($a): 0.031767845153809
test::staticTest($a): 0.028827905654907
$test->nonStaticTest($a): 0.03119683265686
- Output for 7.0.2
- $a = $a + 1: 0.013791799545288
$a += 1: 0.015017032623291
$a++: 0.011210203170776
++$a: 0.0073330402374268
$a = t($a): 0.028450965881348
tl1($a): 0.030197858810425
tl2($a): 0.032064914703369
test::staticTest($a): 0.029000997543335
$test->nonStaticTest($a): 0.031546115875244
- Output for 7.0.1
- $a = $a + 1: 0.012415885925293
$a += 1: 0.013797044754028
$a++: 0.010438919067383
++$a: 0.0074639320373535
$a = t($a): 0.02846097946167
tl1($a): 0.031464815139771
tl2($a): 0.032447099685669
test::staticTest($a): 0.028801918029785
$test->nonStaticTest($a): 0.032083034515381
- Output for 7.0.0
- $a = $a + 1: 0.0120689868927
$a += 1: 0.013804912567139
$a++: 0.010097026824951
++$a: 0.0074419975280762
$a = t($a): 0.028447866439819
tl1($a): 0.029857873916626
tl2($a): 0.031105041503906
test::staticTest($a): 0.02904200553894
$test->nonStaticTest($a): 0.031270980834961
- Output for 5.6.28
- $a = $a + 1: 0.0383460521698
$a += 1: 0.037047147750854
$a++: 0.046605110168457
++$a: 0.02285099029541
$a = t($a): 0.090593099594116
tl1($a): 0.070346117019653
tl2($a): 0.067974805831909
test::staticTest($a): 0.067014932632446
$test->nonStaticTest($a): -0.061937808990479
- Output for 5.6.21
- $a = $a + 1: 0.03144097328186
$a += 1: 0.029453992843628
$a++: 0.024425983428955
++$a: 0.020704030990601
$a = t($a): 0.091605186462402
tl1($a): 0.079528093338013
tl2($a): 0.082015991210938
test::staticTest($a): 0.079047203063965
$test->nonStaticTest($a): 0.087526798248291
- Output for 5.6.20
- $a = $a + 1: 0.02412486076355
$a += 1: 0.026326894760132
$a++: 0.023887157440186
++$a: 0.020167112350464
$a = t($a): 0.089020013809204
tl1($a): 0.077385902404785
tl2($a): 0.079877138137817
test::staticTest($a): 0.077212810516357
$test->nonStaticTest($a): 0.084394931793213
- Output for 5.6.19
- $a = $a + 1: 0.040792942047119
$a += 1: 0.035853147506714
$a++: 0.030200004577637
++$a: 0.022960901260376
$a = t($a): 0.14047789573669
tl1($a): 0.12047982215881
tl2($a): 0.10887312889099
test::staticTest($a): 0.10386514663696
$test->nonStaticTest($a): 0.11540508270264
- Output for 5.6.18
- $a = $a + 1: 0.031115055084229
$a += 1: 0.029913187026978
$a++: 0.029237031936646
++$a: 0.020727872848511
$a = t($a): 0.092221975326538
tl1($a): 0.080724954605103
tl2($a): 0.085185050964355
test::staticTest($a): 0.082756042480469
$test->nonStaticTest($a): 0.090358018875122
- Output for 5.6.17
- $a = $a + 1: 0.025286912918091
$a += 1: 0.028252124786377
$a++: 0.024948120117188
++$a: 0.020658016204834
$a = t($a): 0.093757152557373
tl1($a): 0.080672979354858
tl2($a): 0.084384918212891
test::staticTest($a): 0.081771850585938
$test->nonStaticTest($a): 0.088633060455322
- Output for 5.6.16
- $a = $a + 1: 0.032436847686768
$a += 1: 0.030580997467041
$a++: 0.024348974227905
++$a: 0.020701885223389
$a = t($a): 0.094256162643433
tl1($a): 0.08135199546814
tl2($a): 0.088360071182251
test::staticTest($a): 0.081323862075806
$test->nonStaticTest($a): 0.091340065002441
- Output for 5.6.15
- $a = $a + 1: 0.032655954360962
$a += 1: 0.031428098678589
$a++: 0.026120185852051
++$a: 0.02082896232605
$a = t($a): 0.096426010131836
tl1($a): 0.083777904510498
tl2($a): 0.088715791702271
test::staticTest($a): 0.084228038787842
$test->nonStaticTest($a): 0.09579610824585
- Output for 5.6.14
- $a = $a + 1: 0.024764060974121
$a += 1: 0.026911973953247
$a++: 0.024308204650879
++$a: 0.020528078079224
$a = t($a): 0.096997976303101
tl1($a): 0.080921173095703
tl2($a): 0.079797029495239
test::staticTest($a): 0.078596115112305
$test->nonStaticTest($a): 0.089845895767212
- Output for 5.6.13
- $a = $a + 1: 0.031144857406616
$a += 1: 0.028918981552124
$a++: 0.024331092834473
++$a: 0.020706176757812
$a = t($a): 0.092993974685669
tl1($a): 0.0831458568573
tl2($a): 0.084973096847534
test::staticTest($a): 0.079527139663696
$test->nonStaticTest($a): 0.091202974319458
- Output for 5.6.12
- $a = $a + 1: 0.033209800720215
$a += 1: 0.030021905899048
$a++: 0.024425029754639
++$a: 0.020704984664917
$a = t($a): 0.091479063034058
tl1($a): 0.07854700088501
tl2($a): 0.083518981933594
test::staticTest($a): 0.078042984008789
$test->nonStaticTest($a): 0.086688995361328
- Output for 5.6.11
- $a = $a + 1: 0.032789945602417
$a += 1: 0.030946969985962
$a++: 0.024947881698608
++$a: 0.020678043365479
$a = t($a): 0.094910144805908
tl1($a): 0.081371068954468
tl2($a): 0.082135915756226
test::staticTest($a): 0.086434125900269
$test->nonStaticTest($a): 0.089884996414185
- Output for 5.6.10
- $a = $a + 1: 0.026689052581787
$a += 1: 0.029545068740845
$a++: 0.024130821228027
++$a: 0.020678997039795
$a = t($a): 0.092283964157104
tl1($a): 0.080446004867554
tl2($a): 0.083299160003662
test::staticTest($a): 0.079710006713867
$test->nonStaticTest($a): 0.089032173156738
- Output for 5.6.9
- $a = $a + 1: 0.039658069610596
$a += 1: 0.034623146057129
$a++: 0.027994155883789
++$a: 0.022244930267334
$a = t($a): 0.10482215881348
tl1($a): 0.089456796646118
tl2($a): 0.091372966766357
test::staticTest($a): 0.087491035461426
$test->nonStaticTest($a): 0.099178075790405
- Output for 5.6.8
- $a = $a + 1: 0.0310959815979
$a += 1: 0.026571989059448
$a++: 0.02380895614624
++$a: 0.020325183868408
$a = t($a): 0.11213207244873
tl1($a): 0.097612857818604
tl2($a): 0.083556890487671
test::staticTest($a): 0.078918933868408
$test->nonStaticTest($a): 0.091822862625122
- Output for 5.5.35
- $a = $a + 1: 0.024670124053955
$a += 1: 0.026372909545898
$a++: 0.024190902709961
++$a: 0.020821094512939
$a = t($a): 0.093905925750732
tl1($a): 0.077421903610229
tl2($a): 0.078307867050171
test::staticTest($a): 0.079993009567261
$test->nonStaticTest($a): 0.083762884140015
- Output for 5.5.34
- $a = $a + 1: 0.031609773635864
$a += 1: 0.029767036437988
$a++: 0.024363040924072
++$a: 0.020878076553345
$a = t($a): 0.095294952392578
tl1($a): 0.081687927246094
tl2($a): 0.080682992935181
test::staticTest($a): 0.081506013870239
$test->nonStaticTest($a): 0.087432861328125
- Output for 5.5.33
- $a = $a + 1: 0.025308132171631
$a += 1: 0.026292085647583
$a++: 0.024278879165649
++$a: 0.020845174789429
$a = t($a): 0.094299077987671
tl1($a): 0.079386949539185
tl2($a): 0.077468156814575
test::staticTest($a): 0.077615976333618
$test->nonStaticTest($a): 0.083853006362915
- Output for 5.5.32
- $a = $a + 1: 0.039530038833618
$a += 1: 0.036459922790527
$a++: 0.029469013214111
++$a: 0.024466037750244
$a = t($a): 0.11071491241455
tl1($a): 0.092185974121094
tl2($a): 0.093362092971802
test::staticTest($a): 0.094167947769165
$test->nonStaticTest($a): 0.10310482978821
- Output for 5.5.31
- $a = $a + 1: 0.02510404586792
$a += 1: 0.02865195274353
$a++: 0.024410009384155
++$a: 0.020873069763184
$a = t($a): 0.096909999847412
tl1($a): 0.080173015594482
tl2($a): 0.076769113540649
test::staticTest($a): 0.079226970672607
$test->nonStaticTest($a): 0.088006019592285
- Output for 5.5.30
- $a = $a + 1: 0.031861066818237
$a += 1: 0.027432918548584
$a++: 0.024466991424561
++$a: 0.020871162414551
$a = t($a): 0.094290018081665
tl1($a): 0.077219009399414
tl2($a): 0.082932949066162
test::staticTest($a): 0.080514907836914
$test->nonStaticTest($a): 0.086918830871582
- Output for 5.5.29
- $a = $a + 1: 0.036545038223267
$a += 1: 0.033123970031738
$a++: 0.027760982513428
++$a: 0.022438049316406
$a = t($a): 0.09934401512146
tl1($a): 0.082522869110107
tl2($a): 0.082860946655273
test::staticTest($a): 0.08072304725647
$test->nonStaticTest($a): 0.090386867523193
- Output for 5.5.28
- $a = $a + 1: 0.028164863586426
$a += 1: 0.027431011199951
$a++: 0.024696111679077
++$a: 0.021178007125854
$a = t($a): 0.094835996627808
tl1($a): 0.082001209259033
tl2($a): 0.078343868255615
test::staticTest($a): 0.079838037490845
$test->nonStaticTest($a): 0.089744091033936
- Output for 5.5.27
- $a = $a + 1: 0.024722099304199
$a += 1: 0.026012182235718
$a++: 0.023759126663208
++$a: 0.02022910118103
$a = t($a): 0.091001987457275
tl1($a): 0.076956033706665
tl2($a): 0.077805995941162
test::staticTest($a): 0.077523946762085
$test->nonStaticTest($a): 0.089614868164062
- Output for 5.5.26
- $a = $a + 1: 0.033844947814941
$a += 1: 0.031455039978027
$a++: 0.026441097259521
++$a: 0.021294832229614
$a = t($a): 0.095850944519043
tl1($a): 0.077569007873535
tl2($a): 0.077530860900879
test::staticTest($a): 0.077313899993896
$test->nonStaticTest($a): 0.089282035827637
- Output for 5.5.25
- $a = $a + 1: 0.032257080078125
$a += 1: 0.030328035354614
$a++: 0.025675058364868
++$a: 0.020900011062622
$a = t($a): 0.093269109725952
tl1($a): 0.080643892288208
tl2($a): 0.081193923950195
test::staticTest($a): 0.077125072479248
$test->nonStaticTest($a): 0.086234092712402
- Output for 5.5.24
- $a = $a + 1: 0.030701875686646
$a += 1: 0.027518033981323
$a++: 0.024170875549316
++$a: 0.020830869674683
$a = t($a): 0.092613935470581
tl1($a): 0.077792167663574
tl2($a): 0.07700514793396
test::staticTest($a): 0.079631090164185
$test->nonStaticTest($a): 0.085685968399048
- Output for 5.4.45
- $a = $a + 1: 0.033190011978149
$a += 1: 0.029606103897095
$a++: 0.025733947753906
++$a: 0.020809888839722
$a = t($a): 0.090430021286011
tl1($a): 0.094871997833252
tl2($a): 0.073677062988281
test::staticTest($a): 0.072422027587891
$test->nonStaticTest($a): 0.083146095275879
- Output for 5.4.44
- $a = $a + 1: 0.034617900848389
$a += 1: 0.030601978302002
$a++: 0.026447057723999
++$a: 0.021213054656982
$a = t($a): 0.090919017791748
tl1($a): 0.07478404045105
tl2($a): 0.072932004928589
test::staticTest($a): 0.071922063827515
$test->nonStaticTest($a): 0.082066059112549
- Output for 5.4.43
- $a = $a + 1: 0.025335073471069
$a += 1: 0.025140047073364
$a++: 0.024090051651001
++$a: 0.020925998687744
$a = t($a): 0.089589834213257
tl1($a): 0.075170040130615
tl2($a): 0.073132991790771
test::staticTest($a): 0.07191801071167
$test->nonStaticTest($a): 0.08111310005188
- Output for 5.4.42
- $a = $a + 1: 0.025790929794312
$a += 1: 0.025243997573853
$a++: 0.024163961410522
++$a: 0.020611047744751
$a = t($a): 0.091695070266724
tl1($a): 0.074837207794189
tl2($a): 0.072828054428101
test::staticTest($a): 0.071572065353394
$test->nonStaticTest($a): 0.081428050994873
- Output for 5.4.41
- $a = $a + 1: 0.02997899055481
$a += 1: 0.02921986579895
$a++: 0.029017925262451
++$a: 0.024553060531616
$a = t($a): 0.11002111434937
tl1($a): 0.077686071395874
tl2($a): 0.075366020202637
test::staticTest($a): 0.075049877166748
$test->nonStaticTest($a): 0.084120035171509
- Output for 5.4.40
- $a = $a + 1: 0.036432981491089
$a += 1: 0.038372993469238
$a++: 0.036216974258423
++$a: 0.031435012817383
$a = t($a): 0.14215397834778
tl1($a): 0.12048602104187
tl2($a): 0.15038299560547
test::staticTest($a): 0.12785506248474
$test->nonStaticTest($a): 0.15389704704285
- Output for 5.4.39
- $a = $a + 1: 0.040574073791504
$a += 1: 0.039561033248901
$a++: 0.03778600692749
++$a: 0.03137993812561
$a = t($a): 0.17205190658569
tl1($a): 0.11571002006531
tl2($a): 0.13590407371521
test::staticTest($a): 0.13855290412903
$test->nonStaticTest($a): 0.13472414016724
- Output for 5.4.38
- $a = $a + 1: 0.039152860641479
$a += 1: 0.04249382019043
$a++: 0.040792942047119
++$a: 0.034129858016968
$a = t($a): 0.14838695526123
tl1($a): 0.12122106552124
tl2($a): 0.14269781112671
test::staticTest($a): 0.12737584114075
$test->nonStaticTest($a): 0.13539099693298
- Output for 5.4.37
- $a = $a + 1: 0.036550998687744
$a += 1: 0.036586046218872
$a++: 0.035201072692871
++$a: 0.030115842819214
$a = t($a): 0.14063405990601
tl1($a): 0.11859393119812
tl2($a): 0.12115406990051
test::staticTest($a): 0.12669110298157
$test->nonStaticTest($a): 0.12936997413635
- Output for 5.4.36
- $a = $a + 1: 0.037331104278564
$a += 1: 0.040789842605591
$a++: 0.037235975265503
++$a: 0.032041072845459
$a = t($a): 0.15129208564758
tl1($a): 0.11846709251404
tl2($a): 0.11099815368652
test::staticTest($a): 0.12626481056213
$test->nonStaticTest($a): 0.14088201522827
- Output for 5.4.35
- $a = $a + 1: 0.037217140197754
$a += 1: 0.037587881088257
$a++: 0.039808988571167
++$a: 0.032569885253906
$a = t($a): 0.13663506507874
tl1($a): 0.11951804161072
tl2($a): 0.11496782302856
test::staticTest($a): 0.10957908630371
$test->nonStaticTest($a): 0.1520299911499
- Output for 5.4.34
- $a = $a + 1: 0.038388013839722
$a += 1: 0.058343887329102
$a++: 0.038990020751953
++$a: 0.036181926727295
$a = t($a): 0.14969110488892
tl1($a): 0.15193796157837
tl2($a): 0.12865805625916
test::staticTest($a): 0.12281513214111
$test->nonStaticTest($a): 0.13724207878113
- Output for 5.4.32
- $a = $a + 1: 0.035944938659668
$a += 1: 0.036672115325928
$a++: 0.035515069961548
++$a: 0.031906843185425
$a = t($a): 0.13498187065125
tl1($a): 0.11111497879028
tl2($a): 0.11605405807495
test::staticTest($a): 0.12485384941101
$test->nonStaticTest($a): 0.12758111953735
- Output for 5.4.31
- $a = $a + 1: 0.038427114486694
$a += 1: 0.039713144302368
$a++: 0.041814088821411
++$a: 0.038501024246216
$a = t($a): 0.16886711120605
tl1($a): 0.1205689907074
tl2($a): 0.11221098899841
test::staticTest($a): 0.11428213119507
$test->nonStaticTest($a): 0.12870311737061
- Output for 5.4.30
- $a = $a + 1: 0.038949966430664
$a += 1: 0.038416862487793
$a++: 0.035783052444458
++$a: 0.031404972076416
$a = t($a): 0.22818803787231
tl1($a): 0.16601800918579
tl2($a): 0.11691403388977
test::staticTest($a): 0.11620211601257
$test->nonStaticTest($a): 0.12878704071045
- Output for 5.4.29
- $a = $a + 1: 0.042119026184082
$a += 1: 0.049407005310059
$a++: 0.041994094848633
++$a: 0.035433769226074
$a = t($a): 0.16800403594971
tl1($a): 0.14346718788147
tl2($a): 0.17860412597656
test::staticTest($a): 0.14300513267517
$test->nonStaticTest($a): 0.18029999732971
- Output for 5.4.28
- $a = $a + 1: 0.03790807723999
$a += 1: 0.038604974746704
$a++: 0.037508010864258
++$a: 0.031986951828003
$a = t($a): 0.14534997940063
tl1($a): 0.11483120918274
tl2($a): 0.13923788070679
test::staticTest($a): 0.16694903373718
$test->nonStaticTest($a): 0.15343713760376
- Output for 5.4.27
- $a = $a + 1: 0.039591073989868
$a += 1: 0.038063049316406
$a++: 0.036736965179443
++$a: 0.032109975814819
$a = t($a): 0.14107990264893
tl1($a): 0.13559293746948
tl2($a): 0.16683220863342
test::staticTest($a): 0.17007112503052
$test->nonStaticTest($a): 0.2636239528656
- Output for 5.4.26
- $a = $a + 1: 0.036952972412109
$a += 1: 0.037822961807251
$a++: 0.053269147872925
++$a: 0.031458854675293
$a = t($a): 0.14051699638367
tl1($a): 0.15860795974731
tl2($a): 0.24118113517761
test::staticTest($a): 0.19361519813538
$test->nonStaticTest($a): 0.12678408622742
- Output for 5.4.25
- $a = $a + 1: 0.055994987487793
$a += 1: 0.038196086883545
$a++: 0.037364959716797
++$a: 0.032050132751465
$a = t($a): 0.16360878944397
tl1($a): 0.11810493469238
tl2($a): 0.14745903015137
test::staticTest($a): 0.20295095443726
$test->nonStaticTest($a): 0.23005390167236
- Output for 5.4.24
- $a = $a + 1: 0.03892993927002
$a += 1: 0.043420076370239
$a++: 0.03698992729187
++$a: 0.034987926483154
$a = t($a): 0.15769600868225
tl1($a): 0.11917901039124
tl2($a): 0.11611104011536
test::staticTest($a): 0.15895414352417
$test->nonStaticTest($a): 0.19490790367126
- Output for 5.4.23
- $a = $a + 1: 0.044533967971802
$a += 1: 0.039746999740601
$a++: 0.043942928314209
++$a: 0.034757137298584
$a = t($a): 0.16298985481262
tl1($a): 0.15287709236145
tl2($a): 0.14032888412476
test::staticTest($a): 0.10988688468933
$test->nonStaticTest($a): 0.13069605827332
- Output for 5.4.22
- $a = $a + 1: 0.036925077438354
$a += 1: 0.04109787940979
$a++: 0.036348104476929
++$a: 0.051229953765869
$a = t($a): 0.1623101234436
tl1($a): 0.1188759803772
tl2($a): 0.12226891517639
test::staticTest($a): 0.1570680141449
$test->nonStaticTest($a): 0.16860795021057
- Output for 5.4.21
- $a = $a + 1: 0.061651945114136
$a += 1: 0.037296056747437
$a++: 0.034848928451538
++$a: 0.031661987304688
$a = t($a): 0.14100885391235
tl1($a): 0.11608409881592
tl2($a): 0.1141459941864
test::staticTest($a): 0.1124119758606
$test->nonStaticTest($a): 0.13689088821411
- Output for 5.4.20
- $a = $a + 1: 0.048025131225586
$a += 1: 0.04918098449707
$a++: 0.055310964584351
++$a: 0.033738136291504
$a = t($a): 0.15435194969177
tl1($a): 0.15433621406555
tl2($a): 0.14617109298706
test::staticTest($a): 0.13971710205078
$test->nonStaticTest($a): 0.14376306533813
- Output for 5.4.19
- $a = $a + 1: 0.046872854232788
$a += 1: 0.039138078689575
$a++: 0.036810159683228
++$a: 0.032373905181885
$a = t($a): 0.15558099746704
tl1($a): 0.12611198425293
tl2($a): 0.11671996116638
test::staticTest($a): 0.10639810562134
$test->nonStaticTest($a): 0.12807512283325
- Output for 5.4.18
- $a = $a + 1: 0.037854909896851
$a += 1: 0.038224935531616
$a++: 0.037554025650024
++$a: 0.031637191772461
$a = t($a): 0.13784599304199
tl1($a): 0.12359499931335
tl2($a): 0.14231705665588
test::staticTest($a): 0.12001013755798
$test->nonStaticTest($a): 0.1459481716156
- Output for 5.4.17
- $a = $a + 1: 0.046460151672363
$a += 1: 0.051186800003052
$a++: 0.047193050384521
++$a: 0.04320502281189
$a = t($a): 0.17320108413696
tl1($a): 0.1470160484314
tl2($a): 0.17314505577087
test::staticTest($a): 0.14723014831543
$test->nonStaticTest($a): 0.190269947052
- Output for 5.4.16
- $a = $a + 1: 0.040286064147949
$a += 1: 0.041752815246582
$a++: 0.037546873092651
++$a: 0.033847093582153
$a = t($a): 0.19066309928894
tl1($a): 0.12387609481812
tl2($a): 0.14908409118652
test::staticTest($a): 0.12879204750061
$test->nonStaticTest($a): 0.15936613082886
- Output for 5.4.15
- $a = $a + 1: 0.038460969924927
$a += 1: 0.041284084320068
$a++: 0.037010192871094
++$a: 0.031681060791016
$a = t($a): 0.150151014328
tl1($a): 0.15073895454407
tl2($a): 0.18175101280212
test::staticTest($a): 0.14257001876831
$test->nonStaticTest($a): 0.13262605667114
- Output for 5.4.14
- $a = $a + 1: 0.036407947540283
$a += 1: 0.038804054260254
$a++: 0.037838935852051
++$a: 0.033998012542725
$a = t($a): 0.14822793006897
tl1($a): 0.11801886558533
tl2($a): 0.1556088924408
test::staticTest($a): 0.12478804588318
$test->nonStaticTest($a): 0.12902808189392
- Output for 5.4.13
- $a = $a + 1: 0.059852123260498
$a += 1: 0.05991792678833
$a++: 0.037569999694824
++$a: 0.030426979064941
$a = t($a): 0.1383900642395
tl1($a): 0.1299409866333
tl2($a): 0.1120491027832
test::staticTest($a): 0.11493706703186
$test->nonStaticTest($a): 0.13684988021851
- Output for 5.4.12
- $a = $a + 1: 0.055243968963623
$a += 1: 0.041838884353638
$a++: 0.037882089614868
++$a: 0.034066200256348
$a = t($a): 0.15648913383484
tl1($a): 0.11866497993469
tl2($a): 0.11199378967285
test::staticTest($a): 0.13755393028259
$test->nonStaticTest($a): 0.22839403152466
- Output for 5.4.11
- $a = $a + 1: 0.04130482673645
$a += 1: 0.040199995040894
$a++: 0.038437128067017
++$a: 0.032456874847412
$a = t($a): 0.15539908409119
tl1($a): 0.15036797523499
tl2($a): 0.12497591972351
test::staticTest($a): 0.13360095024109
$test->nonStaticTest($a): 0.13685202598572
- Output for 5.4.10
- $a = $a + 1: 0.038758039474487
$a += 1: 0.039872884750366
$a++: 0.038048982620239
++$a: 0.032411813735962
$a = t($a): 0.14288997650146
tl1($a): 0.11896085739136
tl2($a): 0.11391496658325
test::staticTest($a): 0.11853289604187
$test->nonStaticTest($a): 0.13269591331482
- Output for 5.4.9
- $a = $a + 1: 0.038243055343628
$a += 1: 0.041855096817017
$a++: 0.036907911300659
++$a: 0.03151798248291
$a = t($a): 0.16840887069702
tl1($a): 0.12160181999207
tl2($a): 0.11507201194763
test::staticTest($a): 0.14063906669617
$test->nonStaticTest($a): 0.13510179519653
- Output for 5.4.8
- $a = $a + 1: 0.039630889892578
$a += 1: 0.042415857315063
$a++: 0.04444694519043
++$a: 0.03931188583374
$a = t($a): 0.16650319099426
tl1($a): 0.13677310943604
tl2($a): 0.12341213226318
test::staticTest($a): 0.11828112602234
$test->nonStaticTest($a): 0.14012908935547
- Output for 5.4.7
- $a = $a + 1: 0.080704212188721
$a += 1: 0.066830158233643
$a++: 0.054470062255859
++$a: 0.062458992004395
$a = t($a): 0.29030108451843
tl1($a): 0.11426496505737
tl2($a): 0.12960410118103
test::staticTest($a): 0.13164782524109
$test->nonStaticTest($a): 0.15618801116943
- Output for 5.4.6
- $a = $a + 1: 0.040321111679077
$a += 1: 0.060243129730225
$a++: 0.043365001678467
++$a: 0.03193211555481
$a = t($a): 0.14247989654541
tl1($a): 0.14307498931885
tl2($a): 0.16490697860718
test::staticTest($a): 0.11681604385376
$test->nonStaticTest($a): 0.15884804725647
- Output for 5.4.5
- $a = $a + 1: 0.038084983825684
$a += 1: 0.03711986541748
$a++: 0.037691116333008
++$a: 0.031795024871826
$a = t($a): 0.14452195167542
tl1($a): 0.12234687805176
tl2($a): 0.14616799354553
test::staticTest($a): 0.11855888366699
$test->nonStaticTest($a): 0.13591194152832
- Output for 5.4.4
- $a = $a + 1: 0.03781795501709
$a += 1: 0.038174152374268
$a++: 0.036859035491943
++$a: 0.050719022750854
$a = t($a): 0.13713812828064
tl1($a): 0.12781190872192
tl2($a): 0.1347508430481
test::staticTest($a): 0.12753987312317
$test->nonStaticTest($a): 0.13977289199829
- Output for 5.4.3
- $a = $a + 1: 0.032165050506592
$a += 1: 0.029636859893799
$a++: 0.027438163757324
++$a: 0.024152994155884
$a = t($a): 0.11793684959412
tl1($a): 0.097500085830688
tl2($a): 0.090001106262207
test::staticTest($a): 0.087985992431641
$test->nonStaticTest($a): 0.087439775466919
- Output for 5.4.2
- $a = $a + 1: 0.024233102798462
$a += 1: 0.024574995040894
$a++: 0.023311853408813
++$a: 0.020033121109009
$a = t($a): 0.087825059890747
tl1($a): 0.073408126831055
tl2($a): 0.073100090026855
test::staticTest($a): 0.070693016052246
$test->nonStaticTest($a): 0.078284025192261
- Output for 5.4.1
- $a = $a + 1: 0.027408838272095
$a += 1: 0.02558708190918
$a++: 0.023883819580078
++$a: 0.020623922348022
$a = t($a): 0.08850884437561
tl1($a): 0.076179981231689
tl2($a): 0.073696851730347
test::staticTest($a): 0.071345090866089
$test->nonStaticTest($a): 0.080128908157349
preferences:
204 ms | 402 KiB | 222 Q