Re: [PHP] Re: php -l - does it find *anything*?

2010-08-02 Thread Peter Lind
On 2 August 2010 12:05, Gary php-gene...@garydjones.name wrote: Okay, I'm resurrecting this because I just found something I consider to be strange in the documentation. Under the -l option at http://php.net/manual/en/features.commandline.options.php it says This option won't find fatal

Re: [PHP] php -l - does it find *anything*?

2010-07-08 Thread Gary .
) is what php -l does, even if I think it's wrong, or at least incorrectly described :) -- Per Jessen, Zürich (24.2°C) It feels warmer than that today. Maybe it's because my code isn't working X( -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] php -l - does it find *anything*?

2010-07-06 Thread Gary .
'; | echo 'cheese'; | } | | function foo3() | { | //$bar = 'cheese'; | echo $bar; | } | | foo1(); | foo2(); | foo3(); | | ? ` I only get errors displayed when code happens to pass down the code path, i.e. at runtime: , | /home/jg/work $ php -l lint-test.php | No syntax errors

Re: [PHP] php -l - does it find *anything*?

2010-07-06 Thread Ashley Sheridan
. at runtime: , | /home/jg/work $ php -l lint-test.php | No syntax errors detected in lint-test.php | /home/jg/work $ php lint-test.php | cheesecheese | Notice: Undefined variable: bar in | /home/jg/work/lint-test.php on line 20 | | Call Stack: | 1. 61488 1. {main

Re: [PHP] php -l - does it find *anything*?

2010-07-06 Thread Peter Lind
get errors displayed when code happens to pass down the code path, i.e. at runtime: , | /home/jg/work $ php -l lint-test.php | No syntax errors detected in lint-test.php | /home/jg/work $ php lint-test.php | cheesecheese | Notice: Undefined variable: bar in | /home/jg/work/lint-test.php

Re: [PHP] php -l - does it find *anything*?

2010-07-06 Thread Gary .
*does* php -l pick up? I can't find a description anywhere. According to the man page for php, the -l flag only checks the syntax, so a warning wouldn't be displayed, as technically it's not a show-stopper. Well, I think foo3 is, but yeah, I know what you mean. Maybe some sort of unit

Re: [PHP] php -l - does it find *anything*?

2010-07-06 Thread David Hutto
want to     find, it isn't an exhaustive list!)     BTW, what problems *does* php -l pick up? I can't find a description     anywhere. According to the man page for php, the -l flag only checks the syntax, so a warning wouldn't be displayed, as technically it's not a show-stopper. Well, I

Re: [PHP] php -l - does it find *anything*?

2010-07-06 Thread Per Jessen
Gary . wrote: Yeah. There are static checkers out there, even some FOSS ones. I guess I'm just a bit frustrated that (as you say) the man page says that -l checks syntax but doesn't really detail what kind of things that covers. It really is _only_ the syntax. Same goes for e.g. the C lint

Re: [PHP] L?

2001-04-10 Thread bill
I think L is 50. bill Kurth Bemis wrote: what does the roman numeral L mean? can someone point me to a page that has all of the roman numerals and their English equivlents? i forgot? ~kurth -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED]

Re: [PHP] L?

2001-04-10 Thread Michael Hall
Yep ... I unit V 5 X 10 L 50 C 100 D 500 M 1000 no zero ... try doing maths with this system. Mick I think L is 50. bill Kurth Bemis wrote: what does the roman numeral L mean? -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For

Re: [PHP] L? Roman function

2001-04-10 Thread Knut H. Hassel Nielsen
Hi there. I picked up this function several years ago. See if this can help you see what the roman value for an arabic number is. //Calculates the Roman numerals for the given Arabic number. // Returns '' on error. function to_roman($num) { // There is no '0' or negative numbers in Roman

[PHP] L?

2001-04-09 Thread Kurth Bemis
what does the roman numeral L mean? can someone point me to a page that has all of the roman numerals and their English equivlents? i forgot? ~kurth -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL

RE: [PHP] L?

2001-04-09 Thread Opec Kemp \( Ozemail \)
Try this site http://www.cod.edu/people/faculty/lawrence/romaindx.htm -Original Message- From: Kurth Bemis [mailto:[EMAIL PROTECTED]] Sent: Tuesday, April 10, 2001 10:14 AM To: [EMAIL PROTECTED] Subject: [PHP] L? what does the roman numeral L mean? can someone point me

RE: [PHP] L?

2001-04-09 Thread Philip Olson
-Original Message- From: Kurth Bemis [mailto:[EMAIL PROTECTED]] Sent: Tuesday, April 10, 2001 10:14 AM To: [EMAIL PROTECTED] Subject: [PHP] L? what does the roman numeral L mean? can someone point me to a page that has all of the roman numerals and their English equivlents