3v4l.org

run code in 300+ PHP versions simultaneously
<?php $value = 'split fiction (n'; $tokens = array_filter(array_map( function ($string) { return preg_replace("/[^a-zA-Z0-9']/", '', trim($string)); }, explode(' ', $value), )); var_dump($tokens);

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.0120.00722.25
8.4.110.0220.01018.80
8.4.100.0210.00717.60
8.4.90.0190.00217.93
8.4.80.0160.00517.60
8.4.70.0210.00017.70
8.4.60.0170.00417.53
8.4.50.0160.00717.58
8.4.40.0190.00517.53
8.4.30.0180.00517.66
8.4.20.0180.00517.38
8.4.10.0210.00317.42
8.3.250.0120.00717.18
8.3.240.0070.00216.80
8.3.230.0160.00516.57
8.3.220.0170.00616.71
8.3.210.0190.00116.50
8.3.200.0190.00216.35
8.3.190.0150.00416.30
8.3.180.0170.00516.59
8.3.170.0160.00616.68
8.3.160.0190.00316.61
8.3.150.0190.00516.60
8.3.140.0210.00316.45
8.3.130.0180.00416.46
8.3.120.0130.00916.47
8.3.110.0180.00316.70
8.3.100.0190.00416.38
8.3.90.0220.00216.84
8.3.80.0170.00416.67
8.3.70.0140.00916.72
8.3.60.0200.00316.64
8.3.50.0160.00616.70
8.3.40.0200.00117.40
8.3.30.0130.00417.47
8.3.20.0150.00617.35
8.3.10.0140.00617.51
8.3.00.0050.00517.56
8.2.290.0150.00316.54
8.2.280.0140.00216.65
8.2.270.0170.00416.99
8.2.260.0150.00516.48
8.2.250.0130.00516.52
8.2.240.0130.00716.51
8.2.230.0150.00216.48
8.2.220.0150.00516.43
8.2.210.0150.00316.61
8.2.200.0150.00416.63
8.2.190.0120.00516.47
8.2.180.0150.00516.70
8.2.170.0160.00317.75
8.2.160.0170.00417.36
8.2.150.0150.00617.39
8.2.140.0170.00517.46
8.2.130.0160.00417.46
8.2.120.0190.00317.48
8.2.110.0180.00317.55
8.2.100.0170.00517.58
8.2.90.0150.00617.73
8.2.80.0140.00517.63
8.2.70.0140.00517.48
8.2.60.0130.00717.50
8.2.50.0130.00617.44
8.2.40.0180.00317.50
8.2.30.0140.00519.43
8.2.20.0160.00317.71
8.2.10.0140.00517.47
8.2.00.0150.00217.47

preferences:
32.56 ms | 403 KiB | 5 Q