exapmle
function hello(){
echo 'hello';
foreach (array(1,2,3) as $n)
{
echo $n;
}
echo 'bye-bye';
echo 'bye-bye';
echo 'bye-bye';
}
function hi(){}
I need everything that is between outer curly brackets, ignoring any inner curly brackets, so my result wont be like that
{
echo 'hello';
foreach (array(1,2,3) as $n)
{
echo $n;
}
or
{
echo 'hello';
foreach (array(1,2,3) as $n)
{
echo $n;
}
echo 'bye-bye';
echo 'bye-bye';
echo 'bye-bye';
}
function hi(){}