3v4l.org

run code in 300+ PHP versions simultaneously
<?php $string = 'first past/ going beyond & then turn with everyone'; var_export( preg_split('~ ?([/,&]|with) ?~', $string, null, 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.3.70.0100.00316.75
8.3.60.0120.00318.43
8.3.50.0100.00316.66
8.3.40.0130.00718.97
8.3.30.0100.01019.02
8.3.20.0080.00024.18
8.3.10.0000.00924.66
8.3.00.0070.00026.16
8.2.190.0100.00716.58
8.2.180.0070.00725.92
8.2.170.0100.01019.13
8.2.160.0160.00022.96
8.2.150.0050.00325.66
8.2.140.0080.00024.66
8.2.130.0040.00426.16
8.2.120.0070.00026.35
8.2.110.0030.00620.98
8.2.100.0080.00417.97
8.2.90.0040.00418.03
8.2.80.0000.00818.09
8.2.70.0050.00317.93
8.2.60.0060.00317.80
8.2.50.0030.00618.05
8.2.40.0040.00418.16
8.2.30.0040.00417.96
8.2.20.0000.00917.92
8.2.10.0000.00919.20
8.2.00.0000.00719.08
8.1.280.0150.00025.92
8.1.270.0040.00423.99
8.1.260.0080.00028.09
8.1.250.0070.00028.09
8.1.240.0000.01023.88
8.1.230.0000.01120.97
8.1.220.0060.00317.74
8.1.210.0090.00018.77
8.1.200.0050.00317.35
8.1.190.0000.00817.38
8.1.180.0060.00319.01
8.1.170.0050.00318.46
8.1.160.0000.00718.80
8.1.150.0000.00818.84
8.1.140.0040.00418.86
8.1.130.0040.00420.13
8.1.120.0050.00217.41
8.1.110.0040.00417.49
8.1.100.0070.00017.54
8.1.90.0040.00417.42
8.1.80.0040.00417.59
8.1.70.0000.00717.58
8.1.60.0040.00417.70
8.1.50.0030.00617.59
8.1.40.0040.00417.63
8.1.30.0030.00617.63
8.1.20.0080.00017.72
8.1.10.0040.00417.61
8.1.00.0030.00517.58
8.0.300.0000.00719.91
8.0.290.0050.00316.88
8.0.280.0030.00318.31
8.0.270.0030.00318.00
8.0.260.0030.00320.16
8.0.250.0040.00417.02
8.0.240.0050.00216.93
8.0.230.0040.00417.03
8.0.220.0030.00316.86
8.0.210.0070.00016.98
8.0.200.0000.00717.03
8.0.190.0030.00516.89
8.0.180.0030.00417.02
8.0.170.0000.00916.98
8.0.160.0050.00316.83
8.0.150.0040.00416.91
8.0.140.0000.00816.84
8.0.130.0000.00613.37
8.0.120.0040.00416.83
8.0.110.0050.00216.98
8.0.100.0040.00417.01
8.0.90.0000.00716.80
8.0.80.0030.01716.95
8.0.70.0040.00417.02
8.0.60.0000.00717.04
8.0.50.0040.00416.91
8.0.30.0090.00917.27
8.0.20.0030.01317.03
8.0.10.0180.00617.21
8.0.00.0030.01517.11
7.4.330.0020.00215.55
7.4.320.0040.00416.56
7.4.300.0000.00716.69
7.4.290.0050.00316.67
7.4.280.0000.00716.57
7.4.270.0030.00316.65
7.4.260.0050.00013.43
7.4.250.0030.00316.57
7.4.240.0050.00316.70
7.4.230.0050.00216.48
7.4.220.0050.00216.80
7.4.210.0030.01416.78
7.4.200.0000.00716.77
7.4.160.0070.01016.42
7.4.150.0170.00016.58
7.4.140.0120.00316.34
7.4.130.0090.00916.55
7.4.120.0120.00316.46
7.4.110.0060.01216.45
7.4.100.0100.00816.58
7.4.90.0040.01216.47
7.4.80.0090.00616.61
7.4.70.0060.01216.51
7.4.60.0090.01216.62
7.4.50.0070.01016.47
7.4.40.0110.00416.48
7.4.30.0110.00616.36
7.4.20.0060.00916.62
7.4.10.0040.01116.78
7.4.00.0160.00016.54
7.3.330.0020.00516.26
7.3.320.0000.00513.27
7.3.310.0030.00316.28
7.3.300.0030.00316.23
7.3.290.0090.00516.27
7.3.270.0120.00616.60
7.3.260.0100.00716.68
7.3.250.0130.00316.54
7.3.240.0120.00916.37
7.3.230.0120.00616.25
7.3.220.0120.00316.35
7.3.210.0100.00616.52
7.3.200.0110.00416.32
7.3.190.0120.00316.57
7.3.180.0060.01216.26
7.3.170.0090.00616.63
7.3.160.0070.00716.66
7.3.150.0120.00316.54
7.3.140.0130.00316.27
7.3.130.0080.00816.27
7.3.120.0060.00916.45
7.3.110.0110.00516.14
7.3.100.0060.01016.46
7.3.90.0000.01616.13
7.3.80.0080.00816.29
7.3.70.0050.01216.49
7.3.60.0100.00716.17
7.3.50.0040.01216.34
7.3.40.0110.00716.32
7.3.30.0090.00916.46
7.3.20.0100.00516.53
7.3.10.0110.00716.35
7.3.00.0130.00316.43

preferences:
58.41 ms | 401 KiB | 5 Q