Deprecated: The each() function is deprecated.