History log of /PHP-8.2/ext/odbc/odbc.stub.php (Results 1 – 25 of 26)
Revision (<<< Hide revision tags) (Show revision tags >>>) Date Author Comments
(<<< Hide modified files)
(Show modified files >>>)
# 43e62aa2 08-Aug-2023 Máté Kocsis

Merge branch 'PHP-8.1' into PHP-8.2

* PHP-8.1:
Fix return type of odbc_data_source()


# 77252afa 08-Aug-2023 Máté Kocsis

Fix return type of odbc_data_source()

# e733ebf3 02-Sep-2022 Máté Kocsis

Add parenthesis around preprocessor conditions in stubs

gen_stub.php concatenates nested #ifs into one #if so let's make sure the semantics remain the same.

# 236fd4ce 20-Jul-2022 Máté Kocsis

Declare ext/odbc constants in stubs (#9045)

# 342e18f1 12-Jul-2022 Tim Düsterhus

Support the actual `#[\SensitiveParameter]` attribute in stubs (#8836)

# e85b17b9 12-Apr-2022 Tim Düsterhus

Mark parameter in ext/odbc as sensitive

# 2920a266 22-Apr-2022 Calvin Buckley

Quote when adding to connection string in (PDO_)ODBC

Because the UID= and PWD= values are appended to the SQLDriverConnect
case when credentials are passed, we have to append them to the

Quote when adding to connection string in (PDO_)ODBC

Because the UID= and PWD= values are appended to the SQLDriverConnect
case when credentials are passed, we have to append them to the string
in case users are relying on this behaviour. However, they must be
quoted, or the arguments will be invalid (or possibly more injected).
This means users had to quote arguments or append credentials to the raw
connection string themselves.

It seems that ODBC quoting rules are consistent enough (and that
Microsoft trusts them enough to encode into the .NET BCL) that we can
actually check if the string is already quoted (in case a user is
already quoting because of this not being fixed), and if not, apply the
appropriate ODBC quoting rules.

This is because the code exists in main/, and are shared between
both ODBC extensions, so it doesn't make sense for it to only exist
in one or the other. There may be a better spot for it.

Closes GH-8307.

show more ...

# 1c07b11b 08-Jul-2021 Nikita Popov

Deprecate odbc_result_all()

Part of https://wiki.php.net/rfc/deprecations_php_8_1.

# af56982a 14-Feb-2021 Máté Kocsis

Generate class entries from stubs for oci8, odbc, openssl, pcntl, pdo, pgsql

Closes GH-6691

# 8e531b5b 13-Oct-2020 Christoph M. Becker

Update ext/odbc parameter names

Closes GH-6303.

# 8d4774a2 12-Oct-2020 Christoph M. Becker

Change parameters types from int to bool

These are typical boolean parameters, so we shouldn't advertize them as
integers. For the `$reverse` parameter that even fixes expectations,

Change parameters types from int to bool

These are typical boolean parameters, so we shouldn't advertize them as
integers. For the `$reverse` parameter that even fixes expectations,
because the `reverse` member is a bitfield of 1 bit, so assigning any
even integer would not set it.

Closes GH-6328.

show more ...

# 439878c8 24-Sep-2020 Christoph M. Becker

Rename $qualifier/$owner params to $catalog/$schema

These have been called qualifier and owner with ODBC 2, but ODBC 3
changed that to catalog and schema, respectively.

Closes G

Rename $qualifier/$owner params to $catalog/$schema

These have been called qualifier and owner with ODBC 2, but ODBC 3
changed that to catalog and schema, respectively.

Closes GH-6210.

show more ...

# 3277cb69 24-Sep-2020 Christoph M. Becker

Remove outdated link to bug report

That bug has been fixed, so no need to keep that link any longer.

# 9b50fd26 17-Sep-2020 Máté Kocsis

Fix UNKNOWN default values in ext/odbc

Closes GH-6154

# 555e7ecc 24-Sep-2020 Christoph M. Becker

Merge branch 'PHP-7.4' into master

* PHP-7.4:
Fix #78470: odbc_specialcolumns() no longer accepts $nullable


# de912821 16-Sep-2020 Máté Kocsis

Display string default values in stubs more uniformly

Settling on using quoted string

# 3e800e99 24-Aug-2020 Máté Kocsis

Move custom type checks to ZPP

Closes GH-6034

# bdacd2ae 01-Aug-2020 Máté Kocsis

Add a few missing types to stubs

# 21cfa03f 05-Apr-2020 Máté Kocsis

Generate function entries for another batch of extensions

Closes GH-5352

# a43bc33f 04-Apr-2020 Máté Kocsis

Annotate function aliases in stubs

# 7d0102df 17-Feb-2020 Christoph M. Becker

Revert "Replace @param annotations with type declarations"

This reverts commit c31029f335ca1b453af799805c43c37e959ad555.

# c31029f3 16-Feb-2020 Christoph M. Becker

Replace @param annotations with type declarations

Revision tags: php-7.3.13RC1, php-7.2.26RC1, php-7.4.0, php-7.2.25, php-7.3.12
# c58b1233 16-Nov-2019 Máté Kocsis

Add union return types with one class

Revision tags: php-7.4.0RC6
# 27e83d0f 08-Nov-2019 Máté Kocsis

Add union return types for function stubs

Revision tags: php-7.3.12RC1, php-7.2.25RC1, php-7.4.0RC5, php-7.1.33, php-7.2.24, php-7.3.11, php-7.4.0RC4, php-7.3.11RC1, php-7.2.24RC1, php-7.4.0RC3, php-7.2.23, php-7.3.10, php-7.4.0RC2, php-7.2.23RC1, php-7.3.10RC1
# 227f5168 04-Sep-2019 Christoph M. Becker

Declare nullable arguments in stubs

12