How to Convert Boolean to String September 29, 2022 by Tarik Simplest solution: $converted_res = $res ? 'true' : 'false';