Opt for PHP full tags instead of short ones


In the search of some scripts in the net, I found that a lot of them contained ugly code. By ugly, I mean code that is not well-structured and has bad writing forms. The use of short tags over full tags was the one that pissed me off more; I had to tweak my PHP settings to make them work.

So what I recommend and it’s of course recommended by a lot of PHP developers, is to use full PHP tags. There is one more thing apart from annoying people with short tags: it can cause conflicts with XML parsers.

Full Tag (GOOD)

  //Good form

Short Tag (BAD)


I just wanted to share this with you so you take it in consideration the next time you’re coding. Although I don’t recommend the use of short tags because most of my code is sold or just for other people, some developers may prefer using them because of speed, either of typing or code processing, and because they probably will be the only ones that will use that code.

So I guess it’s up to you whether to use them or not.

Have a great day!



Looking for quality ClipBucket hosting? Try out Arvixe and you won’t be disappointed.

Tags: , , , , , , | Posted under Internet, Linux Usability, Programming/Coding | RSS 2.0

Author Spotlight

Richi González

I started programming when I was 12. I'm a Developer and have been working with the Clip-Bucket script since it came out. I'm the Liaison between Arvixe and Clip-Bucket, so anything you need regarding Clip-Bucket or any particular computer-related subject you need, let me know so I can assist you.

Leave a Reply

Your email address will not be published. Required fields are marked *