Function __global->_captcha_image_fallback
Definitions
sources/captcha.php
- Fallback image CAPTCHA generation.This is called by captcha_image when noise is disabled or no TTF fonts are available.
- 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)
/**
* Fallback image CAPTCHA generation.This is called by captcha_image when noise is disabled or no TTF fonts are available.
*
* @param string $code_needed The code
* @return array A tuple: the image CAPTCHA, the width, the height
*/
function _captcha_image_fallback(string $code_needed) : array
* Fallback image CAPTCHA generation.This is called by captcha_image when noise is disabled or no TTF fonts are available.
*
* @param string $code_needed The code
* @return array A tuple: the image CAPTCHA, the width, the height
*/
function _captcha_image_fallback(string $code_needed) : array

