note 10033 added to break

From: Date: Fri, 08 Dec 2000 14:22:11 +0000
Subject: note 10033 added to break
Groups: php.notes 
Request: Send a blank email to php-notes+get-8527@lists.php.net to get a copy of this message
As I see, <code>break</code> statement only affects <strong>looping</strong> constructs. If you want to break from conditional statement, use <code>do {...} while(0);</code> trick. <br> Jakub Narêbski http://www.php.net/manual/control-structures.break.php

« previous php.notes (#8527) next »