cvs: phpdoc /scripts genPHP_INI_ENTRY.php

From: Date: Tue, 29 Apr 2003 06:37:32 +0000
Subject: cvs: phpdoc /scripts genPHP_INI_ENTRY.php
Groups: php.doc 
Request: Send a blank email to phpdoc+get-969352946@lists.php.net to get a copy of this message
philip Tue Apr 29 02:37:32 2003 EDT Modified files: /phpdoc/scripts genPHP_INI_ENTRY.php Log: We need to look for PHP_INI_BOOLEAN too, this explains why some were missing. Index: phpdoc/scripts/genPHP_INI_ENTRY.php diff -u phpdoc/scripts/genPHP_INI_ENTRY.php:1.3 phpdoc/scripts/genPHP_INI_ENTRY.php:1.4 --- phpdoc/scripts/genPHP_INI_ENTRY.php:1.3 Tue Feb 4 20:20:11 2003 +++ phpdoc/scripts/genPHP_INI_ENTRY.php Tue Apr 29 02:37:32 2003 @@ -4,11 +4,11 @@ * generate a list of PHP config options and where they * can be set. * Author: Jesus M. Castagnetto - * $Id: genPHP_INI_ENTRY.php,v 1.3 2003/02/05 01:20:11 philip Exp $ + * $Id: genPHP_INI_ENTRY.php,v 1.4 2003/04/29 06:37:32 philip Exp $ */ // figure out the php4 source dir -$phpsrc_dir = ''; +$phpsrc_dir = '/cvs/php5'; if ($phpsrc_dir == '') { if (file_exists('../php4')) { $phpsrc_dir = realpath('../php4'); @@ -41,7 +41,7 @@ <?xml version="1.0" encoding="iso-8859-1"?> <!-- Automatically generated using gen_PHP_INI_ENTRY.php --> <!-- DO NOT EDIT. --> -<!-- \$Revision: 1.3 $ --> +<!-- \$Revision: 1.4 $ --> <section id="##ID##.configuration"> &reftitle.runtime; &extension.runtime;\n\n @@ -179,7 +179,7 @@ } $data = file_get_contents($fname); //$re = '/PHP_INI_ENTRY\("([^"]+)",\s+"([^"]+)",\s+([A-Z_]),/'; - $re = '/(PHP_INI_ENTRY|PHP_INI_ENTRY_EX)\(([^)]+)/'; + $re = '/(PHP_INI_ENTRY|PHP_INI_ENTRY_EX|PHP_INI_BOOLEAN)\(([^)]+)/'; preg_match_all($re, $data, &$matches); foreach ($matches[2] as $match) { $match = str_replace('"','',$match);

« previous php.doc (#969352946) next »