|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2008-04-09 07:43 UTC] jani@php.net
[2008-04-09 07:52 UTC] jani@php.net
[2008-04-09 09:17 UTC] dmitry@php.net
|
|||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Sun Nov 09 18:00:02 2025 UTC |
Description: ------------ Hy, With PHP-5.2.6RC4 i have this probleme when using in command line : usage : php -q test.php a b c d with php <= 5.2.5 this probleme didn't exists. configure for both versions : './configure' '--with-fastcgi=/usr/local' '--enable-simplexml' '--enable-fastcgi' '--enable-force-cgi-redirect' '--prefix=/usr/local/php5' '--disable-cli' '--with-filepro' '--with-mysql=/usr' '--with-xml' '--disable-exif' '--enable-ftp' '--enable-bcmath' '--enable-calendar' '--with-gd' '--enable-gd-native-ttf' '--with-freetype-dir' '--with-gettext' '--with-zlib-dir' '--enable-trans-sid' '--with-kerberos' '--with-openssl' '--enable-sysvsem' '--enable-sysvshm' '--with-gettext' '--with-dom' '--with-mcrypt' '--with-iconv' '--enable-mbstring=all' '--enable-mbregex' '--with-png-dir=/usr' '--with-jpeg-dir=/usr' '--with-mime-magic=/usr/share/misc/file/magic.mime' '--with-config-file-scan-dir=/etc/php.d' '--disable-pdo' '--without-sqlite' '--enable-inline-optimization' Reproduce code: --------------- <?php echo "PHP_VERSION=".PHP_VERSION."\n"; echo "argc=$argc\nargv="; print_r($argv); ?> Expected result: ---------------- PHP_VERSION=5.2.5 argc=5 argv=Array ( [0] => test.php [1] => a [2] => b [3] => c [4] => d ) Actual result: -------------- PHP_VERSION=5.2.6RC4 argc=4 argv=Array ( [0] => a [1] => b [2] => c [3] => d )