Init Repo

This commit is contained in:
root
2019-09-06 23:53:10 +08:00
commit f0ef89dfbb
7905 changed files with 914138 additions and 0 deletions

13
vendor/swoole/examples/reflection_test.php vendored Executable file
View File

@ -0,0 +1,13 @@
<?php
$Ref_swoole_server = new ReflectionClass('swoole_server');
$methods = $Ref_swoole_server->getMethods();
foreach($methods as $method) {
echo "----------------------------------------" .PHP_EOL;
echo "method name : " . $method->name . PHP_EOL;
echo "----------------------------------------" . PHP_EOL;
$method = $Ref_swoole_server->getMethod($method->name);
$params = $method->getParameters();
print_r($params);
}