Subversion-Projekte lars-tiefland.php_share

Revision

Details | Letzte Änderung | Log anzeigen | RSS feed

Revision Autor Zeilennr. Zeile
1 lars 1
<?php
2
/**
3
 * Get the Compatibility info for an array
4
 *
5
 * PHP versions 4 and 5
6
 *
7
 * @category PHP
8
 * @package  PHP_CompatInfo
9
 * @author   Davey Shafik <davey@php.net>
10
 * @license  http://www.opensource.org/licenses/bsd-license.php  BSD
11
 * @version  CVS: $Id: parseArray.php,v 1.7 2008/07/22 21:13:14 farell Exp $
12
 * @link     http://pear.php.net/package/PHP_CompatInfo
13
 * @ignore
14
 */
15
 
16
require_once 'PHP/CompatInfo.php';
17
require_once 'PEAR.php';
18
 
19
$info = new PHP_CompatInfo();
20
 
21
$files   = get_included_files();
22
$options = array(
23
    'debug' => false,
24
    'ignore_files' => array($files[0]),
25
    'ignore_functions' => array('debug_backtrace')
26
    );
27
 
28
$r = $info->parseArray($files, $options);
29
/*
30
   To keep backward compatibility, result is also return (here in $r)
31
   but you don't need to print it, it's the default behavior of API 1.8.0
32
 */
33
//var_export($r);
34
?>