Strange questions about the value of an array

Source: Internet
Author: User
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] = &LT;\[^&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] +

      ([\s\s]*?) <\/ul> [Year] =

      release:<\/strong> ([\s\s]*?) <\/p> [urlname] = Title=\ "([\s\s]*?) \ "[Urllink] = [submit] = OK)



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