3v4l.org

run code in 300+ PHP versions simultaneously
<?php $array = [ 'http://example.com/site.xml', 'http://example.com/my_custom_links_part1.xml', 'http://example.com/my_custom_links_part2.xml', 'http://example.com/my_custom_links_part3.xml', 'http://example.com/my_some_other_custom_links_part1.xml', ]; $needle = 'my_custom_links'; var_export( array_filter( $array, fn($haystack) => str_contains($haystack, $needle) ) );

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.0080.00018.36
8.3.120.0080.00619.11
8.3.110.0030.00520.94
8.3.100.0040.00424.06
8.3.90.0050.00326.77
8.3.80.0060.00317.97
8.3.70.0090.00616.38
8.3.60.0070.01116.50
8.3.50.0030.01716.50
8.3.40.0030.01020.22
8.3.30.0070.00720.35
8.3.20.0030.00524.18
8.3.10.0100.01724.66
8.3.00.0190.00924.66
8.2.250.0060.00317.29
8.2.240.0000.00818.72
8.2.230.0060.00322.58
8.2.220.0030.00637.54
8.2.210.0040.00426.77
8.2.200.0050.00516.75
8.2.190.0140.00716.58
8.2.180.0150.00316.38
8.2.170.0180.00419.00
8.2.160.0070.00722.96
8.2.150.0000.00825.66
8.2.140.0180.00924.66
8.2.130.0160.00324.66
8.2.120.0090.00924.66
8.2.110.0110.00724.66
8.2.100.0150.00624.66
8.2.90.0250.00724.66
8.2.80.0160.00724.66
8.2.70.0060.01024.66
8.2.60.0040.00424.66
8.2.50.0120.00324.66
8.2.40.0150.00024.66
8.2.30.0130.00024.66
8.2.20.0050.00524.66
8.2.10.0120.00324.66
8.2.00.0150.00724.66
8.1.300.0040.00417.56
8.1.290.0090.00030.84
8.1.280.0060.01025.92
8.1.270.0000.01624.66
8.1.260.0140.00324.66
8.1.250.0090.00624.66
8.1.240.0160.00324.66
8.1.230.0220.00024.66
8.1.220.0130.00324.66
8.1.210.0210.00724.66
8.1.200.0180.00424.66
8.1.190.0120.00324.66
8.1.180.0140.00524.66
8.1.170.0120.00324.66
8.1.160.0090.00924.66
8.1.150.0050.00324.66
8.1.140.0070.01324.66
8.1.130.0180.00624.66
8.1.120.0160.00624.66
8.1.110.0160.00024.66
8.1.100.0040.01624.66
8.1.90.0030.00624.66
8.1.80.0170.01024.66
8.1.70.0220.00324.66
8.1.60.0160.00624.66
8.1.50.0110.00424.66
8.1.40.0120.00924.66
8.1.30.0300.00824.66
8.1.20.0280.00724.66
8.1.10.0100.00724.66
8.1.00.0110.00024.66

preferences:
39.69 ms | 403 KiB | 5 Q