3v4l.org

run code in 300+ PHP versions simultaneously
<?php goto hi; echo "should not print\n"; try { echo "entering try\n"; hi: } finally { echo "in finally\n"; }

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.0100.01017.52
8.4.10.0040.00419.32
8.3.150.0140.00016.57
8.3.140.0090.00016.91
8.3.130.0080.00018.34
8.3.120.0030.00618.79
8.3.110.0070.01420.94
8.3.100.0040.00416.46
8.3.90.0060.00626.77
8.3.80.0060.00317.97
8.3.70.0150.00318.43
8.3.60.0170.00316.75
8.3.50.0100.00817.26
8.3.40.0100.00718.86
8.3.30.0070.00718.53
8.3.20.0040.00420.15
8.3.10.0080.00021.92
8.3.00.0000.00823.48
8.2.260.0080.00018.27
8.2.250.0040.00418.87
8.2.240.0040.01517.15
8.2.230.0080.00022.58
8.2.220.0030.00524.06
8.2.210.0090.00026.77
8.2.200.0070.00416.38
8.2.190.0120.00316.58
8.2.180.0170.00316.38
8.2.170.0070.00722.96
8.2.160.0100.00319.24
8.2.150.0080.00024.18
8.2.140.0080.00024.66
8.2.130.0000.00820.88
8.2.120.0030.01626.35
8.2.110.0070.00320.98
8.2.100.0080.00417.91
8.2.90.0000.00820.60
8.2.80.0050.00320.35
8.2.70.0000.00917.50
8.2.60.0080.00017.91
8.2.50.0000.00818.10
8.2.40.0000.00720.42
8.2.30.0030.00519.16
8.2.20.0040.00418.05
8.2.10.0000.00717.97
8.2.00.0040.00417.90
8.1.310.0110.00718.27
8.1.300.0060.00317.70
8.1.290.0090.00030.84
8.1.280.0150.00325.92
8.1.270.0050.00224.02
8.1.260.0050.00326.35
8.1.250.0000.00728.09
8.1.240.0080.00022.14
8.1.230.0060.00620.90
8.1.220.0000.00817.74
8.1.210.0050.00318.77
8.1.200.0030.00617.13
8.1.190.0000.00817.22
8.1.180.0000.00718.10
8.1.170.0000.00718.61
8.1.160.0040.00418.78
8.1.150.0000.00719.95
8.1.140.0030.00319.41
8.1.130.0030.00518.69
8.1.120.0070.00017.36
8.1.110.0000.00817.38
8.1.100.0040.00417.29
8.1.90.0070.00017.34
8.1.80.0050.00317.34
8.1.70.0050.00517.35
8.1.60.0040.00417.50
8.1.50.0040.00417.32
8.1.40.0060.00617.30
8.1.30.0040.00417.48
8.1.20.0000.00717.52
8.1.10.0000.00717.37
8.1.00.0050.00317.28
8.0.300.0000.00720.23
8.0.290.0040.00416.61
8.0.280.0050.00218.34
8.0.270.0050.00317.20
8.0.260.0060.00018.87
8.0.250.0000.00616.75
8.0.240.0040.00416.82
8.0.230.0030.00316.81
8.0.220.0030.00316.78
8.0.210.0090.00016.81
8.0.200.0060.00016.82
8.0.190.0000.00916.72
8.0.180.0030.00616.69
8.0.170.0030.00516.84
8.0.160.0040.00416.65
8.0.150.0040.00416.65
8.0.140.0030.00516.61
8.0.130.0000.00613.22
8.0.120.0000.00816.79
8.0.110.0040.00416.63
8.0.100.0080.00016.54
8.0.90.0030.00316.67
8.0.80.0060.01116.70
8.0.70.0070.00016.83
8.0.60.0030.00316.65
8.0.50.0030.00516.66
8.0.30.0090.00816.90
8.0.20.0110.00817.40
8.0.10.0040.00416.83
8.0.00.0090.00916.84
7.4.330.0000.00515.55
7.4.320.0030.00316.36
7.4.300.0040.00416.47
7.4.290.0040.00416.38
7.4.280.0040.00416.50
7.4.270.0000.00716.48
7.4.260.0040.00416.35
7.4.250.0050.00316.36
7.4.240.0080.00016.38
7.4.230.0000.00716.43
7.4.220.0070.01816.49
7.4.210.0000.01416.30
7.4.200.0020.00516.26
7.4.160.0120.00516.50
7.4.150.0030.01417.40
7.4.140.0140.00717.86
7.4.130.0080.00916.33
7.4.120.0090.01016.50
7.4.110.0100.00716.51
7.4.100.0090.01116.41
7.4.90.0150.00616.38
7.4.80.0100.01019.39
7.4.70.0120.00916.31
7.4.60.0080.00816.33
7.4.50.0060.00916.16
7.4.40.0110.00616.55
7.4.30.0070.01016.20
7.4.00.0100.00714.46
7.3.330.0050.00013.06
7.3.320.0030.00313.05
7.3.310.0050.00216.01
7.3.300.0000.00615.97
7.3.290.0080.00816.15
7.3.280.0090.00816.14
7.3.270.0130.00517.40
7.3.260.0090.00916.31
7.3.250.0090.01116.14
7.3.240.0070.00916.19
7.3.230.0100.00716.34
7.3.210.0150.00916.42
7.3.200.0100.00616.45
7.3.190.0030.01316.11
7.3.180.0000.01616.38
7.3.170.0060.01216.41
7.3.160.0060.01016.26
7.2.330.0070.01016.25
7.2.320.0080.00816.48
7.2.310.0150.00616.46
7.2.300.0170.00316.53
7.2.290.0060.01016.38
7.2.80.0040.00716.28
7.2.60.0110.00416.97
7.1.200.0100.00315.67
7.1.90.0000.01517.80
7.1.80.0050.01317.89
7.1.70.0030.01217.08
7.1.60.0200.01035.14
7.1.50.0220.01634.72
7.1.40.0230.01434.17
7.1.30.0070.03034.34
7.1.20.0160.01334.35
7.1.10.0140.00316.30
7.1.00.0060.01016.52
7.0.230.0100.00717.56
7.0.220.0050.00817.65
7.0.210.0000.01216.64
7.0.200.0060.00616.57
7.0.190.0080.00816.29
7.0.180.0060.01016.24
7.0.170.0070.01016.17
7.0.160.0060.01116.02
7.0.150.0000.01716.13
7.0.140.0040.00816.30
7.0.130.0060.00616.47
7.0.120.0000.01216.36
7.0.110.0000.01516.20
7.0.100.0040.01216.19
7.0.90.0000.01516.02
7.0.80.0050.00816.21
7.0.70.0040.00716.18
7.0.60.0070.00416.00
7.0.50.0040.00816.28
7.0.40.0080.00416.29
7.0.30.0060.00616.25
7.0.20.0000.01116.36
7.0.10.0060.00616.20
7.0.00.0030.00816.29

preferences:
36.21 ms | 403 KiB | 5 Q