Code
- GenFunctions.php ➔ iin_array()
- GenFunctions.php ➔ strtoupper_safe()
- GenFunctions.php ➔ in_string()
- GenFunctions.php ➔ in_array_recursive()
- GenFunctions.php ➔ rglob()
- GenFunctions.php ➔ checkExclusion()
- GenFunctions.php ➔ outputText()
- GenFunctions.php ➔ pecho()
- GenFunctions.php ➔ cecho()
- GenFunctions.php ➔ getTextDiff()
- GenFunctions.php ➔ getSiteObject()
- GenFunctions.php ➔ initPage()
- GenFunctions.php ➔ initUser()
- GenFunctions.php ➔ initImage()
- GenFunctions.php ➔ mb_strlen()
- GenFunctions.php ➔ mb_substr()
- GenFunctions.php ➔ mb_substr_split_unicode()
- GenFunctions.php ➔ iconv()
- GenFunctions.php ➔ istainted()
- GenFunctions.php ➔ taint()
- GenFunctions.php ➔ untaint()
Instead of super-globals, we recommend to explicitly inject the dependencies of your class. This makes your code less dependent on global state and it becomes generally more testable: