cvs: php-src(PHP_5_2) / run-tests.php

From: Date: Tue, 16 May 2006 23:05:49 +0000
Subject: cvs: php-src(PHP_5_2) / run-tests.php
Groups: php.cvs 
Request: Send a blank email to php-cvs+get-38238@lists.php.net to get a copy of this message
helly Tue May 16 23:05:49 2006 UTC Modified files: (Branch: PHP_5_2) /php-src run-tests.php Log: - MFH '_' is valid in test blocks http://cvs.php.net/viewcvs.cgi/php-src/run-tests.php?r1=1.226.2.37.2.2&r2=1.226.2.37.2.3&diff_format=u Index: php-src/run-tests.php diff -u php-src/run-tests.php:1.226.2.37.2.2 php-src/run-tests.php:1.226.2.37.2.3 --- php-src/run-tests.php:1.226.2.37.2.2 Sat May 13 14:01:58 2006 +++ php-src/run-tests.php Tue May 16 23:05:49 2006 @@ -23,7 +23,7 @@ +----------------------------------------------------------------------+ */ -/* $Id: run-tests.php,v 1.226.2.37.2.2 2006/05/13 14:01:58 helly Exp $ */ +/* $Id: run-tests.php,v 1.226.2.37.2.3 2006/05/16 23:05:49 helly Exp $ */ /* Sanity check to ensure that pcre extension needed by this script is available. * In the event it is not, print a nice error message indicating that this script will @@ -397,7 +397,7 @@ $html_output = is_resource($html_file); break; case '--version': - echo '$Revision: 1.226.2.37.2.2 $'."\n"; + echo '$Revision: 1.226.2.37.2.3 $'."\n"; exit(1); default: echo "Illegal switch '$switch' specified!\n"; @@ -972,7 +972,7 @@ $line = fgets($fp); // Match the beginning of a section. - if (preg_match('/^--([A-Z]+)--/', $line, $r)) { + if (preg_match('/^--([_A-Z]+)--/', $line, $r)) { $section = $r[1]; $section_text[$section] = ''; $secfile = $section == 'FILE' || $section == 'FILEEOF';

« previous php.cvs (#38238) next »