Re: PHP 4.0 Bug #10212: php -l (lint option) still not working in 4.0.6-dev

From: Date: Mon, 09 Apr 2001 13:34:21 +0000
Subject: Re: PHP 4.0 Bug #10212: php -l (lint option) still not working in 4.0.6-dev
References: 1  Groups: php.dev 
Request: Send a blank email to php-dev+get-51191@lists.php.net to get a copy of this message
Thank you so much for the help......this seems to have resolved the issue. Several days ago I was able to compile the CVS version of PHP just fine. Now, however, I get the following messages: oracle.c: In function `php_minit_oracle': oracle.c:294: warning: passing arg 1 of `zend_register_list_destructors_ex' from incompatible pointer type oracle.c:295: warning: passing arg 2 of `zend_register_list_destructors_ex' from incompatible pointer type oracle.c: In function `php_info_oracle': oracle.c:1534: `PHP_ORACLE_DIR' undeclared (first use in this function) oracle.c:1534: (Each undeclared identifier is reported only once oracle.c:1534: for each function it appears in.) oracle.c:1535: `PHP_ORACLE_SHARED_LIBADD' undeclared (first use in this function) make[3]: *** [oracle.lo] Error 1 make[3]: Leaving directory `/usr/src/INSTALLED_SOFTWARE/php4/ext/oracle' make[2]: *** [all-recursive] Error 1 make[2]: Leaving directory `/usr/src/INSTALLED_SOFTWARE/php4/ext/oracle' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/usr/src/INSTALLED_SOFTWARE/php4/ext' make: *** [all-recursive] Error 1 My configure script looks like this: "./configure" \ "--with-config-file-path=/mnt/raid/RAID00_5/opt/common/linux/php/config" \ "--with-mysql=/opt/db/mysql/product/3.23.29a-gamma/" \ "--with-oracle=/opt/db/oracle/product/current/" \ "--with-mcrypt=/usr/local/lib/" \ "--prefix=/web/webny/adm/php" \ "--with-oci8=/opt/db/oracle/product/current/" \ "--with-curl=/usr/local/lib/" \ "--disable-posix " \ "$@" Does not compile anymore. Linting still works the way you described for PHP 4.0.5-RC6 however it still dumps core. To be exact - it gives me the proper error messages, THEN dumps core. Thanks for the help. ----- Your Message May Appear Below This Line On Fri, 6 Apr 2001, Shane Caraveo wrote: > the default php.ini files turn off or on some things that linting needs, > try: > > php -d display_errors=1 -d display_startup_errors=1 -d output_buffering=0 -l > blah.html > > ----- Original Message ----- > From: <mmontero@mail.communityconnect.com> > To: <php-dev@lists.php.net> > Sent: Friday, April 06, 2001 9:38 AM > Subject: [PHP-DEV] PHP 4.0 Bug #10212: php -l (lint option) still not > working in 4.0.6-dev > > > > From: mmontero@mail.communityconnect.com > > Operating system: RedHat Linux 6.2 > > PHP version: 4.0 Latest CVS (06/04/2001) > > PHP Bug Type: Feature/Change Request > > Bug description: php -l (lint option) still not working in 4.0.6-dev > > > > I have obtained the latest CVS version of PHP (4.0.6-dev). I execute the > following: > > > > php -l blah.html > > > > blah.html looks like this: > > > > <? > > echo "adfsdf"asdfds" ; > > ?> > > > > This USED to cause PHP to core dump. Now it returns but does not output > and error message. Actually, it does not seem to do anything. Am wondering > if this option (-l) is supported or in for future use or if this is being > worked on. > > > > Thanks. > > > > > > -- > > Edit Bug report at: > > http://bugs.php.net/?id=10212&edit=1 > > > > > > > > -- > > PHP Development Mailing List <http://www.php.net/> > > To unsubscribe, e-mail: php-dev-unsubscribe@lists.php.net > > For additional commands, e-mail: php-dev-help@lists.php.net > > To contact the list administrators, e-mail: php-list-admin@lists.php.net > > > > > >

« previous php.dev (#51191) next »