PEAR_Error::userinfo is meant to be only a string?

From: Date: Mon, 19 Feb 2007 05:41:58 +0000
Subject: PEAR_Error::userinfo is meant to be only a string?
Groups: php.pear.dev 
Request: Send a blank email to pear-dev+get-45672@lists.php.net to get a copy of this message
I had previously thought that userinfo in PEAR_Error objects was allowed to be any type of variable to allow for arbitrary debug information to be thrown with the error object but bug #10121 has pointed out to me that userinfo is used in PEAR_Error::toString() in sprintf() directly, causing an error. Is the correct usage for userinfo only a string? -- Justin Patrin

« previous php.pear.dev (#45672) next »