- PHP 手册
- 函数参考
- 其它服务
- YP/NIS
- YP/NIS 函数
yp_order
(PHP 4, PHP 5 < 5.1.0)
yp_order — Returns the order number for a map
说明
yp_order ( string$domain
, string $map
) : int
Gets the order number for a map.
参数
-
domain
-
-
map
-
返回值
Returns the order number for a map or FALSE
on error.
范例
Example #1 Example for the NIS order
<?php
$number = yp_order($domain, $mapname);
echo "Order number for this map is: " . $number;
?>
参见
- yp_get_default_domain() - Fetches the machine's default NIS domain
User Contributed Notes
There are no user contributed notes for this page.官方地址:https://www.php.net/manual/en/function.yp-order.php