Subversion-Projekte lars-tiefland.php_share

Revision

Details | Letzte Änderung | Log anzeigen | RSS feed

Revision Autor Zeilennr. Zeile
1 lars 1
<?php
2
/**
3
 * Test Constants that appeared in >= 4.3.0
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: checkConstants.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
 
18
/**
19
 * @ignore
20
 */
21
function test_constants()
22
{
23
    return __FUNCTION__;
24
}
25
 
26
$info = new PHP_CompatInfo();
27
 
28
$file = __FILE__;
29
 
30
$r = $info->parseFile($file);
31
/*
32
   To keep backward compatibility, result is also return (here in $r)
33
   but you don't need to print it, it's the default behavior of API 1.8.0
34
 */
35
//var_export($r);
36
?>