2006-09-26 07:55:21 +00:00
|
|
|
--TEST--
|
|
|
|
Bug #38942 (Double old-style-ctor inheritance)
|
2007-04-12 12:29:48 +00:00
|
|
|
--SKIPIF--
|
|
|
|
<?php extension_loaded('reflection') or die('skip'); ?>
|
2006-09-26 07:55:21 +00:00
|
|
|
--FILE--
|
|
|
|
<?php
|
|
|
|
class foo {
|
|
|
|
public function foo() {}
|
|
|
|
}
|
|
|
|
|
|
|
|
class bar extends foo {
|
|
|
|
}
|
|
|
|
ReflectionClass::export("bar");
|
|
|
|
?>
|
|
|
|
--EXPECTF--
|
|
|
|
Class [ <user> class bar extends foo ] {
|
|
|
|
@@ %sbug38942.php 6-7
|
|
|
|
|
|
|
|
- Constants [0] {
|
|
|
|
}
|
|
|
|
|
|
|
|
- Static properties [0] {
|
|
|
|
}
|
|
|
|
|
|
|
|
- Static methods [0] {
|
|
|
|
}
|
|
|
|
|
|
|
|
- Properties [0] {
|
|
|
|
}
|
|
|
|
|
2006-10-02 08:36:35 +00:00
|
|
|
- Methods [1] {
|
2006-09-26 07:55:21 +00:00
|
|
|
Method [ <user, inherits foo, ctor> public method foo ] {
|
|
|
|
@@ %sbug38942.php 3 - 3
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|