Joó Ádám wrote:
I haven't heard anything about that yet, however in my opninion it
must _decrease_ performance…

Based on...?

I just thought that it's a higher level thing, so first it must be
replaced with echo, and then interpreted, which would add some minor
decrease in performance (just for the sake of philosophy, of course
it's virtually nothing). Am I wrong? Is it interpreted right away as
an echo without preprocessing?

If you don't want to guess you can always use VLD:

$ php -d enable_short_tags=true -d vld.active=1
<?php echo 'x'; ?>
<? echo 'x'; ?>
<?='x'?>
Branch analysis from position: 0
Return found
filename:       /tmp/-
function name:  (null)
number of ops:  10
compiled vars:  none
line # op fetch ext return operands
-------------------------------------------------------------------------------
   1     0  EXT_STMT
1 ECHO 'x'
         2  NOP
   2     3  EXT_STMT
4 ECHO 'x'
         5  NOP
   3     6  EXT_STMT
7 ECHO 'x'
   4     8  RETURN                                                   1
         9* ZEND_HANDLE_EXCEPTION

xxx



Reply via email to