PHP notice level error
某草草
某草草 2017-06-28 09:23:23
0
2
782
<?php

define(A, '12');

Notice: Use of undefined constant A - assumed 'A'
Why does this error occur

某草草
某草草

reply all(2)
学习ing

When defining, the constant name must be quoted, otherwise it will be called after the constant. Example: define('A','12'); or const A = '12'; echo A;

世界只因有你

Already solved

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!