Answers for "php assign object array data to a variable"

PHP
3

object to array php

$array = (array) $yourObject;
Posted by: Guest on September-18-2020
0

object values to array php

array_values(get_object_vars($object));
Posted by: Guest on September-18-2020

Code answers related to "php assign object array data to a variable"

Browse Popular Code Answers by Language