Re: [nyphp-talk] How many PHPers use of PHP5 ?

2007-02-06 Thread Anthony Papillion
I think the answer to your question largely depends on the type of applications you're developing and where your customers want you to go. We've stuck with PHP 4 for now but we are ramping up all of our developers on PHP5 because that is really where the future lies. Look at where you are and wh

Re: [nyphp-talk] How many PHPers use of PHP5 ?

2007-02-06 Thread Phillip B. Roberts
How important is it that you use an ISP in China? Do you have the ability to use an ISP outside of China? Or would that affect load times/bandwidth too much? On Wed, 2007-02-07 at 11:33 +0800, Mo Mo wrote: > At first I am using PHP4 for my project,Because Many ISPs doesn't support > PHP5 in Ch

Re: [nyphp-talk] How many PHPers use of PHP5 ?

2007-02-06 Thread Nazmul Hassan
many ISPs don't support PHP5? what? that makes no sense. you mean, many hosting providers aren't compatible with PHP 5 is what you mean to say. PHP 5 is basically a grow on, and more secure working of PHP 4. nothing that would cause you to learn php all over again. On 2/6/07, Mo Mo <[EMAIL PROTE

[nyphp-talk] How many PHPers use of PHP5 ?

2007-02-06 Thread Mo Mo
At first I am using PHP4 for my project,Because Many ISPs doesn't support PHP5 in China,Do you using PHP5 and what shall I do ? Thanks. _ 享用世界上最大的电子邮件系统― MSN Hotmail。 http://www.hotmail.com

Re: [nyphp-talk] testing a theory

2007-02-06 Thread Kenneth Downs
Paul Houle wrote: Urb LeJeune wrote: It's called a "here document" structure and can include variables. One note of caution. There can be no spaces at the end of either the first or second "Content" and the last one must begin in column one. That's one reason I don't like here variables.

Re: [nyphp-talk] testing a theory

2007-02-06 Thread Paul Houle
Urb LeJeune wrote: It's called a "here document" structure and can include variables. One note of caution. There can be no spaces at the end of either the first or second "Content" and the last one must begin in column one. That's one reason I don't like here variables. People mash them up

Re: [nyphp-talk] testing a theory

2007-02-06 Thread Urb LeJeune
I did a performance test on just this type of thing and there was no discernable difference. Why not do the following which makes the code much easier to follow and modify $Content=<< ?> vs. ___ New York PHP Community Talk Mailing List http://li

Re: [nyphp-talk] testing a theory

2007-02-06 Thread Kenneth Downs
Adrian Noland wrote: Hi, I have a quick (and probably silly) question. Is there performance difference between the following two snippets. Does it make a difference if there are hundreds+ of lines? I can offer a few rules of thumb from experience. First, in any situation where there is disk or

RE: [nyphp-talk] testing a theory

2007-02-06 Thread Nicholas Tang
I'd agree, but I'd also say: 1.) Test, test, test... It'll take 5 minutes to run a quick benchmark and find out. 2.) My guess is that neither is going to have a significant performance impact, and that it's probably not worth worrying about in the big picture. Look for low-hanging fruit first, i

Re: [nyphp-talk] testing a theory

2007-02-06 Thread Ben Sgro \(ProjectSkyline\)
Well, My guess (no facts here) would be the first is slower. First the "'s need to be checked for $variables, it would be quicker to put '. And then an operation of copying needs to be done. Allocation as well on the c side for the new, larger variable. Then the display. The second snippet

[nyphp-talk] testing a theory

2007-02-06 Thread Adrian Noland
Hi, I have a quick (and probably silly) question. Is there performance difference between the following two snippets. Does it make a difference if there are hundreds+ of lines? vs. ___ New York PHP Community Talk Mailing List http://lists.nyphp.org/