PHP api writes:
  5.2.0	 The httponly parameter was added.

(i guess the check had be >= instead of >, isn't?)

So I think that removing this check is ok.