Can’t use function return value in write context
PHP likes to give this error message when using function return values directly with the empty construct. if (empty(some_function())) { // ... some code here } This is due to how empty is implemented...
View ArticleA PHP Short Array Syntax Converter
In his PHP Town Hall podcast, Phil Sturgeon mentioned that it would be nice to have an automatic converter for the new short-hand PHP array syntax that was added in PHP 5.4. I agreed, but not that it...
View ArticleAnnotations – show me the benefits!
Last week, a discussion was raging in the Laravel community. Taylor recently introduced the usage of annotations throughout the framework. Developers can now, for example, declare their routes inside...
View Article
More Pages to Explore .....