Fix typo in Thrift trunk

Summary: $classl => $class


git-svn-id: https://svn.apache.org/repos/asf/incubator/thrift/trunk@665376 13f79535-47bb-0310-9956-ffa450edef68
diff --git a/lib/php/src/autoload.php b/lib/php/src/autoload.php
index 43b2470..dc6133c 100644
--- a/lib/php/src/autoload.php
+++ b/lib/php/src/autoload.php
@@ -29,7 +29,7 @@
 if (!function_exists('__autoload')) {
   function __autoload($class) {
     global $THRIFT_AUTOLOAD;
-    $classl = strtolower($classl);
+    $classl = strtolower($class);
     if (isset($THRIFT_AUTOLOAD[$classl])) {
       include_once $GLOBALS['THRIFT_ROOT'].'/packages/'.$THRIFT_AUTOLOAD[$classl];
     } else if (!empty($GLOBALS['AUTOLOAD_HOOKS'])) {