<?php $file_data = [ 'foo|bar', 'bar|food', 'food|fighters', ]; $result = []; foreach ($file_data as $value) { [$key, $result[$key]] = explode('|', $value); } var_export($result);
You have javascript disabled. You will not be able to edit any code.
Value for `_results` contains invalid data `array`