$obj

Posted rsapaper

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了$obj相关的知识,希望对你有一定的参考价值。

<?php

$obj = new stdClass();
for($w=0; $w<10; $w++){
    $obj->$w= $w.‘w‘;
    $str = $w.‘we‘;
    $obj->$str=new stdClass();
    for($wb=0; $wb<6; $wb++){
        $tmp = $wb.‘w‘;
        $obj->$str->$tmp = $wb;
        $tmpb = $wb.‘we‘;
        $obj->$str->$tmpb = new stdClass();
        for($wd=0; $wd<3; $wd++){
            $obj->$str->$tmpb->$wd = $wd.‘run‘;
        }
    }
}
var_dump($obj);

 

  1 object(stdClass)[1]
  2   public ‘0‘ => string ‘0w‘ (length=2)
  3   public ‘0we‘ => 
  4     object(stdClass)[2]
  5       public ‘0w‘ => int 0
  6       public ‘0we‘ => 
  7         object(stdClass)[3]
  8           public ‘0‘ => string ‘0run‘ (length=4)
  9           public ‘1‘ => string ‘1run‘ (length=4)
 10           public ‘2‘ => string ‘2run‘ (length=4)
 11       public ‘1w‘ => int 1
 12       public ‘1we‘ => 
 13         object(stdClass)[4]
 14           public ‘0‘ => string ‘0run‘ (length=4)
 15           public ‘1‘ => string ‘1run‘ (length=4)
 16           public ‘2‘ => string ‘2run‘ (length=4)
 17       public ‘2w‘ => int 2
 18       public ‘2we‘ => 
 19         object(stdClass)[5]
 20           public ‘0‘ => string ‘0run‘ (length=4)
 21           public ‘1‘ => string ‘1run‘ (length=4)
 22           public ‘2‘ => string ‘2run‘ (length=4)
 23       public ‘3w‘ => int 3
 24       public ‘3we‘ => 
 25         object(stdClass)[6]
 26           public ‘0‘ => string ‘0run‘ (length=4)
 27           public ‘1‘ => string ‘1run‘ (length=4)
 28           public ‘2‘ => string ‘2run‘ (length=4)
 29       public ‘4w‘ => int 4
 30       public ‘4we‘ => 
 31         object(stdClass)[7]
 32           public ‘0‘ => string ‘0run‘ (length=4)
 33           public ‘1‘ => string ‘1run‘ (length=4)
 34           public ‘2‘ => string ‘2run‘ (length=4)
 35       public ‘5w‘ => int 5
 36       public ‘5we‘ => 
 37         object(stdClass)[8]
 38           public ‘0‘ => string ‘0run‘ (length=4)
 39           public ‘1‘ => string ‘1run‘ (length=4)
 40           public ‘2‘ => string ‘2run‘ (length=4)
 41   public ‘1‘ => string ‘1w‘ (length=2)
 42   public ‘1we‘ => 
 43     object(stdClass)[9]
 44       public ‘0w‘ => int 0
 45       public ‘0we‘ => 
 46         object(stdClass)[10]
 47           public ‘0‘ => string ‘0run‘ (length=4)
 48           public ‘1‘ => string ‘1run‘ (length=4)
 49           public ‘2‘ => string ‘2run‘ (length=4)
 50       public ‘1w‘ => int 1
 51       public ‘1we‘ => 
 52         object(stdClass)[11]
 53           public ‘0‘ => string ‘0run‘ (length=4)
 54           public ‘1‘ => string ‘1run‘ (length=4)
 55           public ‘2‘ => string ‘2run‘ (length=4)
 56       public ‘2w‘ => int 2
 57       public ‘2we‘ => 
 58         object(stdClass)[12]
 59           public ‘0‘ => string ‘0run‘ (length=4)
 60           public ‘1‘ => string ‘1run‘ (length=4)
 61           public ‘2‘ => string ‘2run‘ (length=4)
 62       public ‘3w‘ => int 3
 63       public ‘3we‘ => 
 64         object(stdClass)[13]
 65           public ‘0‘ => string ‘0run‘ (length=4)
 66           public ‘1‘ => string ‘1run‘ (length=4)
 67           public ‘2‘ => string ‘2run‘ (length=4)
 68       public ‘4w‘ => int 4
 69       public ‘4we‘ => 
 70         object(stdClass)[14]
 71           public ‘0‘ => string ‘0run‘ (length=4)
 72           public ‘1‘ => string ‘1run‘ (length=4)
 73           public ‘2‘ => string ‘2run‘ (length=4)
 74       public ‘5w‘ => int 5
 75       public ‘5we‘ => 
 76         object(stdClass)[15]
 77           public ‘0‘ => string ‘0run‘ (length=4)
 78           public ‘1‘ => string ‘1run‘ (length=4)
 79           public ‘2‘ => string ‘2run‘ (length=4)
 80   public ‘2‘ => string ‘2w‘ (length=2)
 81   public ‘2we‘ => 
 82     object(stdClass)[16]
 83       public ‘0w‘ => int 0
 84       public ‘0we‘ => 
 85         object(stdClass)[17]
 86           public ‘0‘ => string ‘0run‘ (length=4)
 87           public ‘1‘ => string ‘1run‘ (length=4)
 88           public ‘2‘ => string ‘2run‘ (length=4)
 89       public ‘1w‘ => int 1
 90       public ‘1we‘ => 
 91         object(stdClass)[18]
 92           public ‘0‘ => string ‘0run‘ (length=4)
 93           public ‘1‘ => string ‘1run‘ (length=4)
 94           public ‘2‘ => string ‘2run‘ (length=4)
 95       public ‘2w‘ => int 2
 96       public ‘2we‘ => 
 97         object(stdClass)[19]
 98           public ‘0‘ => string ‘0run‘ (length=4)
 99           public ‘1‘ => string ‘1run‘ (length=4)
