getArray($one, $two, $three), $this->arrayMap); $this->error($obj->getCode(), $obj->getMessage(), $obj->getFile(), $obj->getLine()); make_foo($string /*the string*/, true /*test*/); make_foo($string/*the string*/, /*test*/ true); make_foo($string /*the string*/, /*test*/ true); class MyClass { function myFunction() { blah($foo, "{{$config['host']}}", "{$config}", "hi there{}{}{{{}{}{}}"); } } // Function definition, not function call, so should be ignored function &myFunction($arg1=1,$arg2=2) { } return array_udiff( $foo, $bar, function($a, $b) { $foo='bar'; return $foo; } ); var_dump(<<{$var}($foo, $bar); (function ($a, $b) { return function ($c, $d) use ($a, $b) { echo $a, $b, $c, $d; }; })('a', 'b')('c', 'd'); my_function_call( 'a', /* Comment */ 'b', 'c', // Comment. 'd', 'e', // phpcs:ignore Standard.Category.Sniff -- for reasons. 'f' ); $foobar = php73_function_call_trailing_comma( $foo, $bar, ); $foobar = functionCallAnonClassParam( new class() { public $foo=1; public function methodName($param='foo',$paramTwo='bar') { $bar=false; $foo = array(1,2,3); } }, $args=array(), );