note 70726 added to function.win32-query-service-status
| From: | mnemotronic at netscape dot net | Date: | Wed, 25 Oct 2006 14:30:24 +0000 |
| Subject: | note 70726 added to function.win32-query-service-status | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-119101@lists.php.net to get a copy of this message | ||
If the service specified is non-existant, "win32_query_service_status" seems to return an
integer, not the expected FALSE value:
$svcStatus=win32_query_service_status ('_bogons_');
echo $svcStatus ;
prints 1060
-- This is for xampp PHP; v5.1.6
----
Server IP: 64.71.164.2
Probable Submitter: 24.8.188.135
----
Manual Page -- http://www.php.net/manual/en/function.win32-query-service-status.php
Edit -- https://master.php.net/note/edit/70726
Del: integrated -- https://master.php.net/note/delete/70726/integrated
Del: useless -- https://master.php.net/note/delete/70726/useless
Del: bad code -- https://master.php.net/note/delete/70726/bad+code
Del: spam -- https://master.php.net/note/delete/70726/spam
Del: non-english -- https://master.php.net/note/delete/70726/non-english
Del: in docs -- https://master.php.net/note/delete/70726/in+docs
Del: other reasons-- https://master.php.net/note/delete/70726
Reject -- https://master.php.net/note/reject/70726
Search -- https://master.php.net/manage/user-notes.php