I am using following code:
define ('EMPTY', 'test');
echo EMPTY;
But I am unable to get output. I am getting following Error:
Parse error: syntax error, unexpected ';', expecting '('
Empty is a reserved word.
<?php
define ('EMPTY2', 'test');
echo EMPTY2;
Works as intended.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With