Why is there no error reported in var_dump($meiyou)?
呵呵呵
呵呵呵 2017-09-20 14:57:13
0
4
1500

When I run my own code, I keep getting errors:

Notice: Undefined variable: meiyou in E:\work\study\PHP\phpstudy\www\127.0.0.2\phpstu_1.php on line 3

Then a NULL will be printed, but it is correct in the example. Why is this?

呵呵呵
呵呵呵

126的邮箱,设置错了,尴尬

reply all (4)
phpcn_u68656

This is not an error. . Just a reminder that this variable is not declared. . . You can enter a piece of code in front to cancel the reminder

    钟晓峰

    Looking at your error report, there is no $ in front of the variable name

      我是吃货

      Notice: Undefined variable: meiyou

      The variable is undefined

      • reply But in the case, no error is reported when I write this. I want to know why.
        呵呵呵 author 2017-09-21 08:49:43
      本Q已中毒

      The path is wrong

        Latest Downloads
        More>
        Web Effects
        Website Source Code
        Website Materials
        Front End Template
        About us Disclaimer Sitemap
        php.cn:Public welfare online PHP training,Help PHP learners grow quickly!