Пример #1
0
$t2->method3($num);
echo "=============\r\n";
$t2->method4("%s,%s,%s", 1, 2, 3);
echo "=============\r\n";
$t2 = NULL;
echo "=============\r\n";
$t3->method1(334);
echo "=============\r\n";
$t3->method2(333);
echo "=============\r\n";
$t3->method3(336);
echo "=============\r\n";
$t3 = NULL;
echo "=============\r\n";
base_test::static_method();
echo "=============\r\n";
test::static_method();
echo "=============\r\n";
test2::static_method();
echo "=============\r\n";
$ref = new ReflectionClass('basics');
Reflection::export($ref);
echo "=============\r\n";
$ref = new ReflectionClass('base_test');
Reflection::export($ref);
echo "=============\r\n";
$ref = new ReflectionClass('test');
Reflection::export($ref);
echo "=============\r\n";
$ref = new ReflectionClass('test2');
Reflection::export($ref);