mirror of
https://github.com/php/php-src.git
synced 2024-10-14 21:12:35 +00:00
20 lines
383 B
PHP
20 lines
383 B
PHP
--TEST--
|
|
aggregating all default properties
|
|
--POST--
|
|
--GET--
|
|
--FILE--
|
|
<?php
|
|
include "ext/standard/tests/aggregation/aggregate.lib";
|
|
|
|
$obj = new simple();
|
|
aggregate_properties($obj, 'mixin');
|
|
print implode(',', array_keys(get_object_vars($obj)))."\n";
|
|
print $obj->simple_prop."\n";
|
|
print implode(',', get_class_methods($obj))."\n";
|
|
?>
|
|
--EXPECT--
|
|
I'm alive!
|
|
simple_prop,mix
|
|
100
|
|
simple
|