php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Request #22554 Show Source Anchors
Submitted: 2003-03-05 10:48 UTC Modified: 2014-12-30 10:41 UTC
Votes:1
Avg. Score:4.0 ± 0.0
Reproduced:1 of 1 (100.0%)
Same Version:1 (100.0%)
Same OS:0 (0.0%)
From: davey at its-explosive dot net Assigned:
Status: No Feedback Package: *General Issues
PHP Version: * OS: n/a
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.
(description)
Block user comment
Status: Assign to:
Package:
Bug Type:
Summary:
From: davey at its-explosive dot net
New email:
PHP Version: OS:

 

 [2003-03-05 10:48 UTC] davey at its-explosive dot net
I think that a way to enhance PHP5 in the small area that is show_source() is not (just) to make it valid/cleaner HTML as has no doubht been requested before, but I would also like to see anchors placed in the document, to allow people to link to specific parts of their documents, the main one I can think of is namespace foo { } class foo { } and function foo { } - by being able to link to these specifically like: http://www.someurl.tld/source.phps#function_foo or #class_foo would make it easier to show specific parts of your code to people... 

Don't know what you think... just seems that some additional functionality in show_source()/phps could help collabaritive debugging such as over IRC or through forums...

- Davey

Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2014-04-16 16:33 UTC] levim@php.net
-Status: Open +Status: Feedback -Package: Feature/Change Request +Package: *General Issues -PHP Version: 5CVS-2003-03-05 (dev) +PHP Version: *
 [2014-04-16 16:33 UTC] levim@php.net
What if you show multiple snippets per page? Plus they could perhaps clobber other things. Thoughts?
 [2014-12-30 10:41 UTC] php-bugs at lists dot php dot net
No feedback was provided. The bug is being suspended because
we assume that you are no longer experiencing the problem.
If this is not the case and you are able to provide the
information that was requested earlier, please do so and
change the status of the bug back to "Re-Opened". Thank you.
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Thu Apr 25 22:01:29 2024 UTC