ID: 26775 Updated by: [EMAIL PROTECTED] Reported By: bestmischmaker at web dot de Status: Bogus Bug Type: Zend Engine 2 problem Operating System: Windows 2000 PHP Version: 5CVS-2004-01-03 (dev) New Comment:
Actually, this was not in the docs. I just fixed this. Previous Comments: ------------------------------------------------------------------------ [2004-01-03 07:59:07] [EMAIL PROTECTED] Thank you for taking the time to write to us, but this is not a bug. Please double-check the documentation available at http://www.php.net/manual/ and the instructions on how to report a bug at http://bugs.php.net/how-to-report.php print_r() should show em all. ------------------------------------------------------------------------ [2004-01-03 07:43:52] bestmischmaker at web dot de Description: ------------ Hy @ all i have a Problem with var_dump() i have write a class with private and public class vars... if i make a var_dump of this class to control my dev.....i only get the public vars..... is that a bug or is that what you want........ Reproduce code: --------------- class EMAIL { public $err_no,$err_msg; private $smtp = FALSE; private $use_sockets = FALSE; function __construct( $type ) { $this->smtp = $type; } } $email = new EMAIL( TRUE ); var_dump($email); Expected result: ---------------- return off all vars !!!! Actual result: -------------- only return public vars.... ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=26775&edit=1