Parse error: syntax error, unexpected 'während' (T_WHILE)

Kann ich nicht, diesen Fehler zu beheben:

Parse error: syntax error, unexpected 'while' (T_WHILE) in /xyz/xyz.php on line 76

Ich bin mit php 5.4.4

Jemand helfen könnte?

Den xyz.php 74-96 Linien:

if (( function_exists( 'get_magic_quotes_gpc' ) &&    get_magic_quotes_gpc(  ) )) {
    $process = array( &$_GET, &$_POST, &$_COOKIE, &$_REQUEST );
    $val = while (list($key, $val) = each($process)) {;
        [0];
        $key = ;

        if () {
            foreach ($val as $k => $v) {
                unset( $process[$key][$k] );

                if (is_array( $v )) {
                    $process[$key][stripslashes( $k )] = $v;
                    $process[] = &$process[$key][stripslashes( $k )];

                    continue;
                }

                $process[$key][stripslashes( $k )] = stripslashes( $v );
            }
        }

        unset( $$process );
    }
  • Ihre syntax für die while-Schleife ist seltsam - warum sind Sie versuchen, ordnen Sie es mit $val? Was sind [0]; und $key = ; versucht, zu tun?
  • Dafuq ist dieser code?
  • Viele syntax-Fehler.
InformationsquelleAutor user3108175 | 2013-12-16
Schreibe einen Kommentar