3 ms·
What is this array'ish construct ? ['title' => $title, 'description' => $description] = $post;
by danielovichdk 5y ago
What is this array'ish construct ?
['title' => $title, 'description' => $description] = $post;
- deergomoo 5y agoIt assigns the values of $post[‘title’] and $post[‘description’] to the variables $title and $post, respectively.