[prev in list] [next in list] [prev in thread] [next in thread]
List: php-doc-bugs
Subject: [DOC-BUGS] #46933 [Opn->Bgs]: valid backslashes in the docs are removed
From: bjori () php ! net
Date: 2008-12-23 10:34:51
Message-ID: 200812231034.mBNAYpdp095508 () y1 ! php ! net
[Download RAW message or body]
ID: 46933
Updated by: bjori@php.net
Reported By: haohappy@php.net
-Status: Open
+Status: Bogus
Bug Type: Doc Build problem
Operating System: Linux
PHP Version: Irrelevant
New Comment:
People really should be using 5.3 for multiple reasons.
We however cannot require it as there still isn't released :(
Previous Comments:
------------------------------------------------------------------------
[2008-12-23 09:07:39] philip@php.net
Namespaces were added in PHP 5.3, so you need to run PhD with 5.3
because highlight_string() is used for the syntax highlighting.
Maybe it's time we require 5.3, or at least yell at people if they
don't have it (and warn them about a few more things).
------------------------------------------------------------------------
[2008-12-23 08:40:47] haohappy@php.net
Description:
------------
I compiled PHP docs using PhD and found some valid backslashes in the
docs are removed. These errors can be typically found in the chapter
'Namespaces'.
Here is the right example:
http://www.php.net/manual/en/language.namespaces.nested.php
and here is my result:
http://www.phpeye.com/phpmanual/language.namespaces.nested.html
Reproduce code:
---------------
The commands I used:
php configure.php --with-lang=zh --enable-chm
/home/www/php/bin/phd -d .manual.xml -L zh
The html files were generated in the directory 'phpdoc-zh/chm/res' .
Expected result:
----------------
For example, the right code is:
<?php
namespace MyProject\Sub\Level;
?>
Actual result:
--------------
but the actual result I got was:
<?php
namespace MyProjectSubLevel;
?>
The backslashes '\' were missing.
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=46933&edit=1
--
PHP Documentation Bugs Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic