3v4l.org

run code in 300+ PHP versions simultaneously
<?php $input = "(Field1 = 'Val and ue1') and (Field2 = 'Valu or e2') or (Field3 = 'Value3')"; var_export(preg_split("~\) (and|or) \(~", trim($input, '()'), 0, PREG_SPLIT_DELIM_CAPTURE));

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.0100.01320.17
8.4.150.0010.00114.05
8.4.140.0110.01117.76
8.4.130.0110.00918.70
8.4.120.0150.00524.29
8.4.110.0080.01019.05
8.4.100.0090.00818.73
8.4.90.0100.01020.48
8.4.80.0070.00417.78
8.4.70.0100.01017.81
8.4.60.0050.01218.70
8.4.50.0140.00818.80
8.4.40.0130.00619.52
8.4.30.0140.00318.49
8.4.20.0140.00417.84
8.4.10.0030.01320.38
8.3.280.0100.00918.48
8.3.270.0100.01016.61
8.3.260.0130.00716.86
8.3.250.0130.00618.80
8.3.240.0110.00817.28
8.3.230.0040.00816.86
8.3.220.0100.01016.96
8.3.210.0060.01316.78
8.3.200.0060.00416.78
8.3.190.0100.00817.11
8.3.180.0060.00216.99
8.3.170.0070.01120.66
8.3.160.0000.01218.64
8.3.150.0170.00017.21
8.3.140.0180.00016.76
8.3.130.0000.00816.46
8.3.120.0110.00418.82
8.3.110.0070.00720.94
8.3.100.0090.00924.06
8.3.90.0070.01326.77
8.3.80.0070.00716.75
8.3.70.0100.00716.72
8.3.60.0140.00018.66
8.3.50.0110.00720.08
8.3.40.0140.00720.88
8.3.30.0160.00019.02
8.3.20.0070.00024.18
8.3.10.0040.00424.66
8.3.00.0080.00026.16
8.2.290.0120.00820.73
8.2.280.0100.00918.44
8.2.270.0070.01017.39
8.2.260.0060.01216.64
8.2.250.0070.00016.92
8.2.240.0090.00617.41
8.2.230.0070.00022.58
8.2.220.0030.00537.54
8.2.210.0090.00626.77
8.2.200.0080.00016.50
8.2.190.0110.01116.63
8.2.180.0110.00725.92
8.2.170.0140.00018.91
8.2.160.0080.01222.96
8.2.150.0050.00225.66
8.2.140.0100.00724.66
8.2.130.0000.00826.16
8.2.120.0100.00321.06
8.2.110.0100.00022.29
8.2.100.0040.00717.72
8.2.90.0050.00319.07
8.2.80.0040.00417.97
8.2.70.0000.00917.75
8.2.60.0060.00317.77
8.2.50.0030.00518.07
8.2.40.0030.00519.88
8.2.30.0000.00818.06
8.2.20.0040.00420.51
8.2.10.0050.00217.92
8.2.00.0030.00619.05
8.1.330.0100.00921.95
8.1.320.0080.00316.33
8.1.310.0070.01016.56
8.1.300.0130.00618.44
8.1.290.0030.00630.84
8.1.280.0040.01125.92
8.1.270.0000.00823.99
8.1.260.0040.00426.35
8.1.250.0000.00828.09
8.1.240.0110.00021.11
8.1.230.0070.00422.10
8.1.220.0060.00317.74
8.1.210.0000.00918.77
8.1.200.0090.00017.35
8.1.190.0000.00817.35
8.1.180.0080.00018.10
8.1.170.0000.00818.60
8.1.160.0050.00518.84
8.1.150.0000.00918.62
8.1.140.0040.00417.60
8.1.130.0050.00317.43
8.1.120.0070.00017.54
8.1.110.0060.00317.54
8.1.100.0070.00017.47
8.1.90.0040.00417.55
8.1.80.0070.00317.58
8.1.70.0030.00317.53
8.1.60.0030.00517.55
8.1.50.0030.00617.64
8.1.40.0110.00417.42
8.1.30.0050.00517.69
8.1.20.0050.00317.73
8.1.10.0080.00017.50
8.1.00.0060.00317.61
8.0.300.0000.00818.77
8.0.290.0060.00316.62
8.0.280.0030.00518.27
8.0.270.0050.00218.03
8.0.260.0030.00316.80
8.0.250.0070.00016.99
8.0.240.0080.00016.89
8.0.230.0060.00017.05
8.0.220.0000.00717.05
8.0.210.0040.00416.82
8.0.200.0060.00316.88
8.0.190.0040.00416.95
8.0.180.0050.00316.90
8.0.170.0030.00716.94
8.0.160.0060.00316.82
8.0.150.0050.00316.95
8.0.140.0060.00316.97
8.0.130.0050.00316.79
8.0.120.0080.00016.85
8.0.110.0060.00316.88
8.0.100.0040.00416.92
8.0.90.0060.00317.01
8.0.80.0040.00416.77
8.0.70.0040.00416.99
8.0.60.0000.01116.87
8.0.50.0050.00316.82
8.0.30.0000.00816.94
8.0.20.0090.00416.56
8.0.10.0140.00016.67
7.4.330.0020.00215.55
7.4.320.0030.00316.73
7.4.300.0000.00616.74
7.4.290.0000.00716.56
7.4.280.0100.00516.26
7.4.270.0100.01116.21
7.4.260.0130.00316.23
7.4.250.0070.00316.23
7.4.240.0110.00216.52
7.4.230.0120.00216.59
7.4.220.0070.00216.25
7.4.210.0100.00716.34
7.4.200.0070.00716.28
7.4.190.0030.00616.38
7.4.180.0060.00616.81
7.4.160.0080.00016.70
7.4.150.0150.00016.65
7.4.140.0080.00316.57
7.4.130.0060.00616.18
7.4.120.0100.00315.96
7.4.110.0130.00016.23
7.4.100.0080.00316.55
7.4.90.0070.00716.57
7.4.80.0000.01116.19
7.4.70.0070.00716.23
7.4.60.0050.00516.48
7.4.50.0080.00616.13
7.4.40.0110.00316.15
7.4.30.0170.00316.55
7.4.20.0140.00915.80
7.4.10.0160.00315.89
7.4.00.0100.00016.12

preferences:
34.59 ms | 403 KiB | 5 Q