3v4l.org

run code in 500+ PHP versions simultaneously
<?php enum MyEnum {} class_exists(MyEnum::class); // true or false?

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.80.0100.00716.86
8.5.70.0090.00516.71
8.5.60.0090.00816.62
8.5.50.0100.00716.55
8.5.30.0110.00618.13
8.5.20.0060.01120.15
8.5.10.0110.00716.66
8.5.00.0140.00819.89
8.4.230.0130.00719.50
8.4.220.0110.00919.28
8.4.210.0060.00521.42
8.4.180.0100.01119.29
8.4.170.0100.01123.93
8.4.160.0120.01023.89
8.4.150.0080.00416.78
8.4.140.0150.00617.28
8.4.130.0090.00717.89
8.4.120.0080.00422.50
8.4.110.0120.00919.07
8.4.100.0160.00617.45
8.4.90.0130.00817.91
8.4.80.0190.00719.21
8.4.70.0200.00719.12
8.4.60.0400.00917.40
8.4.50.0430.00617.54
8.4.40.0460.00917.23
8.4.30.0430.00817.07
8.4.20.0450.00717.19
8.4.10.0530.00816.97
8.3.320.0130.00918.21
8.3.310.0050.00318.45
8.3.300.0130.00720.82
8.3.290.0110.01020.36
8.3.280.0110.00918.25
8.3.270.0120.00816.66
8.3.260.0120.00716.73
8.3.250.0110.00718.80
8.3.240.0100.00916.54
8.3.230.0090.00716.35
8.3.220.0240.00816.97
8.3.210.0170.00616.97
8.3.200.0340.00616.97
8.3.190.0220.00316.97
8.3.180.0410.00516.97
8.3.170.0390.01016.97
8.3.160.0340.00616.97
8.3.150.0430.01016.97
8.3.140.0380.00716.97
8.3.130.0270.00416.97
8.3.120.0160.00516.97
8.3.110.0220.00716.97
8.3.100.0300.00816.97
8.3.90.0260.00816.97
8.3.80.0230.00616.97
8.3.70.0160.00816.97
8.3.60.0150.00716.97
8.3.50.0180.00516.97
8.3.40.0180.00517.38
8.3.30.0140.00517.34
8.3.20.0170.00917.36
8.3.10.0200.00417.39
8.3.00.0170.00817.46
8.2.320.0120.00817.88
8.2.310.0130.00818.19
8.2.300.0100.00920.52
8.2.290.0110.00620.18
8.2.280.0290.01116.97
8.2.270.0320.01216.97
8.2.260.0330.00916.97
8.2.250.0310.00716.97
8.2.240.0300.01016.97
8.2.230.0540.00716.97
8.2.220.0380.00516.97
8.2.210.0370.01516.97
8.2.200.0320.01016.97
8.2.190.0340.00816.97
8.2.180.0390.00916.97
8.2.170.0330.01017.50
8.2.160.0370.00917.29
8.2.150.0370.00917.27
8.2.140.0360.00517.36
8.2.130.0380.00617.22
8.2.120.0360.00917.41
8.2.110.0280.00317.69
8.2.100.0210.00617.56
8.2.90.0310.01217.66
8.2.80.0340.00917.46
8.2.70.0390.00517.35
8.2.60.0360.00817.36
8.2.50.0330.01117.26
8.2.40.0300.00717.49
8.2.30.0420.00617.10
8.2.20.0350.00717.37
8.2.10.0340.00617.32
8.2.00.0320.00917.52
8.1.340.0120.01021.57

preferences:
41.5 ms | 872 KiB | 5 Q