Re: [PHP] Re: PHP4 vs PHP5

2007-04-07 Thread Travis Doherty
Robert Cummings wrote: >Or... there's some strong arming happening to force the move. PHP4 >userbase greatly outnumbers the PHP5 userbase. I think the userbase >speaks louder than the support timeframe. > >Cheers, >Rob. > > Damien Seguy's latest stats showing the adoption rates of PHP5 show wha

Re: [PHP] Re: PHP4 vs PHP5

2007-04-07 Thread Robert Cummings
On Sat, 2007-04-07 at 21:15 -0300, Yves Arsenault wrote: > Although I rarely post here (mostly lurking)... > > I would think that the mere fact that support for PHP4 ends in 8 months > should be in and of itself a strong argument for the server admins. > > In my current position, I code and am re

Re: [PHP] Re: PHP4 vs PHP5

2007-04-07 Thread Yves Arsenault
Although I rarely post here (mostly lurking)... I would think that the mere fact that support for PHP4 ends in 8 months should be in and of itself a strong argument for the server admins. In my current position, I code and am responsible for a few different servers. It's certainly a strong argu

Re: [PHP] Re: php4 vs. php5

2006-02-03 Thread Paul Novitski
On 2/3/06, Keith Proctor <[EMAIL PROTECTED]> wrote: I'd like to convert a string such as 'x5' to the number 5. At 09:10 AM 2/3/2006, Rory Browne wrote: preg_replace("/[^0-9]/", "", $x) I would expect intval to work as well, but aparently not. Rory, the RegExp you suggest will strip decima

[PHP] [PHP-INSTALL] Re: [PHP] Re: php4 vs. php5

2006-02-03 Thread Mark Galbreath
This is a no-brainer, really. From a security standpoint alone, PHP 5 is superior, but through in the OOP and there's no question. There are books written on the subject - do an amazon search. And don't forget eric's advice. mark >>> Paul Novitski <[EMAIL PROTECTED]> 02-Feb-06 19:36 PM >>>

Re: [PHP] Re: php4 vs. php5

2006-02-03 Thread Rory Browne
On 2/3/06, Keith Proctor <[EMAIL PROTECTED]> wrote: > I need to add two numbers together, unfortunately one of them is a > string that starts with a character. I'd like to convert a string > such as 'x5' to the number 5. Don't care about it's final type as > that isn't the hard part. :) I can't

RE: [PHP] Re: php4 vs. php5

2006-02-03 Thread Jim Moseby
> > I'm wondering if you can outline, or direct me to a resource that > explicitly notes the benefits of php5 over php4. > The main benefit I see to PHP5 over PHP4 (and one that may not be covered in the "migrating" document at php.net) is that PHP4 is going away, and that migrating from PHP4

Re: [PHP] Re: php4 vs. php5

2006-02-02 Thread Keith Proctor
I need to add two numbers together, unfortunately one of them is a string that starts with a character. I'd like to convert a string such as 'x5' to the number 5. Don't care about it's final type as that isn't the hard part. :) I can't find a function to do this. I looked in the math cl

Re: [PHP] Re: php4 vs. php5

2006-02-02 Thread Paul Novitski
At 04:09 PM 2/2/2006, Tim Burgan wrote: I'm wondering if you can outline, or direct me to a resource that explicitly notes the benefits of php5 over php4. They've got everything you need at php.net:* Appendix B. Migrating from PHP 4 to PHP 5 http://php.net/manual/en/migration5.php * to para