Forum Moderators: coopster
<?php define(Y,120); ?>
[09-Apr-2015 18:42:09 UTC] PHP Notice: Use of undefined constant Y - assumed 'Y' in /home/username/public_html/test.php on line 1
<?php define('Y',120); ?>
i can add single quote wrapping the Y like this to fix it
error_reporting(E_ALL & ~E_NOTICE); error_reporting(E_ALL | E_STRICT); PHP being PHP defaults it to 'Y' and then allows you to define Y. Which I find brilliant :D