100           public ‘2‘ => string ‘2run‘ (length=4)
101       public ‘3w‘ => int 3
102       public ‘3we‘ => 
103         object(stdClass)[20]
104           public ‘0‘ => string ‘0run‘ (length=4)
105           public ‘1‘ => string ‘1run‘ (length=4)
106           public ‘2‘ => string ‘2run‘ (length=4)
107       public ‘4w‘ => int 4
108       public ‘4we‘ => 
109         object(stdClass)[21]
110           public ‘0‘ => string ‘0run‘ (length=4)
111           public ‘1‘ => string ‘1run‘ (length=4)
112           public ‘2‘ => string ‘2run‘ (length=4)
113       public ‘5w‘ => int 5
114       public ‘5we‘ => 
115         object(stdClass)[22]
116           public ‘0‘ => string ‘0run‘ (length=4)
117           public ‘1‘ => string ‘1run‘ (length=4)
118           public ‘2‘ => string ‘2run‘ (length=4)
119   public ‘3‘ => string ‘3w‘ (length=2)
120   public ‘3we‘ => 
121     object(stdClass)[23]
122       public ‘0w‘ => int 0
123       public ‘0we‘ => 
124         object(stdClass)[24]
125           public ‘0‘ => string ‘0run‘ (length=4)
126           public ‘1‘ => string ‘1run‘ (length=4)
127           public ‘2‘ => string ‘2run‘ (length=4)
128       public ‘1w‘ => int 1
129       public ‘1we‘ => 
130         object(stdClass)[25]
131           public ‘0‘ => string ‘0run‘ (length=4)
132           public ‘1‘ => string ‘1run‘ (length=4)
133           public ‘2‘ => string ‘2run‘ (length=4)
134       public ‘2w‘ => int 2
135       public ‘2we‘ => 
136         object(stdClass)[26]
137           public ‘0‘ => string ‘0run‘ (length=4)
138           public ‘1‘ => string ‘1run‘ (length=4)
139           public ‘2‘ => string ‘2run‘ (length=4)
140       public ‘3w‘ => int 3
141       public ‘3we‘ => 
142         object(stdClass)[27]
143           public ‘0‘ => string ‘0run‘ (length=4)
144           public ‘1‘ => string ‘1run‘ (length=4)
145           public ‘2‘ => string ‘2run‘ (length=4)
146       public ‘4w‘ => int 4
147       public ‘4we‘ => 
148         object(stdClass)[28]
149           public ‘0‘ => string ‘0run‘ (length=4)
150           public ‘1‘ => string ‘1run‘ (length=4)
151           public ‘2‘ => string ‘2run‘ (length=4)
152       public ‘5w‘ => int 5
153       public ‘5we‘ => 
154         object(stdClass)[29]
155           public ‘0‘ => string ‘0run‘ (length=4)
156           public ‘1‘ => string ‘1run‘ (length=4)
157           public ‘2‘ => string ‘2run‘ (length=4)
158   public ‘4‘ => string ‘4w‘ (length=2)
159   public ‘4we‘ => 
160     object(stdClass)[30]
161       public ‘0w‘ => int 0
162       public ‘0we‘ => 
163         object(stdClass)[31]
164           public ‘0‘ => string ‘0run‘ (length=4)
165           public ‘1‘ => string ‘1run‘ (length=4)
166           public ‘2‘ => string ‘2run‘ (length=4)
167       public ‘1w‘ => int 1
168       public ‘1we‘ => 
169         object(stdClass)[32]
170           public ‘0‘ => string ‘0run‘ (length=4)
171           public ‘1‘ => string ‘1run‘ (length=4)
172           public ‘2‘ => string ‘2run‘ (length=4)
173       public ‘2w‘ => int 2
174       public ‘2we‘ => 
175         object(stdClass)[33]
176           public ‘0‘ => string ‘0run‘ (length=4)
177           public ‘1‘ => string ‘1run‘ (length=4)
178           public ‘2‘ => string ‘2run‘ (length=4)
179       public ‘3w‘ => int 3
180       public ‘3we‘ => 
181         object(stdClass)[34]
182           public ‘0‘ => string ‘0run‘ (length=4)
183           public ‘1‘ => string ‘1run‘ (length=4)
184           public ‘2‘ => string ‘2run‘ (length=4)
185       public ‘4w‘ => int 4
186       public ‘4we‘ => 
187         object(stdClass)[35]
188           public ‘0‘ => string ‘0run‘ (length=4)
189           public ‘1‘ => string ‘1run‘ (length=4)
190           public ‘2‘ => string ‘2run‘ (length=4)
191       public ‘5w‘ => int 5
192       public ‘5we‘ => 
193         object(stdClass)[36]
194           public ‘0‘ => string ‘0run‘ (length=4)
195           public ‘1‘ => string ‘1run‘ (length=4)
196           public ‘2‘ => string ‘2run‘ (length=4)
197   public ‘5‘ => string ‘5w‘ (length=2)
198   public ‘5we‘ => 
199     object(stdClass)[37]
200       public ‘0w‘ => int 0
201       public ‘0we‘ => 
202         object(stdClass)[38]
203           public ‘0‘ => string ‘0run‘ (length=4)
204           public ‘1‘ => string ‘1run‘ (length=4)
205           public ‘2‘ => string ‘2run‘ (length=4)
206       public ‘1w‘ => int 1
207       public ‘1we‘ => 
208         object(stdClass)[39]
209           public ‘0‘ => string ‘0run‘ (length=4)
210           public ‘1‘ => string ‘1run‘ (length=4)
211           public ‘2‘ => string ‘2run‘ (length=4)
212       public ‘2w‘ => int 2
213       public ‘2we‘ => 
214         object(stdClass)[40]
215           public ‘0‘ => string ‘0run‘ (length=4)
216           public ‘1‘ => string ‘1run‘ (length=4)
217           public ‘2‘ => string ‘2run‘ (length=4)
218       public ‘3w‘ => int 3
219       public ‘3we‘ => 
220         object(stdClass)[41]
221           public ‘0‘ => string ‘0run‘ (length=4)
222           public ‘1‘ => string ‘1run‘ (length=4)
223           public ‘2‘ => string ‘2run‘ (length=4)
224       public ‘4w‘ => int 4
225       public ‘4we‘ => 
226         object(stdClass)[42]
227           public ‘0‘ => string ‘0run‘ (length=4)
228           public ‘1‘ => string ‘1run‘ (length=4)
229           public ‘2‘ => string ‘2run‘ (length=4)
230       public ‘5w‘ => int 5
231       public ‘5we‘ => 
232         object(stdClass)[43]
233           public ‘0‘ => string ‘0run‘ (length=4)
234           public ‘1‘ => string ‘1run‘ (length=4)
235           public ‘2‘ => string ‘2run‘ (length=4)
236   public ‘6‘ => string ‘6w‘ (length=2)
237   public ‘6we‘ => 
238     object(stdClass)[44]
239       public ‘0w‘ => int 0
240       public ‘0we‘ => 
241         object(stdClass)[45]
242           public ‘0‘ => string ‘0run‘ (length=4)
243           public ‘1‘ => string ‘1run‘ (length=4)
244           public ‘2‘ => string ‘2run‘ (length=4)
245       public ‘1w‘ => int 1
246       public ‘1we‘ => 
247         object(stdClass)[46]
248           public ‘0‘ => string ‘0run‘ (length=4)
249           public ‘1‘ => string ‘1run‘ (length=4)
250           public ‘2‘ => string ‘2run‘ (length=4)
251       public ‘2w‘ => int 2
252       public ‘2we‘ => 
253         object(stdClass)[47]
254           public ‘0‘ => string ‘0run‘ (length=4)
255           public ‘1‘ => string ‘1run‘ (length=4)
256           public ‘2‘ => string ‘2run‘ (length=4)
257       public ‘3w‘ => int 3
258       public ‘3we‘ => 
259         object(stdClass)[48]
260           public ‘0‘ => string ‘0run‘ (length=4)
261           public ‘1‘ => string ‘1run‘ (length=4)
262           public ‘2‘ => string ‘2run‘ (length=4)
263       public ‘4w‘ => int 4
264       public ‘4we‘ => 
265         object(stdClass)[49]
266           public ‘0‘ => string ‘0run‘ (length=4)
267           public ‘1‘ => string ‘1run‘ (length=4)
268           public ‘2‘ => string ‘2run‘ (length=4)
269       public ‘5w‘ => int 5
270       public ‘5we‘ => 
271         object(stdClass)[50]
272           public ‘0‘ => string ‘0run‘ (length=4)
273           public ‘1‘ => string ‘1run‘ (length=4)
274           public ‘2‘ => string ‘2run‘ (length=4)
275   public ‘7‘ => string ‘7w‘ (length=2)
276   public ‘7we‘ => 
277     object(stdClass)[51]
278       public ‘0w‘ => int 0
279       public ‘0we‘ => 
280         object(stdClass)[52]
281           public ‘0‘ => string ‘0run‘ (length=4)
282           public ‘1‘ => string ‘1run‘ (length=4)
283           public ‘2‘ => string ‘2run‘ (length=4)
284       public ‘1w‘ => int 1
285       public ‘1we‘ => 
286         object(stdClass)[53]
287           public ‘0‘ => string ‘0run‘ (length=4)
288           public ‘1‘ => string ‘1run‘ (length=4)
289           public ‘2‘ => string ‘2run‘ (length=4)
290       public ‘2w‘ => int 2
291       public ‘2we‘ => 
292         object(stdClass)[54]
293           public ‘0‘ => string ‘0run‘ (length=4)
294           public ‘1‘ => string ‘1run‘ (length=4)
295           public ‘2‘ => string ‘2run‘ (length=4)
296       public ‘3w‘ => int 3
297       public ‘3we‘ => 
298         object(stdClass)[55]
299           public ‘0‘ => string ‘0run‘ (length=4)
300           public ‘1‘ => string ‘1run‘ (length=4)
301           public ‘2‘ => string ‘2run‘ (length=4)
302       public ‘4w‘ => int 4
303       public ‘4we‘ => 
304         object(stdClass)[56]
305           public ‘0‘ => string ‘0run‘ (length=4)
306           public ‘1‘ => string ‘1run‘ (length=4)
307           public ‘2‘ => string ‘2run‘ (length=4)
308       public ‘5w‘ => int 5
309       public ‘5we‘ => 
310         object(stdClass)[57]
311           public ‘0‘ => string ‘0run‘ (length=4)
312           public ‘1‘ => string ‘1run‘ (length=4)
313           public ‘2‘ => string ‘2run‘ (length=4)
314   public ‘8‘ => string ‘8w‘ (length=2)
315   public ‘8we‘ => 
316     object(stdClass)[58]
317       public ‘0w‘ => int 0
318       public ‘0we‘ => 
319         object(stdClass)[59]
320           public ‘0‘ => string ‘0run‘ (length=4)
321           public ‘1‘ => string ‘1run‘ (length=4)
322           public ‘2‘ => string ‘2run‘ (length=4)
323       public ‘1w‘ => int 1
324       public ‘1we‘ => 
325         object(stdClass)[60]
326           public ‘0‘ => string ‘0run‘ (length=4)
327           public ‘1‘ => string ‘1run‘ (length=4)
328           public ‘2‘ => string ‘2run‘ (length=4)
329       public ‘2w‘ => int 2
330       public ‘2we‘ => 
331         object(stdClass)[61]
332           public ‘0‘ => string ‘0run‘ (length=4)
333           public ‘1‘ => string ‘1run‘ (length=4)
334           public ‘2‘ => string ‘2run‘ (length=4)
335       public ‘3w‘ => int 3
336       public ‘3we‘ => 
337         object(stdClass)[62]
338           public ‘0‘ => string ‘0run‘ (length=4)
339           public ‘1‘ => string ‘1run‘ (length=4)
340           public ‘2‘ => string ‘2run‘ (length=4)
341       public ‘4w‘ => int 4
342       public ‘4we‘ => 
343         object(stdClass)[63]
344           public ‘0‘ => string ‘0run‘ (length=4)
345           public ‘1‘ => string ‘1run‘ (length=4)
346           public ‘2‘ => string ‘2run‘ (length=4)
347       public ‘5w‘ => int 5
348       public ‘5we‘ => 
349         object(stdClass)[64]
350           public ‘0‘ => string ‘0run‘ (length=4)
351           public ‘1‘ => string ‘1run‘ (length=4)
352           public ‘2‘ => string ‘2run‘ (length=4)
353   public ‘9‘ => string ‘9w‘ (length=2)
354   public ‘9we‘ => 
355     object(stdClass)[65]
356       public ‘0w‘ => int 0
357       public ‘0we‘ => 
358         object(stdClass)[66]
359           public ‘0‘ => string ‘0run‘ (length=4)
360           public ‘1‘ => string ‘1run‘ (length=4)
361           public ‘2‘ => string ‘2run‘ (length=4)
362       public ‘1w‘ => int 1
363       public ‘1we‘ => 
364         object(stdClass)[67]
365           public ‘0‘ => string ‘0run‘ (length=4)
366           public ‘1‘ => string ‘1run‘ (length=4)
367           public ‘2‘ => string ‘2run‘ (length=4)
368       public ‘2w‘ => int 2
369       public ‘2we‘ => 
370         object(stdClass)[68]
371           public ‘0‘ => string ‘0run‘ (length=4)
372           public ‘1‘ => string ‘1run‘ (length=4)
373           public ‘2‘ => string ‘2run‘ (length=4)
374       public ‘3w‘ => int 3
375       public ‘3we‘ => 
376         object(stdClass)[69]
377           public ‘0‘ => string ‘0run‘ (length=4)
378           public ‘1‘ => string ‘1run‘ (length=4)
379           public ‘2‘ => string ‘2run‘ (length=4)
380       public ‘4w‘ => int 4
381       public ‘4we‘ => 
382         object(stdClass)[70]
383           public ‘0‘ => string ‘0run‘ (length=4)
384           public ‘1‘ => string ‘1run‘ (length=4)
385           public ‘2‘ => string ‘2run‘ (length=4)
386       public ‘5w‘ => int 5
387       public ‘5we‘ => 
388         object(stdClass)[71]
389           public ‘0‘ => string ‘0run‘ (length=4)
390           public ‘1‘ => string ‘1run‘ (length=4)
391           public ‘2‘ => string ‘2run‘ (length=4)
$arr = array();
for($w=0; $w<10; $w++){
    $arr[]= $w.‘w‘;
    $str = $w.‘we‘;
    $arr[$str] = array();
    for($wb=0; $wb<6; $wb++){
        $tmp = $wb.‘w‘;
        $arr[$str][$tmp] = $wb;
        $tmpb = $wb.‘we‘;
        $arr[$str][$tmpb] = array();
        for($wd=0; $wd<3; $wd++){
            $arr[$str][$tmpb][$wd] = $wd.‘run‘;
        }
    }
}
var_dump($arr);
  1 array (size=20)
  2   0 => string ‘0w‘ (length=2)
  3   ‘0we‘ => 
  4     array (size=12)
  5       ‘0w‘ => int 0
  6       ‘0we‘ => 
  7         array (size=3)
  8           0 => string ‘0run‘ (length=4)
  9           1 => string ‘1run‘ (length=4)
 10           2 => string ‘2run‘ (length=4)
 11       ‘1w‘ => int 1
 12       ‘1we‘ => 
 13         array (size=3)
 14           0 => string ‘0run‘ (length=4)
 15           1 => string ‘1run‘ (length=4)
 16           2 => string ‘2run‘ (length=4)
 17       ‘2w‘ => int 2
 18       ‘2we‘ => 
 19         array (size=3)
 20           0 => string ‘0run‘ (length=4)
 21           1 => string ‘1run‘ (length=4)
 22           2 => string ‘2run‘ (length=4)
 23       ‘3w‘ => int 3
 24       ‘3we‘ => 
 25         array (size=3)
 26           0 => string ‘0run‘ (length=4)
 27           1 => string ‘1run‘ (length=4)
 28           2 => string ‘2run‘ (length=4)
 29       ‘4w‘ => int 4
 30       ‘4we‘ => 
 31         array (size=3)
 32           0 => string ‘0run‘ (length=4)
 33           1 => string ‘1run‘ (length=4)
 34           2 => string ‘2run‘ (length=4)
 35       ‘5w‘ => int 5
 36       ‘5we‘ => 
 37         array (size=3)
 38           0 => string ‘0run‘ (length=4)
 39           1 => string ‘1run‘ (length=4)
 40           2 => string ‘2run‘ (length=4)
 41   1 => string ‘1w‘ (length=2)
 42   ‘1we‘ => 
 43     array (size=12)
 44       ‘0w‘ => int 0
 45       ‘0we‘ => 
 46         array (size=3)
 47           0 => string ‘0run‘ (length=4)
 48           1 => string ‘1run‘ (length=4)
 49           2 => string ‘2run‘ (length=4)
 50       ‘1w‘ => int 1
 51       ‘1we‘ => 
 52         array (size=3)
 53           0 => string ‘0run‘ (length=4)
 54           1 => string ‘1run‘ (length=4)
 55           2 => string ‘2run‘ (length=4)
 56       ‘2w‘ => int 2
 57       ‘2we‘ => 
 58         array (size=3)
 59           0 => string ‘0run‘ (length=4)
 60           1 => string ‘1run‘ (length=4)
 61           2 => string ‘2run‘ (length=4)
 62       ‘3w‘ => int 3
 63       ‘3we‘ => 
 64         array (size=3)
 65           0 => string ‘0run‘ (length=4)
 66           1 => string ‘1run‘ (length=4)
 67           2 => string ‘2run‘ (length=4)
 68       ‘4w‘ => int 4
 69       ‘4we‘ => 
 70         array (size=3)
 71           0 => string ‘0run‘ (length=4)
 72           1 => string ‘1run‘ (length=4)
 73           2 => string ‘2run‘ (length=4)
 74       ‘5w‘ => int 5
 75       ‘5we‘ => 
 76         array (size=3)
 77           0 => string ‘0run‘ (length=4)
 78           1 => string ‘1run‘ (length=4)
 79           2 => string ‘2run‘ (length=4)
 80   2 => string ‘2w‘ (length=2)
 81   ‘2we‘ => 
 82     array (size=12)
 83       ‘0w‘ => int 0
 84       ‘0we‘ => 
 85         array (size=3)
 86           0 => string ‘0run‘ (length=4)
 87           1 => string ‘1run‘ (length=4)
 88           2 => string ‘2run‘ (length=4)
 89       ‘1w‘ => int 1
 90       ‘1we‘ => 
 91         array (size=3)
 92           0 => string ‘0run‘ (length=4)
 93           1 => string ‘1run‘ (length=4)
 94           2 => string ‘2run‘ (length=4)
 95       ‘2w‘ => int 2
 96       ‘2we‘ => 
 97         array (size=3)
 98           0 => string ‘0run‘ (length=4)
 99           1 => string ‘1run‘ (length=4)
