Fixing premature initialization of static zval