Dependency Graph

Dependency Graph
related to related to child of child of duplicate of duplicate of

View Issue Details

IDProjectCategoryView StatusLast Update
0006419phpList 3 applicationGeneralpublic18-02-08 14:06
Reporterhakan Assigned To 
Status resolvedResolutionfixed 
Product Version2.10.2 
Target Version2.10.7Fixed in Version2.10.4 
Summary0006419: Short tags are not supported on everywhere

the files:
tree lists/admin/commonlib/
|-- lib
| |-- accesscheck.php
| |-- errorlib.php
| |-- interfacelib.php
| |-- magic_quotes.php
| |-- oldphp_vars.php
| `-- userlib.php
`-- pages
    |-- attributes.php
    |-- dbcheck.php
    |-- importcsv.php
    |-- user.php
    |-- usermgt.php
    `-- users.php

have short open tags "<?" instead of "<?php".

For better portability "<?php" should be used, because short tags are not supported on every installation of PHP.

See also:

Regards, Hakan
TagsNo tags attached.


related to 0003721 closed phplist 2.10.x 
related to 0001175 resolvedmichiel Use of short tags 
related to 0006682 resolved PHP Short Tags 



19-05-06 02:16

administrator   ~0013807

you can use "scripts/" to make the conversion. Sometimes I forget to do that.


06-06-06 12:30

reporter   ~0014177

Why not skip the usage of short open tags and replace all "<?" with "<?php"?
It would make PHPlist more portable.


16-07-07 20:22


Replaced all <? by <?php
Replaced all <?= by <?php echo