shorttags

How to enable PHP short tags ?

I have a web application on a Linux server which starts with <? I needed to copy this application to a windows environment and everything is working fine except that an SQL statement is being rendered differently. I don't know if this has to do with the script beginning with <?php instead of <? because I don't know from where to enable ...

enable short open tag without php.ini file

can i enable short open tag with programming without touching any configuration file ...

Why do almost all PHP framework use "<?php echo ... ?>"

The PHP short tag <?= $var ?> has been deprecated for a while. Almost all PHP frameworks use the long form <?php echo $var ?> (e.g., symphony, Yii, Kohana) Smarty is a famous PHP template engine which supports a shorter form {$var} Template engines (like Smarty) are easier for web designer Editing a template shows {$var} instead of sh...

"Compiling" content with short tags to var, without eval()

To start off, let me clear the air by saying we are aware of the dis/advantages to using short tag syntax in PHP. That is not what this question is about. Is there a way to "include" a file containing short tag code, into a variable, and have PHP actually parse the code? include/require obviously do not provide the data in a workable f...

php short tags REALLY being deprecated in php6?

Possible Duplicate: PHP6: Is short_open_tag removed or deprecated or neither? I've searched here, php.net, the interwebs, et al. I can find reports from reliable sources — straight from the developers mouths — that say short tags will be deprecated in PHP6, and that only the asp short tags will be deprecated. Is there a fina...

How do i convert php short tag to full one

hi guys, I am to edit a project of another guy who used php short tag everywhere in his script. I have short tag disabled in my server. I think converting all the short tags instead of enabling short tag in my server is the better one. So which way to go better: 1.) Converting All short tag? 2.) Enabling short tag in my server? 3.) ...