Actions
Feature proposal #6754
openReplace plugin call user func with variable calls
Description
With PHP 5.6 it's possible to use splat operators in combination with variable function calls. See below.
FROM:call_user_func_array( array( &$pluginClassInstance, $method ), $args )
TO:$pluginClassInstance->$method( ...$args )
FROM:call_user_func_array( $method, $args )
TO:$method( ...$args )
This also then allows support for reference splat variable usage in the called function expanding plugin function call usage significantly.
Updated by krileon over 7 years ago
- Due date set to 25 March 2016
- Start date changed from 01 September 2017 to 25 March 2016
- Follows Feature proposal #5882: Guzzle, PHP7, and minimum PHP 5.6 added
Updated by krileon over 7 years ago
- Precedes Feature proposal #6751: create_function deprecated in PHP 7.2 added
Updated by krileon over 7 years ago
- Precedes deleted (Feature proposal #6751: create_function deprecated in PHP 7.2)
Updated by krileon over 6 years ago
- Target version changed from CB 2.2 to CB 2.8
Updated by beat almost 2 years ago
- Target version changed from CB 2.8 to CB 2.8.1
Updated by beat over 1 year ago
- Target version changed from CB 2.8.1 to CB 2.8.2
Updated by beat about 1 year ago
- Target version changed from CB 2.8.2 to CB 2.9.0
Updated by beat about 1 year ago
- Target version changed from CB 2.9.0 to CB 2.9.2
Actions