Backport changeset 33362  fixed a notice on PHP 5.4 (closes #9985, patch from bshaffer)
Backport changeset 33596 [1.4] fixed some PHP 5.4 notices (closes #10010, patch from Tiago.Ribeiro, David.Regade, and bmontuelle)
Backport changeset 33358 [1.4] fixed Notice with PHP 5.4 (closes #10003)