There is such code:
$url = '[LAST]1[/LAST]'; var_dump(preg_match('/\[LAST\]*\[\/LAST\]/', $url,$array));
He should get the insides [LAST][/LAST]
Gives 0
or simple false
What could be the problem?
There is such code:
$url = '[LAST]1[/LAST]'; var_dump(preg_match('/\[LAST\]*\[\/LAST\]/', $url,$array));
He should get the insides [LAST][/LAST]
Gives 0
or simple false
What could be the problem?
Source: https://ru.stackoverflow.com/questions/489491/
All Articles