1Expected output is 2 3classes: 4 Bar 5 Foo 6 7functions: 8 __construct [Foo] 9 __construct [Bar] 10 method1 [Foo] 11 method1 [Bar] 12 method2 [Foo] 13 14<?php 15 16class Foo { 17 function __construct($a, $b) { 18 // ... 19 } 20 21 function method1($arg) { 22 return 42; 23 } 24 25 function method2() { 26 // ... 27 } 28} 29 30class Bar { 31 function __construct () { 32 /* ... */ 33 } 34 35 function method1 () { 36 // ... 37 } 38} 39