3v4l.org

run code in 300+ PHP versions simultaneously
<?php enum Utils { public static function doesItWork(): string { return "Yes, it does"; } } print Utils::doesItWork();

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.00.0140.00719.78
8.4.150.0020.00014.05
8.4.140.0140.00717.59
8.4.130.0150.00417.57
8.4.120.0030.00622.25
8.4.110.0110.00622.20
8.4.100.0100.01117.69
8.4.90.0120.00818.55
8.4.80.0070.00117.79
8.4.70.0070.00217.82
8.4.60.0060.00924.37
8.4.50.0100.00718.66
8.4.40.0060.01317.66
8.4.30.0120.00923.79
8.4.20.0070.01019.55
8.4.10.0090.00919.56
8.3.280.0140.00918.37
8.3.270.0130.00716.41
8.3.260.0110.00916.44
8.3.250.0050.00618.79
8.3.240.0140.00516.73
8.3.230.0120.00716.55
8.3.220.0100.00817.14
8.3.210.0080.00618.47
8.3.200.0030.00616.61
8.3.190.0030.00917.17
8.3.180.0100.00918.68
8.3.170.0060.01218.92
8.3.160.0070.01118.33
8.3.150.0030.00617.17
8.3.140.0030.00518.33
8.3.130.0080.00016.59
8.3.120.0320.01216.71
8.3.110.0330.01016.66
8.3.100.0350.01316.49
8.3.90.0320.00716.01
8.3.80.0380.00316.16
8.3.70.0360.00916.09
8.3.60.0450.00415.99
8.3.50.0350.00716.61
8.3.40.0330.00416.78
8.3.30.0280.00717.02
8.3.20.0200.01017.18
8.3.10.0280.00717.21
8.3.00.0090.00917.16
8.2.290.0130.00720.36
8.2.280.0100.00916.67
8.2.270.0150.00318.18
8.2.260.0090.00617.11
8.2.250.0040.01516.62
8.2.240.0310.00916.20
8.2.230.0280.01216.02
8.2.220.0460.00816.14
8.2.210.0300.01215.93
8.2.200.0340.00616.33
8.2.190.0320.00916.11
8.2.180.0310.01016.12
8.2.170.0350.01517.42
8.2.160.0350.00717.46
8.2.150.0220.01317.30
8.2.140.0340.00617.18
8.2.130.0310.01217.34
8.2.120.0340.00917.24
8.2.110.0370.00717.16
8.2.100.0320.01217.58
8.2.90.0370.00417.70
8.2.80.0290.01317.18
8.2.70.0370.00317.31
8.2.60.0350.00717.09
8.2.50.0380.01317.12
8.2.40.0300.00717.24
8.2.30.0260.00817.47
8.2.20.0330.00817.09
8.2.10.0330.00317.37
8.2.00.0200.01117.09
8.1.330.0130.00521.83
8.1.320.0080.01117.80
8.1.310.0030.00616.67
8.1.300.0290.01316.18
8.1.290.0240.01616.07
8.1.280.0290.01115.74
8.1.270.0380.00417.04
8.1.260.0290.01417.20
8.1.250.0360.01217.27
8.1.240.0220.00717.14
8.1.230.0210.01017.27
8.1.220.0270.00317.23
8.1.210.0300.00317.03
8.1.200.0330.00317.07
8.1.190.0320.00417.16
8.1.180.0290.00417.18
8.1.170.0180.00617.30
8.1.160.0110.00617.23
8.1.150.0330.00317.16
8.1.140.0180.00017.12
8.1.130.0130.00317.15
8.1.120.0110.00617.34
8.1.110.0170.00017.16
8.1.100.0320.00517.23
8.1.90.0340.00617.04
8.1.80.0280.01116.92
8.1.70.0420.00416.96
8.1.60.0410.00317.44
8.1.50.0280.01317.25
8.1.40.0330.00617.17
8.1.30.0300.01017.21
8.1.20.0330.00717.39
8.1.10.0270.01317.14
8.1.00.0330.00817.21

preferences:
34.12 ms | 403 KiB | 5 Q