Subject | Re: PHP5RC3 |
---|---|
Author | Lester Caine |
Post date | 2004-06-08T20:41:37Z |
Ard Biesheuvel wrote:
Lester Caine
-----------------------------
L.S.Caine Electronic Services
> The function ibase_timefmt() has been removed from PHP5, because it--
> didn't do anything ini_set() cannot do. The implementation of
> ibase_timefmt() added three malloc()'s/free()'s to every request
> init/shutdown, so it had to be changed anyway. Instead of turning it
> into a crippled version of ini_set() [which, in addition to what
> ibase_timefmt() does, returns the previous value of the .ini-directive],
> I decided to remove it altogether.
>
> So instead of
>
> ibase_timefmt("<format>", IBASE_[TIMESTAMP|DATE|TIME])
>
> you can just do
>
> ini_set("ibase.[timestamp|date|time]format", "<format>")
>
> This will be in the Release Notes when PHP5 is final.
Lester Caine
-----------------------------
L.S.Caine Electronic Services