3v4l.org

run code in 300+ PHP versions simultaneously
<?php class Something { const PARENT = 'parent'; } enum MyEnum:string { case firstChild = Something::PARENT . '_child1'; case secondChild = Something::PARENT . '_child2'; }

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.10.0120.00720.07
8.5.00.0160.00519.77
8.4.150.0010.00014.05
8.4.140.0120.00817.57
8.4.130.0130.00817.76
8.4.120.0130.00820.39
8.4.110.0060.00322.66
8.4.100.0080.00120.40
8.4.90.0100.00618.83
8.4.80.0040.00420.23
8.4.70.0140.00718.88
8.4.60.0100.00620.68
8.4.50.0120.00817.54
8.4.40.0030.01620.46
8.4.30.0090.00918.67
8.4.20.0060.01320.28
8.4.10.0040.00422.29
8.3.280.0110.01118.30
8.3.270.0100.00916.39
8.3.260.0140.00516.58
8.3.250.0100.00718.95
8.3.240.0060.00320.91
8.3.230.0110.00916.47
8.3.220.0040.00519.12
8.3.210.0110.00916.76
8.3.200.0050.00416.48
8.3.190.0110.00716.48
8.3.180.0040.00416.72
8.3.170.0150.00318.89
8.3.160.0030.00518.49
8.3.150.0110.00718.86
8.3.140.0090.00620.74
8.3.130.0080.00018.28
8.3.120.0040.00418.91
8.3.110.0030.00516.70
8.3.100.0080.00816.47
8.3.50.0060.00316.38
8.2.290.0140.00420.18
8.2.280.0050.00316.36
8.2.270.0070.00416.68
8.2.260.0040.00417.30
8.2.250.0050.00318.14
8.2.240.0090.00020.38
8.2.230.0000.00816.41
8.2.220.0000.00816.32
8.2.60.0100.00617.28
8.2.50.0090.00919.52
8.2.40.0120.00419.52
8.2.30.0100.00719.52
8.2.20.0110.00619.52
8.2.10.0120.00519.52
8.2.00.0100.00519.52
8.1.330.0100.00923.35
8.1.320.0090.00617.85
8.1.310.0070.01016.46
8.1.300.0160.00319.24
8.1.240.0120.00818.29
8.1.190.0050.00517.76
8.1.180.0120.00419.52
8.1.170.0130.00419.52
8.1.160.0080.00819.52
8.1.150.0000.01719.52
8.1.140.0070.01019.52
8.1.130.0100.00519.52
8.1.120.0170.00019.52
8.1.110.0060.01119.52
8.1.100.0180.00019.52
8.1.90.0100.00519.52
8.1.80.0140.00319.52
8.1.70.0160.00019.52
8.1.60.0070.01019.52
8.1.50.0140.00319.52
8.1.40.0070.01019.52
8.1.30.0140.00319.52
8.1.20.0130.00419.52
8.1.10.0000.02119.52
8.1.00.0220.00019.52
8.0.280.0100.00519.52
8.0.270.0170.00019.52
8.0.260.0060.01019.52
8.0.250.0150.00319.52
8.0.240.0060.01119.52
8.0.230.0080.00819.52
8.0.220.0120.00419.52
8.0.210.0050.01119.52
8.0.200.0090.00619.52
8.0.190.0060.01019.52
8.0.180.0100.00519.52
8.0.170.0070.00719.52
8.0.160.0140.00319.52
8.0.150.0200.00019.52
8.0.140.0070.00719.52
8.0.130.0100.00519.52
8.0.120.0070.00719.52
8.0.110.0120.00319.52
8.0.100.0110.00519.52
8.0.90.0160.00019.52
8.0.80.0100.00519.52
8.0.70.0090.00619.52
8.0.60.0050.01119.52
8.0.50.0050.01019.52
8.0.30.0140.00319.52
8.0.20.0100.00519.52
8.0.10.0120.00419.52

preferences:
33.11 ms | 403 KiB | 5 Q