PHP Low-level error: Function name must be a string

Source: Internet
Author: User
Tags php error

PHP Low-level error: Function name must be a string technology

Maybe yes posted on 2015-04-16 00:19

In the impression, the PHP error is rarely encountered, but once encountered, suddenly still find the problem.

When a person in the process of development is very tired, low-level mistakes committed, eyes looking at the screen, do not know why, so the whole network to find the answer. The following code will appear in PHP error:function name must be a string.

 
 

The function name method name must be a string, so the error hint is easy to mislead, PHP 5.3 began to support anonymous functions, like variables can be used as functions.

Read (402) reviews (0) View comments

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