RE: [PEAR-DEV] Define Bug
| From: | Robert Kelly | Date: | Thu, 12 Jul 2001 14:05:17 +0000 |
| Subject: | RE: [PEAR-DEV] Define Bug | ||
| Groups: | php.pear.dev | ||
| Request: | Send a blank email to pear-dev+get-662@lists.php.net to get a copy of this message | ||
ID: 11990
Updated by: sniper
Reported By: blalor@insight.com
Old Status: Open
Status: Feedback
Old Bug Type: *Programming Data Structures
Bug Type: Scripting Engine problem
Operating System: RedHat Linux 6.2
PHP Version: 4.0.5
New Comment:
Would it be possible to test this same script with PHP 4.0.6? I don't
remember anyone reporting anything like this before and I have never
experienced anything like this myself.
Also, if you could create a short bug complete script
which could be used to reproduce this, it would
be a lot easier to debug this issue.
And what was your configure line used to configure PHP ?
--Jani
Previous Comments:
------------------------------------------------------------------------
[2001-07-09 18:13:11] blalor@insight.com
We're seeing severe data corruption problems with defines.
For example, the following snippet is from a PHP script that uses defined
constants to build up a filename. The resulting variable contains junk
data.
no exist :ieldp/cðÃ<Äclasssupport/getproductlist.php
Warning: Failed opening 'ield' for inclusion
(include_path='.:/u/php:/u/htdocs') in /u/php/corelib/sp/procedure.php on
line 57
no exist :ieldp/cðÃ<Äclasssupport/getfullproduct.php
Warning: Failed opening 'ield' for inclusion
(include_path='.:/u/php:/u/htdocs') in /u/php/corelib/sp/procedure.php on
line 57
PHP doesn't seem to crash.
------------------------------------------------------------------------
ATTENTION! Do NOT reply to this email!
To reply, use the web interface found at
http://bugs.php.net/?id=11990&edit=1
-----Original Message-----
From: Robert Kelly
Sent: Wednesday, July 11, 2001 5:30 PM
To: 'Tomas V.V.Cox'; Robert Kelly
Cc: pear-dev@lists.php.net
Subject: RE: [PEAR-DEV] Define Bug
There's a bug reported in bugs.php.net that develops with corrupt defines.
I've seen this behavior on other boxes (but not mine) where if you set
_debug to true in the constructor of an object, some defines become
corrupted.
-----Original Message-----
From: Tomas V.V.Cox [mailto:cox@idecnet.com]
Sent: Wednesday, July 11, 2001 12:50 PM
To: Robert Kelly
Subject: Re: [PEAR-DEV] Define Bug
On Wednesday 11 July 2001 19:46, you wrote:
> Has anyone discovered setting
>
> $this->_debug = true;
>
> inside a constructor triggers the corrupt define bug but
>
> $this->_debug = false;
>
> fixes it?
I don't understand the problem, could you give me some extra
information on it?
Tomas V.V.Cox