note 88698 deleted from control-structures.alternative-syntax by googleguy

From: Date: Wed, 16 Jan 2013 05:25:31 +0000
Subject: note 88698 deleted from control-structures.alternative-syntax by googleguy
References: 1  Groups: php.notes 
Request: Send a blank email to php-notes+get-193086@lists.php.net to get a copy of this message
Note Submitter: SM ---- The control structure should be like in BASIC languages: <?php if ($a == 12): echo "a is 12\n"; end if; while (true): echo "loop loop loop\n"; end while; ?> or just use end operator like in Ruby <?php if ($a == 12): echo "a is 12\n"; end; while (true): echo "loop loop loop\n"; end; ?>

« previous php.notes (#193086) next »