Source for file updateVersionInfo.php
Documentation is available at updateVersionInfo.php
require 'c:\web\php-cvs\pear\PHP_CompatInfo\data\func_array.php';
foreach ($xml->function as $function) {
$name = (string) $function['name'];
if (preg_match('/= (\d\.\d\.\d)/', (string) $function['from'], $matches)) {
$funcs[$name]['init'] = $matches[1 ];
} elseif (preg_match('/(\d\.\d\.\d) - (\d\.\d\.\d) only/', (string) $function['from'], $matches)) {
$funcs[$name]['init'] = $matches[1 ];
if (strpos($function['from'], '3') !== FALSE ) {
$funcs[$name]['init'] = "3.0.0";
if (strpos($function['from'], '4') !== FALSE ) {
$funcs[$name]['init'] = "4.0.0";
if (strpos($function['from'], '5') !== FALSE ) {
$funcs[$name]['init'] = "5.0.0";
$txt = file('c:\web\php-cvs\phpdoc\funclist.txt');
for ($i = 0; $i < sizeof($txt); $i++ ) {
if (strpos($txt[$i], '#') !== FALSE ) {
preg_match('@# php-src/(ext|sapi)/(.*?)/.*@', $txt[$i], $matches);
$module = $matches[1 ] . '_'. $matches[2 ];
while (strpos($txt[$i], '#') === FALSE && ($i < sizeof($txt))) {
if (!isset ($funcs[$name]['ext'])) {
$funcs[$name]['ext'] = $module;
foreach ($funcs as $key => $function) {
if (!isset ($function['init']) || ($function['init'] == '')) {
$funcs[$key]['init'] = '5-dev';
if ($function['init']{0 } == 3 ) {
# This file is generated!
Documentation generated on Mon, 11 Mar 2019 14:24:02 -0400 by phpDocumentor 1.4.4. PEAR Logo Copyright © PHP Group 2004.
|