Short open tags to long open tags

Problems with the Mac OS X version of XAMPP, questions, comments, and anything related.

Short open tags to long open tags

Postby mariusvw » 13. August 2009 21:03


First of all, great job on XAMMP! :)

What I noticed is that the xammp code is written with short open tags.
Since I have a strict rule at our work this becomes unhandy...

Might it be an option to change the open tags in future versions?

A simple way to do this is:
Code: Select all
find . -name '*.php' -type f -exec perl -i -wpe 's/<\?=/<\?php echo /g' {} \;
find . -name '*.php' -type f -exec perl -i -wpe 's/<\?/<\?php/g' {} \;
find . -name '*.php' -type f -exec perl -i -wpe 's/<\?phpphp/<\?php/g' {} \;

Please let me know if I can help with this if you have any questions.
Marius van Witzenburg
Posts: 6
Joined: 13. August 2009 20:53
Location: The Netherlands

Return to XAMPP for Mac OS X

Who is online

Users browsing this forum: No registered users and 1 guest