A

Admin • 833K Points
Coach

Q. Which function is used to convert a value to an integer in PHP?

  • (A) to_integer()
  • (B) intval()
  • (C) make_int()
  • (D) convert_int()
  • Correct Answer - Option(B)
  • Views: 22
  • Filed under category PHP
  • Hashtags:

Explanation by: Admin

intval() converts a variable to an integer.

You must be Logged in to update hint/solution

Discusssion

Login to discuss.

Be the first to start discuss.