It looks like you're new here. If you want to get involved, click one of these buttons!
On the subscribe and unsubscribe request with boolean=true, the response is not the same with the document. It says api will return "true", but actually it return "1". It is based on the following php code on subscribe.php:387,
You know when the boolean will convert to string, it will be converted to integer, that means true become "1". Please fix in the next version.
true and 1 is essentially the same thing.
If you spit the result in the browser, a real true boolean will be displayed as 1. If not, it is a string, not a boolean.
When you test for a result in your code like so:
if($subscribed == true)
if($subscribed == 1)
it will all be positive.
You can download this simple script I've written to test it out.