Answers for "how convert array to object in php"

PHP
9

php convert array to object

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

php array to object

$object = (object)$array;
Posted by: Guest on July-04-2021

Code answers related to "how convert array to object in php"

Browse Popular Code Answers by Language