initial release
This intial release provides following features:
- the array shape of results can be inferred for
PDOStatementandmysqli_result- .. when the query string can be resolved at analysis time. This is even possible for queries containing php-variables, as long as their typ is known in most cases.
- builtin we support
mysqli_query,mysqli->query,PDO->queryandPDO->prepare
PDO->prepareknows the array shape of the returned results and therefore can return a genericPDOStatementmysqli->queryknows the array shape of the returned results and therefore can return a genericmysqli_resultSyntaxErrorInQueryMethodRulecan inspect sql queries and detect syntax errors -SyntaxErrorInQueryFunctionRulecan do the same for functions- builtin is query syntax error detection for
mysqli_query,mysqli->query,PDO->queryandPDO->prepare
- builtin is query syntax error detection for
mysqli_real_escape_stringandmysqli->real_escape_stringdynamic return type extensionspdo->quotedynamic return type extension
see the unit-testsuite to get a feeling about the current featureset.
Its really early days... and this libs has a few rough edges.