Re: [PHP] Sanity checker?

2006-07-08 Thread David Tulloh
Ezra Nugroho wrote: It was a long time since I post any question to this list, like back at php 3x time. Boy, a lot has change now. So I actually did kick some funny bones, not quite flames yet. And that's good, I don't really like that. Wolf We aren't going to take the time to answer a

Re: [PHP] Sanity checker?

2006-07-08 Thread Robert Cummings
On Sat, 2006-07-08 at 09:09, David Tulloh wrote: Ezra Nugroho wrote: It was a long time since I post any question to this list, like back at php 3x time. Boy, a lot has change now. So I actually did kick some funny bones, not quite flames yet. And that's good, I don't really like that.

RE: [PHP] Sanity checker?

2006-07-07 Thread Ezra Nugroho
Php experts everywhere, This is a response to an old thread about a php audit tool. I just want to announce a simple tool for that. It is not super smart yet, but it is easily extensible. Please check it out, and provide me with suggestions.

Re: [PHP] Sanity checker?

2006-05-04 Thread Richard Lynch
On Wed, May 3, 2006 12:51 pm, Ezra Nugroho wrote: I envision a tool that would audit your php code, and tell you if your code is good or not, if it has scaling issues, etc, etc. Basically it tells if your php code is sane or not. Oooh. I know what you mean. I call that tool a Consultant :-)

Re: [PHP] Sanity checker?

2006-05-04 Thread John Wells
On Wed, May 3, 2006 12:51 pm, Ezra Nugroho wrote: I envision a tool that would audit your php code, and tell you if your code is good or not, if it has scaling issues, etc, etc. Basically it tells if your php code is sane or not. No, but If you're in a team environment, the best advice

RE: [PHP] Sanity checker?

2006-05-04 Thread Jay Blanchard
[snip] If you're in a team environment, the best advice I've heard is to have the team share accountability. Meaning, if you write a piece of code, you _must_ have a colleague double-check it and sign off on it. Then if a bug is discovered down the road, _both_ of you will be held responsible.

Re: [PHP] Sanity checker?

2006-05-04 Thread Ezra Nugroho
It was a long time since I post any question to this list, like back at php 3x time. Boy, a lot has change now. So I actually did kick some funny bones, not quite flames yet. And that's good, I don't really like that. Wolf We aren't going to take the time to answer a rhetorical question when

RE: [PHP] Sanity checker?

2006-05-04 Thread Jay Blanchard
[snip] Have you ever seen things like for ($i = 0; $i count($some_array); $i++) { //do stuff } Do you know how slow it is if $some_array gets big compared to $array_count = count($some_array); for ($i = 0; $i $array_count; $i++) { //do stuff } [/snip] The thing is this; there are lots

Re: [PHP] Sanity checker?

2006-05-03 Thread Robin Vickery
On 03/05/06, Ezra Nugroho [EMAIL PROTECTED] wrote: PHP experts everywhere, Does anyone know of any tools to test the sanity of your php code? If you were to check the sanity of your code, what would you look for? Hidden messages encoded in the whitespace. -robin -- PHP General Mailing

Re: [PHP] Sanity checker?

2006-05-03 Thread Ezra Nugroho
Well, Since my original post failed to generate reasonable feedback, not even a successful kick at people's funny bone or a flame, let me restate my question with a story. Php reduces the barrier to web development quite a bit, such that less technical people can jump in really easily. In one

RE: [PHP] Sanity checker?

2006-05-03 Thread Chris W. Parker
Ezra Nugroho mailto:[EMAIL PROTECTED] on Wednesday, May 03, 2006 10:51 AM said: Well, Reservoir, I envision a tool that would audit your php code, and tell you if your code is good or not, if it has scaling issues, etc, etc. Basically it tells if your php code is sane or not. Is this

Re: [PHP] Sanity checker?

2006-05-03 Thread Martin Alterisio \El Hombre Gris\
Ezra Nugroho escribió: Well, Since my original post failed to generate reasonable feedback, not even a successful kick at people's funny bone or a flame, let me restate my question with a story. Php reduces the barrier to web development quite a bit, such that less technical people can jump in

Re: [PHP] Sanity checker?

2006-05-03 Thread Satyam
- Original Message - From: Chris W. Parker [EMAIL PROTECTED] Ezra Nugroho mailto:[EMAIL PROTECTED] on Wednesday, May 03, 2006 10:51 AM said: Well, Reservoir, I envision a tool that would audit your php code, and tell you if your code is good or not, if it has scaling issues,

Re: [PHP] Sanity checker?

2006-05-03 Thread Wolf
You did not get responses (even many funny ones) because what is considered SANE by your standards may not necessarily be SANE by mine. Personally I'd jump from a plane with a chute and back-up chute, but ask my dad and he says I am nuts! Most of us tend to use coding standards we have learned

Re: [PHP] Sanity checker?

2006-05-03 Thread Joe Henry
On Tuesday 02 May 2006 6:14 pm, Ezra Nugroho wrote: Does anyone know of any tools to test the sanity of your php code? This sounds an awful lot like the Halting Problem to me, which isn't solvable. http://en.wikipedia.org/wiki/Halting_Problem -- Joe Henry www.celebrityaccess.com [EMAIL

Re: [PHP] Sanity checker?

2006-05-03 Thread Björn Bartels
Hi, there... agreeing with other posts, i'd say this could easily be done by quality management. don't know if there are any recommended international standards [ www.iso.org ] , but i think this would be a good start. worst case, you will have to define those rules all by yourself. as far as i

Re: [PHP] Sanity checker?

2006-05-03 Thread Björn Bartels
:) ... i might have taken a look ther first... http://www.iso.org/iso/en/CatalogueListPage.CatalogueList?ICS1=35ICS2=80ICS3=scopelist= cheers, bb Hi, there... agreeing with other posts, i'd say this could easily be done by quality management. don't know if there are any recommended

Re: [PHP] Sanity checker?

2006-05-03 Thread Ólafur Waage
How would you define ie. a sane case or elseif statment without knowing more about the code, how it is executed or included files that effect the file. File that the checker possibly doesnt have access to. Björn Bartels wrote: Hi, there... agreeing with other posts, i'd say this could

[PHP] Sanity checker?

2006-05-02 Thread Ezra Nugroho
PHP experts everywhere, Does anyone know of any tools to test the sanity of your php code? If you were to check the sanity of your code, what would you look for? Any pointers for other resources? Thank you, Ezra -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: