@@ -252,7 +252,7 @@ public function process(string $In, array &$Arr, int $Depth = 0, bool $Refs = fa
252252 if (
253253 $ Attempt === false ||
254254 !$ this ->Demojibakefier ->checkConformity ($ Attempt , 'UTF-8 ' ) ||
255- strcmp (iconv ('UTF-8 ' , $ this ->LastInputEncoding , $ Attempt ), $ In ) !== 0
255+ \ strcmp (iconv ('UTF-8 ' , $ this ->LastInputEncoding , $ Attempt ), $ In ) !== 0
256256 ) {
257257 return false ;
258258 }
@@ -1070,14 +1070,14 @@ private function unescape(string $Value = '', string $Style = '"'): string
10701070 return $ Captured [0 ];
10711071 }
10721072 $ Reversed = ($ Attempt = iconv ('UTF-16BE ' , 'UTF-8 ' , $ Decoded )) === false ? '' : iconv ('UTF-8 ' , 'UTF-16BE ' , $ Attempt );
1073- return $ Captured [1 ] . (($ Attempt !== false && strcmp ($ Reversed , $ Decoded ) === 0 ) ? $ Attempt : $ Decoded );
1073+ return $ Captured [1 ] . (($ Attempt !== false && \ strcmp ($ Reversed , $ Decoded ) === 0 ) ? $ Attempt : $ Decoded );
10741074 }, $ Value );
10751075 $ Value = \preg_replace_callback ('~(?<! \\\\) \\\\((?: \\\\{2})*)U([\dA-Fa-f]{8})~ ' , function ($ Captured ) {
10761076 if (($ Decoded = \hex2bin ($ Captured [2 ])) === false ) {
10771077 return $ Captured [0 ];
10781078 }
10791079 $ Reversed = ($ Attempt = iconv ('UTF-32BE ' , 'UTF-8 ' , $ Decoded )) === false ? '' : iconv ('UTF-8 ' , 'UTF-32BE ' , $ Attempt );
1080- return $ Captured [1 ] . (($ Attempt !== false && strcmp ($ Reversed , $ Decoded ) === 0 ) ? $ Attempt : $ Decoded );
1080+ return $ Captured [1 ] . (($ Attempt !== false && \ strcmp ($ Reversed , $ Decoded ) === 0 ) ? $ Attempt : $ Decoded );
10811081 }, $ Value );
10821082 $ Value = \str_replace ('\\\\' , '\\' , $ Value );
10831083 restore_error_handler ();
0 commit comments