3v4l.org

run code in 300+ PHP versions simultaneously
<?php function derp(int $derp = 1){ echo $derp; } derp(null);

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.0060.00916.63
8.3.50.0120.00616.13
8.3.40.0130.00618.90
8.3.30.0110.00318.77
8.3.20.0020.00520.16
8.3.10.0060.00321.61
8.3.00.0040.00422.05
8.2.180.0100.01016.63
8.2.170.0080.00822.96
8.2.160.0090.00618.95
8.2.150.0100.00724.18
8.2.140.0060.00324.66
8.2.130.0030.00719.32
8.2.120.0080.00626.35
8.2.110.0030.00622.25
8.2.100.0180.00917.73
8.2.90.0040.00419.22
8.2.80.0040.00417.97
8.2.70.0040.00817.50
8.2.60.0080.00317.80
8.2.50.0000.00818.10
8.2.40.0040.00420.47
8.2.30.0000.00819.23
8.2.20.0000.00717.87
8.2.10.0040.00417.98
8.2.00.0000.00717.89
8.1.280.0070.01025.92
8.1.270.0070.00022.05
8.1.260.0030.00526.35
8.1.250.0040.00428.09
8.1.240.0090.00020.87
8.1.230.0060.00619.22
8.1.220.0040.00417.74
8.1.210.0060.00318.77
8.1.200.0000.01017.23
8.1.190.0000.00817.23
8.1.180.0080.00018.10
8.1.170.0040.00419.02
8.1.160.0040.00419.07
8.1.150.0080.00018.73
8.1.140.0040.00419.35
8.1.130.0030.00618.67
8.1.120.0050.00217.30
8.1.110.0020.00517.15
8.1.100.0040.00417.31
8.1.90.0050.00317.36
8.1.80.0000.00717.25
8.1.70.0000.00717.38
8.1.60.0060.00317.35
8.1.50.0000.00817.34
8.1.40.0040.00417.35
8.1.30.0080.00017.53
8.1.20.0040.00417.61
8.1.10.0040.00417.52
8.1.00.0050.00217.43
8.0.300.0050.00320.07
8.0.290.0000.00716.75
8.0.280.0000.00718.48
8.0.270.0050.00217.22
8.0.260.0000.00816.71
8.0.250.0000.00716.85
8.0.240.0030.00316.81
8.0.230.0000.00716.84
8.0.220.0070.00016.88
8.0.210.0030.00416.77
8.0.200.0060.00016.85
8.0.190.0040.00416.96
8.0.180.0040.00416.96
8.0.170.0040.00416.92
8.0.160.0000.00816.96
8.0.150.0000.00816.85
8.0.140.0080.00016.90
8.0.130.0000.00813.30
8.0.120.0000.00816.90
8.0.110.0000.00716.77
8.0.100.0000.00716.96
8.0.90.0040.00416.84
8.0.80.0090.01316.82
8.0.70.0000.00816.73
8.0.60.0060.00316.95
8.0.50.0000.00816.82
8.0.30.0120.00917.15
8.0.20.0080.01117.40
8.0.10.0050.00216.94
8.0.00.0060.01216.68
7.4.330.0000.00515.55
7.4.320.0030.00316.29
7.4.300.0000.00616.51
7.4.290.0040.00416.42
7.4.280.0000.00816.43
7.4.270.0070.00016.36
7.4.260.0050.00216.47
7.4.250.0060.00316.40
7.4.240.0040.00416.53
7.4.230.0000.00616.41
7.4.220.0120.00616.59
7.4.210.0120.00316.46
7.4.200.0070.00016.34
7.4.160.0080.00816.52
7.4.150.0030.01417.40
7.4.140.0130.00817.86
7.4.130.0100.01016.29
7.4.120.0080.01116.38
7.4.110.0100.00716.64
7.4.100.0000.01716.55
7.4.90.0070.01116.41
7.4.80.0110.01119.39
7.4.70.0120.00316.39
7.4.60.0130.00316.26
7.4.50.0030.01316.38
7.4.40.0100.00716.63
7.4.30.0110.00716.34
7.4.00.0030.01015.17
7.3.330.0070.00013.07
7.3.320.0000.00713.28
7.3.310.0030.00316.14
7.3.300.0030.00516.30
7.3.290.0090.00516.26
7.3.280.0090.00816.28
7.3.270.0210.00317.40
7.3.260.0110.00616.44
7.3.250.0080.00716.48
7.3.240.0110.00516.52
7.3.230.0100.01016.21
7.3.210.0030.01316.42
7.3.200.0130.00316.60
7.3.190.0060.01016.48
7.3.180.0080.00816.36
7.3.170.0070.01016.24
7.3.160.0090.00616.48
7.2.330.0060.01416.70
7.2.320.0090.00916.68
7.2.310.0130.00316.57
7.2.300.0090.00916.38
7.2.290.0070.01016.27
7.2.60.0040.00916.89
7.2.00.0070.00719.13
7.1.200.0310.00015.40
7.1.100.0060.00817.75
7.1.70.0120.00816.97
7.1.60.0290.01134.87
7.1.50.0260.00634.66
7.1.40.0290.01934.07
7.1.30.0270.01834.38
7.1.20.0250.01634.59
7.1.10.0030.01316.37
7.1.00.0130.00316.61
7.0.200.0030.01216.82
7.0.190.0300.01016.71
7.0.180.0090.00916.21
7.0.170.0060.01516.21
7.0.160.0100.00616.33
7.0.150.0030.01716.21
7.0.140.0060.00916.24
7.0.130.0040.01816.37
7.0.120.0030.01516.45
7.0.110.0060.01616.27
7.0.100.0100.00916.11
7.0.90.0070.01016.25
7.0.80.0110.00816.03
7.0.70.0060.01616.36
7.0.60.0120.01016.16
7.0.50.0110.00815.99
7.0.40.0070.01616.23
7.0.30.0030.01816.27
7.0.20.0150.00616.23
7.0.10.0120.00616.45
7.0.00.0060.01416.45

preferences:
45.7 ms | 401 KiB | 5 Q