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
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If you forgot your password, you can retrieve your password here.
Password:
Status:
Package:
Bug Type:
Summary:
From: php at drinkproject dot com
New email:
PHP Version: OS:

 

 [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

Pull Requests

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-2025 The PHP Group
All rights reserved.
Last updated: Thu Jul 03 11:01:34 2025 UTC