I have a ton of code written in 4. My php 5 does not work with just <?. It requires <?php.
Any workarounds for this?
TIA 🙂
Set short_open_tag to On in php.ini
The problem is that <?xml will cause PHP to freak out. This is why it is better to just keep short_open_tag Off and use <?php. The setting was available in PHP4, actually.
Thank you very much 🙂