Home » Networking » Net_MPD » Bug #9896
ping gives false
Details
| Submitted | 2007-01-20 23:22 UTC |
|---|---|
| From | remiss at gmail dot com |
| Assigned | itrebal |
| Status | Closed |
| Package | Net_MPD |
| PHP Version | 5.1.0 |
| OS | linux |
| Roadmaps | (Not assigned) |
Comments
[2007-01-20 23:22 UTC] remiss at gmail dot com
Description:
------------
ping always give false
Test script:
---------------
if($pl->ping())
echo "pong";
else echo "fail";
Expected result:
----------------
pong
Actual result:
--------------
fail
the problem is that ping is comparing against an array instead of just returning result