Answers for "convert an array to object in php by defining keys"

PHP
9

php convert array to object

$object = (object) $array;
Posted by: Guest on March-17-2020

Code answers related to "convert an array to object in php by defining keys"

Browse Popular Code Answers by Language