3v4l.org

run code in 300+ PHP versions simultaneously
<?php function test(){} $a = function(){}; var_dump($a instanceof Closure);exit;

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.00316.50
8.3.50.0070.00716.48
8.3.40.0040.01118.69
8.3.30.0070.00718.54
8.3.20.0040.00420.29
8.3.10.0050.00221.85
8.3.00.0040.00417.72
8.2.180.0160.00616.63
8.2.170.0070.01422.96
8.2.160.0110.00320.25
8.2.150.0070.00024.18
8.2.140.0070.00024.66
8.2.130.0080.00020.39
8.2.120.0070.00026.35
8.2.110.0060.00320.91
8.2.100.0090.00317.84
8.2.90.0040.00419.13
8.2.80.0040.00417.97
8.2.70.0060.00517.75
8.2.60.0030.00617.80
8.2.50.0060.00318.10
8.2.40.0030.00620.47
8.2.30.0000.00719.20
8.2.20.0060.00318.09
8.2.10.0040.00417.93
8.2.00.0050.00317.91
8.1.280.0100.01025.92
8.1.270.0080.00022.10
8.1.260.0040.00426.35
8.1.250.0040.00428.09
8.1.240.0060.00321.27
8.1.230.0040.00717.83
8.1.220.0050.00317.74
8.1.210.0000.00918.77
8.1.200.0070.00317.35
8.1.190.0050.00317.23
8.1.180.0040.00418.10
8.1.170.0050.00318.44
8.1.160.0030.00319.05
8.1.150.0040.00418.90
8.1.140.0040.00419.57
8.1.130.0040.00418.91
8.1.120.0000.00717.45
8.1.110.0000.00717.48
8.1.100.0030.00517.50
8.1.90.0040.00417.34
8.1.80.0060.00317.47
8.1.70.0000.00817.47
8.1.60.0050.00517.56
8.1.50.0000.00717.47
8.1.40.0030.00617.56
8.1.30.0060.00317.66
8.1.20.0070.00017.64
8.1.10.0050.00217.39
8.1.00.0040.00417.33
8.0.300.0040.00418.77
8.0.290.0000.00716.75
8.0.280.0000.00718.37
8.0.270.0030.00317.20
8.0.260.0030.00316.72
8.0.250.0060.00016.85
8.0.240.0000.00816.88
8.0.230.0030.00516.91
8.0.220.0030.00316.83
8.0.210.0040.00416.91
8.0.200.0070.00017.02
8.0.190.0050.00317.05
8.0.180.0000.00716.95
8.0.170.0040.00416.86
8.0.160.0030.00316.96
8.0.150.0040.00416.93
8.0.140.0030.00516.93
8.0.130.0000.00613.36
8.0.120.0050.00216.82
8.0.110.0000.00716.83
8.0.100.0020.00516.91
8.0.90.0050.00316.86
8.0.80.0070.01016.95
8.0.70.0030.00516.99
8.0.60.0070.00016.87
8.0.50.0000.00716.84
8.0.30.0080.01017.07
8.0.20.0130.00717.40
8.0.10.0060.00317.01
8.0.00.0060.01217.05
7.4.330.0030.00315.55
7.4.320.0030.00316.52
7.4.300.0030.00316.61
7.4.290.0030.00516.61
7.4.280.0080.00016.50
7.4.270.0080.00016.63
7.4.260.0000.00816.61
7.4.250.0000.00816.49
7.4.240.0050.00216.53
7.4.230.0000.00716.67
7.4.220.0150.00316.45
7.4.210.0100.00816.53
7.4.200.0040.00416.61
7.4.160.0100.00716.46
7.4.150.0090.00917.40
7.4.140.0090.01217.86
7.4.130.0110.00816.56
7.4.120.0150.00616.54
7.4.110.0100.00716.69
7.4.100.0110.00716.50
7.4.90.0110.01216.43
7.4.80.0100.01019.39
7.4.70.0110.00416.60
7.4.60.0060.01616.55
7.4.50.0090.00616.53
7.4.40.0060.01316.73
7.4.30.0130.00916.58
7.4.00.0080.00814.92
7.3.330.0000.00513.34
7.3.320.0050.00013.34
7.3.310.0030.00316.16
7.3.300.0030.00316.37
7.3.290.0050.00216.31
7.3.280.0080.00916.35
7.3.270.0100.00717.40
7.3.260.0090.01016.49
7.3.250.0130.00616.35
7.3.240.0090.00816.37
7.3.230.0110.00616.35
7.3.210.0130.00616.66
7.3.200.0080.00816.39
7.3.190.0060.00916.32
7.3.180.0130.00616.52
7.3.170.0090.00616.29
7.3.160.0030.01216.50
7.2.330.0130.00316.64
7.2.320.0070.01016.66
7.2.310.0030.01316.62
7.2.300.0040.01416.48
7.2.290.0130.00316.64
7.2.00.0040.01119.35
7.1.100.0040.01118.34
7.1.70.0050.01217.13
7.1.60.0260.01035.08
7.1.50.0280.01734.43
7.1.40.0180.01934.32
7.1.30.0220.01234.27
7.1.20.0150.02234.54
7.1.10.0100.01016.46
7.1.00.0090.01016.54
7.0.200.0080.01216.69
7.0.190.0080.01016.49
7.0.180.0120.00516.45
7.0.170.0050.01216.13
7.0.160.0100.00716.30
7.0.150.0100.01316.31
7.0.140.0120.00616.06
7.0.130.0060.01216.48
7.0.120.0080.01216.59
7.0.110.0070.01016.18
7.0.100.0030.01316.31
7.0.90.0040.01216.30
7.0.80.0060.01416.33
7.0.70.0080.01216.39
7.0.60.0090.00816.04
7.0.50.0120.00616.32
7.0.40.0070.01016.30
7.0.30.0080.01116.31
7.0.20.0140.00516.56
7.0.10.0030.01016.40
7.0.00.0030.01216.51

preferences:
39.18 ms | 401 KiB | 5 Q