privat context php 5.3 fix