FAQ
Commit: 3aca84a637ec56376ba2cdc3a3ac1c2e421304c1
Author: Nuno Lopes <nlopess@php.net> 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 <nlopess@php.net>

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 */

Search Discussions

Related Discussions

Discussion Navigation
viewthread | post
posts ‹ prev | 1 of 1 | next ›
Discussion Overview
groupphp-webmaster @
categoriesphp
postedOct 19, '13 at 10:04p
activeOct 19, '13 at 10:04p
posts1
users1
websitephp.net

1 user in discussion

Nuno Lopes: 1 post

People

Translate

site design / logo © 2017 Grokbase