<?php $array = [ [ "users" => [ 'email' => 'test@yahoo.com ,testuser@yahoo.com', 'username' => 'test,testuser', 'description' => 'description1,description2' ] ] ]; var_export( array_map( fn($csv) => preg_split('/ ?,/', $csv), $array[0]['users'] ) );
You have javascript disabled. You will not be able to edit any code.