Created
September 20, 2019 13:22
-
-
Save seantunwin/8565322f2e7e7f25b508115c5b8bb0dc to your computer and use it in GitHub Desktop.
PHP: Convert Deep Nested Object to Associative Array
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
// Convert Deep Object to Associative Array | |
$adata = json_decode(json_encode($odata), true); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment