Answers for "get value from stdclass object"

PHP
0

get value from stdclass object

// Directly
$obj->variable;
  
// Through Array
$array = get_object_vars($obj);
Posted by: Guest on March-11-2021

Browse Popular Code Answers by Language