5.4.4 version of PHP compat fix. Oops.

Serialised and unserialised when passing variables