(PHP 4 >= 4.2.0)
aggregate_properties — Dynamic aggregation of class properties to an object
$object
, string $class_name
)Aggregates all properties defined in a class to an existing object, except for properties whose names start with an underscore character (_) which are considered private to the aggregated class.
object
class_name
没有返回值。