note 9009 added to break

From: Date: Wed, 11 Oct 2000 08:21:56 +0000
Subject: note 9009 added to break
Groups: php.notes 
Request: Send a blank email to php-notes+get-6373@lists.php.net to get a copy of this message
You can use something like do { if (condition) { ... break; } else { ... } while (0); to break out of an if. http://www.php.net/manual/control-structures.break.php

« previous php.notes (#6373) next »