3v4l.org

run code in 300+ PHP versions simultaneously
<?php for ($a=0,$b=0,$c=0,$d=0;;) { break; } var_dump($a,$b,$c,$d);

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.4.20.0160.00317.66
8.4.10.0040.00817.73
8.3.150.0060.01316.38
8.3.140.0040.00416.55
8.3.130.0000.00818.44
8.3.120.0090.00018.67
8.3.110.0050.00316.66
8.3.100.0000.00724.06
8.3.90.0040.00426.77
8.3.80.0040.00418.55
8.3.70.0110.01118.12
8.3.60.0140.00318.05
8.3.50.0080.01221.14
8.3.40.0100.00718.72
8.3.30.0090.00618.61
8.3.20.0040.00420.04
8.3.10.0040.00421.55
8.3.00.0080.00019.26
8.2.270.0130.00616.91
8.2.260.0110.00716.91
8.2.250.0030.00616.75
8.2.240.0070.01119.14
8.2.230.0090.00020.94
8.2.220.0060.00337.54
8.2.210.0000.00726.77
8.2.200.0000.01118.16
8.2.190.0070.00716.58
8.2.180.0100.00318.41
8.2.170.0130.00722.96
8.2.160.0070.00719.21
8.2.150.0070.00424.18
8.2.140.0000.00724.66
8.2.130.0070.00026.16
8.2.120.0080.00019.54
8.2.110.0060.00320.77
8.2.100.0070.00419.21
8.2.90.0000.00719.25
8.2.80.0070.00020.34
8.2.70.0030.00517.50
8.2.60.0030.00517.50
8.2.50.0080.00017.75
8.2.40.0000.00818.03
8.2.30.0090.00317.91
8.2.20.0000.00717.92
8.2.10.0000.00718.07
8.2.00.0070.00018.05
8.1.310.0090.00618.61
8.1.300.0100.01019.45
8.1.290.0040.00430.84
8.1.280.0080.00825.92
8.1.270.0030.00624.66
8.1.260.0110.00026.35
8.1.250.0080.00028.09
8.1.240.0060.00322.22
8.1.230.0110.00020.84
8.1.220.0000.00817.74
8.1.210.0030.00618.85
8.1.200.0000.00817.22
8.1.190.0040.00417.23
8.1.180.0080.00018.10
8.1.170.0040.00418.52
8.1.160.0080.00018.76
8.1.150.0030.00520.00
8.1.140.0030.00619.56
8.1.130.0070.00018.92
8.1.120.0010.00817.34
8.1.110.0070.00517.29
8.1.100.0080.00417.30
8.1.90.0080.00417.36
8.1.80.0070.00417.29
8.1.70.0040.00717.33
8.1.60.0120.00117.48
8.1.50.0070.00617.45
8.1.40.0100.00417.43
8.1.30.0070.00517.57
8.1.20.0090.00317.49
8.1.10.0090.00417.38
8.1.00.0080.00417.36
8.0.300.0070.00020.16
8.0.290.0080.00016.75
8.0.280.0000.00718.37
8.0.270.0000.00716.74
8.0.260.0000.00619.05
8.0.250.0040.00716.87
8.0.240.0090.00216.91
8.0.230.0060.00616.98
8.0.220.0070.00316.79
8.0.210.0020.00916.80
8.0.200.0080.00316.89
8.0.190.0100.00116.88
8.0.180.0020.00916.75
8.0.170.0080.00316.94
8.0.160.0040.00916.88
8.0.150.0060.00416.77
8.0.140.0050.00616.85
8.0.130.0070.00414.97
8.0.120.0080.00316.87
8.0.110.0080.00416.79
8.0.100.0090.00216.80
8.0.90.0060.00616.83
8.0.80.0050.01216.81
8.0.70.0050.01016.83
8.0.60.0090.00916.80
8.0.50.0060.01216.77
8.0.30.0130.00916.91
8.0.20.0100.00917.10
8.0.10.0110.00916.94
8.0.00.0090.01016.94
7.4.330.0000.00515.55
7.4.320.0030.00816.51
7.4.300.0070.00416.46
7.4.290.0050.00716.45
7.4.280.0090.00416.48
7.4.270.0040.00716.43
7.4.260.0060.00516.43
7.4.250.0060.00716.45
7.4.240.0050.00616.41
7.4.230.0090.00316.36
7.4.220.0060.00516.54
7.4.210.0080.00716.48
7.4.200.0050.01016.50
7.4.190.0050.01016.57
7.4.180.0100.00716.49
7.4.160.0110.00616.48
7.4.150.0090.00916.56
7.4.140.0100.00916.91
7.4.130.0090.01016.33
7.4.120.0090.00916.29
7.4.110.0090.00716.41
7.4.100.0110.00816.43
7.4.90.0100.00716.37
7.4.80.0090.00816.71
7.4.70.0080.00916.32
7.4.60.0080.00916.28
7.4.50.0080.00916.25
7.4.40.0070.01016.25
7.4.30.0080.00916.30
7.4.20.0080.01016.33
7.4.10.0100.01016.26
7.4.00.0080.00916.23
7.3.330.0070.00314.55
7.3.320.0060.00414.52
7.3.310.0060.00416.17
7.3.300.0080.00316.25
7.3.290.0090.00716.21
7.3.280.0070.00916.17
7.3.270.0100.00616.32
7.3.260.0110.00716.19
7.3.250.0080.00716.22
7.3.240.0070.00916.23
7.3.230.0080.00916.24
7.3.220.0080.00916.15
7.3.210.0100.00716.14
7.3.200.0100.00716.14
7.3.190.0100.00716.17
7.3.180.0100.00816.13
7.3.170.0080.00916.13
7.3.160.0090.00916.16
7.3.150.0080.00816.11
7.3.140.0090.01016.16
7.3.130.0090.00916.16
7.3.120.0100.00716.13
7.3.110.0100.00916.16
7.3.100.0090.00815.91
7.3.90.0110.00616.13
7.3.80.0080.00815.96
7.3.70.0090.00815.98
7.3.60.0070.00915.97
7.3.50.0080.00715.90
7.3.40.0060.01015.90
7.3.30.0070.00915.86
7.3.20.0090.00816.11
7.3.10.0100.00816.04
7.3.00.0100.00916.02
7.2.340.0150.00916.14
7.2.330.0140.00716.23
7.2.320.0100.01116.19
7.2.310.0150.00716.15
7.2.300.0150.00916.15
7.2.290.0120.00916.21
7.2.280.0140.00816.15
7.2.270.0160.00816.17
7.2.260.0120.01116.22
7.2.250.0140.00816.20
7.2.240.0170.00516.14
7.2.230.0150.00516.01
7.2.220.0130.01015.96
7.2.210.0150.00816.03
7.2.200.0140.00816.06
7.2.190.0120.00916.04
7.2.180.0140.00715.98
7.2.170.0110.00915.99
7.2.160.0120.00916.00
7.2.150.0180.00616.20
7.2.140.0140.00816.28
7.2.130.0130.00916.30
7.2.120.0140.00816.28
7.2.110.0130.00916.30
7.2.100.0220.00616.17
7.2.90.0180.00916.08
7.2.80.0200.00816.13
7.2.70.0230.00816.19
7.2.60.0200.00716.19
7.2.50.0230.01016.10
7.2.40.0180.01116.17
7.2.30.0230.01016.14
7.2.20.0200.00916.28
7.2.10.0180.00916.32
7.2.00.0200.00816.29
7.1.330.0160.01015.88
7.1.320.0190.00815.74
7.1.310.0130.00815.69
7.1.300.0170.00715.68
7.1.290.0130.00815.65
7.1.280.0140.01015.50
7.1.270.0130.00815.48
7.1.260.0150.00815.45
7.1.250.0210.00915.46
7.1.240.0210.01115.22
7.1.230.0140.00915.33
7.1.220.0250.00715.35
7.1.210.0230.00715.28
7.1.200.0210.00815.35
7.1.190.0180.01015.30
7.1.180.0200.00815.23
7.1.170.0200.00915.25
7.1.160.0220.00615.29
7.1.150.0200.00915.28
7.1.140.0260.00815.27
7.1.130.0240.00715.27
7.1.120.0200.01015.27
7.1.110.0190.00915.29
7.1.100.0230.00515.26
7.1.90.0220.00715.21
7.1.80.0300.00715.27
7.1.70.0230.00715.36
7.1.60.0220.00817.01
7.1.50.0230.00817.00
7.1.40.0200.00916.96
7.1.30.0220.00917.02
7.1.20.0190.00817.00
7.1.10.0190.00915.41
7.1.00.0210.00715.46
7.0.330.0140.00715.09
7.0.320.0150.00815.04
7.0.310.0190.00814.92
7.0.300.0200.00714.86
7.0.290.0240.00614.92
7.0.280.0180.00814.89
7.0.270.0200.00914.95
7.0.260.0210.00914.93
7.0.250.0220.00815.09
7.0.240.0240.00615.04
7.0.230.0210.00715.05
7.0.220.0200.00715.05
7.0.210.0300.00715.03
7.0.200.0180.00715.20
7.0.190.0210.00715.18
7.0.180.0220.00615.22
7.0.170.0160.01015.19
7.0.160.0210.00615.17
7.0.150.0200.00715.20
7.0.140.0190.00815.18
7.0.130.0250.00715.23
7.0.120.0210.00615.29
7.0.110.0200.00815.21
7.0.100.0220.00815.26
7.0.90.0200.00915.16
7.0.80.0200.00615.15
7.0.70.0210.00515.19
7.0.60.0200.00515.19
7.0.50.0200.00715.17
7.0.40.0170.00815.24
7.0.30.0200.00915.20
7.0.20.0210.00715.19
7.0.10.0190.00915.21
7.0.00.0210.00715.22
5.6.400.0100.01115.33
5.6.390.0130.00915.39
5.6.380.0130.00815.34
5.6.370.0150.00915.67
5.6.360.0150.00915.66
5.6.350.0160.00815.69
5.6.340.0130.00915.69
5.6.330.0160.00915.66
5.6.320.0150.00815.70
5.6.310.0120.01115.74
5.6.300.0150.01015.59
5.6.290.0150.00915.63
5.6.280.0130.01115.64
5.6.270.0170.00815.63
5.6.260.0170.00715.66
5.6.250.0120.01115.67
5.6.240.0150.01015.80
5.6.230.0160.00815.77
5.6.220.0180.00615.79
5.6.210.0170.00615.81
5.6.200.0150.00915.82
5.6.190.0150.00815.82
5.6.180.0150.00815.81
5.6.170.0130.01015.77
5.6.160.0140.01115.79
5.6.150.0160.00915.78
5.6.140.0140.00915.71
5.6.130.0160.00715.75
5.6.120.0150.01015.72
5.6.110.0170.00915.70
5.6.100.0150.00915.66
5.6.90.0120.01015.68
5.6.80.0130.00915.60
5.6.70.0160.00915.74
5.6.60.0140.00815.76
5.6.50.0140.01015.66
5.6.40.0170.00715.68
5.6.30.0160.00915.77
5.6.20.0130.01115.65
5.6.10.0140.00915.67
5.6.00.0130.00915.67

preferences:
27.43 ms | 403 KiB | 5 Q