3v4l.org

run code in 500+ PHP versions simultaneously
<?php $pattern = '/-/'; var_dump(preg_split($pattern, '', '-1', (string) 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.90.0100.00816.92
8.5.80.0130.00718.86
8.5.70.0050.00518.59
8.5.60.0110.00617.01
8.5.50.0120.00516.93
8.5.30.0150.00618.12
8.5.20.0120.00619.68
8.5.10.0110.00916.83
8.5.00.0150.00820.27
8.4.240.0080.00519.65
8.4.230.0060.00319.72
8.4.220.0080.01119.61
8.4.210.0080.01321.46
8.4.180.0150.00919.91
8.4.170.0120.01020.47
8.4.160.0130.00920.60
8.4.150.0090.00316.90
8.4.140.0130.00817.50
8.4.130.0080.00617.82
8.4.120.0080.01220.70
8.4.110.0150.00622.61
8.4.100.0140.00718.16
8.4.90.0120.00818.29
8.4.80.0060.00319.71
8.4.70.0110.00918.02
8.4.60.0080.01317.87
8.4.50.0060.00317.93
8.4.40.0410.01217.16
8.4.30.0440.00717.53
8.4.20.0350.01417.76
8.4.10.0380.01017.78
8.3.320.0110.00918.73
8.3.310.0040.00518.83
8.3.300.0090.01120.90
8.3.290.0070.00620.98
8.3.280.0090.01318.50
8.3.270.0140.00916.73
8.3.260.0120.00716.42
8.3.250.0040.00418.86
8.3.240.0110.00717.16
8.3.230.0140.00716.70
8.3.220.0110.00817.14
8.3.210.0110.00416.45
8.3.200.0110.00718.73
8.3.190.0100.00916.69
8.3.180.0090.01116.50
8.3.170.0340.01116.50
8.3.160.0340.01016.67
8.3.150.0410.00316.54
8.3.140.0350.01516.21
8.3.130.0290.00016.73
8.3.120.0320.00316.66
8.3.110.0320.00716.54
8.3.100.0350.01016.67
8.3.90.0430.00616.58
8.3.80.0420.00316.68
8.3.70.0450.00316.38
8.3.60.0270.01716.69
8.3.50.0420.00316.70
8.3.40.0420.00417.45
8.3.30.0350.00017.47
8.3.20.0200.01217.31
8.3.10.0300.00517.70
8.3.00.0090.01217.38
8.2.320.0110.00618.47
8.2.310.0080.01118.50
8.2.300.0200.00320.33
8.2.290.0090.01020.51
8.2.280.0080.01016.76
8.2.270.0370.00316.74
8.2.260.0350.00416.42
8.2.250.0260.01216.64
8.2.240.0270.01216.34
8.2.230.0330.00616.65
8.2.220.0230.01016.62
8.2.210.0300.01016.41
8.2.200.0340.00716.57
8.2.190.0280.00716.82
8.2.180.0270.01516.42
8.2.170.0340.01117.38
8.2.160.0320.00917.81
8.2.150.0360.01017.54
8.2.140.0290.01217.43
8.2.130.0260.01517.63
8.2.120.0350.00617.51
8.2.110.0300.01017.71
8.2.100.0340.00617.43
8.2.90.0240.01017.61
8.2.80.0250.00617.60
8.2.70.0310.00817.60
8.2.60.0340.01017.53
8.2.50.0330.00617.70
8.2.40.0370.00017.67
8.2.30.0240.01217.71
8.2.20.0270.01017.64
8.2.10.0310.00717.63
8.2.00.0320.00417.44
8.1.340.0070.01320.18
8.1.320.0070.00218.02

preferences:
33.21 ms | 887 KiB | 5 Q