diff --git a/src/MySql/Wrapper/Wrapper.php b/src/MySql/Wrapper/Wrapper.php
index <HASH>..<HASH> 100644
--- a/src/MySql/Wrapper/Wrapper.php
+++ b/src/MySql/Wrapper/Wrapper.php
@@ -712,7 +712,12 @@ abstract class Wrapper
    */
   private function getWrapperRoutineName($theStoredRoutineName)
   {
-    return lcfirst(preg_replace('/(_)([a-z])/e', "strtoupper('\\2')", stristr($theStoredRoutineName, '_')));
+    return lcfirst(preg_replace_callback('/(_)([a-z])/',
+      function ($matches)
+      {
+        return strtoupper($matches[2]);
+      },
+                                         stristr($theStoredRoutineName, '_')));
   }
 
   //--------------------------------------------------------------------------------------------------------------------
DL-<I>: PHP 7 issue: /e modifier is no longer supported.