Re: [PHP] Re: use strict or similar in PHP?

2009-03-01 Thread Jim Lucas
Stuart wrote: 2009/3/1 Shawn McKenzie nos...@mckenzies.net Stuart wrote: 2009/2/28 Shawn McKenzie nos...@mckenzies.net Robert Cummings wrote: On Sat, 2009-02-28 at 00:11 +, Ashley Sheridan wrote: On Fri, 2009-02-27 at 14:32 -0500, Robert Cummings wrote: On Sat, 2009-02-28 at 00:02

Re: [PHP] Re: use strict or similar in PHP?

2009-03-01 Thread Robert Cummings
On Sat, 2009-02-28 at 18:57 -0600, Shawn McKenzie wrote: Stuart wrote: 2009/2/28 Shawn McKenzie nos...@mckenzies.net Robert Cummings wrote: On Sat, 2009-02-28 at 00:11 +, Ashley Sheridan wrote: On Fri, 2009-02-27 at 14:32 -0500, Robert Cummings wrote: On Sat, 2009-02-28 at 00:02

Re: [PHP] Re: use strict or similar in PHP?

2009-03-01 Thread tedd
The OP asked: Is there in PHP something like use strict from perl? I find it pretty annoying to need to run script over and over again just to find out that I made typo in variable name. And I've been waiting for an answer myself, but I haven't seen one. From what I remember, in perl if you

Re: [PHP] Re: use strict or similar in PHP?

2009-03-01 Thread Robert Cummings
On Sun, 2009-03-01 at 08:36 -0500, tedd wrote: The OP asked: Is there in PHP something like use strict from perl? I find it pretty annoying to need to run script over and over again just to find out that I made typo in variable name. And I've been waiting for an answer myself, but I

Re: [PHP] Re: use strict or similar in PHP?

2009-03-01 Thread tedd
At 9:21 AM -0500 3/1/09, Robert Cummings wrote: On Sun, 2009-03-01 at 08:36 -0500, tedd wrote: The OP asked: Is there in PHP something like use strict from perl? I find it pretty annoying to need to run script over and over again just to find out that I made typo in variable name. And

Re: [PHP] Re: use strict or similar in PHP?

2009-03-01 Thread Robert Cummings
On Sun, 2009-03-01 at 09:48 -0500, tedd wrote: At 9:21 AM -0500 3/1/09, Robert Cummings wrote: On Sun, 2009-03-01 at 08:36 -0500, tedd wrote: The OP asked: Is there in PHP something like use strict from perl? I find it pretty annoying to need to run script over and over again just to

Re: [PHP] Re: use strict or similar in PHP?

2009-03-01 Thread Robert Cummings
On Sun, 2009-03-01 at 09:57 -0500, Robert Cummings wrote: On Sun, 2009-03-01 at 09:48 -0500, tedd wrote: At 9:21 AM -0500 3/1/09, Robert Cummings wrote: On Sun, 2009-03-01 at 08:36 -0500, tedd wrote: The OP asked: Is there in PHP something like use strict from perl? I find it

Re: [PHP] Re: use strict or similar in PHP?

2009-02-28 Thread Robert Cummings
On Sat, 2009-02-28 at 00:11 +, Ashley Sheridan wrote: On Fri, 2009-02-27 at 14:32 -0500, Robert Cummings wrote: On Sat, 2009-02-28 at 00:02 +0600, 9el wrote: --- Use FreeOpenSourceSoftwares, Stop piracy, Let the

Re: [PHP] Re: use strict or similar in PHP?

2009-02-28 Thread Shawn McKenzie
Robert Cummings wrote: On Sat, 2009-02-28 at 00:11 +, Ashley Sheridan wrote: On Fri, 2009-02-27 at 14:32 -0500, Robert Cummings wrote: On Sat, 2009-02-28 at 00:02 +0600, 9el wrote: --- Use FreeOpenSourceSoftwares, Stop

Re: [PHP] Re: use strict or similar in PHP?

2009-02-28 Thread Robert Cummings
On Sat, 2009-02-28 at 09:04 -0600, Shawn McKenzie wrote: Robert Cummings wrote: On Sat, 2009-02-28 at 00:11 +, Ashley Sheridan wrote: On Fri, 2009-02-27 at 14:32 -0500, Robert Cummings wrote: On Sat, 2009-02-28 at 00:02 +0600, 9el wrote:

Re: [PHP] Re: use strict or similar in PHP?

2009-02-28 Thread Stuart
2009/2/28 Shawn McKenzie nos...@mckenzies.net Robert Cummings wrote: On Sat, 2009-02-28 at 00:11 +, Ashley Sheridan wrote: On Fri, 2009-02-27 at 14:32 -0500, Robert Cummings wrote: On Sat, 2009-02-28 at 00:02 +0600, 9el wrote:

Re: [PHP] Re: use strict or similar in PHP?

2009-02-28 Thread Shawn McKenzie
Stuart wrote: 2009/2/28 Shawn McKenzie nos...@mckenzies.net Robert Cummings wrote: On Sat, 2009-02-28 at 00:11 +, Ashley Sheridan wrote: On Fri, 2009-02-27 at 14:32 -0500, Robert Cummings wrote: On Sat, 2009-02-28 at 00:02 +0600, 9el wrote:

