i'd like also to have a way to add anonymous func to null object


$obj = (object) NULL;
// or tha same - $obj = new stdClass();

now i can add properties to this object


$value = 'string';
$obj->properties = $value;

but i cant add methods like this


$obj->method = create_function('','return 'this is class method';');

it will be very use full to create objects on fly in this way.

Sorry, comments are closed for this post. If you have any further questions or comments, feel free to send them to me directly.
99热这里只有精品国产,免费99精品国产自在现线,99国产这里有精品视频