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="'. $t['Name']. '">'. $t['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.0070.01020.21
8.5.00.0140.00919.92
8.4.150.0020.00114.05
8.4.140.0130.00817.48
8.4.130.0130.00718.88
8.4.120.0150.00524.12
8.4.110.0130.00718.96
8.4.100.0110.00918.82
8.4.90.0040.00420.46
8.4.80.0040.00618.90
8.4.70.0120.00619.14
8.4.60.0090.01120.37
8.4.50.0070.01218.77
8.4.40.0100.00319.49
8.4.30.0130.00720.62
8.4.20.0150.00617.75
8.4.10.0030.00620.71
8.3.280.0130.00718.46
8.3.270.0120.00816.61
8.3.260.0110.00716.44
8.3.250.0080.00919.08
8.3.240.0120.00717.07
8.3.230.0100.00916.52
8.3.220.0110.00818.95
8.3.210.0040.00416.55
8.3.200.0100.00616.57
8.3.190.0090.00918.89
8.3.180.0130.00718.65
8.3.170.0130.00616.59
8.3.160.0110.00717.18
8.3.150.0120.00319.20
8.3.140.0040.00420.61
8.3.130.0130.00318.63
8.3.120.0030.01218.73
8.3.110.0080.00820.94
8.3.100.0080.00316.54
8.3.90.0070.01126.77
8.3.80.0040.00716.63
8.3.70.0120.00618.30
8.3.60.0120.00316.75
8.3.50.0090.01220.09
8.3.40.0090.00619.05
8.3.30.0070.00719.34
8.3.20.0000.00824.18
8.3.10.0020.00524.66
8.3.00.0080.00026.16
8.2.290.0040.00422.47
8.2.280.0050.00318.42
8.2.270.0100.01016.82
8.2.260.0050.00216.58
8.2.250.0070.01118.71
8.2.240.0060.00317.46
8.2.230.0040.01222.58
8.2.220.0040.00424.06
8.2.210.0140.00326.77
8.2.200.0040.00716.88
8.2.190.0090.00616.60
8.2.180.0100.00625.92
8.2.170.0140.00018.87
8.2.160.0130.00722.96
8.2.150.0070.00725.66
8.2.140.0050.00324.66
8.2.130.0080.00026.16
8.2.120.0040.00426.16
8.2.110.0060.00321.93
8.2.100.0040.00817.69
8.2.90.0000.00818.28
8.2.80.0040.00418.87
8.2.70.0030.00517.63
8.2.60.0030.00717.93
8.2.50.0080.00018.07
8.2.40.0050.00218.22
8.2.30.0080.00018.05
8.2.20.0070.00020.33
8.2.10.0070.00018.04
8.2.00.0020.00619.90
8.1.330.0110.00821.82
8.1.320.0120.00716.26
8.1.310.0100.00316.77
8.1.300.0070.00718.65
8.1.290.0110.00030.84
8.1.280.0090.00625.92
8.1.270.0040.00423.99
8.1.260.0050.00226.35
8.1.250.0030.00628.09
8.1.240.0060.00323.89
8.1.230.0060.00618.91
8.1.220.0080.00017.76
8.1.210.0040.00418.77
8.1.200.0070.00317.36
8.1.190.0000.00817.23
8.1.180.0030.00518.10
8.1.170.0080.00018.63
8.1.160.0080.00318.77
8.1.150.0030.00718.70
8.1.140.0060.00317.46
8.1.130.0040.00319.72
8.1.120.0030.00518.90
8.1.110.0000.00719.00
8.1.100.0030.00518.98
8.1.90.0010.00618.93
8.1.80.0020.00618.97
8.1.70.0050.00318.86
8.1.60.0030.00519.06
8.1.50.0010.00718.98
8.1.40.0010.00619.02
8.1.30.0040.00419.12
8.1.20.0050.00419.10
8.1.10.0060.00519.01
8.1.00.0020.00818.94
8.0.300.0000.00718.77
8.0.290.0040.00416.75
8.0.280.0030.00318.37
8.0.270.0000.00718.03
8.0.260.0030.00319.11
8.0.250.0020.00518.35
8.0.240.0050.00218.42
8.0.230.0060.00318.41
8.0.220.0050.00218.23
8.0.210.0060.00118.26
8.0.200.0050.00218.44
8.0.190.0010.00718.32
8.0.180.0040.00418.39
8.0.170.0040.00318.38
8.0.160.0070.00418.22
8.0.150.0080.00318.14
8.0.140.0040.00418.23
8.0.130.0060.00218.29
8.0.120.0060.00218.22
8.0.110.0040.00418.25
8.0.100.0010.00718.11
8.0.90.0060.00218.14
8.0.80.0050.00218.33
8.0.70.0030.00418.29
8.0.60.0050.00418.37
8.0.50.0020.00518.27
8.0.30.0020.00518.30
8.0.20.0020.00618.32
8.0.10.0020.00618.39
7.4.330.0040.00616.31
7.4.320.0110.00217.11
7.4.300.0060.00717.08
7.4.290.0080.00617.01
7.4.280.0080.00517.11
7.4.270.0050.01017.15
7.4.260.0100.00617.08
7.4.250.0090.00417.08
7.4.240.0070.00717.07
7.4.230.0130.00017.10
7.4.220.0070.00617.06
7.4.210.0090.00417.12
7.4.200.0060.00617.18
7.4.190.0120.00017.17
7.4.180.0090.00317.19
7.4.160.0080.00317.12
7.4.150.0080.00517.05
7.4.140.0070.00516.95
7.4.130.0100.00316.96
7.4.120.0100.00016.96
7.4.110.0080.00316.94
7.4.100.0060.00516.95
7.4.90.0040.00716.93
7.4.80.0050.00517.05
7.4.70.0070.00317.02
7.4.60.0080.00316.90
7.4.50.0040.00716.95
7.4.40.0030.00816.82
7.4.30.0060.00517.00
7.4.20.0070.00416.94
7.4.10.0090.00116.75
7.4.00.0070.00316.99

preferences:
162.58 ms | 403 KiB | 5 Q