if ((bool)ini_get('register_globals') === true)
{
$superglobals = array('_GET', '_COOKIE', '_FILES', '_POST', '_SERVER', '_ENV');
- foreach ($superglobals AS $global)
+ foreach ($superglobals as $global)
{
if (is_array(${$global}))
{
- foreach (${$global} AS $_key => $_val)
+ foreach (${$global} as $_key => $_val)
{
if (isset(${$_key}))
{
public static function get_debug_list()
{
$output = '<select><option>Debug Notices (' . sizeof(self::$debugInfo) . ')</option>';
- foreach (self::$debugInfo AS $notice)
+ foreach (self::$debugInfo as $notice)
{
$output .= "<option>--- $notice</option>";
}