Java vs php ---- Unknown flags value -- cannot decode value

@cpeterson can you shoot over a simple example we can reproduce - and tell us which versions you are using? That should give us a sense pretty quickly if its a bug or used the wrong way
Thanks!