Function __global->captcha_image
Definitions
sources/captcha.php
- Create an image CATCHA.
- Visibility: public
- Is abstract?: No
- Is static?: No
- Is final?: No
- Returns: array
Parameters
| Name | Type | Passed by reference? | Variadic? | Default | Set | Range | Description |
|---|---|---|---|---|---|---|---|
| $code_needed | string | No | No | required parameter | N/A | N/A | The code |
Returns
- A tuple: the image CAPTCHA, the width, the height
- Type: array
- Set: N/A
- Range: N/A
Preview
Code (PHP)
/**
* Create an image CATCHA.
*
* @param string $code_needed The code
* @return array A tuple: the image CAPTCHA, the width, the height
*/
function captcha_image(string $code_needed) : array
* Create an image CATCHA.
*
* @param string $code_needed The code
* @return array A tuple: the image CAPTCHA, the width, the height
*/
function captcha_image(string $code_needed) : array

