3v4l.org

run code in 300+ PHP versions simultaneously
<?php $modules = [ 'node', 'system', 'my_module_library', 'my_module', 'my1_module', 'my_module_with_prefix', ]; preg_match_all('<#' . implode('[^#]+|#', $modules) . '[^#]+#>', '#' . implode('#', $modules) . '#', $matches); var_dump($matches);

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.00.0140.00919.84
8.4.150.0070.00517.78
8.4.140.0110.00917.91
8.4.130.0030.00617.89
8.4.120.0120.00822.51
8.4.110.0120.00820.63
8.4.100.0080.00918.04
8.4.90.0130.00818.15
8.4.80.0110.00520.77
8.4.70.0050.00418.21
8.4.60.0160.00417.89
8.4.50.0030.00624.20
8.4.40.0170.00717.70
8.4.30.0370.01217.49
8.4.20.0420.00717.66
8.4.10.0340.01417.61
8.3.280.0020.00114.05
8.3.270.0110.00816.66
8.3.260.0120.00816.66
8.3.250.0130.00518.77
8.3.240.0140.00516.53
8.3.230.0050.00416.42
8.3.220.0110.00717.11
8.3.210.0080.00816.54
8.3.200.0100.00518.68
8.3.190.0100.01018.48
8.3.180.0100.00916.57
8.3.170.0060.00916.82
8.3.160.0320.00916.50
8.3.150.0400.00716.70
8.3.140.0330.01216.78
8.3.130.0330.00916.33
8.3.120.0410.00016.60
8.3.110.0320.01116.45
8.3.100.0390.00416.35
8.3.90.0380.00716.36
8.3.80.0360.01016.80
8.3.70.0330.00516.46
8.3.60.0350.01016.42
8.3.50.0330.00916.56
8.3.40.0270.00917.68
8.3.30.0250.00617.34
8.3.20.0240.00317.64
8.3.10.0150.00917.39
8.3.00.0100.01017.72
8.2.290.0120.00620.52
8.2.280.0120.00718.74
8.2.270.0220.01316.87
8.2.260.0330.00816.39
8.2.250.0260.01216.46
8.2.240.0290.00816.49
8.2.230.0350.00416.51
8.2.220.0310.00816.35
8.2.210.0320.00616.58
8.2.200.0320.00616.38
8.2.190.0320.00616.28
8.2.180.0300.00316.41
8.2.170.0290.01317.42
8.2.160.0350.00617.80
8.2.150.0300.00717.66
8.2.140.0390.00317.54
8.2.130.0280.01217.40
8.2.120.0440.00317.48
8.2.110.0300.00917.27
8.2.100.0380.01017.12
8.2.90.0410.01217.65
8.2.80.0420.00017.63
8.2.70.0280.01017.55
8.2.60.0300.00917.45
8.2.50.0330.00717.73
8.2.40.0200.01017.54
8.2.30.0230.00817.45
8.2.20.0160.01017.63
8.2.10.0340.00317.64
8.2.00.0260.00317.69
8.1.320.0120.00716.17

preferences:
51.76 ms | 403 KiB | 5 Q