I have a following code:
$string = "aaa<test>xxx</test>bbb";
echo substr($string, 9);
As a result should be: xxx</test>bbb
In the meantime I receive just: xxxbbb
What happened with the tag? Why this function automatically crops it! If I replace < with [ works... I would like to obtain just a closing tag in my variable.