Difference b/n var_dump() and print_r().

Discussion in 'PHP' started by nidz, Jul 30, 2008.

  1. #1
    Hi All,

    Can anybody tell me the difference between var_dump() and print_r() as I know that much only "print_r provides information about a variable, var_dump provides a slightly more complex analysis."

    If anybody knows mor than this do reply pls.
    :)
     
    nidz, Jul 30, 2008 IP
  2. HypertextFever

    HypertextFever Peon

    Messages:
    158
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    0
    #2
    HypertextFever, Jul 30, 2008 IP