News Feed
Sections
News Archive


Community Events
php|tek 2008 PHP Conference



feed this:

Sebastian Bergmann's Blog:
Test Runner Improvement in PHPUnit 3.3
0 comments :: posted Friday April 11, 2008 @ 09:46:29
voice your opinion now!

Sebastian Bergmann has posted some details about an update that's been made to the test runner for the PHPUnit (3.3) unit testing suite - an allowance for directories instead of just files on the command line.

Given a directory, the test runner will recursively scan the directory for *Test.php files, build a test suite out of the *Test classes, and run it.

PHPUnit is framework that makes writing tests for your code easy and also includes functionality to run the tests and analyze their results.

tagged with: test runner improvement phpunit commandline directory file


Lars Strojny's Blog:
New magic constant in PHP 5.3
0 comments :: posted Friday February 22, 2008 @ 15:02:00
voice your opinion now!

In this new blog post today, Lars Strojny talks about a new magic constant that will be joining its brothers in the upcoming PHP 5.3 release - __DIR__.

In PHP 5.3 there will be another magic constant __DIR__. [...] To allow this, the internal function php_dirname() has been moved in the Zend Engine and is now called zend_dirname(). Nevertheless an alias still exists.

__DIR__ will join the other constants (like __LINE__ and __FUNCTION__) to help give the currently running script a little introspection for things like its filename, what class it's currently in and now, what directory the file currently lives in.

tagged with: dir magic constant directory php5 new


developer zend code PEAR cakephp conference ajax releases PHP5 security framework zendframework application release pecl package book job database mysql

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