Strange array values

Source: Internet
Author: User
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 & quot; (strange question about the value of the [s array
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] =>

      ([\ S \ S] *?) <\/Ul> [year] =>

      Release: <\/strong> ([\ s \ S] *?) <\/P> [urlname] => title = \ "([\ s \ S] *?) \ "[Urllink] => [submit] => OK)



  • 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] *?)

    Contact Us

    The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

    If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

    A Free Trial That Lets You Build Big!

    Start building with 50+ products and up to 12 months usage for Elastic Compute Service

    • Sales Support

      1 on 1 presale consultation

    • After-Sales Support

      24/7 Technical Support 6 Free Tickets per Quarter Faster Response

    • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.