每次运行php testRabbitMQClient.php
时我都会不断收到此错误
testRMQClientPHP Fatal error: Uncaught Error: Call to undefined function getCredentials() in /home/andrew/git/rabbitmqphp_example/testRabbitMQClient.php:20
Stack trace:
\#0 {main}
thrown in /home/andrew/git/rabbitmqphp_example/testRabbitMQClient.php on line 20
$type = getCredentials($username,$password);