Cast it to an array:
$array = (array)$stdClass;
More Related Contents:
- how can i passed array into a function in php [closed]
- How is this not passing PHP values to JS and vice-versa?
- About how does mysqli_query() Function and mysqli_fetch_array($result) work?
- How do I strip all spaces out of a string in PHP? [duplicate]
- Filter array by its keys using an array of allowed keys
- PHP | define() vs. const
- How to replace different newline styles in PHP the smartest way?
- Error 330 (net::ERR_CONTENT_DECODING_FAILED):
- How to get code point number for a given character in a utf-8 string?
- Difference between method calls $model->relation(); and $model->relation;
- How do I import a .sql file in mysql database using PHP?
- PHP expects T_PAAMAYIM_NEKUDOTAYIM?
- What can use for DateTime::diff() for PHP 5.2?
- How to bind parameters to a raw DB query in Laravel that’s used on a model?
- Auto increment in phpmyadmin
- Format text in Excel file via PHP
- Detecting Ajax in PHP and making sure request was from my own website
- Undefined Index while uploading file
- Inserting line breaks into PDF
- Do I really need to do mysql_close()
- Laravel preg_match(): No ending delimiter ‘/’ found
- How to query all the GraphQL type fields without writing a long query?
- php warning: mysqli_close() expects parameter 1 to be mysqli
- ini_set(“memory_limit”) in PHP 5.3.3 is not working at all
- What does a . (dot) do in PHP?
- PHP PDF template library with PDF output? [closed]
- Recursive array_search
- Gulp-webapp running BrowserSync and PHP
- How to render content from string/database with twig? [duplicate]
- PHP Can static:: replace self::?