PHP

Return null vs return void

0

The other day I had a discussion about that, and why important open source frameworks like CakePHP use void in @return doc tags when void and null are code-wise totally…The other day I had a discussion about that, and why…

CakePHP Tips

4

All new CakePHP tips collected over the last few weeks. Dispatcher execution order Tested on Cake2.3RC: APP/webroot/index.php CORE/bootstrap.php APP/Config/core.php APP/Config/bootstrap.php dispatchers defined in CORE bootstrap APP/Config/routes.php APP/Config/database.php controller and all…All new CakePHP tips collected over the last few weeks. Dispatcher…