Annotation of embedaddon/php/ext/standard/tests/general_functions/phpinfo.phpt, revision 1.1

1.1     ! misho       1: --TEST--
        !             2: phpinfo()
        !             3: --FILE--
        !             4: <?php
        !             5: var_dump(phpinfo());
        !             6: 
        !             7: echo "--\n";
        !             8: var_dump(phpinfo(array()));
        !             9: 
        !            10: echo "--\n";
        !            11: var_dump(phpinfo(0));
        !            12: 
        !            13: echo "--\n";
        !            14: var_dump(phpinfo(INFO_LICENSE));
        !            15: 
        !            16: ?>
        !            17: --EXPECTF--
        !            18: phpinfo()
        !            19: PHP Version => %s
        !            20: 
        !            21: System => %s
        !            22: Build Date => %s%a
        !            23: Configure Command => %s
        !            24: Server API => Command Line Interface
        !            25: Virtual Directory Support => %s
        !            26: Configuration File (php.ini) Path => %s
        !            27: Loaded Configuration File => %a
        !            28: Scan this dir for additional .ini files => %a
        !            29: Additional .ini files parsed => %a
        !            30: PHP API => %d
        !            31: PHP Extension => %d
        !            32: Zend Extension => %d
        !            33: Zend Extension Build => API%s
        !            34: PHP Extension Build => API%s
        !            35: Debug Build => %s
        !            36: Thread Safety => %s
        !            37: Zend Memory Manager => %s
        !            38: Zend Multibyte Support => %s
        !            39: IPv6 Support => %s
        !            40: Registered PHP Streams => %s
        !            41: Registered Stream Socket Transports => %s
        !            42: Registered Stream Filters => %s
        !            43: 
        !            44: %a
        !            45:  _______________________________________________________________________
        !            46: 
        !            47: 
        !            48: Configuration
        !            49: %A
        !            50: Core
        !            51: %A
        !            52: Additional Modules
        !            53: %A
        !            54: Environment
        !            55: %A
        !            56: PHP Variables
        !            57: %A
        !            58: PHP License
        !            59: %A
        !            60: bool(true)
        !            61: --
        !            62: 
        !            63: Warning: phpinfo() expects parameter 1 to be long, array given in %sphpinfo.php on line 5
        !            64: NULL
        !            65: --
        !            66: phpinfo()
        !            67: bool(true)
        !            68: --
        !            69: phpinfo()
        !            70: 
        !            71: PHP License
        !            72: %a
        !            73: bool(true)

FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>