PEAR is discontinued

This is a static archive preserving historical releases and metadata. No new packages or updates will be published. For updates to existing packages, or to publish new packages, please use Composer and Packagist.

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