3v4l.org

run code in 300+ PHP versions simultaneously
<?php class 🚽 extends \Exception{ public function __construct() { parent::__construct('Shit happens!'); } } throw new 🚽();

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.00418.30
8.3.50.0100.00718.25
8.3.40.0120.00318.85
8.3.30.0080.00818.54
8.3.20.0040.00420.06
8.3.10.0060.00323.40
8.3.00.0000.00819.98
8.2.180.0110.00718.32
8.2.170.0150.00022.96
8.2.160.0070.00720.57
8.2.150.0040.00424.18
8.2.140.0040.00424.66
8.2.130.0000.00820.35
8.2.120.0070.00026.35
8.2.110.0090.00020.56
8.2.100.0110.00017.78
8.2.90.0040.00417.78
8.2.80.0000.00820.57
8.2.70.0050.00317.66
8.2.60.0040.00417.92
8.2.50.0030.00718.10
8.2.40.0040.00420.59
8.2.30.0050.00219.05
8.2.20.0040.00417.99
8.2.10.0040.00417.91
8.2.00.0000.00718.20
8.1.280.0110.00725.92
8.1.270.0000.00719.99
8.1.260.0080.00026.35
8.1.250.0040.00428.09
8.1.240.0040.00723.73
8.1.230.0060.00620.88
8.1.220.0000.00817.74
8.1.210.0080.00018.77
8.1.200.0080.00017.00
8.1.190.0000.00817.39
8.1.180.0040.00418.10
8.1.170.0090.00018.65
8.1.160.0000.00718.81
8.1.150.0040.00420.25
8.1.140.0070.00017.50
8.1.130.0000.00618.94
8.1.120.0000.00717.28
8.1.110.0050.00317.28
8.1.100.0030.00317.38
8.1.90.0080.00017.32
8.1.80.0030.00517.38
8.1.70.0000.01117.38
8.1.60.0040.00417.58
8.1.50.0000.00817.27
8.1.40.0000.00817.31
8.1.30.0070.00417.48
8.1.20.0000.00717.41
8.1.10.0040.00417.37
8.1.00.0000.00917.41
8.0.300.0040.00419.87
8.0.290.0030.00616.63
8.0.280.0030.00318.41
8.0.270.0030.00317.21
8.0.260.0040.00416.72
8.0.250.0070.00016.91
8.0.240.0040.00416.82
8.0.230.0030.00316.86
8.0.220.0040.00416.75
8.0.210.0030.00516.79
8.0.200.0040.00416.87
8.0.190.0030.00316.84
8.0.180.0070.00016.86
8.0.170.0060.00616.89
8.0.160.0050.00216.96
8.0.150.0030.00316.92
8.0.140.0000.00716.96
8.0.130.0050.00013.38
8.0.120.0000.00716.87
8.0.110.0040.00416.82
8.0.100.0090.00017.05
8.0.90.0040.00416.76
8.0.80.0060.01616.82
8.0.70.0030.00616.74
8.0.60.0050.00316.96
8.0.50.0000.00717.00
8.0.30.0110.00817.08
8.0.20.0140.00717.40
8.0.10.0040.00416.78
8.0.00.0060.01316.73
7.4.330.0000.00615.55
7.4.320.0000.00616.48
7.4.300.0060.00016.54
7.4.290.0030.00316.38
7.4.280.0080.00016.42
7.4.270.0030.00316.48
7.4.260.0000.00716.40
7.4.250.0000.00716.48
7.4.240.0030.00316.38
7.4.230.0070.00016.43
7.4.220.0000.00816.27
7.4.210.0060.00816.49
7.4.200.0040.00416.27
7.4.160.0090.00716.54
7.4.150.0000.01917.40
7.4.140.0100.00917.86
7.4.130.0100.01016.36
7.4.120.0120.00716.50
7.4.110.0160.00016.53
7.4.100.0070.01516.44
7.4.90.0110.00616.45
7.4.80.0090.00619.39
7.4.70.0120.00916.41
7.4.60.0130.00916.53
7.4.50.0070.00716.53
7.4.40.0060.00916.47
7.4.00.0070.00314.93
7.3.330.0000.00513.17
7.3.320.0000.00513.36
7.3.310.0070.00016.36
7.3.300.0050.00216.22
7.3.290.0000.00716.33
7.3.280.0060.00916.35
7.3.270.0140.00317.40
7.3.260.0080.01216.33
7.3.250.0130.00516.41
7.3.240.0070.01216.36
7.3.230.0130.00316.52
7.3.210.0060.01016.48
7.3.200.0070.01016.31
7.3.190.0090.00916.43
7.3.180.0040.01216.50
7.3.170.0060.01016.43
7.3.160.0100.00716.33
7.2.330.0080.00816.57
7.2.320.0100.00616.66
7.2.310.0140.00316.50
7.2.300.0090.01716.44
7.2.290.0150.00616.59
7.2.60.0000.00816.88
7.2.20.0270.01417.88
7.2.10.0260.00618.06
7.2.00.0380.01318.05
7.1.200.0040.00815.73
7.1.140.0220.01316.46
7.1.130.0380.01016.77
7.1.120.0440.00716.73
7.1.110.0390.01015.64
7.1.100.0310.01416.27
7.1.90.0380.00916.03
7.1.80.0210.01015.71
7.1.70.0160.01315.23
7.1.60.0330.01032.93
7.1.50.0290.01332.91
7.1.40.0370.01732.64
7.1.30.0560.01332.60
7.1.20.0330.01032.75
7.1.10.0170.01414.49
7.1.00.0230.01514.63

preferences:
61.19 ms | 401 KiB | 5 Q