for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
These results are based on our legacy PHP analysis, consider migrating to our new PHP analysis engine instead. Learn more
<?php
/**
*
* Module: Soapbox
* Version: v 1.5
* Release Date: 23 August 2004
* Author: hsalazar
* Licence: GNU
*/
use Xmf\Request;
global $xoopsModule;
global
Instead of relying on global state, we recommend one of these alternatives:
function myFunction($a, $b) { // Do something }
class MyClass { private $a; private $b; public function __construct($a, $b) { $this->a = $a; $this->b = $b; } public function myFunction() { // Do something } }
include __DIR__ . '/../../mainfile.php';
require_once __DIR__ . '/class/utility.php';
$myts = MyTextSanitizer:: getInstance();
Instead of relying on
global
state, we recommend one of these alternatives:1. Pass all data via parameters
2. Create a class that maintains your state