Control Structures in PHP
From Free Knowledge Base- The DUCK Project: information for everyone
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)) {