<?php $str = "0"; $str = (boolean) $str; var_dump($str == true); // true
You have javascript disabled. You will not be able to edit any code.