Strange problems with array values
PHP Code
, Array ([title] = Thunder TV Series [Encoding] = GBK [Listlink] = _src=\ "([\s\s]*?) \ "[ListName] = _src=\" ([\s\s]*?) \ "[Replace] = Array ([listname] = <\[^>\]+>$$$ [Vodname] = <\[^& gt;\]+>$$$ [actor] + <\[^>\]+>$$$ [Director] = <\[^>\]+>$$$ [Content] = <\[^>\]+>$$$ [Vodpic] = <\[^>\]+>$$$ [Continu] = <\[^&G t;\]+>$$$ [Area] = <\[^>\]+>$$$ [Playtime] = <\[^>\]+>$$$ [g Rade] = <\[^>\]+>$$$ [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] =
length: <\/strong> ([\s\s]*?) Minutes <\/span><\/p> [Grade] = [language] +
The above array, I want to get [content] value, but can only get a portion of
([\s\s]*?) The latter part of the
cannot be obtained.
Excuse me, what is the reason?
------Solution--------------------
Var_export This array and paste it again
------ Solution--------------------
How did you pass it. And how did you get it?
------Solution--------------------
gives you the value of [content] and explains what you want
------solution--------------------
to be a sign. The
recommends adding Htmlspecialchars () before storing the array elements;
when fetching an element, Htmlspecialchars_decode ();
------Solution--------------------
How do you see you only get part of it? is not the direct output, look at the page effect ah?
------Solution--------------------
Add it later to invoke:
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 label */d-->>[b] ([\s\s]*?) /* Source */d-->>[b] ([\s\s]*?)