Control Structures in PHP: Difference between revisions

From Free Knowledge Base- The DUCK Project
Jump to navigation Jump to search
New page: When compared to the C programming language, PHP is "lazy" as it will terminate processing of the if routing as soon as it determines the outcome. if ( $comp == "open" ) { if (!empty...
 
(No difference)

Revision as of 18:44, 23 May 2007

When compared to the C programming language, PHP is "lazy" as it will terminate processing of the if routing as soon as it determines the outcome.

 if ( $comp == "open" ) {
 if (!empty($cfgRelation['relation'])) {
 if ($have_rel) {
 if (typeof(window.print) != 'undefined') {
 if (!empty($tbl_group) && !$cfg['ShowTooltipAliasTB']) {
 if (empty($var)) {
 if (isset($var)) {