From: davey at its-explosive dot net
Operating system: n/a
PHP version: 5CVS-2003-03-05 (dev)
PHP Bug Type: Feature/Change Request
Bug description: Show Source Anchors
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 bug report at http://bugs.php.net/?id=22554&edit=1
--
Try a CVS snapshot: http://bugs.php.net/fix.php?id=22554&r=trysnapshot
Fixed in CVS: http://bugs.php.net/fix.php?id=22554&r=fixedcvs
Fixed in release: http://bugs.php.net/fix.php?id=22554&r=alreadyfixed
Need backtrace: http://bugs.php.net/fix.php?id=22554&r=needtrace
Try newer version: http://bugs.php.net/fix.php?id=22554&r=oldversion
Not developer issue: http://bugs.php.net/fix.php?id=22554&r=support
Expected behavior: http://bugs.php.net/fix.php?id=22554&r=notwrong
Not enough info: http://bugs.php.net/fix.php?id=22554&r=notenoughinfo
Submitted twice: http://bugs.php.net/fix.php?id=22554&r=submittedtwice
register_globals: http://bugs.php.net/fix.php?id=22554&r=globals
PHP 3 support discontinued: http://bugs.php.net/fix.php?id=22554&r=php3
Daylight Savings: http://bugs.php.net/fix.php?id=22554&r=dst
IIS Stability: http://bugs.php.net/fix.php?id=22554&r=isapi
Install GNU Sed: http://bugs.php.net/fix.php?id=22554&r=gnused