FILE: /ctools/ctools.module
------------------------------------------------------------------------------------------------------------------------------------------------------
FOUND 0 ERRORS AND 1 WARNING AFFECTING 1 LINE
------------------------------------------------------------------------------------------------------------------------------------------------------
LINE 912: WARNING Since PHP 7.0, functions inspecting arguments, like func_get_args(), no longer report the original value as passed to a parameter,
but will instead provide the current value. The parameter "$access" was used and possibly changed (by reference), on line 907.
------------------------------------------------------------------------------------------------------------------------------------------------------
910:
911: ··$contexts·=·array();
>> 912: ··foreach·(func_get_args()·as·$arg)·{
913: ····if·(is_object($arg)·&&·get_class($arg)·==·'ctools_context')·{
914: ······$contexts[$arg->id]·=·$arg;
------------------------------------------------------------------------------------------------------------------------------------------------------
Comment | File | Size | Author |
---|---|---|---|
#2 | ctools-func_get_args-3076776-2.patch | 721 bytes | Gaurav_drupal |
Comments
Comment #2
Gaurav_drupalProvided the patch. Please review.
Comment #3
Gaurav_drupalComment #4
joelpittetThis is a fixed duplicate of #3006202: Error with PHP7