|  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
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
Anyone can comment on a bug. Have a simpler test case? Does it work for you on a different platform? Let us know!
Just going to say 'Me too!'? Don't clutter the database with that please — but make sure to vote on the bug!
Your email address:
Solve the problem:
10 + 47 = ?
Subscribe to this entry?

 [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


Add a Patch

Pull Requests

Add a Pull Request


AllCommentsChangesGit/SVN commitsRelated reports
 [2014-04-16 16:33 UTC]
-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]
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-2023 The PHP Group
All rights reserved.
Last updated: Sat Dec 09 16:01:27 2023 UTC