3v4l.org

run code in 300+ PHP versions simultaneously
<?php $closure = function () { echo "Hello from closure."; }; $closure->__invoke();

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.4.20.0100.01019.81
8.4.10.0040.00420.71
8.3.150.0060.01217.13
8.3.140.0140.00416.55
8.3.130.0030.00618.36
8.3.120.0030.00618.89
8.3.110.0150.00320.94
8.3.100.0050.00324.06
8.3.90.0000.00726.77
8.3.80.0090.00016.50
8.3.70.0120.00616.58
8.3.60.0170.00318.43
8.3.50.0100.01023.56
8.3.40.0100.01021.82
8.3.30.0070.01018.54
8.3.20.0110.00324.18
8.3.10.0000.00824.66
8.3.00.0000.00726.16
8.2.260.0030.00616.64
8.2.250.0060.00318.43
8.2.240.0160.00317.05
8.2.230.0090.00022.58
8.2.220.0040.00437.54
8.2.210.0080.00026.77
8.2.200.0060.00316.38
8.2.190.0120.00616.75
8.2.180.0140.00725.92
8.2.170.0100.00718.71
8.2.160.0030.01022.96
8.2.150.0040.00425.66
8.2.140.0040.00424.66
8.2.130.0040.00426.16
8.2.120.0070.00020.66
8.2.110.0030.00619.40
8.2.100.0100.00017.78
8.2.90.0040.00417.75
8.2.80.0000.00718.69
8.2.70.0050.00317.63
8.2.60.0030.00518.05
8.2.50.0030.00518.07
8.2.40.0080.00019.88
8.2.30.0050.00317.93
8.2.20.0030.00518.11
8.2.10.0040.00419.35
8.2.00.0000.00719.12
8.1.310.0040.00417.82
8.1.300.0060.00318.39
8.1.290.0070.00318.88
8.1.280.0070.00725.92
8.1.270.0040.00423.99
8.1.260.0040.00426.35
8.1.250.0070.00028.09
8.1.240.0100.00720.85
8.1.230.0000.01217.70
8.1.220.0050.00317.76
8.1.210.0080.00018.77
8.1.200.0000.00817.35
8.1.190.0060.00317.23
8.1.180.0040.00418.10
8.1.170.0030.00518.71
8.1.160.0070.00018.89
8.1.150.0040.00418.79
8.1.140.0040.00418.82
8.1.130.0070.00020.04
8.1.120.0070.00017.45
8.1.110.0070.00017.45
8.1.100.0040.00417.44
8.1.90.0040.00417.28
8.1.80.0080.00017.46
8.1.70.0040.00417.51
8.1.60.0030.00517.61
8.1.50.0030.00617.37
8.1.40.0000.00817.55
8.1.30.0050.00317.60
8.1.20.0000.00717.54
8.1.10.0000.00717.46
8.1.00.0060.00317.43
8.0.300.0000.00818.77
8.0.290.0040.00416.75
8.0.280.0030.00318.48
8.0.270.0000.00718.00
8.0.260.0030.00320.23
8.0.250.0030.00316.88
8.0.240.0000.00716.86
8.0.230.0030.00316.87
8.0.220.0030.00716.84
8.0.210.0000.00716.83
8.0.200.0000.00716.91
8.0.190.0060.00316.93
8.0.180.0070.00016.94
8.0.170.0080.00016.77
8.0.160.0000.00716.90
8.0.150.0070.00016.70
8.0.140.0000.00716.88
8.0.130.0080.00013.31
8.0.120.0000.00716.89
8.0.110.0050.00316.83
8.0.100.0050.00316.86
8.0.90.0000.00716.68
8.0.80.0080.01016.84
8.0.70.0080.00016.88
8.0.60.0000.00816.68
8.0.50.0050.00216.71
8.0.30.0090.00916.92
8.0.20.0130.00817.04
8.0.10.0050.00216.82
8.0.00.0090.00916.70
7.4.330.0050.00015.55
7.4.320.0000.00716.46
7.4.300.0040.00416.58
7.4.290.0040.00316.40
7.4.280.0060.00316.63
7.4.270.0030.00316.60
7.4.260.0000.00613.25
7.4.250.0070.00016.46
7.4.240.0040.00416.48
7.4.230.0070.00016.59
7.4.220.0040.00316.45
7.4.210.0060.01016.52
7.4.200.0070.00016.61
7.4.130.0140.00416.53
7.4.120.0140.00716.56
7.4.110.0090.00916.45
7.4.100.0090.00916.43
7.4.90.0030.01316.49
7.4.80.0070.01016.45
7.4.70.0120.00616.55
7.4.60.0070.01016.36
7.4.50.0120.00616.73
7.4.40.0150.00316.66
7.4.30.0090.01216.45
7.4.20.0100.00716.66
7.4.10.0130.00616.52
7.4.00.0120.00616.44
7.3.330.0030.00416.25
7.3.320.0000.00613.16
7.3.310.0000.00716.27
7.3.300.0030.00316.27
7.3.290.0110.00716.29
7.3.260.0090.01316.24
7.3.230.0030.01416.35
7.3.220.0130.00416.48
7.3.210.0000.01716.25
7.3.200.0080.01315.91
7.3.190.0120.00616.10
7.3.180.0080.00816.11
7.3.170.0090.01016.30
7.3.160.0060.01516.23
7.3.150.0070.01016.32
7.3.140.0130.00316.57
7.3.130.0130.00316.42
7.3.120.0070.01016.29
7.3.110.0030.01416.23
7.3.100.0060.01116.52
7.3.90.0150.00316.14
7.3.80.0040.01316.36
7.3.70.0120.00316.21
7.3.60.0060.01016.23
7.3.50.0110.00616.08
7.3.40.0060.01016.34
7.3.30.0090.00616.44
7.3.20.0000.01616.41
7.3.10.0100.00716.38
7.3.00.0140.00316.47
7.2.340.0170.00016.69
7.2.330.0120.00616.36
7.2.320.0090.00916.68
7.2.310.0090.00916.70
7.2.300.0090.00916.62
7.2.290.0100.01016.64
7.2.280.0180.00316.80
7.2.270.0100.00716.50
7.2.260.0140.00316.64
7.2.250.0070.01116.39
7.2.240.0100.00716.39
7.2.230.0060.01216.40
7.2.220.0040.01416.68
7.2.210.0090.00916.56
7.2.200.0090.00816.28
7.2.190.0060.01216.29
7.2.180.0130.00416.38
7.2.170.0110.00516.27
7.2.160.0140.00316.46
7.2.150.0150.00316.41
7.2.140.0080.01116.49
7.2.130.0100.00716.53
7.2.120.0060.01116.56
7.2.110.0090.00916.56
7.2.100.0120.00816.60
7.2.90.0090.00916.59
7.2.80.0120.00616.59
7.2.70.0090.01516.66
7.2.60.0120.01216.58
7.2.50.0090.01616.50
7.2.40.0130.01016.56
7.2.30.0120.00616.63
7.2.20.0360.01216.42
7.2.10.0170.00616.47
7.2.00.0150.00916.47

preferences:
65.15 ms | 403 KiB | 5 Q