need your help again please: why this code doesn't work? in routerOS terminal is everything fine
try {
$util->exec(
'
:foreach v in=[find list="test"] do={
:do {
remove=$v;
} on-error={
:error ("failed to remove " . $v);
};
};
'
);
} catch (RouerOS\RouterErrorException $e) {
}