(PECL radius >= 1.1.0)
radius_put_int — 附加整數屬性
radius_handle
RADIUS 資源。
type
屬性類型。
value
屬性值。
options
屬性選項的位元遮罩。可用的選項包括 RADIUS_OPTION_TAGGED
和 RADIUS_OPTION_SALT
。
tag
版本 | 描述 |
---|---|
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;
}
?>