Q. Which PHP function converts a string to an integer safely? (A) intval() (B) parseInt() (C) toInt() (D) number() ποΈ Show Answer π¬ Discuss π Share β‘Menu β Correct Answer: (A) intval() Explanation: intval() converts a variable to integer.