]> granicus.if.org Git - php/commitdiff
- Added 'p' type specifier
authorFelipe Pena <felipe@php.net>
Tue, 7 Jun 2011 22:22:01 +0000 (22:22 +0000)
committerFelipe Pena <felipe@php.net>
Tue, 7 Jun 2011 22:22:01 +0000 (22:22 +0000)
README.PARAMETER_PARSING_API

index 8d297670c65737e89714d45f5d489604891d58e6..927e48188cc9396f33cd320d4f1c0a38ae5c9964 100644 (file)
@@ -51,6 +51,7 @@ Type specifiers
  L  - long, limits out-of-range numbers to LONG_MAX/LONG_MIN (long)
  o  - object of any type (zval*)
  O  - object of specific type given by class entry (zval*, zend_class_entry)
+ p  - valid path (string without null bytes in the middle) and its length (char*, int)
  r  - resource (zval*)
  s  - string (with possible null bytes) and its length (char*, int)
  z  - the actual zval (zval*)