fix performance regression opening php files