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:      5.0.3
 New Comment:

Thank you for this bug report. To properly diagnose the problem, we
need a short but complete example script to be able to reproduce
this bug ourselves. 

A proper reproducing script starts with <?php and ends with ?>,
is max. 10-20 lines long and does not require any external 
resources such as databases, etc.

If possible, make the script source available online and provide
an URL to it here. Try to avoid embedding huge scripts into the report.




Previous Comments:
------------------------------------------------------------------------

[2005-01-21 15:15:04] ivar at stvk dot no

Description:
------------
zend_make_printable_zval:

Before returning with *use_copy=1, this function assumes that the
preceding code has successfully converted the value to a sting, and
therefore sets expr_copy->type = IS_STRING.

If the original value IS_OBJECT, this function relies on any 3rd party
cast handler to successfully return a string.
Some libraries have been observed to break this rule, and return a
value only initialized by ZVAL_NULL. This makes the system try to print
a string from a garbage pointer.



------------------------------------------------------------------------


-- 
Edit this bug report at http://bugs.php.net/?id=31635&edit=1

Reply via email to