Hello, is it possible to check if a variable declared as "private"? I do not want to use reflection api in this case...
<?php class MyClass { private $var = "something"; } $obj = new MyClass(); // something like this would be nice... $isPrivate = isPrivate($obj, "var"); ?> best regards, vivi -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php