3v4l.org

run code in 300+ PHP versions simultaneously
<?php enum TestEnum: string { case X = 'x'; } var_dump(\is_a(TestEnum::class, \StringBackedEnum::class, true)); var_dump(\is_a(TestEnum::class, \BackedEnum::class, true));

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.3.130.0070.00716.65
8.3.120.0090.00619.02
8.3.110.0090.00022.58
8.3.100.0060.00320.94
8.3.90.0050.00320.94
8.3.50.0040.00420.94
8.2.250.0030.00516.64
8.2.240.0080.00018.75
8.2.230.0070.01322.58
8.2.220.0050.00522.58
8.2.210.0060.00322.58
8.2.40.0110.00418.37
8.1.300.0090.00615.77
8.1.170.0080.00418.25

preferences:
25.78 ms | 403 KiB | 5 Q