Why does it report an error when judging USER_ID after initialization?
富贵
富贵 2018-01-23 14:41:52
0
2
1478

360截图-15556060.jpg

富贵
富贵

reply all(2)
电动小老虎

I feel there are 2 errors. I don’t know if they are correct or not. Please refer to them.

Error 1 The parent class is not initialized during initialization parnet::_initialize()

Error 2 empty and is_null are two concepts. Can an empty data be converted into flase? One is a null value

庙凡

The usage is wrong

<?php
define("GREETING","Hello world!",TRUE);
echo constant("greeting");
?>

Replace line 17 with it, try

if(empty(constant('USER_ID')))

Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template