> Would the args still be available in the stringified version? Because
>> they're quite useful for debugging there.
> Hm, I guess we'd need to store the string representation (the class name,
> basically) somewhere so we could keep that. Doesn't seem like it ought to
> be too hard, unless there's some hidden complexity or performance impact
Not sure whether there will be a noticeable performance impact. Formatting
doesn't have to take place on collection, but a replacement of object
references to some representation that can later be formatted. A refcount
increase can be saved, but that's probably totally trivial performance wise.
Related issue for ReactPHP's promises: