mirror of
https://bitbucket.org/jsuto/piler.git
synced 2024-12-25 19:00:12 +01:00
php fix in google-api/service/apiUtils.php
Signed-off-by: Janos SUTO <sj@acts.hu>
This commit is contained in:
parent
a0b0437322
commit
5d3c617044
@ -55,7 +55,7 @@ class apiUtils {
|
|||||||
$strlenVar = strlen($str);
|
$strlenVar = strlen($str);
|
||||||
$d = $ret = 0;
|
$d = $ret = 0;
|
||||||
for ($count = 0; $count < $strlenVar; ++ $count) {
|
for ($count = 0; $count < $strlenVar; ++ $count) {
|
||||||
$ordinalValue = ord($str{$ret});
|
$ordinalValue = ord($str[$ret]);
|
||||||
switch (true) {
|
switch (true) {
|
||||||
case (($ordinalValue >= 0x20) && ($ordinalValue <= 0x7F)):
|
case (($ordinalValue >= 0x20) && ($ordinalValue <= 0x7F)):
|
||||||
// characters U-00000000 - U-0000007F (same as ASCII)
|
// characters U-00000000 - U-0000007F (same as ASCII)
|
||||||
|
Loading…
Reference in New Issue
Block a user