vexsoftware/minequery-php — pull request #5 by hakre (2012-08-04 19:07:33+00:00)
Title: Demonstrate that no players lead to error.

You have an error in your code that becomes visible if a server is queried that has no players.

This problem was discussed at stackoverflow: [If Array Of Players Is Empty, Then Echo “No Players Online”](http://stackoverflow.com/q/11807495/367456)

This pull request makes the remote request testable by extracting a function for the remote request and making it configurable.

It also adds a test that demonstrates the problem.