Subversion Repositories prepend

Compare Revisions

No changes between revisions

Regard whitespace Rev 4 → Rev 3

/trunk/phpstan.neon.dist
File deleted
/trunk/php_auto_pre/001-mysql_replacement.php
38,8 → 38,7
global $vts_mysqli;
$ary = explode(':', $server);
$host = $ary[0];
$ini_port = ini_get("mysqli.default_port");
$port = isset($ary[1]) ? (int)$ary[1] : ($ini_port ? (int)$ini_port : 3306);
$port = isset($ary[1]) ? $ary[1] : ini_get("mysqli.default_port");
if (is_null($server)) $port = ini_get("mysqli.default_host");
if (is_null($username)) $port = ini_get("mysqli.default_user");
if (is_null($password)) $port = ini_get("mysqli.default_password");
62,7 → 61,7
$err = mysql_error();
throw new Exception("Called mysql_data_seek() with an erroneous argument.".($err == '' ? '' : " Possible cause: $err"));
}
return $result->data_seek($row_number) !== false;
return $result->data_seek($offset) !== false;
}
 
// Liefert Schema Namen vom Aufruf von mysql_list_dbs
186,7 → 185,7
$err = mysql_error();
throw new Exception("Called mysql_field_flags() with an erroneous argument.".($err == '' ? '' : " Possible cause: $err"));
}
return $result->fetch_field_direct($field_offset)->flags;
return $result->fetch_field_direct($fieldnr)->flags;
}
 
// Liefert die Länge des angegebenen Feldes
195,7 → 194,7
$err = mysql_error();
throw new Exception("Called mysql_field_len() with an erroneous argument.".($err == '' ? '' : " Possible cause: $err"));
}
return $result->fetch_field_direct($field_offset)->length;
return $result->fetch_field_direct($fieldnr)->length;
}
 
// Liefert den Namen eines Feldes in einem Ergebnis
354,8 → 353,7
global $vts_mysqli;
$ary = explode(':', $server);
$host = $ary[0];
$ini_port = ini_get("mysqli.default_port");
$port = isset($ary[1]) ? (int)$ary[1] : ($ini_port ? (int)$ini_port : 3306);
$port = isset($ary[1]) ? $ary[1] : ini_get("mysqli.default_port");
if (is_null($server)) $port = ini_get("mysqli.default_host");
if (is_null($username)) $port = ini_get("mysqli.default_user");
if (is_null($password)) $port = ini_get("mysqli.default_password");
/trunk
Property changes:
Deleted: svn:ignore
-.phpstan.tmp
-