3v4l.org

run code in 300+ PHP versions simultaneously
<?php enum Foo { case Bar; } var_dump(Foo::Bar->name, Foo::Bar);

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.140.0140.00717.79
8.4.130.0140.00619.50
8.4.120.0130.00720.54
8.4.110.0130.00622.47
8.4.100.0150.00617.70
8.4.90.0100.01018.48
8.4.80.0140.00617.70
8.4.70.0090.00917.93
8.4.60.0110.00924.16
8.4.50.0090.00418.70
8.4.40.0150.00619.57
8.4.30.0030.01720.65
8.4.20.0120.00818.83
8.4.10.0130.00620.73
8.3.260.0110.00916.44
8.3.250.0130.00619.13
8.3.240.0090.01016.74
8.3.230.0100.00916.73
8.3.220.0090.00417.07
8.3.210.0110.00716.55
8.3.200.0060.00516.55
8.3.190.0110.00817.29
8.3.180.0110.01016.70
8.3.170.0140.00417.25
8.3.160.0090.00916.69
8.3.150.0100.01018.65
8.3.140.0050.00317.14
8.3.130.0000.00818.31
8.3.120.0070.00320.68
8.3.110.0060.00316.78
8.3.100.0030.01316.42
8.3.50.0050.00316.38
8.2.290.0110.01120.29
8.2.280.0100.00918.08
8.2.270.0150.00317.38
8.2.260.0040.00416.35
8.2.250.0120.00616.36
8.2.240.0030.00517.09
8.2.230.0070.00416.41
8.2.220.0100.00016.56
8.1.330.0100.00923.91
8.1.320.0040.00515.78
8.1.310.0060.00320.00
8.1.300.0150.00317.75
8.0.30.0230.01016.85
8.0.20.0220.00716.91
8.0.10.0240.00616.77
8.0.00.0070.01116.82
7.4.160.0200.01016.46
7.4.150.0100.01416.21
7.4.140.0160.01416.24
7.4.130.0120.01616.39
7.4.120.0200.00716.14
7.4.110.0230.00516.13
7.4.100.0170.01416.36
7.4.90.0220.00416.14
7.4.80.0190.00716.09
7.4.70.0270.00016.15
7.4.60.0170.00916.02
7.4.50.0150.01216.13
7.4.40.0140.01116.03
7.4.30.0200.00616.21
7.4.20.0120.01316.00
7.4.10.0200.00716.06
7.4.00.0270.00416.30
7.3.280.0190.00916.12
7.3.270.0280.00016.12
7.3.260.0170.01016.08
7.3.250.0240.00516.14
7.3.240.0210.00516.03
7.3.230.0230.01016.22
7.3.220.0250.00516.16
7.3.210.0270.01116.06
7.3.200.0350.00316.13
7.3.190.0280.00616.04
7.3.180.0220.01316.04
7.3.170.0230.01116.03
7.3.160.0230.00516.13
7.3.150.0190.00816.06
7.3.140.0150.01516.12
7.3.130.0330.00016.13
7.3.120.0230.01016.03
7.3.110.0250.01715.98
7.3.100.0340.00015.96
7.3.90.0200.01416.39
7.3.80.0230.01016.04
7.3.70.0250.00416.15
7.3.60.0180.00916.17
7.3.50.0180.01116.23
7.3.40.0240.00716.16
7.3.30.0220.00516.17
7.3.20.0180.01316.20
7.3.10.0250.00716.18
7.3.00.0220.00616.18

preferences:
27.7 ms | 403 KiB | 5 Q