avoid E_STRICT error in php