Last active
June 18, 2019 10:26
-
-
Save shmidtelson/3efcad589fea1c83ca81725a7b2d76f8 to your computer and use it in GitHub Desktop.
This file contains 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 | |
$arr = [ | |
[ | |
'cat' = > [ | |
'id' => 0, | |
'name' => 'Cat1' | |
], | |
'posts':[ | |
[ | |
'id': 1, | |
'name': 'Post1' | |
], | |
[ | |
'id': 2, | |
'name': 'Post2' | |
], | |
] | |
], | |
.... | |
]; | |
?> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment