3v4l.org

run code in 300+ PHP versions simultaneously
<?php define('Foo', function () { echo "Called"; }); (Foo)();

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.5.20.0110.00520.00
8.5.10.0100.01116.43
8.5.00.0130.00819.86
8.4.170.0090.01320.56
8.4.160.0090.01420.68
8.4.150.0020.00014.05
8.4.140.0120.00917.37
8.4.130.0030.00818.87
8.4.120.0120.00823.93
8.4.110.0130.00620.70
8.4.100.0100.01017.57
8.4.90.0110.00820.43
8.4.80.0120.00818.82
8.4.70.0070.00918.60
8.4.60.0090.01022.55
8.4.50.0140.00518.55
8.4.40.0080.00017.59
8.4.30.0070.01118.70
8.4.20.0060.00921.06
8.4.10.0380.01317.45
8.3.300.0090.01119.07
8.3.290.0070.01020.86
8.3.280.0130.00718.22
8.3.270.0140.01216.56
8.3.260.0090.00616.73
8.3.250.0130.00518.75
8.3.240.0130.00516.91
8.3.230.0090.00716.64
8.3.220.0050.00218.83
8.3.210.0080.01018.43
8.3.200.0080.00516.51
8.3.190.0090.01017.06
8.3.180.0120.00818.84
8.3.170.0070.01117.32
8.3.160.0110.00718.46
8.3.150.0190.00016.99
8.3.140.0400.00516.68
8.3.130.0220.01316.48
8.3.120.0280.00416.56
8.3.110.0280.01016.54
8.3.100.0360.00616.33
8.3.90.0340.00916.33
8.3.80.0290.00616.68
8.3.70.0380.00216.36
8.3.60.0340.00316.54
8.3.50.0340.00816.56
8.3.40.0270.00717.56
8.3.30.0270.00617.29
8.3.20.0330.00317.28
8.3.10.0220.01317.30
8.3.00.0130.00517.44
8.2.300.0090.01120.31
8.2.290.0090.01020.41
8.2.280.0100.00918.16
8.2.270.0120.00616.74
8.2.260.0250.01016.40
8.2.250.0220.00616.54
8.2.240.0220.01016.41
8.2.230.0240.00816.21
8.2.220.0270.00816.48
8.2.210.0230.01116.25
8.2.200.0270.00316.26
8.2.190.0260.01116.22
8.2.180.0360.00616.41
8.2.170.0400.00417.46
8.2.160.0330.00717.49
8.2.150.0270.00517.42
8.2.140.0240.01017.29
8.2.130.0330.00417.36
8.2.120.0280.01117.55
8.2.110.0310.00717.38
8.2.100.0360.00317.43
8.2.90.0340.00517.37
8.2.80.0330.00617.25
8.2.70.0300.01017.39
8.2.60.0210.00817.35
8.2.50.0220.00917.30
8.2.40.0210.00817.34
8.2.30.0260.00917.27
8.2.20.0260.00617.28
8.2.10.0190.01117.47
8.2.00.0240.00317.40
8.1.340.0120.01020.31
8.1.320.0050.00316.09
8.1.00.0230.00518.16
8.0.00.0180.00717.78
7.4.330.0230.00417.25
7.0.330.0200.00016.76
5.6.400.0240.00015.45

preferences:
35.28 ms | 403 KiB | 5 Q