Re: [PHP] Re: Static functions

2003-02-10 Thread Ernest E Vogelsinger
At 22:52 09.02.2003, Chris Hayes said: [snip] At 22:49 9-2-2003, you wrote: yes, you can call a static method on a class by specifying the class name, then 2 colons and finally the function name: classname :: functionname([arg,.]) (of course properties

Re: [PHP] Re: Static functions (java/php)

2003-02-10 Thread David Eisenhart
use the error_reporting function: http://www.php.net/manual/en/function.error-reporting.php Joshua Moore-Oliva [EMAIL PROTECTED] wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... How would I go about setting the error reporting level? Josh. On February 9, 2003 06:38 pm, David

[PHP] Re: Static functions

2003-02-09 Thread David Eisenhart
yes, you can call a static method on a class by specifying the class name, then 2 colons and finally the function name: classname :: functionname([arg,.]) (of course properties can not be accessed by such methods) David Eisenhart Leo Spalteholz [EMAIL PROTECTED] wrote in message [EMAIL

Re: [PHP] Re: Static functions

2003-02-09 Thread Chris Hayes
At 22:49 9-2-2003, you wrote: yes, you can call a static method on a class by specifying the class name, then 2 colons and finally the function name: classname :: functionname([arg,.]) (of course properties can not be accessed by such methods) ah ok, cool -- PHP General Mailing List

[PHP] Re: Static functions

2003-02-09 Thread David Eisenhart
you may find the following link interesting http://www.tek271.com/articles/JavaOrPhp.html David Eisenhart -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Re: Static functions (java/php)

2003-02-09 Thread Chris Hayes
At 23:09 9-2-2003, you wrote: you may find the following link interesting http://www.tek271.com/articles/JavaOrPhp.html David Eisenhart I cannot suppress the feeling that someone out there has a slight prejudice in favour of Java! -- PHP General Mailing List (http://www.php.net/) To

Re: [PHP] Re: Static functions

2003-02-09 Thread Leo Spalteholz
ah! thank you very much. Thats exactly what I was looking for. Leo On February 9, 2003 01:49 pm, David Eisenhart wrote: yes, you can call a static method on a class by specifying the class name, then 2 colons and finally the function name: classname :: functionname([arg,.]) (of

Re: [PHP] Re: Static functions

2003-02-09 Thread Leo Spalteholz
very interesting link. While some of the cases where he takes java to be the winner are simply personal preference, I do agree with most of his conclusions. Best points are the one about declaring variables(3), declaring constants(6), using libraries(7), class member scope(17), and exception

Re: [PHP] Re: Static functions (java/php)

2003-02-09 Thread Joshua Moore-Oliva
The only thing I do wish is that there was a way to force php into a typecast mode... and possibly a setting to reqiure a definition for a variable. Josh. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Re: Static functions (java/php)

2003-02-09 Thread David Eisenhart
yeh, I'd agree with this; on your second issue of variable definitions I do find that being able set the error reporting level to show non critical errors (such as undefined variables) to be a reasonable, although non ideal, compromise; php's still a great language to work with most respects

Re: [PHP] Re: Static functions (java/php)

2003-02-09 Thread David Eisenhart
Chris Hayes [EMAIL PROTECTED] wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... At 23:09 9-2-2003, you wrote: you may find the following link interesting http://www.tek271.com/articles/JavaOrPhp.html David Eisenhart I cannot suppress the feeling that someone out there has a

Re: [PHP] Re: Static functions

2003-02-09 Thread David Eisenhart
pleasure Leo, happy php'ing !! Leo Spalteholz [EMAIL PROTECTED] wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... ah! thank you very much. Thats exactly what I was looking for. Leo On February 9, 2003 01:49 pm, David Eisenhart wrote: yes, you can call a static method on a

Re: [PHP] Re: Static functions (java/php)

2003-02-09 Thread Robert Cummings
Chris Hayes wrote: At 23:09 9-2-2003, you wrote: you may find the following link interesting http://www.tek271.com/articles/JavaOrPhp.html David Eisenhart I cannot suppress the feeling that someone out there has a slight prejudice in favour of Java! God yes, the guy seems to think that

Re: [PHP] Re: Static functions (java/php)

2003-02-09 Thread Joshua Moore-Oliva
How would I go about setting the error reporting level? Josh. On February 9, 2003 06:38 pm, David Eisenhart wrote: yeh, I'd agree with this; on your second issue of variable definitions I do find that being able set the error reporting level to show non critical errors (such as undefined

Re: [PHP] Re: Static functions (java/php)

2003-02-09 Thread Jason Wong
On Monday 10 February 2003 08:45, Joshua Moore-Oliva wrote: How would I go about setting the error reporting level? google 'php error reporting level' -- Jason Wong - Gremlins Associates - www.gremlins.biz Open Source Software Systems Integrators * Web Design Hosting * Internet Intranet