News Feed
Jobs Feed
Sections




News Archive
Looking for more information on how to do PHP the right way? Check out PHP: The Right Way

Stubbles Blog:
Do not trust the reflection API
January 28, 2008 @ 13:07:00

On the Stubbles blog, Frank Kleine offers some advice to developers looking to use the Reflection API - "don't trust it".

If you try to get informations about parameters from methods of internal classes - forget that. Examining several internal classes my key findings are: either there is no information about parameters available and the reflection API says the method does not have any parameters, or the information about the parameter is wrong.

He includes code examples along side the output from the script to illustrate his point.

0 comments voice your opinion now!
reflection api class external internal pdo pdostatement


blog comments powered by Disqus

Similar Posts

Sebastian Göttschkes' Blog: Testclasses for symfony2

David Coallier's Blog: Namespaces part 4.1 (What namespaces don't fix (part 1))

Gonzalo Ayuso's Blog: Building a client for a REST API with PHP

Eric Lamb's Blog: Practical PHP Reflection

DevShed: Using the Memento Pattern with a File Reading Class


Community Events











Don't see your event here?
Let us know!


release framework composer code facebook hhvm hack opinion component install overview podcast symfony2 unittest threedevsandamaybe package security introduction application language

All content copyright, 2014 PHPDeveloper.org :: info@phpdeveloper.org - Powered by the Solar PHP Framework