Laravel Collection Playground
Input Json
xxxxxxxxxx
1
{
2
"array": [
3
1,
4
2,
5
3
6
],
7
"boolean": true,
8
"null": null,
9
"number": 123,
10
"object": {
11
"a": "b",
12
"c": "d",
13
"e": "f"
14
},
15
"string": "Hello World"
16
}
Collection Code
xxxxxxxxxx
1
$collection;
Documentation
Output
xxxxxxxxxx
1
{
2
"array": [
3
1,
4
2,
5
3
6
],
7
"boolean": true,
8
"null": null,
9
"number": 123,
10
"object": {
11
"a": "b",
12
"c": "d",
13
"e": "f"
14
},
15
"string": "Hello World"
16
}
PHP: Loaded in 7.0s