How to use explode method in php : I changed the split() function( deprecated) with explode() and still got error.Any help?

function createTimestamp($time) {
	
list($day, $month, $year, $hour, $minute) = explode(':', $time);  // error is here
	return mktime($hour, $minute, -1, $month, $day, $year) + 1492640000000;
	}