3v4l.org

run code in 300+ PHP versions simultaneously
<?php //$printers=file_get_contents ("config/printers.json"); $printers = '[ { "Name": "CR-10", "GantryStyle": 1, "comment": "", "image": "cr-10.jpg", "option1": "" }, { "Name": "CR-10 V2", "GantryStyle": 1, "comment": "", "image": "cr-10.jpg", "option1": "" }, { "Name": "CR-10 Mini", "GantryStyle": 1, "comment": "", "image": "cr-10.jpg", "option1": "" }, { "Name": "CR-10S", "GantryStyle": 1, "comment": "", "image": "cr-10.jpg", "option1": "" }, { "Name": "CR-10S4", "GantryStyle": 1, "comment": "", "image": "cr-10.jpg", "option1": "" }, { "Name": "CR-10S5", "GantryStyle": 1, "comment": "", "image": "cr-10.jpg", "option1": "" }, { "Name": "CR-10S Pro", "GantryStyle": 1, "comment": "", "image": "cr-10.jpg", "option1": "" }, { "Name": "CR-10S Pro V2", "GantryStyle": 1, "comment": "", "image": "cr-10.jpg", "option1": "" }, { "Name": "CR-10 Max", "GantryStyle": 1, "comment": "", "image": "cr-10.jpg", "option1": "" }, { "Name": "CR-20", "GantryStyle": 1, "comment": "", "image": "cr-10.jpg", "option1": "" }, { "Name": "Ender 3", "GantryStyle": 1, "comment": "", "image": "cr-10.jpg", "option1": "" }, { "Name": "Ender 3X", "GantryStyle": 1, "comment": "", "image": "cr-10.jpg", "option1": "" }, { "Name": "Ender 3 V2", "GantryStyle": 1, "comment": "", "image": "cr-10.jpg", "option1": "" }, { "Name": "Ender 3 Pro", "GantryStyle": 1, "comment": "", "image": "cr-10.jpg", "option1": "" }, { "Name": "Ender 3 Pro/BLV Mod", "GantryStyle": 1, "comment": "", "image": "cr-10.jpg", "option1": "" }, { "Name": "Ender 5", "GantryStyle": 1, "comment": "", "image": "cr-10.jpg", "option1": "" }, { "Name": "Ender 5 Pro", "GantryStyle": 1, "comment": "", "image": "cr-10.jpg", "option1": "" }, { "Name": "Ender 5 Plus", "GantryStyle": 1, "comment": "", "image": "cr-10.jpg", "option1": "" }, { "Name": "Voxelab Aquila", "GantryStyle": 1, "comment": "", "image": "cr-10.jpg", "option1": "" }, { "Name": "Anet ET4/ET5", "GantryStyle": 1, "comment": "", "image": "cr-10.jpg", "option1": "" } ]'; $test= json_decode($printers,true); foreach($test as $t) { echo '<option value="'. $test['Name']. '">'. $test['Name'].'</option>'; }

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.10.0090.00820.17
8.5.00.0150.00820.14
8.4.150.0020.00014.05
8.4.140.0120.00917.65
8.4.130.0140.00718.69
8.4.120.0110.00924.24
8.4.110.0130.00818.98
8.4.100.0120.00918.70
8.4.90.0120.00820.50
8.4.80.0090.01119.00
8.4.70.0050.00318.87
8.4.60.0020.00620.66
8.4.50.0110.00918.96
8.4.40.0060.00319.50
8.4.30.0100.01018.85
8.4.20.0060.00918.05
8.4.10.0050.00520.16
8.3.280.0150.00518.75
8.3.270.0110.00916.49
8.3.260.0090.01116.74
8.3.250.0050.01318.84
8.3.240.0080.00917.22
8.3.230.0100.00916.68
8.3.220.0060.00219.03
8.3.210.0140.00516.79
8.3.200.0060.00316.67
8.3.190.0040.00518.97
8.3.180.0010.00818.96
8.3.170.0070.01116.73
8.3.160.0100.01016.96
8.3.150.0070.00418.98
8.3.140.0000.00820.71
8.3.130.0030.00618.48
8.3.120.0130.00718.93
8.3.110.0030.01320.94
8.3.100.0060.00316.61
8.3.90.0040.00426.77
8.3.80.0000.01216.88
8.3.70.0110.00418.68
8.3.60.0090.00616.50
8.3.50.0060.00920.17
8.3.40.0110.00419.06
8.3.30.0030.01019.29
8.3.20.0080.00024.18
8.3.10.0030.00624.66
8.3.00.0080.00026.16
8.2.290.0090.00920.67
8.2.280.0060.00918.46
8.2.270.0060.01216.87
8.2.260.0090.00916.70
8.2.250.0030.00518.73
8.2.240.0090.00617.20
8.2.230.0040.00422.58
8.2.220.0110.00724.06
8.2.210.0150.00326.77
8.2.200.0030.00616.63
8.2.190.0090.00617.00
8.2.180.0040.01125.92
8.2.170.0060.00918.89
8.2.160.0070.01022.96
8.2.150.0110.00425.66
8.2.140.0070.00024.66
8.2.130.0000.00826.16
8.2.120.0040.00426.16
8.2.110.0130.00322.13
8.2.100.0000.01118.03
8.2.90.0040.00419.24
8.2.80.0030.00517.97
8.2.70.0000.00817.75
8.2.60.0040.00718.05
8.2.50.0030.00518.07
8.2.40.0080.00018.29
8.2.30.0040.00418.12
8.2.20.0040.00420.56
8.2.10.0020.00518.10
8.2.00.0080.00019.32
8.1.330.0150.00421.79
8.1.320.0140.00516.34
8.1.310.0140.00416.69
8.1.300.0100.00618.18
8.1.290.0060.00630.84
8.1.280.0070.01125.92
8.1.270.0050.00323.99
8.1.260.0040.00426.35
8.1.250.0040.00428.09
8.1.240.0090.00020.86
8.1.230.0040.00821.10
8.1.220.0090.00017.76
8.1.210.0040.00418.77
8.1.200.0030.00617.22
8.1.190.0110.00017.00
8.1.180.0000.00818.10
8.1.170.0000.00818.75
8.1.160.0040.00418.95
8.1.150.0000.01018.64
8.1.140.0000.00717.47
8.1.130.0040.00418.81
8.1.120.0000.00717.49
8.1.110.0000.00817.41
8.1.100.0000.00817.49
8.1.90.0040.00417.36
8.1.80.0040.00417.47
8.1.70.0040.00417.43
8.1.60.0000.00817.57
8.1.50.0040.00417.46
8.1.40.0000.00817.53
8.1.30.0030.00617.48
8.1.20.0000.01017.59
8.1.10.0080.00817.46
8.1.00.0140.00317.36
8.0.300.0040.00418.77
8.0.290.0050.00516.63
8.0.280.0030.00318.41
8.0.270.0040.00416.85
8.0.260.0030.00318.36
8.0.250.0000.00716.95
8.0.240.0070.00017.06
8.0.230.0000.01017.05
8.0.220.0070.00016.96
8.0.210.0070.00016.86
8.0.200.0000.00717.04
8.0.190.0080.00017.06
8.0.180.0030.00516.83
8.0.170.0060.00317.04
8.0.160.0130.00516.94
8.0.150.0170.00216.88
8.0.140.0110.00716.68
8.0.130.0100.01016.84
8.0.120.0090.00916.93
8.0.110.0170.00016.91
8.0.100.0110.00616.78
8.0.90.0080.00916.77
8.0.80.0150.00316.93
8.0.70.0200.00716.74
8.0.60.0190.00416.88
8.0.50.0190.00416.91
8.0.30.0210.00316.94
8.0.20.0150.01116.97
8.0.10.0160.00417.04
7.4.330.0000.00515.55
7.4.320.0060.00016.42
7.4.300.0030.00316.51
7.4.290.0030.00716.46
7.4.280.0120.00816.49
7.4.270.0170.00316.54
7.4.260.0220.00016.48
7.4.250.0160.00616.48
7.4.240.0150.00716.52
7.4.230.0230.00016.59
7.4.220.0120.00716.55
7.4.210.0150.00416.64
7.4.200.0140.00516.44
7.4.190.0110.00816.67
7.4.180.0120.00716.63
7.4.160.0140.00516.45
7.4.150.0130.00716.50
7.4.140.0160.00316.48
7.4.130.0150.00416.34
7.4.120.0140.00516.58
7.4.110.0090.00916.40
7.4.100.0130.00716.50
7.4.90.0120.00816.43
7.4.80.0140.00516.39
7.4.70.0150.00716.50
7.4.60.0060.00616.38
7.4.50.0070.00016.20
7.4.40.0030.00516.31
7.4.30.0040.00416.47
7.4.20.0050.00316.40
7.4.10.0000.00716.41
7.4.00.0000.00816.29

preferences:
40.79 ms | 403 KiB | 5 Q