Firstly this is a question rather than an opinion (if anyone wants to
know I prefer studlyCaps for aethetic reasons so I'm happy with the
decision to use them!)
Having read all the posts on studlyCaps on this list, and understanding
that studlyCaps was the std. for all new OO APIs I found the following a
little odd:
The documentation at
http://sitten-polizei.de/php/reflection_api/docs/language.reflection.html
(pointed to by http://www.php.net/zend-engine-2.php):
<?php
class Reflection { }
interface Reflector { }
class Reflection_Exception extends Exception { }
class Reflection_Function implements Reflector { }
class Reflection_Parameter implements Reflector { }
class Reflection_Method extends Reflection_Function { }
class Reflection_Class implements Reflector { }
class Reflection_Property implements Reflector { }
class Reflection_Extension implements Reflector { }
?>
</snip>
Shows that the reflection api uses underscores? the build of php I use
confirms this also.
Is this intentional? (given that reflection is OO & new.)
with thanks,
Jochem.
using: PHP 5.0.0RC1-dev (cli) (built: Mar 12 2004 10:49:15) (DEBUG)
[...]
Having read all the posts on studlyCaps on this list, and understanding
that studlyCaps was the std. for all new OO APIs I found the following a
little odd:The documentation at
http://sitten-polizei.de/php/reflection_api/docs/language.reflection.html
...is kind of out-of-date. I wrote the docs [1] a while ago (sometime
around July 2003, IIRC) and have been waiting for them to be integrated
into the official PHP documentation ever since.
[...]
Shows that the reflection api uses underscores? the build of php I use
confirms this also.
Is this intentional? (given that reflection is OO & new.)
This was changed last week - the underscores have vanished.
1] DocBook XML is available at:
http://sitten-polizei.de/php/reflection_api/reflection.xml
- Timm
At 08:28 PM 4/3/2004 +0200, Timm Friebe wrote:
[...]
Having read all the posts on studlyCaps on this list, and understanding
that studlyCaps was the std. for all new OO APIs I found the following a
little odd:The documentation at
http://sitten-polizei.de/php/reflection_api/docs/language.reflection.html...is kind of out-of-date. I wrote the docs [1] a while ago (sometime
around July 2003, IIRC) and have been waiting for them to be integrated
into the official PHP documentation ever since.
Have you contacted the doc guys to make the add this to the PHP manual?
Andi
I am in contact with Timm re: integrating his doc into the official manual.
S
Andi Gutmans wrote:
At 08:28 PM 4/3/2004 +0200, Timm Friebe wrote:
Have you contacted the doc guys to make the add this to the PHP manual?
Andi