ID:               29505
 Updated by:       [EMAIL PROTECTED]
 Reported By:      stefan at hotpaenz dot de
-Status:           Open
+Status:           Closed
 Bug Type:         Zend Engine 2 problem
 Operating System: *
 PHP Version:      5.0.0
 Assigned To:      helly
 New Comment:

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.




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

[2004-08-03 12:16:55] stefan at hotpaenz dot de

Description:
------------
The get_class_vars() function doesn't work correctly when 
the class contains an array. 
 

Reproduce code:
---------------
<?php

class ClassA {
    var $var=array();
}

$var=get_class_vars('ClassA');
var_dump($var);


Expected result:
----------------
array(1) { 
  ["var"]=> 
  array(0) { 
  } 
} 
 

Actual result:
--------------
array(1) { 
  ["var"]=> 
  UNKNOWN:0 
} 
 


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


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

Reply via email to