|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[1998-09-22 09:47 UTC] rasmus
|
|||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Wed Nov 19 17:00:01 2025 UTC |
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