3v4l.org

run code in 300+ PHP versions simultaneously
<?php $values = [ 'ffffffff' => 'a', 'ffflohff' => 'b', 'lohlohff' => 'c', ]; $filteredValues = array_intersect_key($values, array_flip(preg_grep('/loh/', array_keys($values)))); var_dump($filteredValues);

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.120.0150.00720.62
8.4.110.0080.00122.45
8.4.100.0130.00717.91
8.4.90.0110.01118.71
8.4.80.0140.00617.88
8.4.70.0020.00617.80
8.4.60.0130.00718.57
8.4.50.0080.00217.85
8.4.40.0130.00617.63
8.4.30.0150.00618.92
8.4.20.0100.01021.65
8.4.10.0030.00919.40
8.3.250.0050.00320.62
8.3.240.0030.00616.62
8.3.230.0120.00716.52
8.3.220.0110.00717.29
8.3.210.0130.00816.54
8.3.200.0060.00416.49
8.3.190.0110.00917.25
8.3.180.0140.00416.50
8.3.170.0140.00420.91
8.3.160.0110.00716.88
8.3.150.0000.01916.98
8.3.140.0050.00320.91
8.3.130.0070.01118.66
8.3.120.0060.00319.04
8.3.110.0060.00320.94
8.3.100.0000.00924.06
8.3.90.0110.00326.77
8.3.80.0030.00618.43
8.3.70.0310.00617.81
8.3.60.0340.01317.81
8.3.50.0140.00618.42
8.3.40.0320.00817.81
8.3.30.0430.00517.81
8.3.20.0420.01317.81
8.3.10.0240.00917.81
8.3.00.0200.00817.81
8.2.290.0120.00720.18
8.2.280.0070.00420.15
8.2.270.0150.00317.08
8.2.260.0040.00417.42
8.2.250.0060.00916.66
8.2.240.0040.00417.08
8.2.230.0060.00322.58
8.2.220.0040.00437.54
8.2.210.0040.00426.77
8.2.200.0000.00916.63
8.2.190.0250.00117.81
8.2.180.0230.00517.81
8.2.170.0280.00217.81
8.2.160.0210.00417.81
8.2.150.0190.00617.81
8.2.140.0180.00817.81
8.2.130.0180.00617.81
8.2.120.0150.01117.81
8.2.110.0210.00518.46
8.2.100.0190.00317.81
8.2.90.0200.00517.81
8.2.80.0150.00917.81
8.2.70.0190.00217.81
8.2.60.0120.00817.81
8.2.50.0170.00517.81
8.2.40.0170.00817.81
8.2.30.0150.00917.81
8.2.20.0210.00317.81
8.2.10.0160.00417.81
8.2.00.0160.00517.81
8.1.330.0120.00721.92
8.1.320.0120.00816.26
8.1.310.0110.00416.85
8.1.300.0130.00616.07
8.1.290.0110.00030.84
8.1.280.0160.00517.81
8.1.270.0140.00817.81
8.1.260.0170.00517.81
8.1.250.0200.00317.81
8.1.240.0180.00417.81
8.1.230.0190.00417.81
8.1.220.0160.00617.81
8.1.210.0080.01117.81
8.1.200.0190.00217.81
8.1.190.0140.00517.81
8.1.180.0140.00517.81
8.1.170.0180.00317.81
8.1.160.0220.00217.81
8.1.150.0240.00217.81
8.1.140.0180.00717.81
8.1.130.0310.01017.81
8.1.120.0250.00517.81
8.1.110.0220.00417.81
8.1.100.0200.00517.81
8.1.90.0180.00917.81
8.1.80.0260.00417.81
8.1.70.0150.01017.81
8.1.60.0200.00417.81
8.1.50.0150.00917.81
8.1.40.0210.00217.81
8.1.30.0180.00517.81
8.1.20.0190.00317.81
8.1.10.0160.00717.81
8.1.00.0150.00617.81

preferences:
28.09 ms | 403 KiB | 5 Q