Browse Source

Deprecated passing string for 2nd argument of h().

ADmad 8 years ago
parent
commit
ae7059cbda
1 changed files with 4 additions and 0 deletions
  1. 4 0
      src/Core/functions.php

+ 4 - 0
src/Core/functions.php

@@ -64,6 +64,10 @@ if (!function_exists('h')) {
             }
         }
         if (is_string($double)) {
+            deprecationWarning(
+                'Passing charset string for 2nd argument is deprecated. ' .
+                'Use the 3rd argument instead.'
+            );
             $charset = $double;
         }