php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Request #48862 reload() function for included files
Submitted: 2009-07-09 01:54 UTC Modified: 2011-01-01 22:53 UTC
From: php at drinkproject dot com Assigned:
Status: Wont fix Package: Scripting Engine problem
PHP Version: 5.3.0 OS: All
Private report: No CVE-ID: None
Have you experienced this issue?
Rate the importance of this bug to you:

 [2009-07-09 01:54 UTC] php at drinkproject dot com
Description:
------------
It would be nice if there were a way to reload included files in scripts the way python can reload includes. I'm not sure if its a complicated endeavor but the ability to do it would be much nicer than restarting the script or re-including and overriding functions at runtime.


Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2011-01-01 22:53 UTC] jani@php.net
-Status: Open +Status: Wont fix -Package: Feature/Change Request +Package: Scripting Engine problem
 [2011-01-01 22:53 UTC] jani@php.net
There's get_included_files() function, so you can easily do this yourself in PHP code. No need for yet another function/construct.
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Sat May 04 23:01:29 2024 UTC