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
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
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
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
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 >>>
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
>
> 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
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
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
9 matches
Mail list logo