Date: 11/27/99
- Next message: Stig Bakken: "[PHP-DEV] Re: [documentation] Translation to spanish"
- Previous message: Rasmus Lerdorf: "[PHP-DEV] Re: [documentation] Translation to spanish"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
From: valero <email protected>
Operating system: WINNT4.SP4
PHP version: 4.0 Beta 3
PHP Bug Type: Scripting Engine problem
Bug description: PHP_VERSION and PHP_OS (and others ?) constants not initialized
This script :
:<HTML>
:<HEAD>
:<TITLE></TITLE>
:</HEAD>
:<BODY>
:<P>
:<SCRIPT LANGUAGE="php">
: $normal_variable = 'normal_var';
: define( 'NORMAL__CONSTANT', 'NORMAL_CONST' );
:
: printf ( 'normal_variable = %s - ', $normal_variable ) ;
: printf ( 'NORMAL_CONSTANT = %s - ', NORMAL_CONSTANT );
: printf ( 'PHP_VERSION = %s - ', PHP_VERSION );
: printf ( '__FILE__ = %s - ', __FILE__ );
: phpinfo();
:</SCRIPT>
:</P>
:</BODY>
:</HTML>
..produces the following output :
>normal_variable = normal_var - NORMAL_CONSTANT = NORMAL_CONSTANT - PHP_VERSION = PHP_VERSION - >__FILE__ = d:\tv\tagc\2.php3 -
>
> PHP Version 4.0b3
>
>
>System: Windows NT 4.0 build 1381
>Build Date: Nov 18 1999
>php.ini path: php.ini
>ZEND_DEBUG=0
>ZTS is defined
>This program makes use of the Zend scripting language engine:
>
>Zend Engine v0.90, Copyright (c) 1998, 1999 Andi Gutmans, Zeev Suraski
>etc.
-- PHP Development Mailing List <http://www.php.net/> To unsubscribe, e-mail: php-dev-unsubscribe <email protected> For additional commands, e-mail: php-dev-help <email protected> To contact the list administrators, e-mail: php-list-admin <email protected>
- Next message: Stig Bakken: "[PHP-DEV] Re: [documentation] Translation to spanish"
- Previous message: Rasmus Lerdorf: "[PHP-DEV] Re: [documentation] Translation to spanish"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]

