3v4l.org

run code in 300+ PHP versions simultaneously
<?php var_dump(preg_split('/([ -])/', 'test', -1, PREG_SPLIT_DELIM_CAPTURE | PREG_SPLIT_NO_EMPTY));

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.30.0050.00318.05
8.5.20.0140.00620.31
8.5.10.0150.00916.73
8.5.00.0140.00820.11
8.4.180.0120.00919.94
8.4.170.0120.01023.88
8.4.160.0120.00922.12
8.4.150.0020.00014.05
8.4.140.0120.00917.39
8.4.130.0120.00917.37
8.4.120.0090.01120.51
8.4.110.0040.00418.85
8.4.100.0500.01017.83
8.4.90.0380.00917.63
8.4.80.0380.01317.43
8.4.70.0410.01017.49
8.4.60.0430.00817.84
8.4.50.0380.00917.97
8.4.40.0400.00817.63
8.4.30.0430.00717.51
8.4.20.0340.01017.63
8.4.10.0250.00317.26
8.3.300.0150.00520.67
8.3.290.0110.01021.00
8.3.280.0010.00114.05
8.3.270.0120.00716.49
8.3.260.0120.00816.54
8.3.250.0080.01016.92
8.3.240.0090.01016.62
8.3.230.0210.00516.24
8.3.220.0180.00416.72
8.3.210.0160.00616.72
8.3.200.0210.00516.54
8.3.190.0340.00816.63
8.3.180.0390.00816.88
8.3.170.0290.00516.52
8.3.160.0210.00916.69
8.3.150.0340.01116.50
8.3.140.0370.00916.68
8.3.130.0200.00116.75
8.3.120.0170.00416.78
8.3.110.0150.00716.86
8.3.100.0430.00816.59
8.3.90.0400.00616.44
8.3.80.0450.00716.44
8.3.70.0440.00416.35
8.3.60.0390.01116.63
8.3.50.0400.00916.19
8.3.40.0400.01217.43
8.3.30.0300.01317.51
8.3.20.0320.00917.34
8.3.10.0170.01217.48
8.3.00.0340.00717.33
8.2.300.0120.00820.07
8.2.290.0320.01016.53
8.2.280.0360.00516.80
8.2.270.0330.00616.61
8.2.260.0280.00516.40
8.2.250.0310.00716.88
8.2.240.0220.00416.45
8.2.230.0270.00516.26
8.2.220.0260.00416.69
8.2.210.0200.00716.37
8.2.200.0240.00416.81
8.2.190.0300.01016.26
8.2.180.0370.00616.41
8.2.170.0370.01017.49
8.2.160.0360.00817.64
8.2.150.0320.00917.51
8.2.140.0360.00817.62
8.2.130.0420.00417.45
8.2.120.0390.00917.17
8.2.110.0460.00817.34
8.2.100.0210.00417.57
8.2.90.0200.00617.68
8.2.80.0360.00717.48
8.2.70.0320.00817.67
8.2.60.0130.00717.68
8.2.50.0340.01117.24
8.2.40.0450.00517.64
8.2.30.0300.00617.55
8.2.20.0240.01017.45
8.2.10.0350.00617.50
8.2.00.0270.00817.38
8.1.340.0120.01021.69

preferences:
38.74 ms | 403 KiB | 5 Q