PHP API SEARCH LIKE

WHY THAT THING DOESNT WORK VIA PHP API

queue simple print where name~"user" disabled

via console its returns 2 rows as expected.

Then I’ve tried to do it thru php

$ARRAY = $API->comm("/queue/simple/print", array(
			".proplist"=> ".id",
			"~name"=> "user",
			"?disabled"=> "yes",
			));

and its return all disabled rows at simple queue it doesn’t care about its name …

What’s wrong with it and how to fix it.

The API protocol doesn’t support regular expressions yet.

Once it does, you’ll probably need to use “?~name” instead of just “~name”, but again - not supported yet.