Answers for "php destructure associative array"

PHP
0

php destructure associative array

$options = ['enabled' => true, 'compression' => 'gzip'];
['enabled' => $enabled, 'compression' => $compression] = $options;
Posted by: Guest on June-20-2021

Browse Popular Code Answers by Language