3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php function convertNew($input) { $oldMin = 0; $oldMax = 1; $newMin = 127; $newMax = 0; return ceil(((($input- $oldMin) * ($newMax - $newMin)) / ($oldMax - $oldMin)) + $newMin); } function convertOld($input) { $range_input = range(1, 0, 1/127); $range_output = range(0, 127); foreach ($range_input as $key => $value) { if ($value <= $input) { return $range_output[$key]; } } return 127; } // Simple benchmark for OLD alpha2gd conversion $start = microtime(1); foreach (range(0,1,1/1000) as $input) { convertOld($input); } $diffOld = microtime(1) - $start; echo "Old time: $diffOld\n"; // Simple benchmark for NEW alpha2gd conversion $start = microtime(1); foreach (range(0,1,1/1000) as $input) { convertNew($input); } $diffNew = microtime(1) - $start; echo "New time: $diffNew\n"; echo (($diffOld-$diffNew)/$diffOld*100)."% faster\n"; // Iterate through a whole bunch of floats // to ensure OLD output matches NEW output $warnings = array(); foreach (range(0,1,1/10000) as $input) { if (convertOld($input) != convertNew($input)) $warnings[] = $input; } if (count($warnings)) { echo "Warning, value mismatches at ".implode(", ", $warnings)."\n"; } else { echo "All values passed!\n"; }
based on 8ohIA
Output for 7.1.0
Old time: 0.0029280185699463 New time: 0.00015616416931152 94.666558097875% faster All values passed!
Output for 7.0.14
Old time: -0.0030128955841064 New time: -0.00017809867858887 94.088786895624% faster All values passed!
Output for 7.0.6
Old time: 0.0024189949035645 New time: 0.00013399124145508 94.460871279322% faster All values passed!
Output for 7.0.5
Old time: 0.0015659332275391 New time: 9.2029571533203E-5 94.123020706456% faster All values passed!
Output for 7.0.4
Old time: 0.0021378993988037 New time: 0.00010514259338379 95.081967213115% faster All values passed!
Output for 7.0.3
Old time: 0.0015671253204346 New time: 7.6055526733398E-5 95.146812718698% faster All values passed!
Output for 7.0.2
Old time: 0.0024080276489258 New time: 0.0001070499420166 95.554455445545% faster All values passed!
Output for 7.0.1
Old time: 0.0016789436340332 New time: 7.5101852416992E-5 95.526838966203% faster All values passed!
Output for 7.0.0
Old time: 0.0019228458404541 New time: 8.392333984375E-5 95.635461872288% faster All values passed!
Output for hhvm-3.12.0
Old time: 0.0058269500732422 New time: 0.00033092498779297 94.320785597381% faster All values passed!
Output for hhvm-3.10.0
Old time: 0.00718092918396 New time: 0.00039291381835938 94.528370795843% faster All values passed!
Output for 5.6.28
Old time: 0.01986289024353 New time: 0.00056982040405273 97.131231169954% faster All values passed!
Output for 5.6.21
Old time: 0.015465021133423 New time: 0.00047802925109863 96.90896477299% faster All values passed!
Output for 5.6.20
Old time: 0.015787124633789 New time: 0.00055694580078125 96.472151745802% faster All values passed!
Output for 5.6.19
Old time: 0.017657041549683 New time: 0.00047612190246582 97.303501262507% faster All values passed!
Output for 5.6.18
Old time: 0.012163877487183 New time: 0.0003199577331543 97.369607401164% faster All values passed!
Output for 5.6.17
Old time: 0.011950969696045 New time: 0.00036001205444336 96.98759127% faster All values passed!
Output for 5.6.16
Old time: 0.017595052719116 New time: 0.00053787231445312 96.943048008781% faster All values passed!
Output for 5.6.15
Old time: 0.011689186096191 New time: 0.00035715103149414 96.944603083952% faster All values passed!
Output for 5.6.14
Old time: 0.014707088470459 New time: 0.00039196014404297 97.334889602179% faster All values passed!
Output for 5.6.13
Old time: 0.017408132553101 New time: 0.00051116943359375 97.063617064987% faster All values passed!
Output for 5.6.12
Old time: 0.012193918228149 New time: 0.00038814544677734 96.816893146935% faster All values passed!
Output for 5.6.11
Old time: 0.016592025756836 New time: 0.00049901008605957 96.992470398896% faster All values passed!
Output for 5.6.10
Old time: 0.015102863311768 New time: 0.00044703483581543 97.040065671076% faster All values passed!
Output for 5.6.9
Old time: 0.014596939086914 New time: 0.00044488906860352 96.952175617405% faster All values passed!
Output for 5.6.8
Old time: 0.017405986785889 New time: 0.00051712989807129 97.029011314139% faster All values passed!
Output for 5.5.35
Old time: 0.016226053237915 New time: 0.00046586990356445 97.128877264646% faster All values passed!
Output for 5.5.34
Old time: 0.016505002975464 New time: 0.00052404403686523 96.824938246638% faster All values passed!
Output for 5.5.33
Old time: 0.018943071365356 New time: 0.00059700012207031 96.848451285666% faster All values passed!
Output for 5.5.32
Old time: 0.016165971755981 New time: 0.00040793418884277 97.476587272325% faster All values passed!
Output for 5.5.31
Old time: 0.014130115509033 New time: 0.00038599967956543 97.268248236763% faster All values passed!
Output for 5.5.30
Old time: 0.019123077392578 New time: 0.00059700012207031 96.87811689607% faster All values passed!
Output for 5.5.29
Old time: 0.01173996925354 New time: 0.00037002563476562 96.848154992791% faster All values passed!
Output for 5.5.28
Old time: 0.018365859985352 New time: 0.00058197975158691 96.831187039153% faster All values passed!
Output for 5.5.27
Old time: 0.018118143081665 New time: 0.00055694580078125 96.926032660903% faster All values passed!
Output for 5.5.26
Old time: 0.01619815826416 New time: 0.00050806999206543 96.863408890197% faster All values passed!
Output for 5.5.25
Old time: 0.013621091842651 New time: 0.00040602684020996 97.01913146978% faster All values passed!
Output for 5.5.24
Old time: 0.01859712600708 New time: 0.00053095817565918 97.14494500141% faster All values passed!
Output for 5.4.45
Old time: 0.019106149673462 New time: 0.00052094459533691 97.273419269501% faster All values passed!
Output for 5.4.44
Old time: 0.017655849456787 New time: 0.00045490264892578 97.423501768979% faster All values passed!
Output for 5.4.43
Old time: 0.019175052642822 New time: 0.00089001655578613 95.358466167657% faster All values passed!
Output for 5.4.42
Old time: 0.017793893814087 New time: 0.00049304962158203 97.229107767342% faster All values passed!
Output for 5.4.41
Old time: 0.018054008483887 New time: 0.0004889965057373 97.291479583752% faster All values passed!
Output for 5.4.40
Old time: 0.019003868103027 New time: 0.00064301490783691 96.616399859487% faster All values passed!
Output for 5.4.39
Old time: 0.021879911422729 New time: 0.0004730224609375 97.838097002321% faster All values passed!
Output for 5.4.38
Old time: 0.01770806312561 New time: 0.00045490264892578 97.431098784215% faster All values passed!
Output for 5.4.37
Old time: 0.024646997451782 New time: 0.0010750293731689 95.638294785107% faster All values passed!
Output for 5.4.36
Old time: 0.026531934738159 New time: 0.00084900856018066 96.800050322152% faster All values passed!
Output for 5.4.35
Old time: 0.014717102050781 New time: 0.00037789344787598 97.432283566615% faster All values passed!
Output for 5.4.34
Old time: 0.013970851898193 New time: 0.00042009353637695 96.993071435885% faster All values passed!
Output for 5.4.32
Old time: 0.01344895362854 New time: 0.00034284591674805 97.450761403322% faster All values passed!
Output for 5.4.31
Old time: 0.013283967971802 New time: 0.00035810470581055 97.304233896297% faster All values passed!
Output for 5.4.30
Old time: 0.012866973876953 New time: 0.00042295455932617 96.712866884079% faster All values passed!
Output for 5.4.29
Old time: 0.012996912002563 New time: 0.0003819465637207 97.06125144461% faster All values passed!
Output for 5.4.28
Old time: 0.013059139251709 New time: 0.00033712387084961 97.418483221967% faster All values passed!
Output for 5.4.27
Old time: 0.013597965240479 New time: 0.0004580020904541 96.63183364309% faster All values passed!
Output for 5.4.26
Old time: 0.013962030410767 New time: 0.00038313865661621 97.255852871365% faster All values passed!
Output for 5.4.25
Old time: 0.019515991210938 New time: 0.00037193298339844 98.094214229867% faster All values passed!
Output for 5.4.24
Old time: 0.0155930519104 New time: 0.00036907196044922 97.633099905202% faster All values passed!
Output for 5.4.23
Old time: 0.01313591003418 New time: 0.00040793418884277 96.894511398287% faster All values passed!
Output for 5.4.22
Old time: 0.01328706741333 New time: 0.00032901763916016 97.523775345415% faster All values passed!
Output for 5.4.21
Old time: 0.01401686668396 New time: 0.00038599967956543 97.246177135956% faster All values passed!
Output for 5.4.20
Old time: 0.013077020645142 New time: 0.00034713745117188 97.345439296979% faster All values passed!
Output for 5.4.19
Old time: 0.013262987136841 New time: 0.00039505958557129 97.02133779144% faster All values passed!
Output for 5.4.18
Old time: 0.013171195983887 New time: 0.00035810470581055 97.281152704366% faster All values passed!
Output for 5.4.17
Old time: 0.013187885284424 New time: 0.00041604042053223 96.845283291753% faster All values passed!
Output for 5.4.16
Old time: 0.013181924819946 New time: 0.00034809112548828 97.359330065655% faster All values passed!
Output for 5.4.15
Old time: 0.01282787322998 New time: 0.00032782554626465 97.444427923574% faster All values passed!
Output for 5.4.14
Old time: 0.013114929199219 New time: 0.00034403800964355 97.376745200698% faster All values passed!
Output for 5.4.13
Old time: 0.013595104217529 New time: 0.00045895576477051 96.624109992634% faster All values passed!
Output for 5.4.12
Old time: 0.01338791847229 New time: 0.00036001205444336 97.310918383702% faster All values passed!
Output for 5.4.11
Old time: 0.013662099838257 New time: 0.00034213066101074 97.495768109872% faster All values passed!
Output for 5.4.10
Old time: 0.013499021530151 New time: 0.0003960132598877 97.066355816952% faster All values passed!
Output for 5.4.9
Old time: 0.013502836227417 New time: 0.0003361701965332 97.510373443983% faster All values passed!
Output for 5.4.8
Old time: 0.013542890548706 New time: 0.00034308433532715 97.466683097724% faster All values passed!
Output for 5.4.7
Old time: 0.013411998748779 New time: 0.00040507316589355 96.979770327443% faster All values passed!
Output for 5.4.6
Old time: 0.013134002685547 New time: 0.00039196014404297 97.015683996515% faster All values passed!
Output for 5.4.5
Old time: 0.013231039047241 New time: 0.0003809928894043 97.12046130282% faster All values passed!
Output for 5.4.4
Old time: 0.013765811920166 New time: 0.00038719177246094 97.187294329558% faster All values passed!
Output for 5.4.3
Old time: 0.014111995697021 New time: 0.00037384033203125 97.350903868897% faster All values passed!
Output for 5.4.2
Old time: 0.013936996459961 New time: 0.00036907196044922 97.351854386205% faster All values passed!
Output for 5.4.1
Old time: 0.013731002807617 New time: 0.0004270076751709 96.890193082373% faster All values passed!
Output for 5.4.0
Old time: 0.01364803314209 New time: 0.00034904479980469 97.442526727692% faster All values passed!
Output for 5.3.29
Old time: 0.013439893722534 New time: 0.0004420280456543 96.711074843448% faster All values passed!
Output for 5.3.28
Old time: 0.013671875 New time: 0.00051093101501465 96.262904575893% faster All values passed!
Output for 5.3.27
Old time: 0.013354063034058 New time: 0.00042891502380371 96.788130902858% faster All values passed!
Output for 5.3.26
Old time: 0.013635158538818 New time: 0.00043702125549316 96.794894212275% faster All values passed!
Output for 5.3.25
Old time: 0.012986898422241 New time: 0.00046205520629883 96.442143525913% faster All values passed!
Output for 5.3.24
Old time: 0.013142108917236 New time: 0.0004429817199707 96.629295018323% faster All values passed!
Output for 5.3.23
Old time: 0.014117002487183 New time: 0.00052189826965332 96.303051797808% faster All values passed!
Output for 5.3.22
Old time: 0.013384103775024 New time: 0.00044679641723633 96.661738247502% faster All values passed!
Output for 5.3.21
Old time: 0.018185138702393 New time: 0.00047802925109863 97.371319191336% faster All values passed!
Output for 5.3.20
Old time: 0.013476848602295 New time: 0.00049495697021484 96.327353784099% faster All values passed!
Output for 5.3.19
Old time: 0.020539999008179 New time: 0.0012381076812744 93.97221158199% faster All values passed!
Output for 5.3.18
Old time: 0.013995885848999 New time: 0.00044488906860352 96.821286816687% faster All values passed!
Output for 5.3.17
Old time: 0.014187812805176 New time: 0.00045680999755859 96.780264838341% faster All values passed!
Output for 5.3.16
Old time: 0.020524978637695 New time: 0.00086808204650879 95.770606820927% faster All values passed!
Output for 5.3.15
Old time: 0.023248910903931 New time: 0.0011467933654785 95.067324356752% faster All values passed!
Output for 5.3.14
Old time: 0.020601034164429 New time: 0.00047206878662109 97.70851898573% faster All values passed!
Output for 5.3.13
Old time: 0.013672828674316 New time: 0.00058507919311523 95.720862105043% faster All values passed!
Output for 5.3.12
Old time: 0.014084815979004 New time: 0.00049114227294922 96.512966348433% faster All values passed!
Output for 5.3.11
Old time: 0.013393878936768 New time: 0.00082588195800781 93.833885150771% faster All values passed!
Output for 5.3.10
Old time: 0.013503074645996 New time: 0.00057697296142578 95.727099371425% faster All values passed!
Output for 5.3.9
Old time: 0.013931035995483 New time: 0.00047206878662109 96.611387790728% faster All values passed!
Output for 5.3.8
Old time: 0.013936996459961 New time: 0.00046682357788086 96.650472149993% faster All values passed!
Output for 5.3.7
Old time: 0.013206005096436 New time: 0.0004889965057373 96.297165553349% faster All values passed!
Output for 5.3.6
Old time: 0.013554096221924 New time: 0.00045204162597656 96.664907651715% faster All values passed!
Output for 5.3.5
Old time: 0.013849973678589 New time: 0.00050592422485352 96.347110567902% faster All values passed!
Output for 5.3.4
Old time: 0.013420104980469 New time: 0.00045490264892578 96.610289937464% faster All values passed!
Output for 5.3.3
Old time: 0.01467490196228 New time: 0.00051999092102051 96.456596968368% faster All values passed!
Output for 5.3.2
Old time: 0.014456987380981 New time: 0.00046896934509277 96.756106007883% faster All values passed!
Output for 5.3.1
Old time: 0.014475107192993 New time: 0.00048398971557617 96.656399782584% faster All values passed!
Output for 5.3.0
Old time: 0.018008947372437 New time: 0.00044894218444824 97.507115906533% faster All values passed!
Output for 5.2.17
Old time: 0.016396045684814 New time: 0.00073003768920898 95.547477097572% faster All values passed!
Output for 5.2.16
Old time: 0.01600980758667 New time: 0.00063300132751465 96.046165301564% faster All values passed!
Output for 5.2.15
Old time: 0.015905857086182 New time: 0.00083112716674805 94.774709955931% faster All values passed!
Output for 5.2.14
Old time: 0.016059875488281 New time: 0.00063300132751465 96.058491686461% faster All values passed!
Output for 5.2.13
Old time: 0.024895906448364 New time: 0.00067901611328125 97.272579270453% faster All values passed!
Output for 5.2.12
Old time: 0.016195058822632 New time: 0.00069093704223633 95.733655247545% faster All values passed!
Output for 5.2.11
Old time: 0.015810966491699 New time: 0.0006558895111084 95.851679835937% faster All values passed!
Output for 5.2.10
Old time: 0.017292022705078 New time: 0.00074505805969238 95.691319214648% faster All values passed!
Output for 5.2.9
Old time: 0.015790939331055 New time: 0.000762939453125 95.168498610943% faster All values passed!
Output for 5.2.8
Old time: 0.016321182250977 New time: 0.00088214874267578 94.595068365081% faster All values passed!
Output for 5.2.7
Old time: 0.016397953033447 New time: 0.00069904327392578 95.737008927273% faster All values passed!
Output for 5.2.6
Old time: 0.015486001968384 New time: 0.00067687034606934 95.629147229535% faster All values passed!
Output for 5.2.5
Old time: 0.016507148742676 New time: 0.00074100494384766 95.511005835115% faster All values passed!
Output for 5.2.4
Old time: 0.015743970870972 New time: 0.00066399574279785 95.782539562353% faster All values passed!
Output for 5.2.3
Old time: 0.016082048416138 New time: 0.00079512596130371 95.055816642699% faster All values passed!
Output for 5.2.2
Old time: 0.015610933303833 New time: 0.00068998336791992 95.580127372971% faster All values passed!
Output for 5.2.1
Old time: 0.016897916793823 New time: 0.00072288513183594 95.722045855379% faster All values passed!
Output for 5.2.0
Old time: 0.01566481590271 New time: 0.000701904296875 95.519230476538% faster All values passed!
Output for 5.1.6
Old time: 0.021313190460205 New time: 0.0013549327850342 93.642750072712% faster All values passed!
Output for 5.1.5
Old time: 0.015566110610962 New time: 0.00074505805969238 95.213588812817% faster All values passed!
Output for 5.1.4
Old time: 0.016279935836792 New time: 0.00078415870666504 95.183281343819% faster All values passed!
Output for 5.1.3
Old time: 0.015846014022827 New time: 0.00076103210449219 95.197327836541% faster All values passed!
Output for 5.1.2
Old time: 0.015759944915771 New time: 0.000823974609375 94.771716438232% faster All values passed!
Output for 5.1.1
Old time: 0.016247034072876 New time: 0.00072002410888672 95.568273534375% faster All values passed!
Output for 5.1.0
Old time: 0.015743017196655 New time: 0.00069880485534668 95.561175811361% faster All values passed!
Output for 5.0.5
Old time: 0.038541078567505 New time: 0.0014910697937012 96.131219340192% faster All values passed!
Output for 5.0.4
Old time: 0.041344881057739 New time: 0.0014140605926514 96.579841188377% faster All values passed!
Output for 5.0.3
Old time: 0.04834508895874 New time: 0.0013258457183838 97.257537948652% faster All values passed!
Output for 5.0.2
Old time: 0.036078929901123 New time: 0.0015721321105957 95.64252012212% faster All values passed!
Output for 5.0.1
Old time: 0.03590202331543 New time: 0.0013599395751953 96.212080964777% faster All values passed!
Output for 5.0.0
Old time: 0.041974067687988 New time: 0.0014801025390625 96.473769113671% faster All values passed!
Output for 4.4.9
Warning: Wrong parameter count for range() in /in/4sqOa on line 29 Warning: Invalid argument supplied for foreach() in /in/4sqOa on line 29 Old time: 8.0000000000024E-05 Warning: Wrong parameter count for range() in /in/4sqOa on line 35 Warning: Invalid argument supplied for foreach() in /in/4sqOa on line 35 New time: 3.7000000000009E-05 53.750000000003% faster Warning: Wrong parameter count for range() in /in/4sqOa on line 44 Warning: Invalid argument supplied for foreach() in /in/4sqOa on line 44 All values passed!
Output for 4.4.8
Warning: Wrong parameter count for range() in /in/4sqOa on line 29 Warning: Invalid argument supplied for foreach() in /in/4sqOa on line 29 Old time: 6.3999999999953E-05 Warning: Wrong parameter count for range() in /in/4sqOa on line 35 Warning: Invalid argument supplied for foreach() in /in/4sqOa on line 35 New time: 2.4999999999997E-05 60.937499999976% faster Warning: Wrong parameter count for range() in /in/4sqOa on line 44 Warning: Invalid argument supplied for foreach() in /in/4sqOa on line 44 All values passed!
Output for 4.4.7
Warning: Wrong parameter count for range() in /in/4sqOa on line 29 Warning: Invalid argument supplied for foreach() in /in/4sqOa on line 29 Old time: 7.0000000000014E-05 Warning: Wrong parameter count for range() in /in/4sqOa on line 35 Warning: Invalid argument supplied for foreach() in /in/4sqOa on line 35 New time: 2.4999999999997E-05 64.285714285726% faster Warning: Wrong parameter count for range() in /in/4sqOa on line 44 Warning: Invalid argument supplied for foreach() in /in/4sqOa on line 44 All values passed!
Output for 4.4.6
Warning: Wrong parameter count for range() in /in/4sqOa on line 29 Warning: Invalid argument supplied for foreach() in /in/4sqOa on line 29 Old time: 9.1000000000008E-05 Warning: Wrong parameter count for range() in /in/4sqOa on line 35 Warning: Invalid argument supplied for foreach() in /in/4sqOa on line 35 New time: 2.4999999999997E-05 72.527472527478% faster Warning: Wrong parameter count for range() in /in/4sqOa on line 44 Warning: Invalid argument supplied for foreach() in /in/4sqOa on line 44 All values passed!
Output for 4.4.5
Warning: Wrong parameter count for range() in /in/4sqOa on line 29 Warning: Invalid argument supplied for foreach() in /in/4sqOa on line 29 Old time: 3.2000000000032E-05 Warning: Wrong parameter count for range() in /in/4sqOa on line 35 Warning: Invalid argument supplied for foreach() in /in/4sqOa on line 35 New time: 4.000000000004E-06 87.5% faster Warning: Wrong parameter count for range() in /in/4sqOa on line 44 Warning: Invalid argument supplied for foreach() in /in/4sqOa on line 44 All values passed!
Output for 4.4.4
Warning: Wrong parameter count for range() in /in/4sqOa on line 29 Warning: Invalid argument supplied for foreach() in /in/4sqOa on line 29 Old time: 7.8999999999996E-05 Warning: Wrong parameter count for range() in /in/4sqOa on line 35 Warning: Invalid argument supplied for foreach() in /in/4sqOa on line 35 New time: 4.1000000000013E-05 48.101265822765% faster Warning: Wrong parameter count for range() in /in/4sqOa on line 44 Warning: Invalid argument supplied for foreach() in /in/4sqOa on line 44 All values passed!
Output for 4.4.3
Warning: Wrong parameter count for range() in /in/4sqOa on line 29 Warning: Invalid argument supplied for foreach() in /in/4sqOa on line 29 Old time: 7.2000000000016E-05 Warning: Wrong parameter count for range() in /in/4sqOa on line 35 Warning: Invalid argument supplied for foreach() in /in/4sqOa on line 35 New time: 2.8000000000028E-05 61.111111111081% faster Warning: Wrong parameter count for range() in /in/4sqOa on line 44 Warning: Invalid argument supplied for foreach() in /in/4sqOa on line 44 All values passed!
Output for 4.4.2
Warning: Wrong parameter count for range() in /in/4sqOa on line 29 Warning: Invalid argument supplied for foreach() in /in/4sqOa on line 29 Old time: 3.7999999999982E-05 Warning: Wrong parameter count for range() in /in/4sqOa on line 35 Warning: Invalid argument supplied for foreach() in /in/4sqOa on line 35 New time: 2.9999999999752E-06 92.105263157956% faster Warning: Wrong parameter count for range() in /in/4sqOa on line 44 Warning: Invalid argument supplied for foreach() in /in/4sqOa on line 44 All values passed!
Output for 4.4.1
Warning: Wrong parameter count for range() in /in/4sqOa on line 29 Warning: Invalid argument supplied for foreach() in /in/4sqOa on line 29 Old time: 3.3999999999978E-05 Warning: Wrong parameter count for range() in /in/4sqOa on line 35 Warning: Invalid argument supplied for foreach() in /in/4sqOa on line 35 New time: 7.0000000000903E-06 79.411764705604% faster Warning: Wrong parameter count for range() in /in/4sqOa on line 44 Warning: Invalid argument supplied for foreach() in /in/4sqOa on line 44 All values passed!
Output for 4.4.0
Warning: Wrong parameter count for range() in /in/4sqOa on line 29 Warning: Invalid argument supplied for foreach() in /in/4sqOa on line 29 Old time: 8.3999999999973E-05 Warning: Wrong parameter count for range() in /in/4sqOa on line 35 Warning: Invalid argument supplied for foreach() in /in/4sqOa on line 35 New time: 2.8999999999946E-05 65.476190476244% faster Warning: Wrong parameter count for range() in /in/4sqOa on line 44 Warning: Invalid argument supplied for foreach() in /in/4sqOa on line 44 All values passed!
Output for 4.3.11
Warning: Wrong parameter count for range() in /in/4sqOa on line 29 Old time: 3.2000000000032E-05 Warning: Wrong parameter count for range() in /in/4sqOa on line 35 New time: 2.9999999999752E-06 90.625000000087% faster Warning: Wrong parameter count for range() in /in/4sqOa on line 44 All values passed!
Output for 4.3.10
Warning: Wrong parameter count for range() in /in/4sqOa on line 29 Warning: Invalid argument supplied for foreach() in /in/4sqOa on line 29 Old time: 4.4000000000044E-05 Warning: Wrong parameter count for range() in /in/4sqOa on line 35 Warning: Invalid argument supplied for foreach() in /in/4sqOa on line 35 New time: 9.0000000000368E-06 79.545454545391% faster Warning: Wrong parameter count for range() in /in/4sqOa on line 44 Warning: Invalid argument supplied for foreach() in /in/4sqOa on line 44 All values passed!
Output for 4.3.9
Warning: Wrong parameter count for range() in /in/4sqOa on line 29 Warning: Invalid argument supplied for foreach() in /in/4sqOa on line 29 Old time: 7.6999999999994E-05 Warning: Wrong parameter count for range() in /in/4sqOa on line 35 Warning: Invalid argument supplied for foreach() in /in/4sqOa on line 35 New time: 3.0000000000086E-05 61.038961038847% faster Warning: Wrong parameter count for range() in /in/4sqOa on line 44 Warning: Invalid argument supplied for foreach() in /in/4sqOa on line 44 All values passed!
Output for 4.3.8
Warning: Wrong parameter count for range() in /in/4sqOa on line 29 Warning: Invalid argument supplied for foreach() in /in/4sqOa on line 29 Old time: 6.8999999999986E-05 Warning: Wrong parameter count for range() in /in/4sqOa on line 35 Warning: Invalid argument supplied for foreach() in /in/4sqOa on line 35 New time: 4.8000000000048E-05 30.434782608612% faster Warning: Wrong parameter count for range() in /in/4sqOa on line 44 Warning: Invalid argument supplied for foreach() in /in/4sqOa on line 44 All values passed!
Output for 4.3.7
Warning: Wrong parameter count for range() in /in/4sqOa on line 29 Warning: Invalid argument supplied for foreach() in /in/4sqOa on line 29 Old time: 7.9999999999969E-05 Warning: Wrong parameter count for range() in /in/4sqOa on line 35 Warning: Invalid argument supplied for foreach() in /in/4sqOa on line 35 New time: 4.7999999999937E-05 40.000000000056% faster Warning: Wrong parameter count for range() in /in/4sqOa on line 44 Warning: Invalid argument supplied for foreach() in /in/4sqOa on line 44 All values passed!
Output for 4.3.6
Warning: Wrong parameter count for range() in /in/4sqOa on line 29 Warning: Invalid argument supplied for foreach() in /in/4sqOa on line 29 Old time: 7.8000000000022E-05 Warning: Wrong parameter count for range() in /in/4sqOa on line 35 Warning: Invalid argument supplied for foreach() in /in/4sqOa on line 35 New time: 5.9000000000031E-05 24.358974358956% faster Warning: Wrong parameter count for range() in /in/4sqOa on line 44 Warning: Invalid argument supplied for foreach() in /in/4sqOa on line 44 All values passed!
Output for 4.3.5
Warning: Wrong parameter count for range() in /in/4sqOa on line 29 Warning: Invalid argument supplied for foreach() in /in/4sqOa on line 29 Old time: 4.0999999999958E-05 Warning: Wrong parameter count for range() in /in/4sqOa on line 35 Warning: Invalid argument supplied for foreach() in /in/4sqOa on line 35 New time: 5.0000000000328E-06 87.804878048688% faster Warning: Wrong parameter count for range() in /in/4sqOa on line 44 Warning: Invalid argument supplied for foreach() in /in/4sqOa on line 44 All values passed!
Output for 4.3.4
Warning: Wrong parameter count for range() in /in/4sqOa on line 29 Warning: Invalid argument supplied for foreach() in /in/4sqOa on line 29 Old time: 9.0999999999952E-05 Warning: Wrong parameter count for range() in /in/4sqOa on line 35 Warning: Invalid argument supplied for foreach() in /in/4sqOa on line 35 New time: 2.6999999999999E-05 70.329670329656% faster Warning: Wrong parameter count for range() in /in/4sqOa on line 44 Warning: Invalid argument supplied for foreach() in /in/4sqOa on line 44 All values passed!
Output for 4.3.3
Warning: Wrong parameter count for range() in /in/4sqOa on line 29 Warning: Invalid argument supplied for foreach() in /in/4sqOa on line 29 Old time: 7.4999999999936E-05 Warning: Wrong parameter count for range() in /in/4sqOa on line 35 Warning: Invalid argument supplied for foreach() in /in/4sqOa on line 35 New time: 4.000000000004E-05 46.666666666568% faster Warning: Wrong parameter count for range() in /in/4sqOa on line 44 Warning: Invalid argument supplied for foreach() in /in/4sqOa on line 44 All values passed!
Output for 4.3.2
Warning: Wrong parameter count for range() in /in/4sqOa on line 29 Warning: Invalid argument supplied for foreach() in /in/4sqOa on line 29 Old time: 4.000000000004E-05 Warning: Wrong parameter count for range() in /in/4sqOa on line 35 Warning: Invalid argument supplied for foreach() in /in/4sqOa on line 35 New time: 9.0000000000368E-06 77.499999999931% faster Warning: Wrong parameter count for range() in /in/4sqOa on line 44 Warning: Invalid argument supplied for foreach() in /in/4sqOa on line 44 All values passed!
Output for 4.3.1
Warning: Wrong parameter count for range() in /in/4sqOa on line 29 Warning: Invalid argument supplied for foreach() in /in/4sqOa on line 29 Old time: 7.299999999999E-05 Warning: Wrong parameter count for range() in /in/4sqOa on line 35 Warning: Invalid argument supplied for foreach() in /in/4sqOa on line 35 New time: 2.5000000000053E-05 65.753424657457% faster Warning: Wrong parameter count for range() in /in/4sqOa on line 44 Warning: Invalid argument supplied for foreach() in /in/4sqOa on line 44 All values passed!
Output for 4.3.0
Warning: Wrong parameter count for range() in /in/4sqOa on line 29 Warning: Invalid argument supplied for foreach() in /in/4sqOa on line 29 Old time: 0.00016300000000002 Warning: Wrong parameter count for range() in /in/4sqOa on line 35 Warning: Invalid argument supplied for foreach() in /in/4sqOa on line 35 New time: 5.1999999999996E-05 68.098159509209% faster Warning: Wrong parameter count for range() in /in/4sqOa on line 44 Warning: Invalid argument supplied for foreach() in /in/4sqOa on line 44 All values passed!