3v4l.org

run code in 500+ PHP versions simultaneously
<?php $re = '/\G(\w+\h*==\h*"[^"]*")(?:\h+(?:OR|AND)\h+|$)/'; $str = 'pageType == "static" OR pageType == "item" AND pageRef == "index"'; preg_match_all($re, $str, $matches); print_r($matches[1]);

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.0110.00717.03
8.5.60.0130.00516.97
8.5.50.0110.00516.77
8.5.30.0100.00720.12
8.5.20.0080.00821.59
8.5.10.0090.00820.17
8.5.00.0130.00920.03
8.4.210.0100.01419.66
8.4.180.0100.01220.64
8.4.170.0140.00720.34
8.4.160.0110.01223.57
8.4.150.0090.00516.78
8.4.140.0150.00717.82
8.4.130.0060.00317.89
8.4.120.0100.01120.59
8.4.110.0050.00422.48
8.4.100.0130.00317.79
8.4.90.0090.01218.63
8.4.80.0050.00418.22
8.4.70.0040.00517.89
8.4.60.0110.00920.74
8.4.50.0110.00618.70
8.4.40.0100.01019.61
8.4.30.0110.00820.19
8.4.20.0130.00618.05
8.4.10.0040.00720.38
8.3.300.0160.00720.85
8.3.290.0050.00520.94
8.3.280.0120.00918.49
8.3.270.0100.01016.74
8.3.260.0140.00616.66
8.3.250.0090.01018.79
8.3.240.0100.00916.80
8.3.230.0110.00816.42
8.3.220.0040.00317.04
8.3.210.0040.00518.59
8.3.200.0060.00316.77
8.3.190.0120.00816.97
8.3.180.0140.00516.28
8.3.170.0070.00718.72
8.3.160.0090.00918.40
8.3.150.0070.00418.75
8.3.140.0060.00317.16
8.3.130.0000.00818.28
8.3.120.0050.00318.80
8.3.110.0040.00420.94
8.3.100.0040.00424.06
8.3.90.0140.00726.77
8.3.80.0030.00616.50
8.3.70.0090.01216.63
8.3.60.0040.01818.31
8.3.50.0090.00919.99
8.3.40.0130.00919.07
8.3.30.0100.00318.97
8.3.20.0040.00424.18
8.3.10.0040.00424.66
8.3.00.0040.00426.16
8.2.300.0110.01122.11
8.2.290.0100.00820.50
8.2.280.0040.00418.87
8.2.270.0110.00417.54
8.2.260.0080.00016.85
8.2.250.0040.00417.19
8.2.240.0100.00017.30
8.2.230.0040.00422.58
8.2.220.0080.00037.54
8.2.210.0120.00326.77
8.2.200.0030.00616.75
8.2.190.0060.01516.88
8.2.180.0060.00925.92
8.2.170.0070.00719.09
8.2.160.0070.00722.96
8.2.150.0070.00025.66
8.2.140.0000.00724.66
8.2.130.0030.00526.16
8.2.120.0040.00426.16
8.2.110.0070.00420.31
8.2.100.0040.00717.97
8.2.90.0000.00718.16
8.2.80.0050.00319.17
8.2.70.0050.00317.92
8.2.60.0050.00318.05
8.2.50.0030.00518.10
8.2.40.0000.00820.01
8.2.30.0070.00318.18
8.2.20.0000.00720.52
8.2.10.0000.00718.07
8.2.00.0020.00519.13
8.1.340.0130.00919.89
8.1.330.0110.00723.64
8.1.320.0110.00816.16
8.1.310.0080.01116.78
8.1.300.0090.00918.45
8.1.290.0000.00918.88
8.1.280.0090.00625.92
8.1.270.0050.00323.99
8.1.260.0030.00626.35
8.1.250.0000.00828.09
8.1.240.0030.00622.06
8.1.230.0040.00720.92
8.1.220.0000.00817.74
8.1.210.0040.00418.77
8.1.200.0030.00617.38
8.1.190.0040.00417.35
8.1.180.0000.00818.10
8.1.170.0000.01018.53
8.1.160.0000.00718.77
8.1.150.0040.00418.67
8.1.140.0040.00417.45
8.1.130.0040.00418.80
8.1.120.0000.00917.60
8.1.110.0040.00417.55
8.1.100.0050.00317.53
8.1.90.0070.00017.54
8.1.80.0030.00617.42
8.1.70.0000.00717.54
8.1.60.0080.00017.57
8.1.50.0070.00317.61
8.1.40.0190.00617.60
8.1.30.0220.00317.75
8.1.20.0160.00917.73
8.1.10.0190.00417.65
8.1.00.0170.00617.61
8.0.300.0070.00020.16
8.0.290.0050.00316.63
8.0.280.0000.00718.42
8.0.270.0000.00716.82
8.0.260.0000.00618.41
8.0.250.0070.00017.06
8.0.240.0000.00717.10
8.0.230.0070.00016.95
8.0.220.0030.00316.94
8.0.210.0000.00717.02
8.0.200.0040.00417.03
8.0.190.0070.00017.09
8.0.180.0000.00716.93
8.0.170.0050.00516.81
8.0.160.0110.00716.92
8.0.150.0110.00716.91
8.0.140.0110.00716.80
8.0.130.0160.00316.73
8.0.120.0110.00816.91
8.0.110.0130.00516.87
8.0.100.0130.00416.99
8.0.90.0150.00516.88
8.0.80.0110.00816.86
8.0.70.0150.00516.87
8.0.60.0210.00016.99
8.0.50.0150.00416.83
8.0.30.0170.00316.97
8.0.20.0120.00816.91
8.0.10.0140.00617.07
7.4.330.0050.00015.55
7.4.320.0000.00616.57
7.4.300.0050.00216.73
7.4.290.0060.00316.68
7.4.280.0170.00416.56
7.4.270.0140.00716.74
7.4.260.0180.00416.68
7.4.250.0210.00016.52
7.4.240.0190.00316.63
7.4.230.0190.00316.57
7.4.220.0110.00816.63
7.4.210.0150.00316.69
7.4.200.0120.00616.73
7.4.190.0180.00416.72
7.4.180.0120.00616.69
7.4.160.0180.00316.71
7.4.150.0130.00716.69
7.4.140.0200.00016.51
7.4.130.0120.00616.52
7.4.120.0120.00816.53
7.4.110.0080.01116.43
7.4.100.0190.00016.70
7.4.90.0090.00916.64
7.4.80.0130.00716.42
7.4.70.0110.00816.69
7.4.60.0160.00316.66
7.4.50.0140.00316.48
7.4.40.0180.00016.61
7.4.30.0140.00716.62
7.4.20.0170.00516.50
7.4.10.0110.00416.53
7.4.00.0130.00316.44

preferences:
53.14 ms | 1265 KiB | 5 Q