testing search function
This commit is contained in:
parent
ad67b66427
commit
dabc84a2e9
@ -65,12 +65,11 @@ class SearchPage extends Page {
|
||||
$mustIncludeArray = array();
|
||||
$mustExcludeArray = array();
|
||||
$canIncludeArray = array();
|
||||
$res = array();
|
||||
|
||||
foreach($terms as $term => $i) {
|
||||
$res = array(preg_split("/^([+-]?)(.*)$/", $term, -1, PREG_SPLIT_DELIM_CAPTURE));
|
||||
$res = preg_split("/^([+-]?)(.*)$/", $i, -1, PREG_SPLIT_DELIM_CAPTURE);
|
||||
print('$res: ');
|
||||
print_r($res[$i]);
|
||||
print_r($res);
|
||||
print('<br>');
|
||||
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user