3v4l.org

run code in 300+ PHP versions simultaneously
<?php function test() { throw new Exception('megatest'); } try{ test(); } catch(Exception $e) { echo 'catched!'; } echo "\nthe end";

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.3.60.0140.00716.75
8.3.50.0030.01016.29
8.3.40.0040.01418.76
8.3.30.0040.01118.58
8.3.20.0040.00420.04
8.3.10.0080.00021.61
8.3.00.0080.00017.59
8.2.180.0130.00616.63
8.2.170.0140.00022.96
8.2.160.0070.00720.35
8.2.150.0080.00025.66
8.2.140.0070.00724.66
8.2.130.0040.00420.52
8.2.120.0040.00426.35
8.2.110.0000.01020.82
8.2.100.0080.00417.91
8.2.90.0030.00619.05
8.2.80.0030.00618.05
8.2.70.0060.00317.50
8.2.60.0030.00617.93
8.2.50.0050.00318.10
8.2.40.0000.00722.31
8.2.30.0040.00420.98
8.2.20.0000.00718.05
8.2.10.0040.00418.11
8.2.00.0040.00418.10
8.1.270.0080.00023.79
8.1.260.0040.00426.35
8.1.250.0140.00028.09
8.1.240.0040.00421.24
8.1.230.0080.00417.83
8.1.220.0040.00417.74
8.1.210.0030.00618.77
8.1.200.0060.00317.48
8.1.190.0030.00617.22
8.1.180.0020.00518.10
8.1.170.0000.00818.59
8.1.160.0040.00419.02
8.1.150.0000.00718.88
8.1.140.0040.00419.49
8.1.130.0030.00718.87
8.1.120.0030.00317.48
8.1.110.0040.00417.50
8.1.100.0050.00317.43
8.1.90.0040.00417.49
8.1.80.0040.00417.35
8.1.70.0030.00317.50
8.1.60.0060.00617.59
8.1.50.0030.00517.40
8.1.40.0020.00517.54
8.1.30.0050.00517.63
8.1.20.0030.00617.70
8.1.10.0000.00817.54
8.1.00.0040.00417.39
8.0.300.0070.00018.77
8.0.290.0000.00716.75
8.0.280.0000.00718.43
8.0.270.0050.00217.29
8.0.260.0000.00716.87
8.0.250.0080.00016.92
8.0.240.0000.00816.84
8.0.230.0000.00716.93
8.0.220.0040.00416.91
8.0.210.0030.00316.88
8.0.200.0040.00416.98
8.0.190.0030.00516.94
8.0.180.0000.00716.83
8.0.170.0030.00316.79
8.0.160.0030.00316.83
8.0.150.0030.00516.74
8.0.140.0030.00316.91
8.0.130.0000.00513.38
8.0.120.0050.00316.91
8.0.110.0040.00416.77
8.0.100.0050.00316.94
8.0.90.0040.00416.74
8.0.80.0190.00316.98
8.0.70.0000.00716.84
8.0.60.0040.00416.84
8.0.50.0040.00416.98
8.0.30.0110.00817.03
8.0.20.0120.00717.40
8.0.10.0040.00416.90
8.0.00.0150.00316.84
7.4.330.0030.00315.55
7.4.320.0030.00316.41
7.4.300.0030.00316.48
7.4.290.0000.00716.48
7.4.280.0000.00816.40
7.4.270.0040.00416.59
7.4.260.0000.00716.45
7.4.250.0000.00816.55
7.4.240.0000.00716.52
7.4.230.0000.00716.38
7.4.220.0030.01716.56
7.4.210.0030.01616.47
7.4.200.0000.00716.58
7.4.160.0080.01116.57
7.4.150.0130.00717.40
7.4.140.0120.00917.86
7.4.130.0130.01316.38
7.4.120.0110.00916.55
7.4.110.0070.01016.52
7.4.100.0070.01016.50
7.4.90.0030.01416.37
7.4.80.0120.00919.39
7.4.70.0080.00916.68
7.4.60.0100.00716.43
7.4.50.0070.01016.55
7.4.40.0230.00316.25
7.4.30.0040.01216.50
7.4.00.0110.00414.81
7.3.330.0000.00513.25
7.3.320.0000.00513.23
7.3.310.0040.00216.12
7.3.300.0030.00316.11
7.3.290.0060.00716.29
7.3.280.0080.00916.30
7.3.270.0100.00917.40
7.3.260.0090.01116.41
7.3.250.0070.01416.32
7.3.240.0060.01316.42
7.3.230.0130.00516.40
7.3.210.0130.00316.39
7.3.200.0060.00916.26
7.3.190.0070.01016.31
7.3.180.0130.00316.49
7.3.170.0060.00916.46
7.3.160.0090.00616.44
7.3.10.0070.00716.54
7.3.00.0050.00516.41
7.2.330.0030.01416.34
7.2.320.0040.01216.35
7.2.310.0000.01716.69
7.2.300.0070.01016.57
7.2.290.0110.00616.75
7.2.130.0030.01016.79
7.2.120.0070.01016.91
7.2.110.0040.01116.69
7.2.100.0060.00316.95
7.2.90.0000.01316.50
7.2.80.0030.01016.53
7.2.70.0030.01216.81
7.2.60.0050.00916.71
7.2.50.0030.00916.83
7.2.40.0060.00916.73
7.2.30.0110.00316.69
7.2.20.0070.00416.90
7.2.10.0030.01016.73
7.2.00.0070.00618.06
7.1.250.0030.01015.68
7.1.200.0000.01015.70
7.1.100.0000.01218.16
7.1.70.0100.00516.95
7.1.60.0140.01434.96
7.1.50.0190.01434.42
7.1.40.0140.01734.21
7.1.30.0230.00834.24
7.1.20.0230.00734.52
7.1.10.0030.01416.52
7.1.00.0070.01016.58
7.0.200.0040.01216.73
7.0.190.0040.01216.63
7.0.180.0040.01416.28
7.0.170.0040.01216.30
7.0.160.0040.01116.24
7.0.150.0030.01316.36
7.0.140.0060.01116.46
7.0.130.0040.01216.54
7.0.120.0030.01316.35
7.0.110.0050.00916.32
7.0.100.0070.01016.20
7.0.90.0030.01016.02
7.0.80.0080.00816.45
7.0.70.0030.01016.16
7.0.60.0080.00716.08
7.0.50.0040.01216.26
7.0.40.0030.01316.28
7.0.30.0000.01316.38
7.0.20.0030.00916.21
7.0.10.0030.01016.41
7.0.00.0030.01316.32

preferences:
50.42 ms | 400 KiB | 5 Q