Dunno, I was following the description from the [php.net](http://php.net/json_encode) where this is called options not flags, but I can change it if you want.