Hello there,
Is there a way to extract a function call with its arguments?
Like i have something like this:
=CODE==================================
<?php
//Some Comments
print_r(ClassName::FunctionName('foo', 'bar', Array(), false));
$fooBar = ClassName::FunctionName('foo', 'bar');
?>
=CODE==================================
Now i want to extract the ClassName::FunctionName() part, inculding its
arguments.
The first two arguments are required, the last two/three arn't.
How can i extract/match/replace this part?
Thx in advance.
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php