Difference between revisions of "Control Structures in PHP"

From Free Knowledge Base- The DUCK Project: information for everyone
Jump to: navigation, 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 19: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)) {