Commit:    3aca84a637ec56376ba2cdc3a3ac1c2e421304c1
Author:    Nuno Lopes <[email protected]>         Sat, 19 Oct 2013 18:04:41 -0400
Parents:   2e8652991f8c2e7dfd1c4f60a6814b8d6c473aba
Branches:  master

Link:       
http://git.php.net/?p=web/gcov.git;a=commitdiff;h=3aca84a637ec56376ba2cdc3a3ac1c2e421304c1

Log:
add support for PHP 5.6's new 'S' parameter type

Signed-off-by: Nuno Lopes <[email protected]>

Changed paths:
  M  cron/check_parameters.php


Diff:
diff --git a/cron/check_parameters.php b/cron/check_parameters.php
index 29ebe38..5a79d23 100644
--- a/cron/check_parameters.php
+++ b/cron/check_parameters.php
@@ -61,6 +61,11 @@ if (version_compare(VERSION, '5.4', 'ge')) {
        $API_params['p'] = $API_params['s']; // a valid path
 }
 
+// specific to PHP >= 5.6
+if (version_compare(VERSION, '5.6', 'ge')) {
+       $API_params['S'] = array('char**', 'zend_str_size*'), // string
+}
+
 $check_params = array();
 
 /** reports an error, according to its level */


--
PHP Webmaster List Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to