|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2002-03-26 05:45 UTC] f dot vulto at re-base dot com
|
|||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Sun Oct 26 16:00:01 2025 UTC |
Using the following scriptfile 'test.php': <?php define('RS_FUNCTION' , 'x'); define('RS_FUNCTION_PATH', 'x'); define('RS_FUNCTIONPATH' , 'x'); define('RS_TEST' , 'x'); ?> <html> <head><title>RS_FUNCTIONPATH</title></head> <body> RS_FUNCTION: <?php print constant('RS_FUNCTION'); ?><br> RS_FUNCTION_PATH: <?php print constant('RS_FUNCTION_PATH'); ?><br> RS_FUNCTIONPATH: <?php print constant('RS_FUNCTIONPATH'); ?><br> RS_TEST: <?php print constant('RS_TEST'); ?><br> </body> </html> One would expect the following output at all times: RS_FUNCTION: x RS_FUNCTION_PATH: x RS_FUNCTIONPATH: x RS_TEST: x But when I keep refreshing the page (holding the F5-key down in Internet Explorer), within 30 seconds the constant 'RS_FUNCTIONPATH' starts changing value to 'csmFirstond' or 'PATHNCTIONPAT': RS_FUNCTION: x RS_FUNCTION_PATH: x RS_FUNCTIONPATH: PATHNCTIONPAT RS_TEST: x It's only the constant with the exact name 'RS_FUNCTIONPATH'; the others constants don't change but are there for comparison. I haven't been able to reproduce this problem on FreeBSD/PHP 4.0.6 or Windows 98/PHP 4.1.1. The PHP configuration on the offending FreeBSD server is this: './configure' '--with-mysql=/system/mysqld' '--with-apache=../apache_1.3.23/' '--enable-track-vars' '--enable-ftp' '--enable-xslt' '--with-xslt-sablot' '--with-sybase=/usr/local/freetds' '--with-dom' '--with-zlib-dir=/usr/include/' Freddy Vulto