nerdexam
Zend

200-530 · Question #543

Which of the following is a function that converts the string 129.0.0.256 into its integer representation of the valid IP 129.0.1.0?

The correct answer is B. ip2long(). See the full explanation below for the reasoning.

Question

Which of the following is a function that converts the string 129.0.0.256 into its integer representation of the valid IP 129.0.1.0?

Options

  • Along2ip()
  • Bip2long()
  • Cconvip()
  • Dconv_string_to_ip()

How the community answered

(27 responses)
  • A
    15% (4)
  • B
    78% (21)
  • C
    4% (1)
  • D
    4% (1)

Community Discussion

No community discussion yet for this question.

Full 200-530 Practice