__halt_compiler() works in braced namespaces
[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.
__halt_compiler() works in braced namespaces
[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.
[2011-10-19 22:59 UTC] felipe@php.net
[2011-10-19 22:59 UTC] felipe@php.net
-Status: Open +Status: Bogus
[2011-10-20 05:21 UTC] nikic@php.net
__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();[2011-10-28 18:38 UTC] nikic@php.net
-Status: Bogus +Status: Open
[2011-11-16 17:39 UTC] felipe@php.net
[2011-11-16 17:39 UTC] felipe@php.net
-Status: Open +Status: Closed -Assigned To: +Assigned To: felipe
[2011-11-16 17:41 UTC] felipe@php.net
[2012-04-18 09:47 UTC] laruence@php.net
[2012-07-24 23:38 UTC] rasmus@php.net
[2013-11-17 09:35 UTC] laruence@php.net