Bug #692: Cannot define constants on command line

From: Date: Tue, 25 Aug 1998 11:01:05 +0000
Subject: Bug #692: Cannot define constants on command line
Groups: php.dev 
Request: Send a blank email to php-dev+get-563@lists.php.net to get a copy of this message
From: venaas@nvg.ntnu.no Operating system: Linux/Solaris PHP version: 3.0.3 PHP Bug Type: Other Bug description: Since php-3.0RC5 it has not been possible to define constants on the command line. I have the following script: [venaas@sheridan /tmp]$ cat phptest #!/tmp/php -q <? echo $a.":"; ?> [venaas@sheridan /tmp]$ With php-3.0RC5 I get [venaas@sheridan /tmp]$ ./phptest a=5 :[venaas@sheridan /tmp]$ With RC4 I get [venaas@sheridan /tmp]$ ./phptest a=5 5:[venaas@sheridan /tmp]$ This was on a Linux box, but the same happens on Solaris. Both were compiled with ./configure --with-config-file-path=no --enable-debug=no --bindir=/tmp -- PHP Development Mailing List http://www.php.net/ To unsubscribe send an empty message to php-dev-unsubscribe@lists.php.net For help: php-dev-help@lists.php.net

« previous php.dev (#563) next »