uopz works only in PHP >= 5.4.0 so lets work around