php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Request #10212 php -l (lint option) still not working in 4.0.6-dev
Submitted: 2001-04-06 12:38 UTC Modified: 2001-04-09 11:42 UTC
From: mmontero at mail dot communityconnect dot com Assigned:
Status: Closed Package: Feature/Change Request
PHP Version: 4.0 Latest CVS (06/04/2001) OS: RedHat Linux 6.2
Private report: No CVE-ID: None
 [2001-04-06 12:38 UTC] mmontero at mail dot communityconnect dot 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.

Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2001-04-06 20:15 UTC] sniper@php.net
Works just fine. Check your php.ini for error_reporting.

--Jani

 [2001-04-09 11:40 UTC] mmontero at mail dot communityconnect dot 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-09 11:42 UTC] jmoore@php.net
Please open a new bug report with this information. Dont continue an old unrelated one.

-James
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Fri May 10 22:01:32 2024 UTC