Re: How deep can I go with embedded if s.

From: Date: Mon, 17 Dec 2001 22:58:00 +0000
Subject: Re: How deep can I go with embedded if s.
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-78019@lists.php.net to get a copy of this message
Mehmet, If you can keep the scope ({and}) correct then you will have no problems. However, it will get kinda slow after going deep enough. chuck ----- Original Message ----- From: "Mehmet Kamil ERISEN" <erisen@yahoo.com> To: "php" <php-general@lists.php.net> Sent: Monday, December 17, 2001 10:07 PM Subject: [PHP] How deep can I go with embedded if s. > Hello All, > Is anybody aware of any limitations of php on embedded if > ..else statements? > For example: > > if ($a>$b) { > if ($c>$d) { > this(); > } else { > if ($gg==$dd) { > echo 'ladooo'; > } else { > echo 'baboooo'; > } > that(); > } > if ($e<$f) { > tthis(); > } else { > tthat(); > } > else { > echo "Oooops"; > > } > > would this work, > > > ===== > Mehmet Erisen > http://www.erisen.com > > __________________________________________________ > Do You Yahoo!? > Check out Yahoo! Shopping and Yahoo! Auctions for all of > your unique holiday gifts! Buy at http://shopping.yahoo.com > or bid at http://auctions.yahoo.com > > -- > PHP General Mailing List (http://www.php.net/) > To unsubscribe, e-mail: php-general-unsubscribe@lists.php.net > For additional commands, e-mail: php-general-help@lists.php.net > To contact the list administrators, e-mail: php-list-admin@lists.php.net >

« previous php.general (#78019) next »