Re: [PHP] Re: use strict or similar in PHP?

2009-02-28 Thread Stuart
2009/3/1 Shawn McKenzie nos...@mckenzies.net Stuart wrote: 2009/2/28 Shawn McKenzie nos...@mckenzies.net Robert Cummings wrote: On Sat, 2009-02-28 at 00:11 +, Ashley Sheridan wrote: On Fri, 2009-02-27 at 14:32 -0500, Robert Cummings wrote: On Sat, 2009-02-28 at 00:02 +0600, 9el

Re: [PHP] Re: use strict or similar in PHP?

2009-02-28 Thread Shawn McKenzie
Stuart wrote: 2009/3/1 Shawn McKenzie nos...@mckenzies.net Stuart wrote: 2009/2/28 Shawn McKenzie nos...@mckenzies.net Robert Cummings wrote: On Sat, 2009-02-28 at 00:11 +, Ashley Sheridan wrote: On Fri, 2009-02-27 at 14:32 -0500, Robert Cummings wrote: On Sat, 2009-02-28 at 00:02

Re: [PHP] Re: use strict or similar in PHP?

2009-02-28 Thread Michael A. Peters
Stuart wrote: As far as error checking goes the PHP engine performs syntactical checks during compile time but due to the highly flexible nature of the language it's not possible to do most error checking until runtime. I don't know (or care) how to do it but I suspect that if you put all

[PHP] Re: use strict or similar in PHP?

2009-02-27 Thread Peter Ford
Hans Schultz wrote: Is there in PHP something like use strict from perl? I find it pretty annoying to need to run script over and over again just to find out that I made typo in variable name. I find that my IDE catches most of the typos before I even try to run the page. I use Netbeans 6.5

[PHP] Re: use strict or similar in PHP?

2009-02-27 Thread Hans Schultz
Thanks, this is the most useful answer I got. I will try to use that IDE and to see if it works for me. Regarding databases I was hopping for some abstraction layer like dbx only better (to allow parameters). Regards, Hans On Fri, 27 Feb 2009 15:41:55 +0100, Peter Ford p...@justcroft.com

[PHP] Re: use strict or similar in PHP?

2009-02-27 Thread LuKreme
On Feb 27, 2009, at 6:12, Hans Schultz h.schult...@yahoo.com wrote: Hahahah,I was thinking the same thing The trouble is most people mean compile a source file to an executable binary when they sat compile. By this measure, PHP does not compile. -- PHP General Mailing List

Re: [PHP] Re: use strict or similar in PHP?

2009-02-27 Thread Robert Cummings
On Fri, 2009-02-27 at 09:28 -0700, LuKreme wrote: On Feb 27, 2009, at 6:12, Hans Schultz h.schult...@yahoo.com wrote: Hahahah,I was thinking the same thing The trouble is most people mean compile a source file to an executable binary when they sat compile. By this measure, PHP

Re: [PHP] Re: use strict or similar in PHP?

2009-02-27 Thread 9el
--- Use FreeOpenSourceSoftwares, Stop piracy, Let the developers live. Get a Free CD of Ubuntu mailed to your door without any cost. Visit : www.ubuntu.com --

Re: [PHP] Re: use strict or similar in PHP?

2009-02-27 Thread Robert Cummings
On Sat, 2009-02-28 at 00:02 +0600, 9el wrote: --- Use FreeOpenSourceSoftwares, Stop piracy, Let the developers live. Get a Free CD of Ubuntu mailed to your door without any cost. Visit : www.ubuntu.com

Re: [PHP] Re: use strict or similar in PHP?

2009-02-27 Thread Michael A. Peters
Robert Cummings wrote: ... the line between the definition of interpreted language and compiled language is quite blurry these days. #includestdio.h main() { printf(Hello World); } Compile that - and you can run it on any system that is binary compatible, whether or not is has a C

Re: [PHP] Re: use strict or similar in PHP?

2009-02-27 Thread Robert Cummings
On Fri, 2009-02-27 at 14:32 -0800, Michael A. Peters wrote: Robert Cummings wrote: ... the line between the definition of interpreted language and compiled language is quite blurry these days. #includestdio.h main() { printf(Hello World); } Compile that - and you can run it on

Re: [PHP] Re: use strict or similar in PHP?

2009-02-27 Thread sbeam
On Friday 27 February 2009 10:56, Hans Schultz wrote: Regarding databases I was hopping for some abstraction layer like dbx only   better (to allow parameters). I encourage you to use a database abstraction layer that gives you this and many other features you may be used to from JDBC MDB2

Re: [PHP] Re: use strict or similar in PHP?

2009-02-27 Thread Ashley Sheridan
On Fri, 2009-02-27 at 14:32 -0500, Robert Cummings wrote: On Sat, 2009-02-28 at 00:02 +0600, 9el wrote: --- Use FreeOpenSourceSoftwares, Stop piracy, Let the developers live. Get a Free CD of Ubuntu mailed to your door