Strange Array values: PHPcode, Array ([title] & gt; Thunder TV series [encoding] & gt; gbk [listlink] & gt; & lt; divclass & quot; operbox & quot; & gt; & lt; aclass & quot; on & quot; href & quo array value strange question
PHP code
, Array ([title] => Thunder TV series [encoding] => gbk [listlink] =>_ Src = \ "([\ s \ S] *?) \ "[Listname] => _ src = \" ([\ s \ S] *?) \ "[Replace] => Array ([listname] => <\ [^> \] + >$ $ [vodname] => <\ [^> \] +> $ [actor] =>< \ [^ >\] + >$ $ [director] =>< \ [^ >\] + >$ $ [content] ==>< \ [^> \] + >$ $ [vodpic] =>< \ [^> \] + >$ $ [continu] =>< \ [^ >\] + >$ $ [area] =>< \ [^> \] + >$ $ [playtime] =>< \ [^> \] + >$ $ [grade] =>< \ [^ >\] + >$ $ [url] =>< \ [^ >\] + >$ $) [name] =>([\ S \ S] *?) <\/Strong> [actor] =>
([\ S \ S] *?) <\/A> <\/li> [director] =>Director: <\/strong> ([\ s \ S] *?) <\/P> [content] =>
([\ S \ S] *?) [Continu] => [area] =>
Tag: ([\ s \ S] *?) <\/Li> [playtime] =>Title length: <\/strong> ([\ s \ S] *?) Minutes <\/span> <\/p> [grade] => [language] =>
In the above array, I want to get the value of [content], but only a part of it can be obtained.
([\ S \ S] *?)
The last part cannot be obtained.
What is the reason?
------ Solution --------------------
Add the array var_export.
------ Solution --------------------
How did you upload the file. Why?
------ Solution --------------------
Provide the value of [content] and describe what you want
------ Solution --------------------
Symbol problems are very likely.
We recommend that you add htmlspecialchars () before storing array elements ();
Htmlspecialchars_decode ();
------ Solution --------------------
How did you see that you only obtained some of them? Is it directly output? what is the page effect?
------ Solution --------------------
Can be called after adding:
PHP code
$ A = "[B]([\ S \ S] *?) 123 [1] => [B]
([\ S \ S] *?) Array ([0] => [B]
([\ S \ S] *?) ------ Solution --------------------
PHP code
$ A = "[B]([\ S \ S] *?)> ". $ D ."
";/* Output, the browser interface has resolved the tag */d --> [B] ([\ s \ S] *?) /* Source code */d --> [B]
([\ S \ S] *?)