ID:               33389
 Updated by:       [EMAIL PROTECTED]
 Reported By:      antony at zend dot com
-Status:           Assigned
+Status:           Closed
 Bug Type:         Scripting Engine problem
 Operating System: *
 PHP Version:      5CVS-2005-06-19
 Assigned To:      helly
 New Comment:

Seems to be fixed, I can't reproduce any of the things anymore which
Dmitry mentioned. (and we don't really care if it exists in PHP_5_0)



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

[2005-06-21 18:00:38] [EMAIL PROTECTED]

assigned back to Marcus.


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

[2005-06-21 16:01:43] [EMAIL PROTECTED]

The bug is not completly fixed.

1) It is still exists in PHP_5_0.

2) The test file in HEAD fails because constant is substituted by its
value.

3) Array argument give a memory leak

<?php
class Test {
  function foo($arg=array(a=>b)) {}
} 
Reflection::export(new ReflectionClass('Test'));
?>

/home/dmitry/php/php5/Zend/zend.c(214) :  Freeing 0x084384CC (6 bytes)


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

[2005-06-20 03:38:24] [EMAIL PROTECTED]

This bug has been fixed in CVS.

Snapshots of the sources are packaged every three hours; this change
will be in the next snapshot. You can grab the snapshot at
http://snaps.php.net/.
 
Thank you for the report, and for helping us make PHP better.



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

[2005-06-18 03:08:31] [EMAIL PROTECTED]

constants are shown by their value, not name (expected?)
booleans are not shown at all.


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

[2005-06-18 02:00:53] [EMAIL PROTECTED]

This only happens when there is an optional parameter in a method and
ONLY if that optional value for the parameter is null or any constant.

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

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/33389

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

Reply via email to