From: Jeff D. <da...@da...> - 2003-02-24 01:19:24
|
On Sun, 23 Feb 2003 18:32:57 -0500 Carsten Klapp <car...@us...> wrote: > (Can fmt() be used inside of trigger_error? Removing that at least > should fix the "Object to string conversion" problem and display the > real "can't set locale" error.) Doh! Of course! (I was thinking that $loc was the offending object.) I've just played around with PHP a bit, and it seems that PHP always coerces the first argument of trigger_error to a string. I'vd just changed that fmt to a sprintf() (in CVS). Now maybe Johannes (or however else is seeing the warning) can see if the error message becomes any more informative... |