radius_put_int

Attaches an integer attribute

&reftitle.description; `bool` `radius_put_int` `resource` `radius_handle` `int` `type` `int` `value` `int` `options` 0 `int` `tag`

Attaches an integer attribute to the current RADIUS request.

&radius.request.required;
&reftitle.parameters;

&radius.parameter.handle; &radius.parameter.attribute-type;

`value`

- The attribute value.

&radius.parameter.options; &radius.parameter.tag;
&reftitle.returnvalues;

&return.success;

&reftitle.changelog;

&Version; | &Description;
PECL radius 1.3.0 | The `options` and `tag` parameters were added.

&reftitle.examples;

### `radius_put_int` example

    <?php
    if (!radius_put_int($res, RAD_FRAMED_PROTOCOL, RAD_PPP)) {
       echo 'RadiusError:' . radius_strerror($res). "\n<br />";
       exit;
    }
    ?>

&reftitle.seealso;

- `radius_put_string`
- `radius_put_vendor_int`
- `radius_put_vendor_string`