Quick fix for "Incompatibility with old versions of PHP from 5.2.17 (inclusively)" issue.