"convert array values from string to int?" Answer’s

0

You can achieve this by following code,

$integerIDs = array_map('intval', explode(',', $string));
Wednesday, March 31, 2021
 
Powering
answered 11 Months ago
Only authorized users can answer the question. Please sign in first, or register a free account.
Not the answer you're looking for? Browse other questions tagged :