ID:               26995
 User updated by:  trobinson at gksystems dot com
 Reported By:      trobinson at gksystems dot com
-Status:           Feedback
+Status:           Open
 Bug Type:         Scripting Engine problem
 Operating System: Windows XP / IIS CGI
 PHP Version:      5.0.0b3 (beta3)
 New Comment:

c:\php> cli\php
<? var_dump(ini_get('short_open_tag')) ?>
^Z
string(0) ""

So same problem with CLI version.
I tried with 4.3.1 on the same machine, and it works correctly.


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

[2004-01-23 02:03:28] [EMAIL PROTECTED]

Does it work when you run the script on command line?


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

[2004-01-21 15:07:05] trobinson at gksystems dot com

var_dump(ini_get('short_open_tag'))

with short_open_tag = Off:

  string(0) ""

with short_open_tag = On:

  string(1) "1"

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

[2004-01-21 15:01:26] [EMAIL PROTECTED]

what does var_dump(ini_get('short_open_tag')) say? 

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

[2004-01-21 14:58:11] trobinson at gksystems dot com

phpinfo() reports the correct php.ini file.
However, regardless of php.ini setting, the following line should NEVER
outout 0. It should either outout 1 or it should not execute at all.

<?= (int) ini_get('short_open_tag') ?>

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

[2004-01-21 14:52:37] [EMAIL PROTECTED]

Please check from phpinfo() output that you're loading the correct
php.ini file.


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

The remainder of the comments for this report are too long. To view
the rest of the comments, please view the bug report online at
    http://bugs.php.net/26995

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

Reply via email to