Fixed incorrect Java to PHP types conversion errors by adding special cases in PHPScriptUtils.convertToValues.