3v4l.org

run code in 300+ PHP versions simultaneously
<?php $f = function(int $i) { }; var_dump((string) $f);

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.0100.01018.43
8.3.50.0130.00617.99
8.3.40.0120.00318.63
8.3.30.0070.01118.68
8.3.20.0040.00419.33
8.3.10.0080.00021.70
8.3.00.0040.00420.69
8.2.180.0040.01118.43
8.2.170.0170.00322.96
8.2.160.0140.00020.70
8.2.150.0050.00324.18
8.2.140.0090.00024.66
8.2.130.0070.00019.76
8.2.120.0040.00426.35
8.2.110.0030.00621.03
8.2.100.0090.00317.97
8.2.90.0000.00817.63
8.2.80.0050.00317.97
8.2.70.0050.00317.92
8.2.60.0050.00318.22
8.2.50.0000.00818.10
8.2.40.0050.00319.53
8.2.30.0040.00419.20
8.2.20.0040.00418.06
8.2.10.0040.00417.97
8.2.00.0030.00517.78
8.1.280.0110.01125.92
8.1.270.0050.00318.95
8.1.260.0080.00026.35
8.1.250.0000.00828.09
8.1.240.0000.01022.55
8.1.230.0060.00622.13
8.1.220.0060.00317.74
8.1.210.0040.00418.77
8.1.200.0120.00017.13
8.1.190.0030.00517.00
8.1.180.0040.00418.10
8.1.170.0000.00718.56
8.1.160.0000.00718.74
8.1.150.0070.00018.89
8.1.140.0050.00222.14
8.1.130.0030.00320.16
8.1.120.0040.00417.49
8.1.110.0070.00317.49
8.1.100.0040.00417.41
8.1.90.0000.00717.42
8.1.80.0000.00817.39
8.1.70.0030.00317.47
8.1.60.0050.00317.57
8.1.50.0000.00817.52
8.1.40.0000.00717.57
8.1.30.0000.00717.67
8.1.20.0000.00817.61
8.1.10.0040.00717.49
8.1.00.0040.00417.52
8.0.300.0040.00418.77
8.0.290.0040.00416.75
8.0.280.0040.00418.43
8.0.270.0000.00717.10
8.0.260.0030.00318.28
8.0.250.0030.00316.94
8.0.240.0030.00516.95
8.0.230.0030.00416.96
8.0.220.0030.00616.86
8.0.210.0050.00316.78
8.0.200.0040.00416.89
8.0.190.0070.00016.90
8.0.180.0040.00416.87
8.0.170.0060.00316.79
8.0.160.0050.00316.91
8.0.150.0030.00316.92
8.0.140.0000.00716.93
8.0.130.0050.00013.37
8.0.120.0070.00016.89
8.0.110.0060.00316.97
8.0.100.0070.00016.89
8.0.90.0050.00316.98
8.0.80.0120.00316.93
8.0.70.0040.00416.97
8.0.60.0040.00416.91
8.0.50.0040.00416.75
8.0.30.0100.00817.02
8.0.20.0120.00617.40
8.0.10.0040.00417.02
8.0.00.0100.00916.72
7.4.330.0020.00215.55
7.4.320.0000.00616.39
7.4.300.0030.00316.50
7.4.290.0030.00316.48
7.4.280.0030.00616.59
7.4.270.0030.00316.61
7.4.260.0050.00316.47
7.4.250.0000.00716.61
7.4.240.0070.00016.57
7.4.230.0040.00416.61
7.4.220.0000.00816.62
7.4.210.0060.00816.64
7.4.200.0000.00716.69
7.4.160.0070.00916.47
7.4.140.0090.00917.86
7.4.130.0100.00716.45
7.4.120.0090.00816.57
7.4.110.0030.01616.69
7.4.100.0160.00616.59
7.4.90.0170.00016.52
7.4.80.0090.00619.39
7.4.70.0110.00716.52
7.4.60.0100.00716.58
7.4.50.0110.00416.51
7.4.40.0090.00916.69
7.3.330.0020.00213.22
7.3.320.0000.00513.37
7.3.310.0040.00416.34
7.3.300.0070.00016.35
7.3.290.0040.00416.23
7.3.280.0110.00616.34
7.3.260.0120.00716.43
7.3.240.0110.00816.36
7.3.230.0060.00916.40
7.3.210.0030.01316.43
7.3.200.0090.00616.39
7.3.190.0070.01416.61
7.3.180.0040.01116.27
7.3.170.0100.00716.49
7.3.160.0090.00616.55
7.2.330.0100.00716.61
7.2.320.0080.01116.61
7.2.310.0120.00416.54
7.2.300.0040.01116.34
7.2.290.0070.01016.36

preferences:
31.64 ms | 401 KiB | 5 Q