So, how much more "expensive" is it to use exceptions rather than returning error objects?

I've seen a performance test that says that throwing an exception is about twice as expensive as returning an error in PHP. But in either case the cost of the error is trivial compared to the time spent running a script.

The cost does vary a lot by language, in some languages throwing an exception can be an order of magnitude more expensive then returning an error.

Jay