Lucas_Werkmeister_WMDE added a comment.

  Can you try adding something like this?
  
                        if ( $local instanceof \Closure ) {
                                $function = new \ReflectionFunction( $local );
                                file_put_contents( STDERR, 
$function->getFileName() . PHP_EOL );
                                file_put_contents( STDERR, 
$function->getStartLine() . PHP_EOL );
                                file_put_contents( STDERR, 
$function->getEndLine() . PHP_EOL );
                                return;
                        }
  
  That should hopefully tell us what kind of closure we’re looking at.

TASK DETAIL
  https://phabricator.wikimedia.org/T267129

EMAIL PREFERENCES
  https://phabricator.wikimedia.org/settings/panel/emailpreferences/

To: Lucas_Werkmeister_WMDE
Cc: Lucas_Werkmeister_WMDE, Addshore, Aklapper, despens, Invadibot, 
maantietaja, Samantha_Alipio_WMDE, Akuckartz, Jelabra, Nandana, Lahi, Gq86, 
GoranSMilovanovic, QZanden, LawExplorer, _jensen, rosalieper, Scott_WUaS, 
Asahiko, Wikidata-bugs, aude, Mbch331
_______________________________________________
Wikidata-bugs mailing list -- [email protected]
To unsubscribe send an email to [email protected]

Reply via email to