From: yahikootje at gmail dot com Operating system: Linux 2.6.17-gentoo-r8 PHP version: 6CVS-2006-12-27 (CVS) PHP Bug Type: PHP options/info functions Bug description: ini setting short_open_tag has no effect when using --enable-maintainer-zts
Description: ------------ When compiling PHP with --enable-maintainer-zts, setting the "short_open_tag" and "asp_tag" ini settings in php.ini have no effect. Compiling without --enable-maintainer-zts doesn't this problem. The values that are used for these ini settings (when compiled with --enable-maintainer-zts) are the default values that are set in zend_set_default_compile_time_values() I noticed this issue in PHP-5.2.1RC1, but it is also present in current HEAD (and probably also in older PHP versions). If more information is needed, just ask. Reproduce code: --------------- <?php echo "long open php tags" . PHP_EOL ?> <? echo "short open php tags" . PHP_EOL ?> <% echo "asp open php tag" . PHP_EOL %> with php.ini containing: short_open_tag = Off asp_tags = On Expected result: ---------------- long open php tags <? echo "short open php tags" . PHP_EOL ?> asp open php tag Actual result: -------------- long open php tags short open php tags <% echo "asp open php tag" . PHP_EOL %> -- Edit bug report at http://bugs.php.net/?id=39969&edit=1 -- Try a CVS snapshot (PHP 4.4): http://bugs.php.net/fix.php?id=39969&r=trysnapshot44 Try a CVS snapshot (PHP 5.2): http://bugs.php.net/fix.php?id=39969&r=trysnapshot52 Try a CVS snapshot (PHP 6.0): http://bugs.php.net/fix.php?id=39969&r=trysnapshot60 Fixed in CVS: http://bugs.php.net/fix.php?id=39969&r=fixedcvs Fixed in release: http://bugs.php.net/fix.php?id=39969&r=alreadyfixed Need backtrace: http://bugs.php.net/fix.php?id=39969&r=needtrace Need Reproduce Script: http://bugs.php.net/fix.php?id=39969&r=needscript Try newer version: http://bugs.php.net/fix.php?id=39969&r=oldversion Not developer issue: http://bugs.php.net/fix.php?id=39969&r=support Expected behavior: http://bugs.php.net/fix.php?id=39969&r=notwrong Not enough info: http://bugs.php.net/fix.php?id=39969&r=notenoughinfo Submitted twice: http://bugs.php.net/fix.php?id=39969&r=submittedtwice register_globals: http://bugs.php.net/fix.php?id=39969&r=globals PHP 3 support discontinued: http://bugs.php.net/fix.php?id=39969&r=php3 Daylight Savings: http://bugs.php.net/fix.php?id=39969&r=dst IIS Stability: http://bugs.php.net/fix.php?id=39969&r=isapi Install GNU Sed: http://bugs.php.net/fix.php?id=39969&r=gnused Floating point limitations: http://bugs.php.net/fix.php?id=39969&r=float No Zend Extensions: http://bugs.php.net/fix.php?id=39969&r=nozend MySQL Configuration Error: http://bugs.php.net/fix.php?id=39969&r=mysqlcfg
