(PECL radius >= 1.1.0)
radius_put_int — 附加一个整数属性
radius_handleRADIUS 资源。
type属性类型。
value属性值。
options属性选项的位掩码。可用的选项包括 RADIUS_OPTION_TAGGED 和 RADIUS_OPTION_SALT。
tag属性标签。除非设置了 RADIUS_OPTION_TAGGED 选项,否则忽略此参数。
| 版本 | 描述 |
|---|---|
| PECL radius 1.3.0 | 添加了 options 和 tag 参数。 |
示例 #1 radius_put_int() 示例
<?php
if (!radius_put_int($res, RAD_FRAMED_PROTOCOL, RAD_PPP)) {
echo 'RadiusError:' . radius_strerror($res). "\n<br />";
exit;
}
?>