|  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Request #69794 Behavior when calling 'runkit_function_redefine' is ill advised
Submitted: 2015-06-10 17:48 UTC Modified: 2016-08-03 22:41 UTC
Avg. Score:3.0 ± 0.0
Reproduced:0 of 0 (0.0%)
From: dsandell at bio5 dot org Assigned:
Status: Not a bug Package: runkit (PECL)
PHP Version: Irrelevant OS: Cent OS
Private report: No CVE-ID: None
View Add Comment Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
You can add a comment by following this link or if you reported this bug, you can edit this bug over here.
Block user comment
Status: Assign to:
Bug Type:
From: dsandell at bio5 dot org
New email:
PHP Version: OS:


 [2015-06-10 17:48 UTC] dsandell at bio5 dot org
When redefining built-ins without having runkit.internal_override set to 1, it would make more sense for some sort of exception or halting behavior to trigger than for it to fail silently.

Mainly I think this is problem because a) the application user/host/maintainer may never know that there's an illegal override in their code without some sort of program halting must-be-handled event triggering, and b) if an attempt at an illegal override is made, but fails, there's a good chance that everything occurring after may be unexpected behavior.

I'd actually be happy to look at the code and change this behavior, but it's not clear at all what code base is the actual maintained code base runkit and where to make a pull request (is on of the runkits on Github the real runkit?).


Add a Patch

Pull Requests

Add a Pull Request


AllCommentsChangesGit/SVN commitsRelated reports
 [2015-06-10 18:33 UTC]
| it's not clear at all what code base is the actual maintained
| code base runkit

The sources of the PECL package are available on
 [2015-09-29 09:47 UTC]
If it is related to, then report the bug there, please.
 [2016-08-03 19:47 UTC]
Indeed, the official runkit sources are now on
<>, and also the primary bug
 [2016-08-03 22:41 UTC]
-Status: Open +Status: Not a bug
 [2016-08-03 22:41 UTC]
As dzenovich said, please reopen this bug on as that's not the proper home for runkit.

I'm not sure where the lack of clarity on which codebase is the maintained one lies since literally all the old repos point directly at
PHP Copyright © 2001-2021 The PHP Group
All rights reserved.
Last updated: Wed Jan 20 07:01:23 2021 UTC