php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Request #62513 Disable goto
Submitted: 2012-07-09 01:27 UTC Modified: 2012-07-09 03:46 UTC
Votes:1
Avg. Score:4.0 ± 0.0
Reproduced:1 of 1 (100.0%)
Same Version:0 (0.0%)
Same OS:0 (0.0%)
From: santec at riseup dot net Assigned:
Status: Wont fix Package: Scripting Engine problem
PHP Version: Irrelevant OS: *
Private report: No CVE-ID: None
Have you experienced this issue?
Rate the importance of this bug to you:

 [2012-07-09 01:27 UTC] santec at riseup dot net
Description:
------------
I hope that you will introduce some way to disable goto. The reason is that my users can execute untrusted code, and in some cases I have to debug it; but goto in some cases makes debugging way too long.
The best solution (for me) would be a INI option that can not be changed at runtime, to suppress goto. Or you could add a compile option to exclude goto.
Thanks.


Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2012-07-09 03:46 UTC] rasmus@php.net
No chance. And it isn't an unrestricted goto, so it is no harder to debug than 
multi-level breaks/continues and you don't seem to have a problem with those.
 [2012-07-09 03:46 UTC] rasmus@php.net
-Status: Open +Status: Wont fix
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Fri Apr 26 02:01:29 2024 UTC