Annotation of embedaddon/php/ext/reflection/tests/bug38942.phpt, revision 1.1
1.1 ! misho 1: --TEST--
! 2: Bug #38942 (Double old-style-ctor inheritance)
! 3: --FILE--
! 4: <?php
! 5: class foo {
! 6: public function foo() {}
! 7: }
! 8:
! 9: class bar extends foo {
! 10: }
! 11: ReflectionClass::export("bar");
! 12: ?>
! 13: --EXPECTF--
! 14: Class [ <user> class bar extends foo ] {
! 15: @@ %sbug38942.php 6-7
! 16:
! 17: - Constants [0] {
! 18: }
! 19:
! 20: - Static properties [0] {
! 21: }
! 22:
! 23: - Static methods [0] {
! 24: }
! 25:
! 26: - Properties [0] {
! 27: }
! 28:
! 29: - Methods [1] {
! 30: Method [ <user, inherits foo, ctor> public method foo ] {
! 31: @@ %sbug38942.php 3 - 3
! 32: }
! 33: }
! 34: }
FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>