Hello,

It's seems to be allowed to add a new property (a member ?) to an object
instance in both PHP 4 and 5.
For example:
**************************
class Test {
  var $Prop1 = 'anything';
}
$MyObj = new Test;
$MyObj->Prop2 = 'hello';
**************************

But I can't found any documentation saying that it's offcially supported or
not.
Do you have any information about this ?
Do you often use added properties ?

---------------------
Skrol29
www.tinybutstrong.com
---------------------

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to