PHP SDK Delete

I recommend you to use the === comparator always in PHP to remedy exactly this kind of situation. If you then compare it with === false, it should work as expected!