Bug #7859: stringprocessing works different than 3.0.15
| From: | heinisch at vmx dot de | Date: | Fri, 17 Nov 2000 08:00:57 +0000 |
| Subject: | Bug #7859: stringprocessing works different than 3.0.15 | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-38390@lists.php.net to get a copy of this message | ||
From: heinisch@vmx.de
Operating system: Linux SuSE 6.4
PHP version: 3.0.16
PHP Bug Type: Other
Bug description: stringprocessing works different than 3.0.15
After installing 3.0.16 whith GD 1.8.3, freetype support, T1lib, zlib, mysql
I got a problem which sounds so dump, that I thought twice to write it but it appears and is
reproduceable.
I use php to change some data in a MS-excel 97 spreadsheet I use str_replace to change the data.
The whole file is read to the memory (it´s not as big 35k). Now the problem: while changing the
desired data,
php changes also data which shouldn´t and the place is somewhere in the beginning and after the
place
where the data should be changed (this will be changed correctly).
I have a 2nd machine with 3.0.15 to compare with and it does not make this mistake als it worked
until I changed
to 3.0.16
Any Ideas ???
Configuration:
./configure --with-apxs --with-shared-apache --with-apache --with-mysql
--with-pgsql-dir=/usr/lib/pgsql --with-zlib
--enable-sysvshm=yes --enable-sysvsem=yes --enable-track-vars=yes --enable-magic-quotes=yes
--enable-bcmath=yes
--enable-discard-path=yes --with-jpeg-dir=/download/jpeg-6b --with-t1lib-dir=/download/T1-1.0.1/lib/
--enable-t1lib=yes
Machine: Intel Pentium double processor
SuSE Linux 6.4 (i386) Kernel 2.2.14 Apache Version: Apache/1.3.12 Apache Release: 10312100
Apache API Version: 19990320
PHP compiled as module
Zlib support active (compiled with 1.1.3, linked with 1.1.3).