PEAR is archived and read-only

This mirror preserves historical PEAR package releases and metadata so existing references remain available.

Home » Networking » Net_MPD » Bug #9896

ping gives false

Details

Submitted2007-01-20 23:22 UTC
Fromremiss at gmail dot com
Assigneditrebal
StatusClosed
PackageNet_MPD
PHP Version5.1.0
OSlinux
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