<?php $string = 'FOOBAR'; echo $string . '<br>'; if (stristr($string, 'hubu')) { tubu(); } echo $string; ?> outputs FOOBAR foobar This can't be the intended behaviour, can it? -- Sebastian Bergmann Measure Traffic & Usability http://sebastian-bergmann.de/ http://phpOpenTracker.de/ -- PHP Development Mailing List <http://www.php.net/> To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]
- Re: [PHP-DEV] stristr() overwrites haystack Sebastian Bergmann
- Re: [PHP-DEV] stristr() overwrites haystack Sterling Hughes
- Re: [PHP-DEV] stristr() overwrites haystack Rasmus Lerdorf
- Re: [PHP-DEV] stristr() overwrites haystack Sterling Hughes