What I am trying to achieve is to explode a string into an array as follows:
$arr = explode('<some_tag></some_tag>', $str);
But I want to explode it even if there might be something between the tags:
$str = '<some_tag>text<some_tag>');
Could you please suggest how to settle down the problem?