imageaffinematrixconcat

FunctionParams and return types changed in PHP 8.0

Concatenate two affine transformation matrices.

PHP 5.3-5.4
PHP 5.5
Added
PHP 5.6
PHP 7
PHP 8.0
Improved
PHP 8.1
PHP 8.2-8.3
PHP 8.4
PHP 8.5
PHP 8.6

imageaffinematrixconcat Function synopsis

imageaffinematrixconcat(array $matrix1, array $matrix2): array|false

Parameters

$matrix1

Typearray

An affine transformation matrix (an array with keys 0 to 5 and float values).

$matrix2

Typearray

An affine transformation matrix (an array with keys 0 to 5 and float values).

Return value

Typearray|false

An affine transformation matrix (an array with keys 0 to 5 and float values) or false on failure.

Changes to the imageaffinematrixconcat Function

PHP 8.0

  • Return type added: array|false
  • Parameter name of parameter #1 changed: $m1 to $matrix1
  • Parameter type added for parameter #1 ($matrix1): array
  • Parameter name of parameter #2 changed: $m2 to $matrix2
  • Parameter type added for parameter #2 ($matrix2): array
- imageaffinematrixconcat($m1, $m2)
+ imageaffinematrixconcat(array $matrix1, array $matrix2): array|false

PHP 5.5

  • Function added

imageaffinematrixconcat Function Availability

PHP VersionAvailability
PHP 8.6Upcoming Release Yes
PHP 8.5Supported (Latest) Yes
PHP 8.4Supported Yes
PHP 8.3Security-Fixes Only Yes
PHP 8.2Security-Fixes Only Yes
PHP 8.1Unsupported Yes
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 No
PHP 5.3Unsupported No