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

From: Date: Mon, 09 Apr 2001 15:42:23 +0000
Subject: PHP 4.0 Bug #10212 Updated: php -l (lint option) still not working in 4.0.6-dev
Groups: php.dev 
Request: Send a blank email to php-dev+get-51208@lists.php.net to get a copy of this message
ID: 10212 Updated by: jmoore Reported By: mmontero@mail.communityconnect.com Status: Closed Bug Type: Feature/Change Request Assigned To: Comments: Please open a new bug report with this information. Dont continue an old unrelated one. -James Previous Comments: --------------------------------------------------------------------------- [2001-04-09 11:40:00] mmontero@mail.communityconnect.com Latest version of CVS gives the following error when compiling with Oracle: 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 I configure with the following: "./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 " "$@" --------------------------------------------------------------------------- [2001-04-06 20:15:36] sniper@php.net Works just fine. Check your php.ini for error_reporting. --Jani --------------------------------------------------------------------------- [2001-04-06 12:38:24] mmontero@mail.communityconnect.com 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. --------------------------------------------------------------------------- ATTENTION! Do NOT reply to this email! To reply, use the web interface found at http://bugs.php.net/?id=10212&edit=2

« previous php.dev (#51208) next »