3v4l.org

run code in 300+ PHP versions simultaneously
<?php try{ do_this(); do_that(); $something = new Something(); $something->doThisAsWell(); }catch (FileSystemException $e){ echo $e->getMessage(); }

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.0090.00618.41
8.3.50.0040.01116.64
8.3.40.0070.00718.91
8.3.30.0050.01018.50
8.3.20.0040.00418.85
8.3.10.0040.00423.48
8.3.00.0070.00021.59
8.2.180.0070.01016.63
8.2.170.0140.00022.96
8.2.160.0090.00620.35
8.2.150.0040.00424.18
8.2.140.0080.00024.66
8.2.130.0040.00419.52
8.2.120.0080.00026.35
8.2.110.0030.00622.10
8.2.100.0150.00017.78
8.2.90.0080.00018.03
8.2.80.0030.00517.97
8.2.70.0040.00417.79
8.2.60.0090.00018.22
8.2.50.0060.00318.10
8.2.40.0050.00319.30
8.2.30.0000.00719.16
8.2.20.0050.00217.90
8.2.10.0040.00417.93
8.2.00.0040.00417.54
8.1.280.0120.00325.92
8.1.270.0060.00320.52
8.1.260.0040.00426.35
8.1.250.0040.00428.09
8.1.240.0060.00617.52
8.1.230.0100.00020.84
8.1.220.0040.00417.74
8.1.210.0000.00918.85
8.1.200.0060.00317.35
8.1.190.0050.00517.25
8.1.180.0000.00718.10
8.1.170.0040.00418.51
8.1.160.0040.00418.82
8.1.150.0000.00718.71
8.1.140.0080.00020.31
8.1.130.0080.00019.99
8.1.120.0000.00717.42
8.1.110.0070.00017.44
8.1.100.0000.00717.28
8.1.90.0000.00817.43
8.1.80.0040.00317.37
8.1.70.0000.00717.29
8.1.60.0000.00917.54
8.1.50.0000.00717.55
8.1.40.0040.00417.52
8.1.30.0000.00717.70
8.1.20.0040.00417.67
8.1.10.0040.00417.54
8.1.00.0050.00217.51
8.0.300.0000.00719.79
8.0.290.0000.00816.75
8.0.280.0090.00018.44
8.0.270.0040.00417.14
8.0.260.0000.00820.20
8.0.250.0070.00016.94
8.0.240.0060.00016.98
8.0.230.0030.00316.86
8.0.220.0030.00716.89
8.0.210.0040.00416.82
8.0.200.0000.00716.90
8.0.190.0070.00016.92
8.0.180.0050.00316.92
8.0.170.0060.00316.95
8.0.160.0040.00416.91
8.0.150.0000.00916.79
8.0.140.0030.00316.88
8.0.130.0050.00013.23
8.0.120.0000.00816.74
8.0.110.0080.00016.87
8.0.100.0030.00316.88
8.0.90.0000.00816.85
8.0.80.0070.00916.90
8.0.70.0080.00016.71
8.0.60.0000.00716.88
8.0.50.0050.00216.86
8.0.30.0070.01016.99
8.0.20.0100.00817.40
8.0.10.0070.00016.86
8.0.00.0060.01116.77
7.4.330.0000.00515.55
7.4.320.0030.00316.59
7.4.300.0030.00316.65
7.4.290.0050.00316.45
7.4.280.0050.00316.60
7.4.270.0030.00316.36
7.4.260.0030.00316.51
7.4.250.0030.00316.56
7.4.240.0080.00016.53
7.4.230.0070.00016.41
7.4.220.0040.00416.67
7.4.210.0090.00816.65
7.4.200.0030.00316.48
7.4.160.0120.00716.59
7.4.140.0090.01017.86
7.4.130.0160.00316.39
7.4.120.0090.00916.52
7.4.110.0140.00416.51
7.4.100.0090.00916.57
7.4.90.0130.00316.60
7.4.80.0060.01019.39
7.4.70.0310.00516.32
7.4.60.0100.00616.32
7.4.50.0060.00916.40
7.4.40.0160.00716.36
7.4.00.0030.01315.00
7.3.330.0000.00613.10
7.3.320.0000.00513.25
7.3.310.0030.00316.08
7.3.300.0000.00716.16
7.3.290.0000.00716.12
7.3.280.0080.00716.23
7.3.260.0090.01116.35
7.3.240.0090.00816.42
7.3.230.0120.00616.50
7.3.210.0070.01016.27
7.3.200.0120.00316.18
7.3.190.0100.00716.36
7.3.180.0070.01116.38
7.3.170.0100.00716.32
7.3.160.0100.00616.45
7.2.330.0100.01016.47
7.2.320.0040.01516.33
7.2.310.0060.01116.53
7.2.300.0090.01016.42
7.2.290.0070.01016.60
7.2.110.0150.00614.63
7.2.100.0360.00614.61
7.2.90.0870.00714.69
7.2.80.0840.00314.71
7.2.70.0200.00014.80
7.2.60.0160.00314.90
7.2.50.0790.01014.73
7.2.40.0390.00014.83
7.2.31.0200.00314.94
7.2.20.3580.00614.82
7.2.10.0840.00014.95
7.2.00.1130.00614.70
7.1.230.0120.00313.93
7.1.220.0580.00613.93
7.1.210.0030.01013.80
7.1.200.0570.01013.60
7.1.190.0170.01313.64
7.1.180.0100.00713.55
7.1.170.0210.00713.85
7.1.160.0090.00613.54
7.1.150.7320.00313.50
7.1.140.0530.01013.80
7.1.130.0190.01413.56
7.1.120.0080.00813.94
7.1.110.1230.01013.95
7.1.100.0970.00313.90
7.1.90.0830.00313.57
7.1.80.0190.00813.64
7.1.70.0100.00813.59
7.1.60.0670.01031.74
7.1.50.1010.01531.81
7.1.40.1160.01331.84
7.1.30.0370.00931.29
7.1.20.0340.00331.73
7.1.10.0440.00413.65
7.1.00.0120.00913.86
5.6.380.0060.00613.62

preferences:
34.21 ms | 400 KiB | 5 Q