HumHub Documentation (unofficial)

ParameterValues

Table of Contents

Classes

ForbiddenGetClassNullSniff
Detect: Passing `null` to `get_class()` is no longer allowed as of PHP 7.2.
ForbiddenStripTagsSelfClosingXHTMLSniff
Since PHP 5.3.4, `strip_tags()` ignores self-closing XHTML tags in allowable_tags
NewArrayReduceInitialTypeSniff
In PHP 5.2 and lower, the `$initial` parameter for `array_reduce()` had to be an integer.
NewFopenModesSniff
Check for valid values for the `fopen()` `$mode` parameter.
NewHashAlgorithmsSniff
Detect the use of newly introduced hash algorithms.
NewHTMLEntitiesEncodingDefaultSniff
As of PHP 5.4, the default character set for `htmlspecialchars()`, `htmlentities()` and `html_entity_decode()` is now `UTF-8`, instead of `ISO-8859-1`.
NewIconvMbstringCharsetDefaultSniff
Detect calls to Iconv and Mbstring functions with the optional `$charset`/`$encoding` parameter not set.
NewIDNVariantDefaultSniff
The default value for the `$variant` parameter has changed from `INTL_IDNA_VARIANT_2003` to `INTL_IDNA_VARIANT_UTS46` in PHP 7.4.
NewNegativeStringOffsetSniff
Detect negative string offsets as parameters passed to functions where this was not allowed prior to PHP 7.1.
NewPackFormatSniff
Check for valid values for the `$format` passed to `pack()`.
NewPasswordAlgoConstantValuesSniff
The constant value of the password hash algorithm constants has changed in PHP 7.4.
NewPCREModifiersSniff
Check for the use of newly added regex modifiers for PCRE functions.
NewProcOpenCmdArraySniff
As of PHP 7.4, `proc_open()` now also accepts an array instead of a string for the command.
NewStripTagsAllowableTagsArraySniff
As of PHP 7.4, `strip_tags()` now also accepts an array of `$allowable_tags`.
RemovedHashAlgorithmsSniff
Detect the use of deprecated and removed hash algorithms.
RemovedIconvEncodingSniff
Detect passing deprecated `$type` values to `iconv_get_encoding()`.
RemovedImplodeFlexibleParamOrderSniff
Passing the `$glue` and `$pieces` parameters to `implode()` in reverse order has been deprecated in PHP 7.4.
RemovedMbstringModifiersSniff
Check for use of deprecated and removed regex modifiers for MbString regex functions.
RemovedMbStrrposEncodingThirdParamSniff
Detect passing `$encoding` to `mb_strrpos()` as 3rd argument.
RemovedNonCryptoHashSniff
Detect usage of non-cryptographic hashes.
RemovedPCREModifiersSniff
Check for the use of deprecated and removed regex modifiers for PCRE regex functions.
RemovedSetlocaleStringSniff
Detect passing a string literal as `$category` to `setlocale()`.

        
On this page

Search results