php 5.3: set null integer fields to 0