100           2 => string ‘2run‘ (length=4)
101       ‘3w‘ => int 3
102       ‘3we‘ => 
103         array (size=3)
104           0 => string ‘0run‘ (length=4)
105           1 => string ‘1run‘ (length=4)
106           2 => string ‘2run‘ (length=4)
107       ‘4w‘ => int 4
108       ‘4we‘ => 
109         array (size=3)
110           0 => string ‘0run‘ (length=4)
111           1 => string ‘1run‘ (length=4)
112           2 => string ‘2run‘ (length=4)
113       ‘5w‘ => int 5
114       ‘5we‘ => 
115         array (size=3)
116           0 => string ‘0run‘ (length=4)
117           1 => string ‘1run‘ (length=4)
118           2 => string ‘2run‘ (length=4)
119   3 => string ‘3w‘ (length=2)
120   ‘3we‘ => 
121     array (size=12)
122       ‘0w‘ => int 0
123       ‘0we‘ => 
124         array (size=3)
125           0 => string ‘0run‘ (length=4)
126           1 => string ‘1run‘ (length=4)
127           2 => string ‘2run‘ (length=4)
128       ‘1w‘ => int 1
129       ‘1we‘ => 
130         array (size=3)
131           0 => string ‘0run‘ (length=4)
132           1 => string ‘1run‘ (length=4)
133           2 => string ‘2run‘ (length=4)
134       ‘2w‘ => int 2
135       ‘2we‘ => 
136         array (size=3)
137           0 => string ‘0run‘ (length=4)
138           1 => string ‘1run‘ (length=4)
139           2 => string ‘2run‘ (length=4)
140       ‘3w‘ => int 3
141       ‘3we‘ => 
142         array (size=3)
143           0 => string ‘0run‘ (length=4)
144           1 => string ‘1run‘ (length=4)
145           2 => string ‘2run‘ (length=4)
146       ‘4w‘ => int 4
147       ‘4we‘ => 
148         array (size=3)
149           0 => string ‘0run‘ (length=4)
150           1 => string ‘1run‘ (length=4)
151           2 => string ‘2run‘ (length=4)
152       ‘5w‘ => int 5
153       ‘5we‘ => 
154         array (size=3)
155           0 => string ‘0run‘ (length=4)
156           1 => string ‘1run‘ (length=4)
157           2 => string ‘2run‘ (length=4)
158   4 => string ‘4w‘ (length=2)
159   ‘4we‘ => 
160     array (size=12)
161       ‘0w‘ => int 0
162       ‘0we‘ => 
163         array (size=3)
164           0 => string ‘0run‘ (length=4)
165           1 => string ‘1run‘ (length=4)
166           2 => string ‘2run‘ (length=4)
167       ‘1w‘ => int 1
168       ‘1we‘ => 
169         array (size=3)
170           0 => string ‘0run‘ (length=4)
171           1 => string ‘1run‘ (length=4)
172           2 => string ‘2run‘ (length=4)
173       ‘2w‘ => int 2
174       ‘2we‘ => 
175         array (size=3)
176           0 => string ‘0run‘ (length=4)
177           1 => string ‘1run‘ (length=4)
178           2 => string ‘2run‘ (length=4)
179       ‘3w‘ => int 3
180       ‘3we‘ => 
181         array (size=3)
182           0 => string ‘0run‘ (length=4)
183           1 => string ‘1run‘ (length=4)
184           2 => string ‘2run‘ (length=4)
185       ‘4w‘ => int 4
186       ‘4we‘ => 
187         array (size=3)
188           0 => string ‘0run‘ (length=4)
189           1 => string ‘1run‘ (length=4)
190           2 => string ‘2run‘ (length=4)
191       ‘5w‘ => int 5
192       ‘5we‘ => 
193         array (size=3)
194           0 => string ‘0run‘ (length=4)
195           1 => string ‘1run‘ (length=4)
196           2 => string ‘2run‘ (length=4)
197   5 => string ‘5w‘ (length=2)
198   ‘5we‘ => 
199     array (size=12)
200       ‘0w‘ => int 0
201       ‘0we‘ => 
202         array (size=3)
203           0 => string ‘0run‘ (length=4)
204           1 => string ‘1run‘ (length=4)
205           2 => string ‘2run‘ (length=4)
206       ‘1w‘ => int 1
207       ‘1we‘ => 
208         array (size=3)
209           0 => string ‘0run‘ (length=4)
210           1 => string ‘1run‘ (length=4)
211           2 => string ‘2run‘ (length=4)
212       ‘2w‘ => int 2
213       ‘2we‘ => 
214         array (size=3)
215           0 => string ‘0run‘ (length=4)
216           1 => string ‘1run‘ (length=4)
217           2 => string ‘2run‘ (length=4)
218       ‘3w‘ => int 3
219       ‘3we‘ => 
220         array (size=3)
221           0 => string ‘0run‘ (length=4)
222           1 => string ‘1run‘ (length=4)
223           2 => string ‘2run‘ (length=4)
224       ‘4w‘ => int 4
225       ‘4we‘ => 
226         array (size=3)
227           0 => string ‘0run‘ (length=4)
228           1 => string ‘1run‘ (length=4)
229           2 => string ‘2run‘ (length=4)
230       ‘5w‘ => int 5
231       ‘5we‘ => 
232         array (size=3)
233           0 => string ‘0run‘ (length=4)
234           1 => string ‘1run‘ (length=4)
235           2 => string ‘2run‘ (length=4)
236   6 => string ‘6w‘ (length=2)
237   ‘6we‘ => 
238     array (size=12)
239       ‘0w‘ => int 0
240       ‘0we‘ => 
241         array (size=3)
242           0 => string ‘0run‘ (length=4)
243           1 => string ‘1run‘ (length=4)
244           2 => string ‘2run‘ (length=4)
245       ‘1w‘ => int 1
246       ‘1we‘ => 
247         array (size=3)
248           0 => string ‘0run‘ (length=4)
249           1 => string ‘1run‘ (length=4)
250           2 => string ‘2run‘ (length=4)
251       ‘2w‘ => int 2
252       ‘2we‘ => 
253         array (size=3)
254           0 => string ‘0run‘ (length=4)
255           1 => string ‘1run‘ (length=4)
256           2 => string ‘2run‘ (length=4)
257       ‘3w‘ => int 3
258       ‘3we‘ => 
259         array (size=3)
260           0 => string ‘0run‘ (length=4)
261           1 => string ‘1run‘ (length=4)
262           2 => string ‘2run‘ (length=4)
263       ‘4w‘ => int 4
264       ‘4we‘ => 
265         array (size=3)
266           0 => string ‘0run‘ (length=4)
267           1 => string ‘1run‘ (length=4)
268           2 => string ‘2run‘ (length=4)
269       ‘5w‘ => int 5
270       ‘5we‘ => 
271         array (size=3)
272           0 => string ‘0run‘ (length=4)
273           1 => string ‘1run‘ (length=4)
274           2 => string ‘2run‘ (length=4)
275   7 => string ‘7w‘ (length=2)
276   ‘7we‘ => 
277     array (size=12)
278       ‘0w‘ => int 0
279       ‘0we‘ => 
280         array (size=3)
281           0 => string ‘0run‘ (length=4)
282           1 => string ‘1run‘ (length=4)
283           2 => string ‘2run‘ (length=4)
284       ‘1w‘ => int 1
285       ‘1we‘ => 
286         array (size=3)
287           0 => string ‘0run‘ (length=4)
288           1 => string ‘1run‘ (length=4)
289           2 => string ‘2run‘ (length=4)
290       ‘2w‘ => int 2
291       ‘2we‘ => 
292         array (size=3)
293           0 => string ‘0run‘ (length=4)
294           1 => string ‘1run‘ (length=4)
295           2 => string ‘2run‘ (length=4)
296       ‘3w‘ => int 3
297       ‘3we‘ => 
298         array (size=3)
299           0 => string ‘0run‘ (length=4)
300           1 => string ‘1run‘ (length=4)
301           2 => string ‘2run‘ (length=4)
302       ‘4w‘ => int 4
303       ‘4we‘ => 
304         array (size=3)
305           0 => string ‘0run‘ (length=4)
306           1 => string ‘1run‘ (length=4)
307           2 => string ‘2run‘ (length=4)
308       ‘5w‘ => int 5
309       ‘5we‘ => 
310         array (size=3)
311           0 => string ‘0run‘ (length=4)
312           1 => string ‘1run‘ (length=4)
313           2 => string ‘2run‘ (length=4)
314   8 => string ‘8w‘ (length=2)
315   ‘8we‘ => 
316     array (size=12)
317       ‘0w‘ => int 0
318       ‘0we‘ => 
319         array (size=3)
320           0 => string ‘0run‘ (length=4)
321           1 => string ‘1run‘ (length=4)
322           2 => string ‘2run‘ (length=4)
323       ‘1w‘ => int 1
324       ‘1we‘ => 
325         array (size=3)
326           0 => string ‘0run‘ (length=4)
327           1 => string ‘1run‘ (length=4)
328           2 => string ‘2run‘ (length=4)
329       ‘2w‘ => int 2
330       ‘2we‘ => 
331         array (size=3)
332           0 => string ‘0run‘ (length=4)
333           1 => string ‘1run‘ (length=4)
334           2 => string ‘2run‘ (length=4)
335       ‘3w‘ => int 3
336       ‘3we‘ => 
337         array (size=3)
338           0 => string ‘0run‘ (length=4)
339           1 => string ‘1run‘ (length=4)
340           2 => string ‘2run‘ (length=4)
341       ‘4w‘ => int 4
342       ‘4we‘ => 
343         array (size=3)
344           0 => string ‘0run‘ (length=4)
345           1 => string ‘1run‘ (length=4)
346           2 => string ‘2run‘ (length=4)
347       ‘5w‘ => int 5
348       ‘5we‘ => 
349         array (size=3)
350           0 => string ‘0run‘ (length=4)
351           1 => string ‘1run‘ (length=4)
352           2 => string ‘2run‘ (length=4)
353   9 => string ‘9w‘ (length=2)
354   ‘9we‘ => 
355     array (size=12)
356       ‘0w‘ => int 0
357       ‘0we‘ => 
358         array (size=3)
359           0 => string ‘0run‘ (length=4)
360           1 => string ‘1run‘ (length=4)
361           2 => string ‘2run‘ (length=4)
362       ‘1w‘ => int 1
363       ‘1we‘ => 
364         array (size=3)
365           0 => string ‘0run‘ (length=4)
366           1 => string ‘1run‘ (length=4)
367           2 => string ‘2run‘ (length=4)
368       ‘2w‘ => int 2
369       ‘2we‘ => 
370         array (size=3)
371           0 => string ‘0run‘ (length=4)
372           1 => string ‘1run‘ (length=4)
373           2 => string ‘2run‘ (length=4)
374       ‘3w‘ => int 3
375       ‘3we‘ => 
376         array (size=3)
377           0 => string ‘0run‘ (length=4)
378           1 => string ‘1run‘ (length=4)
379           2 => string ‘2run‘ (length=4)
380       ‘4w‘ => int 4
381       ‘4we‘ => 
382         array (size=3)
383           0 => string ‘0run‘ (length=4)
384           1 => string ‘1run‘ (length=4)
385           2 => string ‘2run‘ (length=4)
386       ‘5w‘ => int 5
387       ‘5we‘ => 
388         array (size=3)
389           0 => string ‘0run‘ (length=4)
390           1 => string ‘1run‘ (length=4)
391           2 => string ‘2run‘ (length=4)

 

以上是关于$obj的主要内容,如果未能解决你的问题,请参考以下文章

如何将 BVH 节点对象转换为简单数组?

在recyclerview片段Reandroid中屏幕旋转后进度条不显示

vue中detele删除对象属性时视图不能响应更新 - 解决办法

OpenGLES3.0创建着色器步骤

setTimeout中所执行函数中的this,永远指向window

php间隔和时区