Issue #2029493 by helmo: Fixed testBackendMethodPost fails on php 5.4.