RE: [PEAR-DEV] PhpDocumentor: PHP5 vs PHP4

From: Date: Thu, 28 Dec 2006 18:52:20 +0000
Subject: RE: [PEAR-DEV] PhpDocumentor: PHP5 vs PHP4
Groups: php.pear.dev 
Request: Send a blank email to pear-dev+get-45353@lists.php.net to get a copy of this message
My first rationalization was "wouldn't PHP5 be the one doing 'more' than PHP4", but it's PHP4 wrapping the items in hyperlinks while PHP5 does nothing. My next thought was perhaps these were private/protected items and PHP4 was blindly treating everything as public... I'm running some doc generations right now with "-pp on" to see if the results do NOT exhibit the same differences in behavior. However, the more I think about it, the less I think this is the case. My current path now is twofold: - the set of differences where PHP4 is wrapping hyperlinks and PHP5 isn't just happened to all be inline @link tags; - the next set was source code blocks (<code></code>) in a tutorial, where docblocks inside that source code are being properly highlighted by PHP5 (class="src-doc") but not by PHP4 (class="src-comm"); Hmmm.. CRB -----Original Message----- From: Joshua Eichorn [mailto:josh@bluga.net] Sent: Thursday, December 28, 2006 12:13 PM To: Chuck Burgess Cc: phpdocu-developer@lists.sourceforge.net; pear-dev@lists.php.net Subject: Re: [PEAR-DEV] PhpDocumentor: PHP5 vs PHP4 There has to be some difference since using php5 you can document more elements, interfaces etc I can't think of a reason for any difference not related different language elements though. -josh Chuck Burgess wrote: > I've been working on the assumption that there should be no observable > differences in generated documentation whether using PHP5 or PHP4. > Should I be? > > The reason I ask is that I just noticed some different behavior > (v1.3.1), where PHP4 was wrapping hyperlinks around text whereas PHP5 > was not. My first reaction was "bug!!!", but that hinges on my > assumption above. So again, should I be using said assumption? > > Chuck Burgess > "Premature optimization is the root of all evil." > - C. A. R. Hoare > >

« previous php.pear.dev (#45353) next »