Why does var_dump doesn't format correctly in xampp? is there any solution for t

  1. priyankmaniar profile image73
    priyankmaniarposted 6 years ago

    Why does var_dump doesn't format correctly in xampp? is there any solution for that?

    If you use var_dump in wamp you get all fancy and nice output but with xampp its as good as print_r. any solution on this?

  2. itech profile image78
    itechposted 6 years ago

    print_r and var_dump functions are used to retrieve information related to and stored in a variable.
    print_r is used for printing the structure & data of array and var_dump is used for printing all information associated with a any variable (including arrays) such as its datatype, length etc.

    visualization doesn't matter in this case becoz this two functions are only been used by programmer, mostly in cases of debugging scripts.

 
working