I have this $array DD.MM.YYYY|XX,xxx
[0]=> string(17) "04.01.2021|26,140" 
[1]=> string(17) "05.01.2021|26,225" 
[2]=> string(17) "06.01.2021|26,145"
I need to create 2 more arrays from it, e.g. $array_date and $array_value.
I tried something like foreach and inside the loop use explode() function but I have no idea, I also checked some previous posts for this problem but to no avail.