php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #7859 stringprocessing works different than 3.0.15
Submitted: 2000-11-17 03:00 UTC Modified: 2002-06-16 08:23 UTC
From: heinisch at vmx dot de Assigned:
Status: Not a bug Package: Other
PHP Version: 3.0.16 OS: Linux SuSE 6.4
Private report: No CVE-ID: None
 [2000-11-17 03:00 UTC] heinisch at vmx dot de
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).

Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2002-06-16 08:23 UTC] sander@php.net
Thank you for taking the time to report a problem with PHP.
Unfortunately, PHP 3 is no longer supported. Please download
the latest version of PHP 4 from http://www.php.net/downloads.php

If you are able to reproduce the bug with one of the latest
versions of PHP, please change the PHP version on this bug report
to the version you tested and change the status back to "Open".
Again, thank you for your continued support of PHP.
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Wed Oct 30 22:01:28 2024 UTC