By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
435,197 Members | 956 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 435,197 IT Pros & Developers. It's quick & easy.

countinue behavior

P: n/a
Is that a normal behavior of countinue?
Shouldn't it skip the echo?

-------------------------------------
<?
for ($i=0; $i < 10; $i++) {
countinue;
echo "bla";
}
?>
-------------------------------------

chris@amigo chris $ php test.php
blablablablablablablablablablachris@amigo chris $
chris@amigo chris $ php --version
PHP 5.0.3 (cli) (built: Dec 19 2004 18:53:12)
Copyright (c) 1997-2004 The PHP Group
Zend Engine v2.0.3, Copyright (c) 1998-2004 Zend Technologies
chris@amigo chris $
Jul 17 '05 #1
Share this Question
Share on Google+
2 Replies


P: n/a
Christoph Enzmann wrote:
Is that a normal behavior of countinue?
Shouldn't it skip the echo?

-------------------------------------
<?
for ($i=0; $i < 10; $i++) {
countinue;
echo "bla";
}

-------------------------------------


When you use "continue" instead of "countinue" it will...
JW

Jul 17 '05 #2

P: n/a
Ups.
Lets forget it.

Janwillem Borleffs schrieb:
When you use "continue" instead of "countinue" it will...
JW

Jul 17 '05 #3

This discussion thread is closed

Replies have been disabled for this discussion.