3v4l.org

run code in 500+ PHP versions simultaneously
<?php $list = [604,6,8,83,609,732,902,9094,850,778,783,1007,858,1046,2644,2596,2710,1910,9259,2493,2294,7058,2589,3388,9249,9149,3685,3418,3710,2949,3917,3393,3086,3120,2842,3161,2914,2876,2965,2882,2788,42502,3938,3727,42156,3687,3677,41454,4351,38558,6558,40191,6163,4646,5325,4998,5554,5623,41343,5466,40715,4395,5598,5769,6262,4483,5585,6260,6249,5991,81364,6280,7003,7151,8657,7369,8164,8697,7491,8744,8698,7678,8228,44682,8666,9140,41668,8676,7860,7866,7892,7971,8012,8931,10569,9548,9604,15626,16048,10601,10516,10190,23404,10242,18230,11090,19852,21204,9862,15934,9369,9618,9840,10048,20107,13296,10223,41702,15942,14850,13398,10609,15557,16078,19494,9424,10169,15966,9481,9336,15745,15894,9827,9479,11255,22204,11948,11259,11395,11961,10302,20074,44637,20255,15636,41613,11931,9518,13403,22525,11960,9617,19186,15373,76019,14546,18088,15849,22048,15981,15705,42005,15982,12111,15885,10988,22902,23093,23268,11889,10129,11944,13537,12118,12097,40107,13751,15697,12609,12045,22633,10662,18243,18612,17035,11885,10933,16208,16051,16171,15061,19882,13440,15785,15807,19548,16215,16000,12749,42529,19924,13501,14645,13666,13964,22058,15663,16087,18609,15959,22780,19704,19503,19738,19235,44134,19918,19282,20020,20313,19615,19886,19802,23304,22770,22246,40622,43576,27900,24374,41585,35318,60729,35286,34819,23458,59394,23479,29393,26634,62871,24391,23457,24716,34972,25054,34873,40925,24406,40393,24619,33937,26625,29873,34282,37868,26119,23467,62941,30793,28125,32101,34834,35128,30421,23477,28251,28542,23502,38883,25588,26398,60061,37540,23766,35306,25063,35058,31863,34107,25415,34748,34991,34025,34246,34781,63737,26679,29529,26829,29758,28616,26827,29681,23833,42838,30963,26847,32708,31375,25088,26386,31574,31537,35906,64172,25101,58671,44249,29645,25699,35174,32238,34924,33373,42494,44208,42651,35027,25872,24901,25199,28537,25157,34294,30253,35114,25232,25870,25183,61595,33406,25838,26587,25971,25980,26265,28604,32672,34853,26511,28934,35022,26833,43479,26647,33299,38328,26901,27457,28044,29750,27327,27009,29976,27394,34293,27333,34975,31349,28817,35310,40315,40088,28476,28462,28362,28374,35232,34209,29479,30031,29603,29733,30220,44721,31618,31097,33043,31510,33627,35215,32546,33155,34901,35362,34835,34591,34612,34696,34395,35135,37038,36777,36305,38115,37925,37982,38056,38908,38763,44727,40476,40255,44222,41097,40487,40994,40742,42308,42147,42004,44557,42610,42672,43685,43108,43762,43830,43842,44033,45409,51152,55786,64900,51378,55910,52108,57387,56428,54079,54291,54236,52507,54000,52646,57760,52419,53926,57077,54152,54066,80570,62050,57647,52597,51968,51753,52709,57743,55827,55569,53717,52647,51703,54052,64682,57503,56497,57578,55364,55954,56127,57764,57627,54465,58050,58102,58111,58316,59637,59729,61491,61985,61989,64298,65880,65356,66158,66290,75605,69018,67559,67572,67609,67724,68064,68050,67793,68744,68092,68531,68387,73332,70825,72043,70798,73329,70727,69689,70846,70721,70724,72071,73392,80682,70695,70745,70280,71885,73187,73286,72068,70631,72039,70703,70835,70728,70758,72221,73949,73810,70005,71883,73268,70255,73844,73132,72086,71984,74651,72348,73225,70783,73213,74243,72801,71321,70714,72066,73568,72168,72719,72671,71916,72024,71948,72100,72073,76444,77287,79069,81108,81161,79798,79928,80205]; sort($list); // print the sorted list as a comma-separated string echo implode(',', $list);

Here you find the average performance (time & memory) of each version. A grayed out version indicates it didn't complete successfully (based on exit-code).

VersionSystem time (s)User time (s)Memory (MiB)
8.5.100.0060.00216.77
8.5.90.0090.00816.82
8.5.80.0080.00916.97
8.5.70.0090.00716.64
8.5.60.0080.00716.92
8.5.50.0040.00416.63
8.5.40.0060.00316.48
8.5.30.0110.00516.68
8.5.20.0040.00416.55
8.5.10.0050.00316.65
8.5.00.0100.00516.72
8.4.250.0070.00419.70
8.4.240.0090.00619.63
8.4.230.0070.01319.64
8.4.220.0150.00619.43
8.4.210.0080.00419.67
8.4.200.0080.00519.55
8.4.190.0070.00619.62
8.4.180.0060.00519.57
8.4.170.0070.00319.51
8.4.160.0040.00619.59
8.4.150.0120.01019.50
8.4.140.0060.00517.73
8.4.130.0060.00317.67
8.4.120.0040.00517.91
8.4.110.0050.00417.88
8.4.100.0040.00517.65
8.4.90.0100.00317.77
8.4.80.0080.00317.93
8.4.70.0090.00218.03
8.4.60.0080.01017.84
8.4.50.0050.00517.79
8.4.40.0080.00317.76
8.4.30.0060.00417.85
8.4.20.0080.00417.71
8.4.10.0070.00417.81
8.3.330.0100.00718.44
8.3.320.0120.00718.50
8.3.310.0080.00518.34
8.3.300.0120.01118.43
8.3.290.0060.00518.41
8.3.280.0090.00118.50
8.3.270.0050.00416.82
8.3.260.0050.00416.76
8.3.250.0110.00216.68
8.3.240.0050.00416.74
8.3.230.0060.00416.74
8.3.220.0040.00516.75
8.3.210.0050.00416.75
8.3.200.0080.00616.75
8.3.190.0050.00416.77
8.3.180.0050.00516.81
8.3.170.0050.00416.75
8.3.160.0070.00216.79
8.3.150.0080.01116.63
8.3.140.0090.00516.68
8.3.130.0050.00416.64
8.3.120.0080.01016.67
8.3.110.0120.00716.93
8.3.100.0130.00516.80
8.3.90.0100.00616.75
8.3.80.0110.00216.69
8.3.70.0140.00616.68
8.3.60.0070.01116.68
8.3.50.0110.00716.67
8.3.40.0090.00517.98
8.3.30.0110.00917.97
8.3.20.0080.00417.91
8.3.10.0050.00618.05
8.3.00.0040.00617.92
8.2.330.0070.00517.99
8.2.320.0080.00217.95
8.2.310.0090.00318.08

preferences:
56.6 ms | 1082 KiB | 5 Q