Project

General

Profile

Actions

Feature proposal #6754

open

Replace plugin call user func with variable calls

Feature proposal #6754: Replace plugin call user func with variable calls

Added by krileon over 8 years ago. Updated about 2 months ago.

Status:
Assigned
Priority:
Normal
Assignee:
Target version:
Start date:
25 March 2016
Due date:
25 March 2016 (over 9 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

Updated by krileon over 8 years ago Actions #1

  • 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 8 years ago Actions #2

Updated by krileon over 8 years ago Actions #3

Updated by krileon over 7 years ago Actions #4

  • Target version changed from CB 2.2 to CB 2.8

Updated by beat almost 3 years ago Actions #5

  • Target version changed from CB 2.8 to CB 2.8.1

Updated by beat over 2 years ago Actions #6

  • Target version changed from CB 2.8.1 to CB 2.8.2

Updated by beat about 2 years ago Actions #7

  • Target version changed from CB 2.8.2 to CB 2.9.0

Updated by beat about 2 years ago Actions #8

  • Target version changed from CB 2.9.0 to CB 2.9.2

Updated by beat over 1 year ago Actions #9

  • Target version changed from CB 2.9.2 to CB 2.9.3

Updated by beat over 1 year ago Actions #10

  • Target version changed from CB 2.9.3 to CB 2.10.0

Updated by beat 11 months ago Actions #11

  • Target version changed from CB 2.10.0 to CB 2.11.0

Updated by beat about 2 months ago Actions #12

  • Target version changed from CB 2.11.0 to CB 2.11.1
Actions

Also available in: PDF Atom