#46710 [Ver]: Missing backslashes in manual pages
[email protected] ("jchaffer at gmail dot com")
| Newsgroups | php.webmaster |
|---|---|
| Message-ID | <[email protected]> |
ID: 46710 User updated by: jchaffer at gmail dot com Reported By: jchaffer at gmail dot com Status: Verified Bug Type: Website problem Operating System: n/a PHP Version: Irrelevant New Comment: Makes sense. I haven't verified this, but it's possible that I was seeing the characters show up in prose but not code examples. That would explain why it seemed hit-or-miss. I can't really say for sure where the characters are missing, since I don't know where they're supposed to be yet; hence, reading the documentation. ;-) Previous Comments: ------------------------------------------------------------------------ [2008-11-28 15:16:07] [email protected] Gahh! You are totally right. The reason for this is PHP syntax highlighting.. PHP versions prior to PHP5.3.0 do not understand the syntax and silently ignore "weird syntax". We'll need to update the PHP version generating the manual. ------------------------------------------------------------------------ [2008-11-28 14:53:38] jchaffer at gmail dot com Description: ------------ It appears that backslash characters are being sporadically suppressed on documentation pages. This is especially noticeable in the documentation about namespaces; I was highly confused by much of the language until I realized some very important characters were missing from the code examples and descriptions! For an illustration of the problem, see: http://www.php.net/manual/en/language.namespaces.faq.php Examples 1 and 2 are supposed to illustrate two different syntaxes, but because of this problem are identical. Nearly every page of the namespace section of the manual has an example of the issue. ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=46710&edit=1