PHP with its argument ordering strikes again :)
if(!IDEMPOTENT_COMMANDS[$cmdname]) { ...
if (! isset(IDEMPOTENT_COMMANDS[$cmdname]))
PHP with its argument ordering strikes again :)