You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Whenever PHP processes more then one __halt_compiler() statement in one session, it emits this cryptic warning:
PHP Warning: Constant already defined in ...
Note the empty constant name.
There are several ways to trigger this. Here's one:
# echo '<?php __halt_compiler();' >inc.php
# php -a
php > include('inc.php');
php > include('inc.php');
PHP Warning: Constant already defined in /tmp/inc.php on line 1