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" <[EMAIL PROTECTED]>
To: "php" <[EMAIL PROTECTED]>
Sent: Monday, December 17, 2001 10:07 PM
Su
Well, I just made a test program that nested 1000 if() statements and
it worked.
Just make sure you close all your curly brackets correctly.
IMHO, a large number of nested if else elseif statements indicate
poor programming design. Sometimes they are necessary, but usually
can be simplified
2 matches
Mail list logo