Hi, I want to split value.
$value = "code1.code2.code3.code4(code5.code6(arg1.arg2, arg3), code7.code8)";
I want to split like this.
Array
(
[0] => code1
[1] => code2
[2] => code3
[3] => code4(code5.code6(arg1.arg2, arg3), code7.code8)
)
I used explode('.', $value) but explode split in parentheses value. I don't want split in parentheses value. How can i do?