For Programmers: Free Programming Magazines  


Home > Archive > PHP Mirrors > September 2006 > cvs: php-gcov-web(SOC06) /cron check_parameters.php









You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

 

Author cvs: php-gcov-web(SOC06) /cron check_parameters.php
Nuno Lopes

2006-09-14, 6:58 pm

nlopess Thu Sep 14 14:41:02 2006 UTC

Modified files: (Branch: SOC06)
/php-gcov-web/cron check_parameters.php
Log:
make PHP_HEAD refer to version 6

http://cvs.php.net/viewvc.cgi/php-g...2&diff_format=u
Index: php-gcov-web/cron/check_parameters.php
diff -u php-gcov-web/cron/check_parameters.php:1.1.2.1 php-gcov-web/cron/check_parameters.php:1.1.2.2
--- php-gcov-web/cron/check_parameters.php:1.1.2.1 Mon Sep 11 15:34:18 2006
+++ php-gcov-web/cron/check_parameters.php Thu Sep 14 14:41:02 2006
@@ -17,14 +17,14 @@
+----------------------------------------------------------------------+
*/

-/* $Id: check_parameters.php,v 1.1.2.1 2006/09/11 15:34:18 nlopess Exp $ */
+/* $Id: check_parameters.php,v 1.1.2.2 2006/09/14 14:41:02 nlopess Exp $ */

// check for zend_parse_parameters*() and related functions usage
// TODO: add support for zend_get_parameters*()


define('REPORT_LEVEL', 2); // 0 reports less false-positives. up to level 5.
-define('VERSION', strtr(substr($phpver, 4), '_', '.'));
+define('VERSION', $phpver == 'PHP_HEAD' ? '6' : strtr(substr($phpver, 4), '_', '.'));

// be sure you have enough memory and stack for PHP. pcre will push the limits!
ini_set('pcre.backtrack_limit', 10000000);
Sponsored Links







Also available: Server administration forum archive | Web Design forum archive | Software forum archive | Hardware reviews archive

Copyright 2008 codecomments.com