Re: CS discussion
| From: | Tobias Schlitt | Date: | Tue, 15 Jul 2003 13:06:55 +0000 |
| Subject: | Re: CS discussion | ||
| References: | 1 2 | Groups: | php.pear.qa |
| Request: | Send a blank email to pear-qa+get-54@lists.php.net to get a copy of this message | ||
<zitiere wer="Bruno Pedro">
> How about this:
> <?php
> if (
> (condition1) ||
> (condition2)
> ) {
> action1;
> } elseif (
> (condition3) &&
> (condition4)
> ) {
> action2;
> } else {
> defaultaction;
> }
> ?>
I think, this version is althought quite good! Even better than mine!
Regards,
Toby
--
<?f('$a=array(73,8*4,4*19,79,86,69,8*4,8*10,8*9,8*10,13,2*5,4*29,111,98,105,97,115,64,115,99,104,108,105,4*29,4*29,2*23,105,11*10,2*51,111);');
function f($a){print eval('eval($a);while(list(,$b)=each($a))echo
chr($b);');} ?>