ID: 31635
Updated by: [EMAIL PROTECTED]
Reported By: ivar at stvk dot no
-Status: Open
+Status: Feedback
Bug Type: Zend Engine 2 problem
Operating System: Irrelevant (WinXP)
PHP Version: 5CVS-2005-03-01
New Comment:
You're still pasting some C source code. Can you please explain what
you want to say? Is that last comment a patch or reproduce code? (never
heard of 'diff' utility?)
Previous Comments:
------------------------------------------------------------------------
[2005-03-01 11:18:55] ivar at stvk dot no
ZEND_API void zend_make_printable_zval(zval *expr, zval *expr_copy, int
*use_copy)
{
...
...
case IS_OBJECT:
{
...
...
if (Z_OBJ_HANDLER_P(expr, cast_object)) {
if( (Z_OBJ_HANDLER_P(expr, cast_object)(expr, expr_copy, IS_STRING, 0
TSRMLS_CC) == SUCCESS) &&
(expr_copy->type == IS_STRING)) {
break;
}
}
------------------------------------------------------------------------
[2005-03-01 10:12:39] [EMAIL PROTECTED]
Please provide a patch or at least reproduce code that doesn't require
Windoze.
------------------------------------------------------------------------
[2005-03-01 09:55:34] ivar at stvk dot no
There seems to be no change in the latest (5.1.x) snapshot, compiled 1
march 2005 7:55 GMT.
------------------------------------------------------------------------
[2005-02-28 20:59:08] [EMAIL PROTECTED]
Please try using this CVS snapshot:
http://snaps.php.net/php5-latest.tar.gz
For Windows:
http://snaps.php.net/win32/php5-win32-latest.zip
------------------------------------------------------------------------
[2005-01-31 08:49:57] ivar at stvk dot no
The only way I am able to reproduce this behavior is using COM, but the
nature of the bug is not directly linked to the COM libraries itself.
Because of this, I am unable to make a test case that is platform
independent and that does not require external resources.
I will try just once more:
Create a Visual Basic ActiveX DLL project. Name the project
'NullClass', and name the class 'Null'. Add this single function to the
class code:
Public Property Get Value()
Value = Null
End Property
Place the cursor inside the function, Click the menu "Tools",
"Procedure Properties", "Advanced", and select "User Interface
Default". Click "File", "Make NullClass.dll".
Then run this PHP script:
<?php
$Obj = new COM('NullClass.Null');
echo $Obj;
?>
EXPECTED: The script does not output anything, because the object
contains a NULL value.
ACTUAL: The script either outputs garbage or causes an Access Violation
message.
------------------------------------------------------------------------
The remainder of the comments for this report are too long. To view
the rest of the comments, please view the bug report online at
http://bugs.php.net/31635
--
Edit this bug report at http://bugs.php.net/?id=31635&edit=1