­
2 01, 2016

PHP Shorthand If / Else Examples

By |January 2nd, 2016|PHP|0 Comments

In looking at my Google Analytics statistics, I see a lot of visitors searching for PHP shorthand if/else (ternary) information. I've gone through my code library and picked out some examples of ternary operator usage.   Basic True / False Declaration $is_admin = ($user['permissions'] == 'admin' ? true : false); [...]

28 12, 2015

List of PHP Keywords

By |December 28th, 2015|PHP|0 Comments

An article for list of PHP reserved keywords Source: PHP: List of Keywords - Manual