|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
[2011-10-19 19:22 UTC] nikic@php.net
Description:
------------
<?php
namespace A {
__halt_compiler();
The above code will work, but I assume that it should not.
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
|
|||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Mon Oct 27 07:00:01 2025 UTC |
__halt_compiler is supposed to work only in outermost scope. For example this would not work: <?php if ('a') { // or if(): or do { or switch() { or ... __halt_compiler();