mirror of
https://github.com/php/php-src.git
synced 2024-10-13 20:42:38 +00:00
def1424b12
@Added "make test" target in pear/ and added some regression tests (Stig) Also fixed a bug in the PEAR class that was discovered when testing :-)
17 lines
243 B
C++
17 lines
243 B
C++
<?php // -*- C++ -*-
|
|
|
|
require_once "PEAR.php";
|
|
|
|
class __TestPEAR1 extends PEAR {
|
|
function __TestPEAR1() {
|
|
$this->_debug = true;
|
|
$this->PEAR();
|
|
}
|
|
}
|
|
|
|
print "test class __TestPEAR1\n";
|
|
$o = new __TestPEAR1;
|
|
var_dump(get_class($o));
|
|
|
|
?>
|