Project

General

Profile

Actions

Feature proposal #6754

open

Replace plugin call user func with variable calls

Added by krileon over 6 years ago. Updated 6 months ago.

Status:
Assigned
Priority:
Normal
Assignee:
Target version:
Start date:
25 March 2016
Due date:
25 March 2016 (over 8 years late)
% Done:

0%

Estimated time:

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.


Related issues 1 (0 open1 closed)

Follows CB - Feature proposal #5882: Guzzle, PHP7, and minimum PHP 5.6Closedkrileon24 March 2016

Actions
Actions #1

Updated by krileon over 6 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
Actions #2

Updated by krileon over 6 years ago

Actions #3

Updated by krileon over 6 years ago

Actions #4

Updated by krileon almost 6 years ago

  • Target version changed from CB 2.2 to CB 2.8
Actions #5

Updated by beat over 1 year ago

  • Target version changed from CB 2.8 to CB 2.8.1
Actions #6

Updated by beat 8 months ago

  • Target version changed from CB 2.8.1 to CB 2.8.2
Actions #7

Updated by beat 7 months ago

  • Target version changed from CB 2.8.2 to CB 2.9.0
Actions #8

Updated by beat 6 months ago

  • Target version changed from CB 2.9.0 to CB 2.9.2
Actions

Also available in: Atom PDF