php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Request #1745 user callbacks for include/require statements in show_source()
Submitted: 1999-07-20 02:44 UTC Modified: 2000-07-22 03:22 UTC
From: jimw@php.net Assigned:
Status: Closed Package: Feature/Change Request
PHP Version: 4.0 Beta 1 OS: Linux
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: jimw@php.net
New email:
PHP Version: OS:

 

 [1999-07-20 02:44 UTC] jimw@php.net
I'd like to be able to pass user callbacks to show_source() to allow turning
require and include statements into links to a script that will show the
source of that file on new.php.net.

Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2000-07-17 13:29 UTC] david at cvs dot php dot net
You don't need this, just turn on output buffering before show_source (or flush it out), run the show_source, and then read the output buffer. Check out the ob_* functions. I have this working fine for the exact same purpose you want it.
 [2000-07-22 03:22 UTC] david at cvs dot php dot net
closed, use ob_*

 
PHP Copyright © 2001-2026 The PHP Group
All rights reserved.
Last updated: Mon Jun 15 10:00:01 2026 UTC