3v4l.org

run code in 300+ PHP versions simultaneously
<?php function test() { } function hello(Closure $callable) { } hello('test');

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.00318.56
8.3.50.0150.00316.16
8.3.40.0080.00818.80
8.3.30.0000.01418.71
8.3.20.0070.00018.95
8.3.10.0040.00421.78
8.3.00.0040.00419.34
8.2.180.0100.00716.50
8.2.170.0100.00722.96
8.2.160.0100.00720.36
8.2.150.0040.00424.18
8.2.140.0050.00324.66
8.2.130.0040.00420.47
8.2.120.0000.00826.35
8.2.110.0030.00620.39
8.2.100.0040.00817.84
8.2.90.0050.00319.05
8.2.80.0000.00817.97
8.2.70.0060.00317.50
8.2.60.0040.00417.68
8.2.50.0000.00818.10
8.2.40.0040.00422.34
8.2.30.0040.00419.05
8.2.20.0040.00418.02
8.2.10.0040.00417.91
8.2.00.0040.00418.01
8.1.280.0090.00925.92
8.1.270.0000.00823.96
8.1.260.0050.00226.35
8.1.250.0040.00428.09
8.1.240.0040.00420.76
8.1.230.0070.00419.01
8.1.220.0050.00517.74
8.1.210.0050.00318.77
8.1.200.0100.00017.35
8.1.190.0040.00417.10
8.1.180.0040.00418.10
8.1.170.0040.00418.37
8.1.160.0040.00418.94
8.1.150.0050.00318.67
8.1.140.0000.00719.45
8.1.130.0000.00718.75
8.1.120.0070.00017.30
8.1.110.0030.00517.31
8.1.100.0000.00717.32
8.1.90.0040.00417.25
8.1.80.0070.00017.21
8.1.70.0040.00417.31
8.1.60.0040.00417.52
8.1.50.0060.00317.43
8.1.40.0050.00317.43
8.1.30.0000.00817.60
8.1.20.0000.00717.43
8.1.10.0040.00717.55
8.1.00.0000.00717.32
8.0.300.0040.00418.77
8.0.290.0040.00416.88
8.0.280.0070.00018.43
8.0.270.0000.00717.12
8.0.260.0030.00316.79
8.0.250.0070.00016.94
8.0.240.0040.00416.80
8.0.230.0000.00716.96
8.0.220.0000.00716.85
8.0.210.0070.00016.92
8.0.200.0070.00016.98
8.0.190.0000.00916.93
8.0.180.0040.00416.80
8.0.170.0070.00016.91
8.0.160.0070.00416.89
8.0.150.0050.00216.89
8.0.140.0050.00216.73
8.0.130.0000.00613.28
8.0.120.0040.00416.67
8.0.110.0040.00416.89
8.0.100.0080.00016.73
8.0.90.0050.00316.69
8.0.80.0100.00716.93
8.0.70.0070.00016.75
8.0.60.0070.00017.00
8.0.50.0020.00516.77
8.0.30.0160.00216.99
8.0.20.0100.00917.40
8.0.10.0000.00717.01
8.0.00.0060.00916.62
7.4.330.0050.00015.55
7.4.320.0030.00616.47
7.4.300.0000.00616.38
7.4.290.0060.00316.43
7.4.280.0050.00216.47
7.4.270.0040.00416.50
7.4.260.0000.00513.21
7.4.250.0030.00316.29
7.4.240.0000.00716.34
7.4.230.0000.00716.46
7.4.220.0100.00916.59
7.4.210.0060.01216.48
7.4.200.0000.00716.60
7.4.160.0050.01116.36
7.4.150.0100.00717.40
7.4.140.0090.00917.86
7.4.130.0090.00916.70
7.4.120.0160.00416.39
7.4.110.0180.00716.65
7.4.100.0100.00716.30
7.4.90.0110.00816.62
7.4.80.0070.01019.39
7.4.70.0060.01216.41
7.4.60.0090.00616.57
7.4.50.0080.00816.25
7.4.40.0090.01316.55
7.4.30.0030.01416.39
7.4.00.0090.00614.89
7.3.330.0000.00513.12
7.3.320.0000.00613.16
7.3.310.0000.00716.30
7.3.300.0070.00016.15
7.3.290.0030.00316.10
7.3.280.0070.00916.29
7.3.270.0130.00317.40
7.3.260.0070.01016.35
7.3.250.0100.00916.53
7.3.240.0090.01116.51
7.3.230.0070.01016.34
7.3.210.0060.01216.30
7.3.200.0000.02016.30
7.3.190.0100.01016.56
7.3.180.0120.00416.28
7.3.170.0060.01016.56
7.3.160.0100.00616.27
7.2.330.0100.00716.58
7.2.320.0080.01216.29
7.2.310.0100.01016.58
7.2.300.0090.00916.23
7.2.290.0140.01016.61
7.2.60.0040.01116.73
7.2.00.0060.00618.94
7.1.200.0060.00915.66
7.1.100.0070.00717.96
7.1.70.0500.01015.13
7.1.60.0500.01732.91
7.1.50.1600.01332.72
7.1.40.0830.01732.50
7.1.30.0900.01332.54
7.1.20.0800.02332.69
7.1.10.0800.01314.81
7.1.00.0570.00714.71
7.0.200.0470.01314.96
7.0.190.0500.01314.68
7.0.180.0670.01314.27
7.0.170.0800.01014.49
7.0.160.0730.00714.27
7.0.150.0730.01714.19
7.0.140.0870.01014.35
7.0.130.0600.01014.46
7.0.120.0630.01314.64
7.0.110.0770.00714.27
7.0.100.0700.01314.29
7.0.90.0770.00714.34
7.0.80.0700.01314.38
7.0.70.0700.00714.43
7.0.60.0830.01014.02
7.0.50.0800.00714.30
7.0.40.0670.01014.40
7.0.30.0630.00714.44
7.0.20.0800.01714.39
7.0.10.0770.01314.44
7.0.00.0670.01314.20

preferences:
58.05 ms | 400 KiB | 5 Q