php8.0 버전 호환 코드 적용 및 PHP 끝 태그 삭제 일괄적용

This commit is contained in:
thisgun committed 2021-01-04 15:39:15 +09:00
1 parent 131b170b54
commit 27e9af5e42
1009 files changed
+12120 -10849

No files matched your search

+2 -4
View File
@@ -375,7 +375,7 @@ class Services_JSON
*/
// treat as a JSON object
if (is_array($var) && count($var) && (array_keys($var) !== range(0, sizeof($var) - 1))) {
if (is_array($var) && count($var) && (array_keys($var) !== range(0, count($var) - 1))) {
$properties = array_map(array($this, 'name_value'),
array_keys($var),
array_values($var));
@@ -801,6 +801,4 @@ if (class_exists('PEAR_Error')) {
}
}
}
?>
}