As with telnet/api and PHP to get the result of the command
/ip firewall filter {: foreach i in = [find] do = {: put ("bytes =". [get $ i bytes ]);}}
into a variable?
Telnet lib can not give results, and api can not execute commands like this. I ask for your help.