From cc5e3b57935f35619f178eefc27835dc4cce5350 Mon Sep 17 00:00:00 2001 From: Madhura Jayaratne Date: Tue, 21 Jan 2014 18:34:17 +0530 Subject: [PATCH] Use meaningful variable names Signed-off-by: Madhura Jayaratne --- libraries/StringNativeType.class.php | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/libraries/StringNativeType.class.php b/libraries/StringNativeType.class.php index 04b7679ee5..f379cc26c7 100644 --- a/libraries/StringNativeType.class.php +++ b/libraries/StringNativeType.class.php @@ -70,11 +70,11 @@ class PMA_StringNativeType extends PMA_StringAbstractType */ public function isUpper($c) { - $ord_zero = 65; //ord('A'); - $ord_nine = 90; //ord('Z'); + $ord_A = 65; //ord('A'); + $ord_Z = 90; //ord('Z'); $ord_c = ord($c); - return $this->numberInRangeInclusive($ord_c, $ord_zero, $ord_nine); + return $this->numberInRangeInclusive($ord_c, $ord_A, $ord_Z); } // end of the "isUpper()" function /** @@ -86,11 +86,11 @@ class PMA_StringNativeType extends PMA_StringAbstractType */ public function isLower($c) { - $ord_zero = 97; //ord('a'); - $ord_nine = 122; //ord('z'); + $ord_a = 97; //ord('a'); + $ord_z = 122; //ord('z'); $ord_c = ord($c); - return $this->numberInRangeInclusive($ord_c, $ord_zero, $ord_nine); + return $this->numberInRangeInclusive($ord_c, $ord_a, $ord_z); } // end of the "isLower()" function /**