3v4l.org

run code in 500+ PHP versions simultaneously
<?php $str = 'pageType == "static" OR pageType == "item" AND pageRef == "index"'; $result = preg_split('/\h+(?:OR|AND)\h+/', $str); print_r($result);

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.70.0090.00616.57
8.5.60.0110.00616.87
8.5.50.0120.00616.64
8.5.30.0120.00420.05
8.5.20.0100.00820.16
8.5.10.0120.00519.99
8.5.00.0140.00920.31
8.4.180.0120.00922.10
8.4.170.0090.01423.82
8.4.160.0070.00323.93
8.4.150.0070.00616.88
8.4.140.0140.00717.79
8.4.130.0110.00918.01
8.4.120.0120.00820.55
8.4.110.0080.00824.39
8.4.100.0090.01217.92
8.4.90.0110.00917.70
8.4.80.0080.00917.79
8.4.70.0050.00318.05
8.4.60.0150.00518.67
8.4.50.0040.00517.93
8.4.40.0040.01519.73
8.4.30.0070.01420.70
8.4.20.0160.00317.81
8.4.10.0060.00320.61
8.3.300.0100.01320.96
8.3.290.0150.00720.74
8.3.280.0150.00618.69
8.3.270.0060.01316.63
8.3.260.0030.00616.82
8.3.250.0120.00618.95
8.3.240.0080.01116.69
8.3.230.0050.00216.64
8.3.220.0090.01016.98
8.3.210.0070.00916.92
8.3.200.0030.00516.73
8.3.190.0040.00717.07
8.3.180.0140.00520.61
8.3.170.0070.01016.77
8.3.160.0150.00316.62
8.3.150.0000.00717.09
8.3.140.0110.00716.79
8.3.130.0140.00316.57
8.3.120.0000.00820.77
8.3.110.0000.00816.61
8.3.100.0060.00318.42
8.3.90.0050.00326.77
8.3.80.0030.00616.62
8.3.70.0110.00416.58
8.3.60.0200.00016.50
8.3.50.0070.00720.21
8.3.40.0040.01118.92
8.3.30.0070.00719.21
8.3.20.0000.00724.18
8.3.10.0040.00424.66
8.3.00.0080.00026.16
8.2.300.0070.01418.80
8.2.290.0120.01020.58
8.2.280.0150.00518.44
8.2.270.0030.00716.72
8.2.260.0090.00619.07
8.2.250.0080.00018.52
8.2.240.0080.01216.63
8.2.230.0040.00420.94
8.2.220.0030.00624.06
8.2.210.0070.00026.77
8.2.200.0060.00318.41
8.2.190.0110.00416.58
8.2.180.0060.00925.92
8.2.170.0160.00619.16
8.2.160.0070.01422.96
8.2.150.0000.00725.66
8.2.140.0000.00724.66
8.2.130.0000.00826.16
8.2.120.0030.00619.95
8.2.110.0030.00722.37
8.2.100.0040.00817.97
8.2.90.0030.00619.17
8.2.80.0050.00318.04
8.2.70.0040.00417.75
8.2.60.0040.00417.93
8.2.50.0080.00018.07
8.2.40.0000.00917.96
8.2.30.0030.00618.07
8.2.20.0000.00720.51
8.2.10.0050.00218.14
8.2.00.0020.00519.26
8.1.340.0100.00821.66
8.1.330.0110.00716.75
8.1.320.0080.00216.32
8.1.310.0070.00316.58
8.1.300.0090.00018.30
8.1.290.0060.00330.84
8.1.280.0070.01025.92
8.1.270.0000.00723.99
8.1.260.0040.00426.35
8.1.250.0080.00028.09
8.1.240.0000.00922.14
8.1.230.0110.00022.25
8.1.220.0080.00017.74
8.1.210.0040.00418.77
8.1.200.0080.00417.36
8.1.190.0080.00017.23
8.1.180.0000.00818.10
8.1.170.0080.00318.50
8.1.160.0040.00418.84
8.1.150.0040.00418.66
8.1.140.0000.00717.49
8.1.130.0030.00318.90
8.1.120.0030.00617.56
8.1.110.0000.00717.45
8.1.100.0000.00717.58
8.1.90.0030.00317.54
8.1.80.0040.00417.48
8.1.70.0030.00317.43
8.1.60.0080.00017.61
8.1.50.0030.00517.49
8.1.40.0080.00417.61
8.1.30.0180.00717.64
8.1.20.0220.00317.68
8.1.10.0230.00017.47
8.1.00.0170.00817.52
8.0.300.0060.00318.77
8.0.290.0000.00816.88
8.0.280.0080.00020.25
8.0.270.0040.00418.13
8.0.260.0080.00018.33
8.0.250.0040.00417.03
8.0.240.0000.00616.98
8.0.230.0000.00717.05
8.0.220.0030.00316.98
8.0.210.0030.00816.95
8.0.200.0050.00317.07
8.0.190.0000.00717.03
8.0.180.0040.00417.03
8.0.170.0150.00316.88
8.0.160.0190.00016.93
8.0.150.0200.00016.79
8.0.140.0130.00616.75
8.0.130.0140.00516.82
8.0.120.0110.00816.93
8.0.110.0140.00516.95
8.0.100.0160.00516.78
8.0.90.0120.00916.98
8.0.80.0140.00517.00
8.0.70.0200.00016.90
8.0.60.0080.01016.84
8.0.50.0150.00516.95
8.0.30.0080.01216.96
8.0.20.0140.00616.87
8.0.10.0160.00517.08
7.4.330.0050.00015.55
7.4.320.0000.00716.66
7.4.300.0030.00316.75
7.4.290.0060.00316.57
7.4.280.0070.00016.77
7.4.270.0150.00716.66
7.4.260.0120.00816.70
7.4.250.0220.00016.65
7.4.240.0130.00916.68
7.4.230.0220.00016.63
7.4.220.0120.00816.61
7.4.210.0190.00016.54
7.4.200.0170.00316.69
7.4.190.0120.00616.85
7.4.180.0160.00316.82
7.4.160.0120.00816.65
7.4.150.0160.00416.62
7.4.140.0140.00516.54
7.4.130.0130.00616.58
7.4.120.0150.00316.59
7.4.110.0140.00516.62
7.4.100.0150.00316.61
7.4.90.0080.01116.66
7.4.80.0140.00616.56
7.4.70.0100.01016.66
7.4.60.0160.00316.49
7.4.50.0150.00316.48
7.4.40.0140.00316.59
7.4.30.0140.00616.42
7.4.20.0150.00716.48
7.4.10.0100.00516.42
7.4.00.0140.00216.53

preferences:
62.51 ms | 1261 KiB | 5 Q