ID:               21497
 User updated by:  [EMAIL PROTECTED]
 Reported By:      [EMAIL PROTECTED]
 Status:           Bogus
 Bug Type:         Scripting Engine problem
 Operating System: RedHat Linux 6.2
 PHP Version:      4.3.0
 New Comment:

That does fix the problem, but enabling short open tags shouldn't
invalidate properly formatted processing instructions for something
other than PHP.

In addition, this cannot be altered or disabled by ini_set() from a PHP
script (perhaps a security risk?) at run-time.


Previous Comments:
------------------------------------------------------------------------

[2003-01-07 13:17:31] [EMAIL PROTECTED]

Disable short_open_tags in your php.ini and the problem will go away.

------------------------------------------------------------------------

[2003-01-07 13:15:12] [EMAIL PROTECTED]

When using the include(), include_once(), require(), or require_once()
functions, documents beginning with:

<?xml version="1.0"?>

fail to be loaded. I'm guessing this might have to do with PHP trying
to interpret the <?xml as <?php, causing a fatal error. Proper
operation should check for the processing instruction (PI) value of <?,
that is:

<? or <?php

maybe interpreted as PHP, but not,

<?some_other_text

at the very least, not:

<?xml

------------------------------------------------------------------------


-- 
Edit this bug report at http://bugs.php.net/?id=21497&edit=1

Reply via email to