<div dir="ltr"><div class="gmail_extra"><div class="gmail_quote">On 19 April 2015 at 00:05, Maciej Jaros <span dir="ltr"><<a href="mailto:egil@wp.pl" target="_blank">egil@wp.pl</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">You've forgot to mention short_open_tags is set to Off on trusty.<br>
<br>
Regards,<br>
Nux.<br>
<br>
PS: Yeah, yeah, I know short PHP tags are now considered evil and all that bla, bla, bla ;-).<br></blockquote><div><br></div><div>There are three ways to start PHP code: <?php echo('bla'); ?>, <? echo('bla'); ?> and <?= 'bla' ?>. The middle one (<? ?>) is the one that's considered evil; the last one (<?= ?>) is a notation that's very useful for templating.<br></div><div><br></div><div>In PHP 5.3 and lower, you either had just <?php ?> and not the other two, or, with short_open_tags on, all three.</div><div>In PHP 5.4, this changed. Now you always have both <?php ?> and <?= ?>, but you need short_open_tags for the one that's considered evil.</div><div><br></div><div>So: yes, short_open_tags is now off, but it's unlikely to have an effect on your code. If it does, it should be reasonable simple to fix -- basically a search and replace from <? to <?php.</div><div><br></div><div>Merlijn</div><div><br></div><div><br></div></div></div></div>