note 70726 modified in function.win32-query-service-status by danbrown
| From: | danbrown@php.net | Date: | Tue, 16 Jun 2009 18:34:52 +0000 |
| Subject: | note 70726 modified in function.win32-query-service-status by danbrown | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-156936@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:
<?php
$svcStatus=win32_query_service_status ('_bogons_');
echo $svcStatus ;
?>
prints 1060
-- This is for xampp PHP; v5.1.6
--was--
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
http://php.net/manual/en/function.win32-query-service-status.php