e key
'array_key' from "$some_array"? Not only that, but I want the class to
be accessable as "$testclass->just" aswell!
Is that possible? Examples are welcome.
Thanks in advance,
Yotam Ofek!
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Jason Barnett wrote:
Yotam Ofek wrote:
I would like to create an object like this:
class TestClass {
private $some_array;
public $just;
public $some;
public $public;
public $vars;
}
?>
Is it possible, through SPL, to make the class accessible as
"$testclass[
2 matches
Mail list logo