Req #22554 [Opn->Fbk]: Show Source Anchors

From: Date: Wed, 16 Apr 2014 16:33:14 +0000
Subject: Req #22554 [Opn->Fbk]: Show Source Anchors
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-185272@lists.php.net to get a copy of this message
Edit report at https://bugs.php.net/bug.php?id=22554&edit=1 ID: 22554 Updated by: levim@php.net Reported by: davey at its-explosive dot net Summary: Show Source Anchors -Status: Open +Status: Feedback Type: Feature/Change Request -Package: Feature/Change Request +Package: *General Issues Operating System: n/a -PHP Version: 5CVS-2003-03-05 (dev) +PHP Version: * Block user comment: N Private report: N New Comment: What if you show multiple snippets per page? Plus they could perhaps clobber other things. Thoughts? Previous Comments: ------------------------------------------------------------------------ [2003-03-05 10:48:20] 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 ------------------------------------------------------------------------ -- Edit this bug report at https://bugs.php.net/bug.php?id=22554&edit=1

« previous php.bugs (#185272) next »