3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php class SomeClass { static function doTest($var) {return $var;} } class SomeObj { function doTest($var) {return $var;} static function doTest2($var) {return $var;} } //bench static call $starttime = microtime(true); for ($i = 0; $i< 100000; $i++) SomeClass::doTest($i); echo "Static call time: " , (microtime(true)-$starttime) , " ms "; //bench object method $starttime = microtime(true); $obj = new SomeObj(); for ($i = 0; $i< 100000; $i++) $obj->doTest($i); echo "Object method call time: " , (microtime(true)-$starttime) , " ms "; //bench static call $starttime = microtime(true); for ($i = 0; $i< 100000; $i++) SomeObj::doTest2($i); echo "Static call (when the static is in the same class of object method) time: " , (microtime(true)-$starttime) , " ms ";
Output for 7.1.0
Static call time: 0.0030148029327393 ms Object method call time: 0.0046939849853516 ms Static call (when the static is in the same class of object method) time: 0.00323486328125 ms
Output for 7.0.14
Static call time: 0.0046448707580566 ms Object method call time: 0.0050919055938721 ms Static call (when the static is in the same class of object method) time: 0.0045270919799805 ms
Output for 7.0.6
Static call time: 0.0027401447296143 ms Object method call time: 0.0029349327087402 ms Static call (when the static is in the same class of object method) time: 0.0027110576629639 ms
Output for 7.0.5
Static call time: 0.0028159618377686 ms Object method call time: 0.0028371810913086 ms Static call (when the static is in the same class of object method) time: 0.0026340484619141 ms
Output for 7.0.4
Static call time: 0.0043549537658691 ms Object method call time: 0.0048928260803223 ms Static call (when the static is in the same class of object method) time: 0.0042369365692139 ms
Output for 7.0.3
Static call time: 0.002716064453125 ms Object method call time: 0.0029399394989014 ms Static call (when the static is in the same class of object method) time: 0.0026838779449463 ms
Output for 7.0.2
Static call time: 0.0030069351196289 ms Object method call time: 0.0031208992004395 ms Static call (when the static is in the same class of object method) time: 0.0028650760650635 ms
Output for 7.0.1
Static call time: 0.0030620098114014 ms Object method call time: 0.0030310153961182 ms Static call (when the static is in the same class of object method) time: 0.0026109218597412 ms
Output for 7.0.0
Static call time: 0.0045099258422852 ms Object method call time: 0.0045878887176514 ms Static call (when the static is in the same class of object method) time: 0.0042510032653809 ms
Output for hhvm-3.12.0
Static call time: 0.016107797622681 ms Object method call time: 0.018136024475098 ms Static call (when the static is in the same class of object method) time: 0.01695704460144 ms
Output for hhvm-3.10.0
Static call time: 0.015067100524902 ms Object method call time: 0.014694929122925 ms Static call (when the static is in the same class of object method) time: 0.014330148696899 ms
Output for 5.6.28
Static call time: 0.015063047409058 ms Object method call time: 0.01594090461731 ms Static call (when the static is in the same class of object method) time: 0.013375997543335 ms
Output for 5.6.21
Static call time: 0.012408018112183 ms Object method call time: 0.012817859649658 ms Static call (when the static is in the same class of object method) time: 0.010786056518555 ms
Output for 5.6.20
Static call time: 0.012610912322998 ms Object method call time: 0.013685941696167 ms Static call (when the static is in the same class of object method) time: 0.011354923248291 ms
Output for 5.6.19
Static call time: 0.012232065200806 ms Object method call time: 0.013422966003418 ms Static call (when the static is in the same class of object method) time: 0.011084079742432 ms
Output for 5.6.18
Static call time: 0.0077848434448242 ms Object method call time: 0.0088670253753662 ms Static call (when the static is in the same class of object method) time: 0.0080151557922363 ms
Output for 5.6.17
Static call time: 0.010669946670532 ms Object method call time: 0.010870933532715 ms Static call (when the static is in the same class of object method) time: 0.0091218948364258 ms
Output for 5.6.16
Static call time: 0.011212825775146 ms Object method call time: 0.010517120361328 ms Static call (when the static is in the same class of object method) time: 0.0080821514129639 ms
Output for 5.6.15
Static call time: 0.012712001800537 ms Object method call time: 0.013854026794434 ms Static call (when the static is in the same class of object method) time: 0.011148929595947 ms
Output for 5.6.14
Static call time: 0.012219905853271 ms Object method call time: 0.013475894927979 ms Static call (when the static is in the same class of object method) time: 0.011157035827637 ms
Output for 5.6.13
Static call time: 0.010396957397461 ms Object method call time: 0.011503934860229 ms Static call (when the static is in the same class of object method) time: 0.0096900463104248 ms
Output for 5.6.12
Static call time: 0.011416912078857 ms Object method call time: 0.012405157089233 ms Static call (when the static is in the same class of object method) time: 0.010364055633545 ms
Output for 5.6.11
Static call time: 0.011826038360596 ms Object method call time: 0.012814998626709 ms Static call (when the static is in the same class of object method) time: 0.010473012924194 ms
Output for 5.6.10
Static call time: 0.012048959732056 ms Object method call time: 0.013221979141235 ms Static call (when the static is in the same class of object method) time: 0.010985851287842 ms
Output for 5.6.9
Static call time: 0.012583017349243 ms Object method call time: 0.013757944107056 ms Static call (when the static is in the same class of object method) time: 0.010509967803955 ms
Output for 5.6.8
Static call time: 0.011275053024292 ms Object method call time: 0.012279033660889 ms Static call (when the static is in the same class of object method) time: 0.010184049606323 ms
Output for 5.6.7
Static call time: 0.0077629089355469 ms Object method call time: 0.0089819431304932 ms Static call (when the static is in the same class of object method) time: 0.0076789855957031 ms
Output for 5.5.35
Static call time: 0.010735988616943 ms Object method call time: 0.011637926101685 ms Static call (when the static is in the same class of object method) time: 0.0096909999847412 ms
Output for 5.5.34
Static call time: 0.01341700553894 ms Object method call time: 0.014036893844604 ms Static call (when the static is in the same class of object method) time: 0.012546062469482 ms
Output for 5.5.33
Static call time: 0.01127290725708 ms Object method call time: 0.012115001678467 ms Static call (when the static is in the same class of object method) time: 0.010577917098999 ms
Output for 5.5.32
Static call time: 0.0074899196624756 ms Object method call time: 0.0085599422454834 ms Static call (when the static is in the same class of object method) time: 0.0074679851531982 ms
Output for 5.5.31
Static call time: 0.010889053344727 ms Object method call time: 0.012568950653076 ms Static call (when the static is in the same class of object method) time: 0.012696027755737 ms
Output for 5.5.30
Static call time: 0.010819911956787 ms Object method call time: 0.012350082397461 ms Static call (when the static is in the same class of object method) time: 0.0097718238830566 ms
Output for 5.5.29
Static call time: 0.0074479579925537 ms Object method call time: 0.00844407081604 ms Static call (when the static is in the same class of object method) time: 0.0073959827423096 ms
Output for 5.5.28
Static call time: 0.010298013687134 ms Object method call time: 0.011325120925903 ms Static call (when the static is in the same class of object method) time: 0.0093090534210205 ms
Output for 5.5.27
Static call time: 0.0076069831848145 ms Object method call time: 0.0087330341339111 ms Static call (when the static is in the same class of object method) time: 0.0079169273376465 ms
Output for 5.5.26
Static call time: 0.011901140213013 ms Object method call time: 0.013145923614502 ms Static call (when the static is in the same class of object method) time: 0.010530948638916 ms
Output for 5.5.25
Static call time: 0.0092990398406982 ms Object method call time: 0.0091891288757324 ms Static call (when the static is in the same class of object method) time: 0.0085599422454834 ms
Output for 5.5.24
Static call time: 0.010263919830322 ms Object method call time: 0.011343002319336 ms Static call (when the static is in the same class of object method) time: 0.0094940662384033 ms
Output for 5.4.45
Static call time: 0.01105809211731 ms Object method call time: 0.011736869812012 ms Static call (when the static is in the same class of object method) time: 0.010141849517822 ms
Output for 5.4.44
Static call time: 0.0072782039642334 ms Object method call time: 0.0082271099090576 ms Static call (when the static is in the same class of object method) time: 0.0073399543762207 ms
Output for 5.4.43
Static call time: 0.01139497756958 ms Object method call time: 0.012125015258789 ms Static call (when the static is in the same class of object method) time: 0.0106520652771 ms
Output for 5.4.42
Static call time: 0.014916896820068 ms Object method call time: 0.015762090682983 ms Static call (when the static is in the same class of object method) time: 0.012811899185181 ms
Output for 5.4.41
Static call time: 0.010931015014648 ms Object method call time: 0.012185096740723 ms Static call (when the static is in the same class of object method) time: 0.010220050811768 ms
Output for 5.4.40
Static call time: 0.008620023727417 ms Object method call time: 0.0097489356994629 ms Static call (when the static is in the same class of object method) time: 0.0082800388336182 ms
Output for 5.4.39
Static call time: 0.010748147964478 ms Object method call time: 0.011659145355225 ms Static call (when the static is in the same class of object method) time: 0.0098958015441895 ms
Output for 5.4.38
Static call time: 0.010267972946167 ms Object method call time: 0.011214017868042 ms Static call (when the static is in the same class of object method) time: 0.0094799995422363 ms
Output for 5.4.37
Static call time: 0.010906934738159 ms Object method call time: 0.011702060699463 ms Static call (when the static is in the same class of object method) time: 0.010328054428101 ms
Output for 5.4.36
Static call time: 0.010020017623901 ms Object method call time: 0.010882139205933 ms Static call (when the static is in the same class of object method) time: 0.0093941688537598 ms
Output for 5.4.35
Static call time: 0.0080509185791016 ms Object method call time: 0.0092489719390869 ms Static call (when the static is in the same class of object method) time: 0.0081560611724854 ms
Output for 5.4.34
Static call time: 0.011332035064697 ms Object method call time: 0.012139081954956 ms Static call (when the static is in the same class of object method) time: 0.010273933410645 ms
Output for 5.4.32
Static call time: 0.0096719264984131 ms Object method call time: 0.0098130702972412 ms Static call (when the static is in the same class of object method) time: 0.0086629390716553 ms
Output for 5.4.31
Static call time: 0.011935949325562 ms Object method call time: 0.012744903564453 ms Static call (when the static is in the same class of object method) time: 0.010751962661743 ms
Output for 5.4.30
Static call time: 0.0081679821014404 ms Object method call time: 0.009376049041748 ms Static call (when the static is in the same class of object method) time: 0.0082910060882568 ms
Output for 5.4.29
Static call time: 0.010465860366821 ms Object method call time: 0.011132955551147 ms Static call (when the static is in the same class of object method) time: 0.0096089839935303 ms
Output for 5.4.28
Static call time: 0.0082700252532959 ms Object method call time: 0.0095610618591309 ms Static call (when the static is in the same class of object method) time: 0.0084228515625 ms
Output for 5.4.27
Static call time: 0.010075092315674 ms Object method call time: 0.013904094696045 ms Static call (when the static is in the same class of object method) time: 0.011415004730225 ms
Output for 5.4.26
Static call time: 0.0087900161743164 ms Object method call time: 0.0094008445739746 ms Static call (when the static is in the same class of object method) time: 0.0083620548248291 ms
Output for 5.4.25
Static call time: 0.0091760158538818 ms Object method call time: 0.010048866271973 ms Static call (when the static is in the same class of object method) time: 0.0086839199066162 ms
Output for 5.4.24
Static call time: 0.011090993881226 ms Object method call time: 0.011910915374756 ms Static call (when the static is in the same class of object method) time: 0.010166883468628 ms
Output for 5.4.23
Static call time: 0.011313915252686 ms Object method call time: 0.012020111083984 ms Static call (when the static is in the same class of object method) time: 0.01033091545105 ms
Output for 5.4.22
Static call time: 0.0076580047607422 ms Object method call time: 0.0086109638214111 ms Static call (when the static is in the same class of object method) time: 0.007512092590332 ms
Output for 5.4.21
Static call time: 0.0094571113586426 ms Object method call time: 0.010412931442261 ms Static call (when the static is in the same class of object method) time: 0.0088770389556885 ms
Output for 5.4.20
Static call time: 0.0082569122314453 ms Object method call time: 0.0089921951293945 ms Static call (when the static is in the same class of object method) time: 0.008897066116333 ms
Output for 5.4.19
Static call time: 0.0098810195922852 ms Object method call time: 0.010523080825806 ms Static call (when the static is in the same class of object method) time: 0.009099006652832 ms
Output for 5.4.18
Static call time: 0.010015964508057 ms Object method call time: 0.010385036468506 ms Static call (when the static is in the same class of object method) time: 0.0090558528900146 ms
Output for 5.4.17
Static call time: 0.011248111724854 ms Object method call time: 0.010764122009277 ms Static call (when the static is in the same class of object method) time: 0.0078999996185303 ms
Output for 5.4.16
Static call time: 0.011280059814453 ms Object method call time: 0.011870145797729 ms Static call (when the static is in the same class of object method) time: 0.010426044464111 ms
Output for 5.4.15
Static call time: 0.0094330310821533 ms Object method call time: 0.01003098487854 ms Static call (when the static is in the same class of object method) time: 0.0089499950408936 ms
Output for 5.4.14
Static call time: 0.007443904876709 ms Object method call time: 0.0081548690795898 ms Static call (when the static is in the same class of object method) time: 0.0075011253356934 ms
Output for 5.4.13
Static call time: 0.0076029300689697 ms Object method call time: 0.0091030597686768 ms Static call (when the static is in the same class of object method) time: 0.0076749324798584 ms
Output for 5.4.12
Static call time: 0.0097529888153076 ms Object method call time: 0.01088809967041 ms Static call (when the static is in the same class of object method) time: 0.0079238414764404 ms
Output for 5.4.11
Static call time: 0.0089449882507324 ms Object method call time: 0.010889053344727 ms Static call (when the static is in the same class of object method) time: 0.0087380409240723 ms
Output for 5.4.10
Static call time: 0.0078539848327637 ms Object method call time: 0.010029077529907 ms Static call (when the static is in the same class of object method) time: 0.007871150970459 ms
Output for 5.4.9
Static call time: 0.010529041290283 ms Object method call time: 0.010855913162231 ms Static call (when the static is in the same class of object method) time: 0.012831926345825 ms
Output for 5.4.8
Static call time: 0.0092251300811768 ms Object method call time: 0.010995149612427 ms Static call (when the static is in the same class of object method) time: 0.010102987289429 ms
Output for 5.4.7
Static call time: 0.0073180198669434 ms Object method call time: 0.0085420608520508 ms Static call (when the static is in the same class of object method) time: 0.0072879791259766 ms
Output for 5.4.6
Static call time: 0.0072181224822998 ms Object method call time: 0.0083408355712891 ms Static call (when the static is in the same class of object method) time: 0.0072591304779053 ms
Output for 5.4.5
Static call time: 0.0074379444122314 ms Object method call time: 0.0084810256958008 ms Static call (when the static is in the same class of object method) time: 0.0074548721313477 ms
Output for 5.4.4
Static call time: 0.0093259811401367 ms Object method call time: 0.0094091892242432 ms Static call (when the static is in the same class of object method) time: 0.0092740058898926 ms
Output for 5.4.3
Static call time: 0.0070900917053223 ms Object method call time: 0.0079548358917236 ms Static call (when the static is in the same class of object method) time: 0.0071780681610107 ms
Output for 5.4.2
Static call time: 0.0077211856842041 ms Object method call time: 0.0084609985351562 ms Static call (when the static is in the same class of object method) time: 0.0073621273040771 ms
Output for 5.4.1
Static call time: 0.0074172019958496 ms Object method call time: 0.0081920623779297 ms Static call (when the static is in the same class of object method) time: 0.0073819160461426 ms
Output for 5.4.0
Static call time: 0.0076229572296143 ms Object method call time: 0.0081319808959961 ms Static call (when the static is in the same class of object method) time: 0.0075421333312988 ms
Output for 5.3.29
Static call time: 0.023015022277832 ms Object method call time: 0.016804933547974 ms Static call (when the static is in the same class of object method) time: 0.01964282989502 ms
Output for 5.3.28
Static call time: 0.02312707901001 ms Object method call time: 0.016776084899902 ms Static call (when the static is in the same class of object method) time: 0.019424915313721 ms
Output for 5.3.27
Static call time: 0.022346019744873 ms Object method call time: 0.016386032104492 ms Static call (when the static is in the same class of object method) time: 0.019827127456665 ms
Output for 5.3.26
Static call time: 0.022715091705322 ms Object method call time: 0.016677141189575 ms Static call (when the static is in the same class of object method) time: 0.019029140472412 ms
Output for 5.3.25
Static call time: 0.020339012145996 ms Object method call time: 0.014736890792847 ms Static call (when the static is in the same class of object method) time: 0.017601013183594 ms
Output for 5.3.24
Static call time: 0.01609992980957 ms Object method call time: 0.012650012969971 ms Static call (when the static is in the same class of object method) time: 0.016072034835815 ms
Output for 5.3.23
Static call time: 0.015588045120239 ms Object method call time: 0.012492895126343 ms Static call (when the static is in the same class of object method) time: 0.01532506942749 ms
Output for 5.3.22
Static call time: 0.019740104675293 ms Object method call time: 0.016331911087036 ms Static call (when the static is in the same class of object method) time: 0.020434141159058 ms
Output for 5.3.21
Static call time: 0.015645980834961 ms Object method call time: 0.012606859207153 ms Static call (when the static is in the same class of object method) time: 0.015471935272217 ms
Output for 5.3.20
Static call time: 0.016143083572388 ms Object method call time: 0.012454032897949 ms Static call (when the static is in the same class of object method) time: 0.015823125839233 ms
Output for 5.3.19
Static call time: 0.01735520362854 ms Object method call time: 0.013659954071045 ms Static call (when the static is in the same class of object method) time: 0.017210006713867 ms
Output for 5.3.18
Static call time: 0.0226149559021 ms Object method call time: 0.016533136367798 ms Static call (when the static is in the same class of object method) time: 0.019256830215454 ms
Output for 5.3.17
Static call time: 0.01647686958313 ms Object method call time: 0.013297080993652 ms Static call (when the static is in the same class of object method) time: 0.016561031341553 ms
Output for 5.3.16
Static call time: 0.015743970870972 ms Object method call time: 0.012600898742676 ms Static call (when the static is in the same class of object method) time: 0.0155189037323 ms
Output for 5.3.15
Static call time: 0.015148878097534 ms Object method call time: 0.012167930603027 ms Static call (when the static is in the same class of object method) time: 0.014930963516235 ms
Output for 5.3.14
Static call time: 0.015516996383667 ms Object method call time: 0.012209177017212 ms Static call (when the static is in the same class of object method) time: 0.015555858612061 ms
Output for 5.3.13
Static call time: 0.015878915786743 ms Object method call time: 0.012634992599487 ms Static call (when the static is in the same class of object method) time: 0.01567006111145 ms
Output for 5.3.12
Static call time: 0.016716957092285 ms Object method call time: 0.012766122817993 ms Static call (when the static is in the same class of object method) time: 0.016221046447754 ms
Output for 5.3.11
Static call time: 0.015384912490845 ms Object method call time: 0.012043952941895 ms Static call (when the static is in the same class of object method) time: 0.015147924423218 ms
Output for 5.3.10
Static call time: 0.017388105392456 ms Object method call time: 0.01246190071106 ms Static call (when the static is in the same class of object method) time: 0.015699148178101 ms
Output for 5.3.9
Static call time: 0.016710996627808 ms Object method call time: 0.012970924377441 ms Static call (when the static is in the same class of object method) time: 0.016105890274048 ms
Output for 5.3.8
Static call time: 0.019465923309326 ms Object method call time: 0.019264936447144 ms Static call (when the static is in the same class of object method) time: 0.016913890838623 ms
Output for 5.3.7
Static call time: 0.023442983627319 ms Object method call time: 0.020332813262939 ms Static call (when the static is in the same class of object method) time: 0.023757934570312 ms
Output for 5.3.6
Static call time: 0.017961978912354 ms Object method call time: 0.016814231872559 ms Static call (when the static is in the same class of object method) time: 0.015456914901733 ms
Output for 5.3.5
Static call time: 0.014793157577515 ms Object method call time: 0.012063026428223 ms Static call (when the static is in the same class of object method) time: 0.014667987823486 ms
Output for 5.3.4
Static call time: 0.023311853408813 ms Object method call time: 0.017319917678833 ms Static call (when the static is in the same class of object method) time: 0.019678115844727 ms
Output for 5.3.3
Static call time: 0.016168117523193 ms Object method call time: 0.012446880340576 ms Static call (when the static is in the same class of object method) time: 0.015913963317871 ms
Output for 5.3.2
Static call time: 0.024060010910034 ms Object method call time: 0.018984079360962 ms Static call (when the static is in the same class of object method) time: 0.022404909133911 ms
Output for 5.3.1
Static call time: 0.024139165878296 ms Object method call time: 0.01795482635498 ms Static call (when the static is in the same class of object method) time: 0.017056941986084 ms
Output for 5.3.0
Static call time: 0.024270057678223 ms Object method call time: 0.018021106719971 ms Static call (when the static is in the same class of object method) time: 0.020121097564697 ms
Output for 5.2.17
Static call time: 0.021915197372437 ms Object method call time: 0.01742696762085 ms Static call (when the static is in the same class of object method) time: 0.020423889160156 ms
Output for 5.2.16
Static call time: 0.032224178314209 ms Object method call time: 0.020879983901978 ms Static call (when the static is in the same class of object method) time: 0.022413015365601 ms
Output for 5.2.15
Static call time: 0.020637989044189 ms Object method call time: 0.017570018768311 ms Static call (when the static is in the same class of object method) time: 0.020233869552612 ms
Output for 5.2.14
Static call time: 0.03069019317627 ms Object method call time: 0.020721912384033 ms Static call (when the static is in the same class of object method) time: 0.022478818893433 ms
Output for 5.2.13
Static call time: 0.028066158294678 ms Object method call time: 0.02131986618042 ms Static call (when the static is in the same class of object method) time: 0.023007154464722 ms
Output for 5.2.12
Static call time: 0.028791904449463 ms Object method call time: 0.018096923828125 ms Static call (when the static is in the same class of object method) time: 0.02056097984314 ms
Output for 5.2.11
Static call time: 0.030679941177368 ms Object method call time: 0.022842168807983 ms Static call (when the static is in the same class of object method) time: 0.02134895324707 ms
Output for 5.2.10
Static call time: 0.030074119567871 ms Object method call time: 0.021866083145142 ms Static call (when the static is in the same class of object method) time: 0.024148941040039 ms
Output for 5.2.9
Static call time: 0.028368949890137 ms Object method call time: 0.025617837905884 ms Static call (when the static is in the same class of object method) time: 0.024315118789673 ms
Output for 5.2.8
Static call time: 0.025264024734497 ms Object method call time: 0.020833015441895 ms Static call (when the static is in the same class of object method) time: 0.02097487449646 ms
Output for 5.2.7
Static call time: 0.019231081008911 ms Object method call time: 0.017299175262451 ms Static call (when the static is in the same class of object method) time: 0.018723011016846 ms
Output for 5.2.6
Static call time: 0.028959035873413 ms Object method call time: 0.023084163665771 ms Static call (when the static is in the same class of object method) time: 0.021201848983765 ms
Output for 5.2.5
Static call time: 0.029963970184326 ms Object method call time: 0.023980855941772 ms Static call (when the static is in the same class of object method) time: 0.023427963256836 ms
Output for 5.2.4
Static call time: 0.029628038406372 ms Object method call time: 0.023673057556152 ms Static call (when the static is in the same class of object method) time: 0.023453950881958 ms
Output for 5.2.3
Static call time: 0.020998954772949 ms Object method call time: 0.017626047134399 ms Static call (when the static is in the same class of object method) time: 0.019421815872192 ms
Output for 5.2.2
Static call time: 0.032956123352051 ms Object method call time: 0.022089004516602 ms Static call (when the static is in the same class of object method) time: 0.020347118377686 ms
Output for 5.2.1
Static call time: 0.023159027099609 ms Object method call time: 0.019490003585815 ms Static call (when the static is in the same class of object method) time: 0.025746822357178 ms
Output for 5.2.0
Static call time: 0.018821001052856 ms Object method call time: 0.016881227493286 ms Static call (when the static is in the same class of object method) time: 0.018417119979858 ms
Output for 5.1.6
Static call time: 0.019914150238037 ms Object method call time: 0.017072916030884 ms Static call (when the static is in the same class of object method) time: 0.018198013305664 ms
Output for 5.1.5
Static call time: 0.018899202346802 ms Object method call time: 0.017063856124878 ms Static call (when the static is in the same class of object method) time: 0.018455982208252 ms
Output for 5.1.4
Static call time: 0.030426025390625 ms Object method call time: 0.0244300365448 ms Static call (when the static is in the same class of object method) time: 0.023782014846802 ms
Output for 5.1.3
Static call time: 0.030683040618896 ms Object method call time: 0.024287939071655 ms Static call (when the static is in the same class of object method) time: 0.023831844329834 ms
Output for 5.1.2
Static call time: 0.030092000961304 ms Object method call time: 0.023881912231445 ms Static call (when the static is in the same class of object method) time: 0.023638963699341 ms
Output for 5.1.1
Static call time: 0.029629945755005 ms Object method call time: 0.023093938827515 ms Static call (when the static is in the same class of object method) time: 0.019395112991333 ms
Output for 5.1.0
Static call time: 0.024592161178589 ms Object method call time: 0.020287990570068 ms Static call (when the static is in the same class of object method) time: 0.020474910736084 ms
Output for 5.0.5
Static call time: 0.045660018920898 ms Object method call time: 0.038669109344482 ms Static call (when the static is in the same class of object method) time: 0.033593893051147 ms
Output for 5.0.4
Static call time: 0.045135974884033 ms Object method call time: 0.047167062759399 ms Static call (when the static is in the same class of object method) time: 0.044720888137817 ms
Output for 5.0.3
Static call time: 0.049576997756958 ms Object method call time: 0.038177967071533 ms Static call (when the static is in the same class of object method) time: 0.033702850341797 ms
Output for 5.0.2
Static call time: 0.04912805557251 ms Object method call time: 0.041070938110352 ms Static call (when the static is in the same class of object method) time: 0.034847021102905 ms
Output for 5.0.1
Static call time: 0.033998966217041 ms Object method call time: 0.031076908111572 ms Static call (when the static is in the same class of object method) time: 0.029772996902466 ms
Output for 5.0.0
Static call time: 0.031966924667358 ms Object method call time: 0.031872034072876 ms Static call (when the static is in the same class of object method) time: 0.031633138656616 ms
Output for 4.4.2 - 4.4.9
Parse error: syntax error, unexpected T_STATIC, expecting T_OLD_FUNCTION or T_FUNCTION or T_VAR or '}' in /in/aYnuF on line 5
Process exited with code 255.
Output for 4.3.0 - 4.3.1, 4.3.5 - 4.4.1
Parse error: parse error, unexpected T_STATIC, expecting T_OLD_FUNCTION or T_FUNCTION or T_VAR or '}' in /in/aYnuF on line 5
Process exited with code 255.
Output for 4.3.2 - 4.3.4
Parse error: parse error, expecting `T_OLD_FUNCTION' or `T_FUNCTION' or `T_VAR' or `'}'' in /in/aYnuF on line 5
Process exited with code 255.