note 14720 added to control-structures.break.php

From: Date: Sat, 11 Aug 2001 21:46:54 +0000
Subject: note 14720 added to control-structures.break.php
Groups: php.notes 
Request: Send a blank email to php-notes+get-16587@lists.php.net to get a copy of this message
Is there something similar to 'break' that will fall out of a specefied number of 'if' statements? For example, I have a number of nested 'if' statements and I need to fall out of all of the if statments (back to the base level) when a certain condition is true (after setting a string containing the error) http://www.php.net/manual/en/control-structures.break.php

« previous php.notes (#16587) next »