Re: [PHP-DEV] strptime patch
they are both in Single UNIX, its pretty reliable in my experience where one is, the other follows. i've only ran into difficulties wrt to what features are available on different OS', do you know a case where strptime isn't avail and strftime is? -sterling On Tue, 28 Sep 2004 08:07:55 +0200 (CEST), Derick Rethans [EMAIL PROTECTED] wrote: On Mon, 27 Sep 2004, Sterling Hughes wrote: Sterling Hughes wrote: i needed strptime() for a project i'm working on, its awful handy when you are making dates with strftime(). any objections to committing the attached patch? I think we need another #ifdef for this for the unlikely situation where strptime is not available and strftime is. Derick -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP-DEV] strptime patch
On Tue, 28 Sep 2004, Sterling Hughes wrote: they are both in Single UNIX, its pretty reliable in my experience where one is, the other follows. i've only ran into difficulties wrt to what features are available on different OS', do you know a case where strptime isn't avail and strftime is? Nope, I don't... but it's an very easy check to add, so why not do it to be sure? Derick -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP-DEV] strptime patch
On Tue, 28 Sep 2004 08:28:39 +0100, Wez Furlong [EMAIL PROTECTED] wrote: *cough* windows *cough* probably doesn't have strptime (not that you'd care ;-)) do we still support that platform? who knew? :-P sometimes i often wonder if Zend integrated the Performance Suite into PHP, if we could drop the windows port and let them sell the only commercial version then I go back to calling windmills names. It's also probably a good idea to add the check for the wierdo unix flavours, just to be safe. yeah, fair enough. its easy to add anyway. assume its in my patch. any other issues? -Sterling -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php