<?php $params = [ 'AllowPhone' => true ]; $result = (int) isset($params['AllowPhone']) ? $params['AllowPhone'] : 0; var_dump($result);
You have javascript disabled. You will not be able to edit any code.