My PHP is rusty, but I'm trying to follow Joomla code and I keep
seeing reverse braces inside php blocks that look to me like they'll
break the interpreter. The code works. What am I missing here? Is this
something new to php5 or some preproccessor or something?
Stuff like this:
<?php } else { ?>
or this. where you see that left brace right before the ? I haven't
done php in a while. Am I forgetting something obvious?
<?php if(mosCountModu les('right')) { ?>
<div id="mcontent">
<div class="padding" >
<?php if(mosCountModu les('top')) { ?>
<div id="newsflash"> <div class="newsflas h"><?
php mosLoadModules ('top');?></div>
</div><?php } ?>
<?php mosMainBody(); ?>
</div>
</div>
<?php } else { ?>
seeing reverse braces inside php blocks that look to me like they'll
break the interpreter. The code works. What am I missing here? Is this
something new to php5 or some preproccessor or something?
Stuff like this:
<?php } else { ?>
or this. where you see that left brace right before the ? I haven't
done php in a while. Am I forgetting something obvious?
<?php if(mosCountModu les('right')) { ?>
<div id="mcontent">
<div class="padding" >
<?php if(mosCountModu les('top')) { ?>
<div id="newsflash"> <div class="newsflas h"><?
php mosLoadModules ('top');?></div>
</div><?php } ?>
<?php mosMainBody(); ?>
</div>
</div>
<?php } else { ?>
Comment