PHP Presentation String not complete

Source: Internet
Author: User
PHP Display String not complete
I copy a piece of text, copied to PHP, using var_dump Print on the page, this paragraph text is not full, the length only shows 1309, followed by the ellipsis. Why is this? How do I fix it?


------Solution--------------------
I do not know ha, to help you under Google
Transfer from http://blog.sina.com.cn/s/blog_71d4414d0100wmcp.html
PHP development environment, after installing the Xdebug module, the results of the var_dump () output will be easier to see, but by default, the results of the var_dump () output will change: Too many array elements are no longer displayed, the string variable will display only the first n characters, The darker array elements are also displayed as ellipses. This can bring some inconvenience, we modify the configuration file, set these.
In the Xdebug node of the php.ini, add the following
xdebug.var_display_max_children=128
xdebug.var_display_max_data=512
Xdebug.var_display_max_depth=5
The meaning can be read from the name.
Then restart the PHP service.

------Solution--------------------
Var_dump is only used for debugging, the meaning is ready.
The display is much more unfavorable to debugging

  • 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.