3v4l.org

run code in 300+ PHP versions simultaneously
<?php $test = function () { throw new \Exception('You juicy vagina :D'); }; $canIGetException = function () { $e = (new \Exception)->getPrevious(); var_dump($e); }; try { $test(); } catch (\Exception $e) { $canIGetException(); }

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.00016.50
8.3.50.0130.00822.05
8.3.40.0040.01219.02
8.3.30.0090.00618.86
8.3.20.0070.00020.13
8.3.10.0050.00323.48
8.3.00.0030.00719.25
8.2.180.0110.00718.39
8.2.170.0140.00022.96
8.2.160.0070.00722.05
8.2.150.0040.00425.66
8.2.140.0040.00424.66
8.2.130.0040.00426.16
8.2.120.0080.00017.75
8.2.110.0000.01022.00
8.2.100.0090.00317.93
8.2.90.0000.00819.23
8.2.80.0000.00817.97
8.2.70.0080.00017.75
8.2.60.0080.00017.93
8.2.50.0000.00818.07
8.2.40.0040.00419.35
8.2.30.0040.00420.48
8.2.20.0000.00817.73
8.2.10.0000.00717.94
8.2.00.0030.00618.05
8.1.280.0150.00625.92
8.1.270.0080.00023.92
8.1.260.0040.00426.35
8.1.250.0040.00428.09
8.1.240.0030.00622.61
8.1.230.0080.00417.79
8.1.220.0060.00317.74
8.1.210.0060.00318.77
8.1.200.0040.00417.23
8.1.190.0080.00017.35
8.1.180.0000.00718.10
8.1.170.0070.00018.96
8.1.160.0000.00721.97
8.1.150.0000.00818.93
8.1.140.0050.00319.49
8.1.130.0000.00717.61
8.1.120.0000.00717.46
8.1.110.0030.00317.48
8.1.100.0040.00417.36
8.1.90.0000.00717.45
8.1.80.0030.00517.47
8.1.70.0030.00317.36
8.1.60.0050.00317.57
8.1.50.0040.00417.60
8.1.40.0030.00517.45
8.1.30.0000.00817.55
8.1.20.0040.00417.66
8.1.10.0040.00417.49
8.1.00.0040.00417.41
8.0.300.0030.00618.77
8.0.290.0070.00016.88
8.0.280.0000.00718.38
8.0.270.0000.00717.16
8.0.260.0040.00417.21
8.0.250.0070.00016.98
8.0.240.0080.00016.93
8.0.230.0040.00416.86
8.0.220.0000.00716.88
8.0.210.0000.00816.96
8.0.200.0000.00616.99
8.0.190.0040.00417.00
8.0.180.0030.00316.87
8.0.170.0050.00216.98
8.0.160.0000.00717.00
8.0.150.0000.00716.73
8.0.140.0040.00416.98
8.0.130.0000.00613.29
8.0.120.0000.00916.93
8.0.110.0040.00416.95
8.0.100.0040.00416.83
8.0.90.0040.00416.82
8.0.80.0070.01316.95
8.0.70.0000.00716.85
8.0.60.0000.00716.86
8.0.50.0000.00716.90
8.0.30.0070.01217.15
8.0.20.0080.01117.40
8.0.10.0070.00016.93
8.0.00.0090.01016.82
7.4.330.0050.00015.12
7.4.320.0060.00316.55
7.4.300.0000.00616.59
7.4.290.0040.00416.56
7.4.280.0040.00416.62
7.4.270.0020.00516.61
7.4.260.0100.00016.52
7.4.250.0000.00716.48
7.4.240.0020.00516.52
7.4.230.0030.00316.60
7.4.220.0140.00716.54
7.4.210.0100.00916.55
7.4.200.0030.00316.58
7.4.160.0090.00616.50
7.4.150.0070.01017.40
7.4.140.0120.01017.86
7.4.130.0090.00916.42
7.4.120.0100.01016.65
7.4.110.0100.00916.44
7.4.100.0050.01416.43
7.4.90.0070.01116.55
7.4.80.0070.01119.39
7.4.70.0030.01316.61
7.4.60.0060.01216.43
7.4.50.0050.00316.54
7.4.40.0090.00916.28
7.4.30.0050.01716.38
7.4.00.0080.00814.97
7.3.330.0000.00513.31
7.3.320.0000.00513.14
7.3.310.0070.00016.28
7.3.300.0030.00316.19
7.3.290.0000.00716.16
7.3.280.0120.00716.29
7.3.270.0060.01017.40
7.3.260.0070.01016.41
7.3.240.0070.01116.30
7.3.230.0090.00616.39
7.3.210.0180.00016.43
7.3.200.0080.00816.32
7.3.190.0060.00916.59
7.3.180.0140.00316.32
7.3.170.0120.00416.49
7.3.160.0040.01116.34
7.3.120.0040.01414.63
7.3.110.0030.01314.53
7.3.100.0070.00714.91
7.3.90.0050.00914.84
7.3.80.0060.00614.79
7.3.70.0000.01114.59
7.3.60.0000.01814.49
7.3.50.0110.00414.55
7.3.40.0030.00614.54
7.3.30.0100.00714.43
7.3.20.0060.00916.39
7.3.10.0120.01116.60
7.3.00.0240.00816.57
7.2.330.0090.00916.47
7.2.320.0150.00316.71
7.2.310.0170.00616.64
7.2.300.0110.01116.38
7.2.290.0090.00816.72
7.2.250.0120.00615.06
7.2.240.0130.00614.95
7.2.230.0000.01014.73
7.2.220.0090.00614.96
7.2.210.0030.01314.87
7.2.200.0040.01214.78
7.2.190.0080.00315.00
7.2.180.0060.00915.05
7.2.170.0000.01414.83
7.2.130.0300.00316.97
7.2.120.0340.01116.95
7.2.110.0230.00616.34
7.2.100.0760.00316.98
7.2.90.0190.01216.86
7.2.80.0280.00716.40
7.2.70.0670.00616.65
7.2.60.0140.00616.59
7.2.50.0280.01516.55
7.2.40.0360.01316.76
7.2.30.0180.01116.41
7.2.20.0340.01016.30
7.2.10.0130.00716.41
7.2.00.0290.00917.95
7.1.330.0070.01015.67
7.1.320.0070.00715.53
7.1.310.0070.00715.43
7.1.300.0080.00615.89
7.1.290.0030.01015.82
7.1.280.0070.00715.66
7.1.270.0090.00615.73
7.1.260.0090.00615.67
7.1.250.0640.00615.54
7.1.200.0080.00415.80
7.1.100.0050.00518.35
7.1.70.0060.00317.02
7.1.60.0120.01219.43
7.1.50.0070.01416.69
7.1.00.0000.07722.54
7.0.200.0310.00614.69
7.0.60.0100.06319.87
7.0.50.0070.05317.91
7.0.40.0070.07020.41
7.0.30.0170.04320.35
7.0.20.0200.03720.23
7.0.10.0100.07320.07
7.0.00.0000.08320.23
5.6.280.0030.07321.15
5.6.210.0170.06020.75
5.6.200.0030.05718.19
5.6.190.0070.06320.43
5.6.180.0500.06720.39
5.6.170.0230.04720.50
5.6.160.0000.05720.44
5.6.150.0130.05318.15
5.6.140.0030.05718.15
5.6.130.0030.08318.21
5.6.120.0130.07721.02
5.6.110.0000.09321.11
5.6.100.0100.07721.02
5.6.90.0070.08320.88
5.6.80.0100.07720.51
5.5.350.0370.06720.35
5.5.340.0070.05017.98
5.5.330.0100.08320.13
5.5.320.0300.06720.42
5.5.310.0330.04320.41
5.5.300.0000.08317.98
5.5.290.0030.08017.99
5.5.280.0030.09020.66
5.5.270.0070.05320.97
5.5.260.0070.04020.68
5.5.250.0030.05320.69
5.5.240.0070.08020.07
5.4.450.0730.05719.16
5.4.440.0630.06019.42
5.4.430.0670.05319.55
5.4.420.0500.06019.59
5.4.410.0570.06019.03
5.4.400.0670.07019.29
5.4.390.0700.06719.09
5.4.380.0700.07019.36
5.4.370.0830.05319.36
5.4.360.0630.07719.25
5.4.350.0770.08318.84
5.4.340.0600.07018.82
5.4.320.0870.05718.93
5.4.310.0130.05719.36
5.4.300.0070.06318.82
5.4.290.0200.06019.07
5.4.280.0500.04719.28
5.4.270.0200.06019.27
5.4.260.0670.06718.95
5.4.250.0630.05719.23
5.4.240.0870.05019.24
5.4.230.0200.06019.00
5.4.220.0100.06019.24
5.4.210.0270.07319.25
5.4.200.0430.07318.93
5.4.190.0670.07319.05
5.4.180.0370.05719.26
5.4.170.0600.05719.05
5.4.160.0100.06019.20
5.4.150.0230.05019.23
5.4.140.0270.05316.31
5.4.130.0670.05716.43
5.4.120.0730.06716.50
5.4.110.0800.07016.62
5.4.100.0730.05316.62
5.4.90.0170.05016.52
5.4.80.0130.07016.52
5.4.70.0130.05316.56
5.4.60.0170.04716.22
5.4.50.0470.04316.42
5.4.40.0670.05016.25
5.4.30.0100.04716.47
5.4.20.0230.06016.47
5.4.10.0370.05016.54
5.4.00.0330.06015.84

preferences:
42.25 ms | 401 KiB | 5 Q