This repository was archived by the owner on Dec 6, 2024. It is now read-only.
File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -62,7 +62,7 @@ $sName = A::get($post, 'user/basicInformation/name');
62
62
$sSurname = A::get($post, 'user/basicInformation/surname');
63
63
64
64
// with default value
65
- $sLocale = A:get($post, 'user/locale', 'Europe/Dublin');
65
+ $sLocale = A:: get($post, 'user/locale', 'Europe/Dublin');
66
66
67
67
```
68
68
@@ -75,7 +75,7 @@ $aUser = array();
75
75
$sName = $aUser['user']['basicInformation']['name'] = 'Mathias Grimm';
76
76
// ===================================================================
77
77
78
- // ArrayPath
78
+ // ArrayPath
79
79
$aUser = array();
80
80
$sName = A::set($aUser, 'user/basicInformation/name', 'Mathias');
81
81
```
@@ -100,7 +100,7 @@ if (array_key_exists('user', (array) $aUser)) {
100
100
101
101
// ===================================================================
102
102
103
- // ArrayPath
103
+ // ArrayPath
104
104
$bExists = A::exists($aUser, 'user/basicInformation/name');
105
105
```
106
106
@@ -119,7 +119,7 @@ if (isset($aUser['user']['basicInformation']['name'])) {
119
119
$sName = A::remove($aUser, 'user/basicInformation/name');
120
120
```
121
121
122
- Example 5 (Using a custom separator)
122
+ Example 5 (Using a custom separator)
123
123
------------------------------------
124
124
``` php
125
125
<?php
You can’t perform that action at this time.
0 commit comments