Php 1093 refactor cursor logic

Yes, most certainly. But they will also return false/FAILURE in that case.