Bug #10682: php -l display the same errors

From: Date: Sat, 05 May 2001 17:44:01 +0000
Subject: Bug #10682: php -l display the same errors
Groups: php.dev 
Request: Send a blank email to php-dev+get-54012@lists.php.net to get a copy of this message
From: yohgaki@hotmail.com Operating system: RedHat Linux 7.0.1 PHP version: 4.0 Latest CVS (05/05/2001) PHP Bug Type: Unknown/Other Function Bug description: php -l display the same errors If I execute CGI php binary with "-l" option, I see the same error message 3 times in different formats. =================== PHP Parse error: parse error, expecting T_VARIABLE' or '$'' in php_lint.php on line 5 <br> <b>Parse error</b>: parse error, expecting T_VARIABLE' or '$'' in <b>php_lint.php</b> on line <b>5</b><br> php_lint.php(5) : Parse error - parse error, expecting T_VARIABLE' or '$'' [www@dev language]$ php -ql php_lint.php PHP Parse error: parse error, expecting T_VARIABLE' or '$'' in php_lint.php on line 5 <br> <b>Parse error</b>: parse error, expecting T_VARIABLE' or '$'' in <b>php_lint.php</b> on line <b>5</b><br> php_lint.php(5) : Parse error - parse error, expecting T_VARIABLE' or '$'' ===================== ./configure \ --disable-short-tags \ --disable-mysql \ --without-pear \ --without-mysql \ --enable-debug \ --enable-bcmath \ --enable-ftp \ --enable-shmop \ --enable-sysvsem \ --enable-sysvshm \ --enable-sockets \ --enable-mbstring \ --enable-mbstr-enc-trans \ --enable-debug \ --enable-memory-limit \ --with-regex=system \ --with-openssl \ --with-iconv \ --with-imap \ --with-mhash \ --with-mcrypt \ --with-pgsql \ --with-swf \ --with-zlib \ --with-bz2 \ --with-gd \ --with-jpeg-dir=/usr \ --with-xpm-dir=/usr/X11R6 -- Edit Bug report at: http://bugs.php.net/?id=10682&edit=1

« previous php.dev (#54012) next »