diff options
author | SVN Migration <svn@php.net> | 2003-06-29 18:26:24 +0000 |
---|---|---|
committer | SVN Migration <svn@php.net> | 2003-06-29 18:26:24 +0000 |
commit | 54715b27657f09025ca2d59b6caae0901fcaed3c (patch) | |
tree | a30b6db1ed69a8f48fd70712cff673d2fca9b0a4 /ext/standard/tests/aggregation/aggregate_properties.phpt | |
parent | 082a1489d20686763496ae09b128c2cdfa9e5637 (diff) | |
download | php-git-php-5.0.0b1.tar.gz |
This commit was manufactured by cvs2svn to create tag 'php_5_0_0b1'.php-5.0.0b1
Diffstat (limited to 'ext/standard/tests/aggregation/aggregate_properties.phpt')
-rw-r--r-- | ext/standard/tests/aggregation/aggregate_properties.phpt | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/ext/standard/tests/aggregation/aggregate_properties.phpt b/ext/standard/tests/aggregation/aggregate_properties.phpt new file mode 100644 index 0000000000..2a976c71a7 --- /dev/null +++ b/ext/standard/tests/aggregation/aggregate_properties.phpt @@ -0,0 +1,19 @@ +--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 |