3v4l.org

run code in 300+ PHP versions simultaneously
<?php class Brexit extends Exception{} $disaster = new Brexit('strong and stable'); echo (string) $disaster;

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.0120.00918.31
8.3.50.0070.00718.04
8.3.40.0070.00718.80
8.3.30.0100.00618.58
8.3.20.0030.00620.72
8.3.10.0000.00723.66
8.3.00.0050.00320.79
8.2.180.0110.01118.54
8.2.170.0160.00622.96
8.2.160.0030.01020.47
8.2.150.0050.00324.18
8.2.140.0150.00024.66
8.2.130.0040.00426.16
8.2.120.0000.00719.54
8.2.110.0000.01022.07
8.2.100.0060.00617.91
8.2.90.0040.00422.20
8.2.80.0060.00317.97
8.2.70.0000.00918.04
8.2.60.0000.00818.22
8.2.50.0000.00918.10
8.2.40.0000.00719.38
8.2.30.0050.00519.16
8.2.20.0050.00318.05
8.2.10.0040.00419.11
8.2.00.0070.00018.05
8.1.280.0140.00025.92
8.1.270.0030.00624.02
8.1.260.0030.00626.35
8.1.250.0070.01128.09
8.1.240.0030.00622.47
8.1.230.0110.00020.89
8.1.220.0030.00517.74
8.1.210.0040.00418.91
8.1.200.0060.00317.23
8.1.190.0050.00317.13
8.1.180.0000.00918.10
8.1.170.0000.00818.41
8.1.160.0000.00718.73
8.1.150.0040.00418.82
8.1.140.0040.00419.01
8.1.130.0000.00820.25
8.1.120.0000.00717.38
8.1.110.0000.00717.42
8.1.100.0070.00317.26
8.1.90.0000.00817.37
8.1.80.0000.00817.34
8.1.70.0000.00717.38
8.1.60.0090.00017.57
8.1.50.0040.00417.35
8.1.40.0000.00917.53
8.1.30.0090.00317.58
8.1.20.0030.00617.65
8.1.10.0090.00017.53
8.1.00.0040.00417.51
8.0.300.0040.00419.98
8.0.290.0000.00816.75
8.0.280.0070.00018.34
8.0.270.0050.00317.12
8.0.260.0000.00818.34
8.0.250.0000.00716.89
8.0.240.0040.00416.99
8.0.230.0070.00316.84
8.0.220.0030.00316.84
8.0.210.0020.00516.69
8.0.200.0000.00616.89
8.0.190.0000.00816.82
8.0.180.0050.00316.80
8.0.170.0000.00916.77
8.0.160.0040.00416.83
8.0.150.0060.00316.64
8.0.140.0040.00816.77
8.0.130.0050.00013.18
8.0.120.0070.00016.79
8.0.110.0040.00416.84
8.0.100.0040.00416.86
8.0.90.0040.00316.81
8.0.80.0110.00416.82
8.0.70.0000.00716.77
8.0.60.0030.00516.80
8.0.50.0040.00416.82
8.0.30.0100.00716.96
8.0.20.0120.00916.73
8.0.10.0020.00516.82
8.0.00.0100.00816.84
7.4.330.0000.00516.67
7.4.320.0030.00316.42
7.4.300.0030.00316.64
7.4.290.0000.00616.50
7.4.280.0080.00216.65
7.4.270.0030.00716.50
7.4.260.0040.00416.57
7.4.250.0030.00316.48
7.4.240.0000.00716.64
7.4.230.0000.00816.42
7.4.220.0040.00416.66
7.4.210.0100.00516.49
7.4.200.0000.00716.31
7.4.160.0070.00916.46
7.4.140.0040.01417.86
7.4.130.0090.01316.54
7.4.120.0090.00816.57
7.4.110.0090.00916.31
7.4.100.0080.00816.50
7.4.90.0150.00316.47
7.4.80.0090.01119.39
7.4.70.0150.00616.42
7.4.60.0080.00916.41
7.4.50.0070.01116.49
7.4.40.0150.00316.25
7.4.00.0070.00714.79
7.3.330.0050.00013.27
7.3.320.0000.00513.26
7.3.310.0040.00416.25
7.3.300.0000.00716.29
7.3.290.0030.00316.20
7.3.280.0060.01016.20
7.3.260.0090.01116.35
7.3.240.0080.00916.30
7.3.230.0030.01416.38
7.3.210.0070.01016.44
7.3.200.0070.01416.38
7.3.190.0080.01416.20
7.3.180.0130.00316.34
7.3.170.0100.01016.32
7.3.160.0090.00616.29
7.3.40.0100.01314.63
7.3.30.0030.00914.51
7.3.20.0070.00316.57
7.3.10.0040.01416.54
7.3.00.0040.00716.48
7.2.330.0030.01616.50
7.2.320.0170.00416.61
7.2.310.0090.01516.78
7.2.300.0070.00916.63
7.2.290.0060.01116.60
7.2.170.0030.01314.86
7.2.160.0160.01014.87
7.2.150.0180.00316.94
7.2.140.0030.00916.89
7.2.130.0090.00316.77
7.2.120.0090.01016.72
7.2.110.0080.00816.56
7.2.100.0030.01016.70
7.2.90.0060.00616.86
7.2.80.0000.01416.60
7.2.70.0090.00616.88
7.2.60.0030.01016.36
7.2.50.0000.01416.60
7.2.40.0100.01016.93
7.2.30.0060.00816.52
7.2.20.0030.00917.01
7.2.10.0090.01516.92
7.2.00.0130.00717.05
7.1.280.0140.00015.48
7.1.270.0190.00315.44
7.1.260.0100.00015.43
7.1.250.0090.00315.77

preferences:
62.92 ms | 400 KiB | 5 Q