odbc_result_all

FunctionParams changed in PHP 8.4

Print result as HTML table.

PHP 5
PHP 7
PHP 8.0
Improved
PHP 8.1
Deprecated
PHP 8.2-8.3
PHP 8.4
Improved
PHP 8.5
PHP 8.6

odbc_result_all Function synopsis

#[\Deprecated]
odbc_result_all(Odbc\Result $statement, string $format = ""): int|false

Parameters

$statement

TypeOdbc\Result

The ODBC result object.

$format

OptionalTypestringDefault value""

Additional overall table formatting.

Return value

Typeint|false

Returns the number of rows in the result or false on error.

Changes to the odbc_result_all Function

PHP 8.4

  #[\Deprecated]
- odbc_result_all($statement, string $format = ""): int|false
+ odbc_result_all(Odbc\Result $statement, string $format = ""): int|false

PHP 8.1

  • Function deprecated

PHP 8.0

  • Return type added: int|false
  • Parameter name of parameter #1 changed: $result_id to $statement
  • Parameter type added for parameter #2 ($format): string
  • Parameter default value added for position #2 ($format): ""
- odbc_result_all($result_id, $format)
+ odbc_result_all($statement, string $format = ""): int|false

odbc_result_all Function Availability

PHP VersionAvailability
PHP 8.6Upcoming Release Yes Deprecated
PHP 8.5Supported (Latest) Yes Deprecated
PHP 8.4Supported Yes Deprecated
PHP 8.3Security-Fixes Only Yes Deprecated
PHP 8.2Security-Fixes Only Yes Deprecated
PHP 8.1Unsupported Yes Deprecated
PHP 8.0Unsupported Yes
PHP 7.4Unsupported Yes
PHP 7.3Unsupported Yes
PHP 7.2Unsupported Yes
PHP 7.1Unsupported Yes
PHP 7.0Unsupported Yes
PHP 5.6Unsupported Yes
PHP 5.5Unsupported Yes
PHP 5.4Unsupported Yes
PHP 5.3Unsupported Yes