summaryrefslogtreecommitdiff
path: root/ext/standard/tests/aggregation/aggregation_info.phpt
blob: 8dd943cbccade37564cb1ece5ec7a9983feabb5c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
--TEST--
retrieving aggregation info
--POST--
--GET--
--FILE--
<?php
include "ext/standard/tests/aggregation/aggregate.lib";

$obj = new simple();
aggregate($obj, 'mixin');
print_r(aggregation_info($obj));
?>
--EXPECT--
I'm alive!
Array
(
    [mixin] => Array
        (
            [methods] => Array
                (
                    [0] => mix_it
                )

            [properties] => Array
                (
                    [0] => mix
                )

        )

)