Browse by Tags
I need help!! I need to extract function name and params (no nested functions or strings, just values and vars)
I kind of am able to match one of the following cases, but I can't make it to match all!
function_name( 'param', $paramt )
function_name( 25, "param" )
My requirement is to search through a string for the existence of an editor entered tag. each one should be replaced by some script and the end of the tag replace with some closing script whilst the 'tag content' should remain.
I tried with the following but it doesn't seem to like it! any ideas...
Set objRegExp = New ...
I would like to parse some source code files for a particular function call. I am interested in the arguments sent to the function "Language::get()".
If you consider this code snippet
$hello = Language::get('key1', array('firstName',$firstName), array('lastName', $obj->getLastName($arg1->get(), $arg2)) ...