3v4l.org

run code in 300+ PHP versions simultaneously
<?php $myPcParts = array('cpu' => 'Intel', 'gpu'=>'Nvidia', 'mb'=>'Asus'); foreach ($myPcParts as $hardware=>$parts) { echo 'My ' . $hardware . ' is ' . $parts . '. '; }

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.30.0110.00617.64
8.5.20.0150.00620.11
8.5.10.0100.00720.06
8.5.00.0140.00719.98
8.4.180.0130.00819.55
8.4.170.0150.00720.42
8.4.160.0110.01121.35
8.4.150.0040.00216.81
8.4.140.0110.01017.52
8.4.130.0070.00417.85
8.4.120.0130.00724.20
8.4.110.0100.01022.45
8.4.100.0120.00918.74
8.4.90.0120.00818.48
8.4.80.0130.00518.63
8.4.70.0110.00517.91
8.4.60.0080.00218.62
8.4.50.0140.00620.64
8.4.40.0090.01019.18
8.4.30.0060.00317.53
8.4.20.0120.00617.48
8.4.10.0070.01417.27
8.3.300.0120.00920.63
8.3.290.0120.00920.69
8.3.280.0120.00818.38
8.3.270.0100.00916.62
8.3.260.0130.00616.65
8.3.250.0060.00819.05
8.3.240.0120.00716.91
8.3.230.0110.00816.33
8.3.220.0050.00319.05
8.3.210.0110.00616.21
8.3.200.0060.00416.48
8.3.190.0080.01118.87
8.3.180.0090.00516.63
8.3.170.0040.00420.36
8.3.160.0100.00017.12
8.3.150.0090.00017.12
8.3.140.0140.00416.41
8.3.130.0090.00018.41
8.3.120.0060.00320.80
8.3.110.0050.00320.94
8.3.100.0060.00324.06
8.3.90.0060.00326.77
8.3.80.0060.00318.31
8.3.70.0110.01118.18
8.3.60.0070.01416.38
8.3.50.0080.01121.16
8.3.40.0070.01118.84
8.3.30.0070.00718.59
8.3.20.0060.00318.67
8.3.10.0000.00921.79
8.3.00.0040.00417.80
8.2.300.0100.00922.29
8.2.290.0120.00720.51
8.2.280.0120.00718.44
8.2.270.0040.01518.79
8.2.260.0140.00318.14
8.2.250.0080.00016.75
8.2.240.0040.00717.00
8.2.230.0040.00422.58
8.2.220.0050.00237.54
8.2.210.0070.01126.77
8.2.200.0060.00316.38
8.2.190.0100.00718.18
8.2.180.0040.01118.39
8.2.170.0040.01122.96
8.2.160.0100.00320.81
8.2.150.0070.00024.18
8.2.140.0060.00324.66
8.2.130.0080.00017.91
8.2.120.0030.00626.35
8.2.110.0040.00420.35
8.2.100.0080.00317.78
8.2.90.0040.00417.63
8.2.80.0080.00018.64
8.2.70.0000.00917.63
8.2.60.0030.00917.50
8.2.50.0000.00817.63
8.2.40.0000.00821.14
8.2.30.0000.00718.05
8.2.20.0040.00417.72
8.2.10.0000.00818.04
8.2.00.0040.00418.04
8.1.340.0120.00917.57
8.1.330.0130.00521.93
8.1.320.0130.00515.99
8.1.310.0060.00316.81
8.1.300.0040.00418.11
8.1.290.0090.00030.84
8.1.280.0180.00425.92
8.1.270.0040.00423.97
8.1.260.0040.00428.09
8.1.250.0070.00028.09
8.1.240.0030.00623.80
8.1.230.0040.00820.95
8.1.220.0050.00317.74
8.1.210.0100.00018.77
8.1.200.0090.00317.35
8.1.190.0060.00317.35
8.1.180.0000.01018.10
8.1.170.0040.00418.39
8.1.160.0080.00021.96
8.1.150.0000.00718.88
8.1.140.0060.00319.48
8.1.130.0070.00017.65
8.1.120.0000.00717.41
8.1.110.0040.00417.36
8.1.100.0040.00417.48
8.1.90.0000.00917.38
8.1.80.0000.00717.39
8.1.70.0030.00317.43
8.1.60.0030.00617.54
8.1.50.0080.00017.40
8.1.40.0050.00317.49
8.1.30.0040.00417.50
8.1.20.0000.00717.67
8.1.10.0040.00417.48
8.1.00.0040.00417.45
8.0.300.0030.00618.77
8.0.290.0000.00816.75
8.0.280.0070.00018.44
8.0.270.0060.00317.31
8.0.260.0030.00317.25
8.0.250.0070.00016.86
8.0.240.0030.00316.95
8.0.230.0080.00016.95
8.0.220.0040.00416.83
8.0.210.0040.00416.75
8.0.200.0040.00416.81
8.0.190.0040.00416.83
8.0.180.0070.00016.81
8.0.170.0040.00416.91
8.0.160.0000.00816.96
8.0.150.0000.00716.91
8.0.140.0060.00316.89
8.0.130.0000.00513.33
8.0.120.0040.00416.75
8.0.110.0000.00716.72
8.0.100.0040.00416.74
8.0.90.0070.00016.90
8.0.80.0120.00416.85
8.0.70.0000.00716.91
8.0.60.0000.00716.99
8.0.50.0000.00716.90
8.0.30.0070.00917.09
8.0.20.0120.00917.40
8.0.10.0040.00416.86
8.0.00.0100.00716.59
7.4.330.0000.00515.08
7.4.320.0000.00616.59
7.4.300.0000.00616.56
7.4.290.0000.00716.57
7.4.280.0000.00716.58
7.4.270.0000.00716.53
7.4.260.0070.00316.47
7.4.250.0050.00316.57
7.4.240.0000.00716.52
7.4.230.0030.00316.48
7.4.220.0100.00716.53
7.4.210.0070.00716.55
7.4.200.0030.00316.52
7.4.160.0100.00716.50
7.4.150.0140.01217.40
7.4.140.0100.00717.86
7.4.130.0050.01316.51
7.4.120.0060.01116.53
7.4.110.0090.00916.35
7.4.100.0060.01216.41
7.4.90.0090.01016.59
7.4.80.0060.01019.39
7.4.70.0160.00016.41
7.4.60.0070.01016.50
7.4.50.0060.00916.57
7.4.40.0130.00316.41
7.4.30.0110.00616.42
7.4.00.0040.01115.09
7.3.330.0050.00013.09
7.3.320.0020.00313.11
7.3.310.0000.00716.30
7.3.300.0040.00416.28
7.3.290.0030.01016.27
7.3.280.0070.01016.25
7.3.270.0120.00617.40
7.3.260.0140.00316.57
7.3.250.0150.00616.44
7.3.240.0100.01116.52
7.3.230.0030.01316.57
7.3.210.0110.00716.23
7.3.200.0100.00719.39
7.3.190.0130.00316.24
7.3.180.0110.00616.32
7.3.170.0070.01416.20
7.3.160.0120.00316.66
7.3.120.0070.01014.64
7.3.110.0130.00314.54
7.3.100.0090.00615.12
7.3.90.0060.00314.84
7.3.80.0070.00714.70
7.3.70.0040.00714.92
7.3.60.0090.00314.68
7.3.50.0060.00314.77
7.3.40.0050.00514.54
7.3.30.0000.01414.76
7.3.20.0000.01316.64
7.3.10.0070.00416.51
7.3.00.0060.00616.82
7.2.330.0060.01116.40
7.2.320.0070.01016.59
7.2.310.0100.01116.45
7.2.300.0120.00616.57
7.2.290.0090.00616.54
7.2.240.0060.01214.84
7.2.230.0080.00415.18
7.2.220.0030.01314.59
7.2.210.0090.00315.29
7.2.200.0030.01015.00
7.2.190.0040.00814.92
7.2.180.0000.01114.94
7.2.170.0110.00314.96
7.2.160.0130.00314.96
7.2.150.0110.00316.84
7.2.140.0030.00916.82
7.2.130.0030.01016.75
7.2.120.0030.01016.61
7.2.110.0030.01016.56
7.2.100.0000.00817.02
7.2.90.0030.00716.88
7.2.80.0070.00716.96
7.2.70.0050.00516.85
7.2.60.0060.00717.03
7.2.50.0030.01116.90
7.2.40.0090.00316.89
7.2.30.0000.01016.62
7.2.20.0000.00916.74
7.2.10.0060.00316.93
7.2.00.0000.01018.18
7.1.330.0040.01115.76
7.1.320.0060.01015.46
7.1.310.0090.00615.80
7.1.300.0090.00615.98
7.1.290.0030.00915.54
7.1.280.0090.00315.60
7.1.270.0030.00915.93
7.1.260.0040.00415.80
7.1.250.0100.00315.64
7.1.200.0120.00315.48
7.1.100.0030.01017.51
7.1.70.0000.00916.85
7.1.60.0090.00316.84
7.1.00.0000.07722.52
7.0.200.0030.01316.91
7.0.60.0030.07020.04
7.0.50.0230.04720.29
7.0.40.0130.05720.32
7.0.30.0100.07020.43
7.0.20.0070.06720.27
7.0.10.0130.06320.18
7.0.00.0170.05720.34
5.6.280.0070.06721.15
5.6.210.0130.04720.64
5.6.200.0100.06320.96
5.6.190.0300.04721.04
5.6.180.0270.05021.14
5.6.170.0230.04721.05
5.6.160.0170.05321.08
5.6.150.0200.05320.95
5.6.140.0170.05721.11
5.6.130.0200.05721.15
5.6.120.0130.06021.01
5.6.110.0130.06321.05
5.6.100.0170.06021.00
5.6.90.0170.05321.03
5.6.80.0170.05720.53
5.6.70.0230.04720.39
5.6.60.0230.04720.57
5.6.50.0030.06320.41
5.6.40.0230.04720.41
5.6.30.0130.05320.45
5.6.20.0230.05020.56
5.6.10.0270.04320.36
5.6.00.0200.05020.37
5.5.350.0230.02720.41
5.5.340.0070.06021.00
5.5.330.0170.05320.86
5.5.320.0100.06720.77
5.5.310.0100.05720.73
5.5.300.0170.05720.86
5.5.290.0230.05320.76
5.5.280.0170.05720.71
5.5.270.0130.06021.00
5.5.260.0270.05020.95
5.5.250.0170.05320.60
5.5.240.0130.05720.34
5.5.230.0170.05720.18
5.5.220.0200.05020.23
5.5.210.0230.05720.23
5.5.200.0170.05720.07
5.5.190.0070.06320.11
5.5.180.0130.06320.11
5.5.160.0230.04720.35
5.5.150.0200.07020.37
5.5.140.0030.08320.37
5.5.130.0170.05320.16
5.5.120.0130.05020.05
5.5.110.0170.05020.22
5.5.100.0100.06020.17
5.5.90.0170.05019.95
5.5.80.0200.04720.26
5.5.70.0200.05020.15
5.5.60.0100.05720.06
5.5.50.0100.06020.02
5.5.40.0100.05320.09
5.5.30.0130.05020.11
5.5.20.0230.04719.93
5.5.10.0270.05019.97
5.5.00.0200.05320.13

preferences:
113.09 ms | 1796 KiB | 5 Q