assertOk() assertOk(mixed $result) : boolean Asserts that the supplied result is not a PEAR_Error Fails with a descriptive message if so Parameters mixed $result The value to check Returns boolean — Whether the assertion was successful