News Feed
Sections




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

Stanislav Malyshev's Blog:
Adding new extensions to Zend Studio
September 08, 2010 @ 08:32:31

In a new post to his blog Stanislav Malyshev talks about how Zend Studio users can get the tool to recognize new extensions by adding in stubs with PHPDocumentor markup.

If you have some extension, create stub file with PHPDOC descriptions [...] for each extension function, Studio will know to pick it up. You can put this file into Studio's prototypes directory - easiest way to find it is just write something like chdir() anywhere, select the name and press F3, the directory of the file that you'll get is the one you need.

Not wanting to have to generate all of the stubs himself, he created the Reflector script that will, when pointed at an extension, create the stub file with definitions for each method it can use. There's also the generator script that's a part of Zend Studio that works similarly.

0 comments voice your opinion now!
zendstudio extension reflection docblock


blog comments powered by Disqus

Similar Posts

Zend Developer Zone: Reading Access Databases with PHP and PECL

Joshua Thijssen's Blog: PHPShout : a shoutcast streamer in PHP

PHPMaster.com: Google App Engine and a Plea for Phalcon

Jacob Santos' Blog: Would PHP benefit from JIT compilation?

Hasin Hayder's Blog: An interesting bug in ReflectionParameter object in PHP 5.2.1


Community Events





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


interview update symfony framework library language package laravel opinion version mvc composer security introduction voicesoftheelephpant tool release podcast series community

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