logo       
Google Custom Search
    AddThis Social Bookmark Button
-->

cvs: ZendEngine2 / zend_API.c: msg#00059

Subject: cvs: ZendEngine2 / zend_API.c
helly           Tue Dec 19 22:21:18 2006 UTC

  Modified files:              
    /ZendEngine2        zend_API.c 
  Log:
  - Implement parameter parsing 'x'
  
http://cvs.php.net/viewvc.cgi/ZendEngine2/zend_API.c?r1=1.417&r2=1.418&diff_format=u
Index: ZendEngine2/zend_API.c
diff -u ZendEngine2/zend_API.c:1.417 ZendEngine2/zend_API.c:1.418
--- ZendEngine2/zend_API.c:1.417        Fri Dec  1 14:57:44 2006
+++ ZendEngine2/zend_API.c      Tue Dec 19 22:21:18 2006
@@ -18,7 +18,7 @@
    +----------------------------------------------------------------------+
 */
 
-/* $Id: zend_API.c,v 1.417 2006/12/01 14:57:44 dmitry Exp $ */
+/* $Id: zend_API.c,v 1.418 2006/12/19 22:21:18 helly Exp $ */
 
 #include "zend.h"
 #include "zend_execute.h"
@@ -333,6 +333,10 @@
                spec_walk++;
        }
 
+       if (c == 'x') {
+               c = UG(unicode) ? 'u' : 's';
+       }
+
        switch (c) {
                case 'l':
                        {
@@ -867,7 +871,7 @@
                        case 't': case 'u':
                        case 'C': case 'h':
                        case 'U': case 'S':
-                       case 'f':
+                       case 'f': case 'x':
                                max_num_args++;
                                break;
 

-- 
Zend Engine CVS Mailing List (http://cvs.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php




<Prev in Thread] Current Thread [Next in Thread>