title: Rearrange php array ; setting index to array value
body: <p>I have an array which i added to end of this post.I need to set 'parent' value of array to parent arrays index number.Arrays parent value related to parent arrays idnumber value.</p>
  
  <p>For example;</p>
  
  <pre><code>[131] =&gt; Array
      (
          [idnumber] =&gt; 171
          [name] =&gt; 9f146bfd1b1aa02612b95a0ae7b52f13
          [parent] =&gt; 21
      )
  </code></pre>
  
  <p>Parrent array </p>
  
  <pre><code>[15] =&gt; Array
      (
          [idnumber] =&gt; 21
          [name] =&gt; 175d60205b36459d75d1cdda406f1ea4
          [parent] =&gt; 0
      )
  </code></pre>
  
  <p>So new array;</p>
  
  <pre><code>[131] =&gt; Array
      (
          [idnumber] =&gt; 171
          [name] =&gt; 9f146bfd1b1aa02612b95a0ae7b52f13
          [parent] =&gt; 15
      )
  </code></pre>
  
  <p>But hard part of this problem for me;
  idnumbers must be unique but first 22 arrays ( which parent value is 0 ) idnumbers can be found rest of the arrays idnumber (not much a few).And that makes hard solve this problem for me.I tried different methods but each way not efficient as i want.</p>
  
  <pre><code>Array
  (
      [0] =&gt; Array
          (
              [idnumber] =&gt; 433
              [name] =&gt; a2c8925220b6b1b0da3973396c0cd108
              [parent] =&gt; 0
          )
  
      [1] =&gt; Array
          (
              [idnumber] =&gt; 325
              [name] =&gt; e88e9c4a57d198c09c73e80b3ea3c6b4
              [parent] =&gt; 0
          )
  
      [2] =&gt; Array
          (
              [idnumber] =&gt; 327
              [name] =&gt; 844d3ef5110b9e64ea1f4cd4b90ca132
              [parent] =&gt; 0
          )
  
      [3] =&gt; Array
          (
              [idnumber] =&gt; 7758
              [name] =&gt; d1dfc50dedfe4ea1b7a149099a80e10c
              [parent] =&gt; 0
          )
  
      [4] =&gt; Array
          (
              [idnumber] =&gt; 328
              [name] =&gt; 8017101ae9cb183f0c2c574d439ecda8
              [parent] =&gt; 0
          )
  
      [5] =&gt; Array
          (
              [idnumber] =&gt; 331
              [name] =&gt; 49891f391525284e73a1675716d8e1e4
              [parent] =&gt; 0
          )
  
      [6] =&gt; Array
          (
              [idnumber] =&gt; 414
              [name] =&gt; 3e89cf3b3c688deab39cb60e5d1521af
              [parent] =&gt; 0
          )
  
      [7] =&gt; Array
          (
              [idnumber] =&gt; 7946
              [name] =&gt; c0833a1d36ae2be7f52a4f50466295ed
              [parent] =&gt; 0
          )
  
      [8] =&gt; Array
          (
              [idnumber] =&gt; 329
              [name] =&gt; 02186c71a6253223965a9ee70d2ed17f
              [parent] =&gt; 0
          )
  
      [9] =&gt; Array
          (
              [idnumber] =&gt; 19
              [name] =&gt; ecdf84f60437910c099f200be25cedf1
              [parent] =&gt; 0
          )
  
      [10] =&gt; Array
          (
              [idnumber] =&gt; 18
              [name] =&gt; f75e2a70527c6719cd2f21539036b4e2
              [parent] =&gt; 0
          )
  
      [11] =&gt; Array
          (
              [idnumber] =&gt; 415
              [name] =&gt; 21d7865f2427d65a664c10d38d24ea13
              [parent] =&gt; 0
          )
  
      [12] =&gt; Array
          (
              [idnumber] =&gt; 330
              [name] =&gt; bf2ac8c506387b8a3ad974d3a1a295ce
              [parent] =&gt; 0
          )
  
      [13] =&gt; Array
          (
              [idnumber] =&gt; 20
              [name] =&gt; b978fb4cb0d58479345d900ad3ca34e7
              [parent] =&gt; 0
          )
  
      [14] =&gt; Array
          (
              [idnumber] =&gt; 7757
              [name] =&gt; 0f66b5b894361329c9bdc60dd5ea7c8b
              [parent] =&gt; 0
          )
  
      [15] =&gt; Array
          (
              [idnumber] =&gt; 21
              [name] =&gt; 175d60205b36459d75d1cdda406f1ea4
              [parent] =&gt; 0
          )
  
      [16] =&gt; Array
          (
              [idnumber] =&gt; 416
              [name] =&gt; eacf58667eeafd9490d473b774ebb462
              [parent] =&gt; 0
          )
  
      [17] =&gt; Array
          (
              [idnumber] =&gt; 7756
              [name] =&gt; 9b84269ace836d2a320f8f3be3c5ea6a
              [parent] =&gt; 0
          )
  
      [18] =&gt; Array
          (
              [idnumber] =&gt; 7771
              [name] =&gt; 4f0cd7825aab84d0377f9e307bba2d71
              [parent] =&gt; 0
          )
  
      [19] =&gt; Array
          (
              [idnumber] =&gt; 23
              [name] =&gt; 9bfe6f10ea30411732eed8541639563f
              [parent] =&gt; 0
          )
  
      [20] =&gt; Array
          (
              [idnumber] =&gt; 429
              [name] =&gt; df3ef7626f9b0455d67443435c4e6dba
              [parent] =&gt; 0
          )
  
      [21] =&gt; Array
          (
              [idnumber] =&gt; 7890
              [name] =&gt; 15395b205bad7f3e36fc8b3b72746ab5
              [parent] =&gt; 0
          )
  
      [22] =&gt; Array
          (
              [idnumber] =&gt; 425
              [name] =&gt; 137220b2d62975d283b924a0ddd248c1
              [parent] =&gt; 0
          )
  
      [23] =&gt; Array
          (
              [idnumber] =&gt; 7
              [name] =&gt; 0e45a0ab15c868d9bc5d725968304076
              [parent] =&gt; 19
          )
  
      [24] =&gt; Array
          (
              [idnumber] =&gt; 8
              [name] =&gt; a8c99d65bb9395c6f744f12eb94fb119
              [parent] =&gt; 19
          )
  
      [25] =&gt; Array
          (
              [idnumber] =&gt; 9
              [name] =&gt; 3b84f212132ea63b3df46860a7b62af6
              [parent] =&gt; 19
          )
  
      [26] =&gt; Array
          (
              [idnumber] =&gt; 11
              [name] =&gt; 499a5ea53bb8f922740d6283b32e7c67
              [parent] =&gt; 19
          )
  
      [27] =&gt; Array
          (
              [idnumber] =&gt; 13
              [name] =&gt; 10d25ee7bc5439423a2cf1295c4a18c9
              [parent] =&gt; 19
          )
  
      [28] =&gt; Array
          (
              [idnumber] =&gt; 15
              [name] =&gt; 264b7390eabe5d84067da472c90b704d
              [parent] =&gt; 19
          )
  
      [29] =&gt; Array
          (
              [idnumber] =&gt; 17
              [name] =&gt; cf6ddee29dbbfa041bc1277abbee5fca
              [parent] =&gt; 19
          )
  
      [30] =&gt; Array
          (
              [idnumber] =&gt; 18
              [name] =&gt; 475e6246dbf5aa4774cfb6aed1f223a3
              [parent] =&gt; 19
          )
  
      [31] =&gt; Array
          (
              [idnumber] =&gt; 22
              [name] =&gt; d0c8be2ee968af2bd217946dc8d79cf5
              [parent] =&gt; 19
          )
  
      [32] =&gt; Array
          (
              [idnumber] =&gt; 23
              [name] =&gt; fbebe6735e37bf5afd82a178f694d823
              [parent] =&gt; 19
          )
  
      [33] =&gt; Array
          (
              [idnumber] =&gt; 24
              [name] =&gt; e93361e02cd866344592d85afa5eb0af
              [parent] =&gt; 19
          )
  
      [34] =&gt; Array
          (
              [idnumber] =&gt; 26
              [name] =&gt; e4368046a74c7366c3d7a34920950bd1
              [parent] =&gt; 18
          )
  
      [35] =&gt; Array
          (
              [idnumber] =&gt; 28
              [name] =&gt; e75118e2e9d35179ecde9d8d280af51a
              [parent] =&gt; 18
          )
  
      [36] =&gt; Array
          (
              [idnumber] =&gt; 29
              [name] =&gt; 7847fd5077032fc77651e4cea53b099e
              [parent] =&gt; 18
          )
  
      [37] =&gt; Array
          (
              [idnumber] =&gt; 30
              [name] =&gt; 11778423bba90c851a250b1e9f71386b
              [parent] =&gt; 18
          )
  
      [38] =&gt; Array
          (
              [idnumber] =&gt; 31
              [name] =&gt; 8558d19657e99ef6a71aaf6134a57355
              [parent] =&gt; 18
          )
  
      [39] =&gt; Array
          (
              [idnumber] =&gt; 32
              [name] =&gt; 58654b22b577ac46bce4c61ef40d10ca
              [parent] =&gt; 18
          )
  
      [40] =&gt; Array
          (
              [idnumber] =&gt; 33
              [name] =&gt; e7270a938e053eaff3c5fe9984174999
              [parent] =&gt; 18
          )
  
      [41] =&gt; Array
          (
              [idnumber] =&gt; 34
              [name] =&gt; 271da6055ffe18f43dbab615f2422692
              [parent] =&gt; 18
          )
  
      [42] =&gt; Array
          (
              [idnumber] =&gt; 35
              [name] =&gt; eedf03bea676eac48d8cd4e13645e0de
              [parent] =&gt; 18
          )
  
      [43] =&gt; Array
          (
              [idnumber] =&gt; 36
              [name] =&gt; f657ceca7ab3f19f170ac179eb2e7e92
              [parent] =&gt; 18
          )
  
      [44] =&gt; Array
          (
              [idnumber] =&gt; 38
              [name] =&gt; e5230a6a7239418050bd4cc47c3614ec
              [parent] =&gt; 18
          )
  
      [45] =&gt; Array
          (
              [idnumber] =&gt; 39
              [name] =&gt; 2531e2c5bd76ac0461740fbde55c3634
              [parent] =&gt; 18
          )
  
      [46] =&gt; Array
          (
              [idnumber] =&gt; 40
              [name] =&gt; 780b7625a5ec2e03730450a4f5e24b39
              [parent] =&gt; 18
          )
  
      [47] =&gt; Array
          (
              [idnumber] =&gt; 41
              [name] =&gt; 55d0234fcff0040ae944b4d3b7045737
              [parent] =&gt; 18
          )
  
      [48] =&gt; Array
          (
              [idnumber] =&gt; 42
              [name] =&gt; d627049101522353b8e611d2bbcd47e6
              [parent] =&gt; 18
          )
  
      [49] =&gt; Array
          (
              [idnumber] =&gt; 43
              [name] =&gt; 872facaf721796e97c5e0df6e4d5b93a
              [parent] =&gt; 18
          )
  
      [50] =&gt; Array
          (
              [idnumber] =&gt; 44
              [name] =&gt; bcd8ed29ca9fc66b12ffd8dab96bed1d
              [parent] =&gt; 18
          )
  
      [51] =&gt; Array
          (
              [idnumber] =&gt; 45
              [name] =&gt; 72d76372f293df54d9456434fea25149
              [parent] =&gt; 18
          )
  
      [52] =&gt; Array
          (
              [idnumber] =&gt; 46
              [name] =&gt; 692a547fb6fd4a143f8e3c9408f9f6e2
              [parent] =&gt; 20
          )
  
      [53] =&gt; Array
          (
              [idnumber] =&gt; 47
              [name] =&gt; 9ec462c2ad644aebe49d158f78358fd1
              [parent] =&gt; 20
          )
  
      [54] =&gt; Array
          (
              [idnumber] =&gt; 48
              [name] =&gt; 342875df8a48b77010f5781d89b1af27
              [parent] =&gt; 20
          )
  
      [55] =&gt; Array
          (
              [idnumber] =&gt; 49
              [name] =&gt; 33aba60927eea35fab311b23fc0a1bf4
              [parent] =&gt; 20
          )
  
      [56] =&gt; Array
          (
              [idnumber] =&gt; 50
              [name] =&gt; c4f64881b971c47195130f4c7d697b3e
              [parent] =&gt; 20
          )
  
      [57] =&gt; Array
          (
              [idnumber] =&gt; 51
              [name] =&gt; 50df2fe48c2e53f4f216e4f266439cf3
              [parent] =&gt; 20
          )
  
      [58] =&gt; Array
          (
              [idnumber] =&gt; 52
              [name] =&gt; b597f5537c334713fb944907eeb2d05a
              [parent] =&gt; 20
          )
  
      [59] =&gt; Array
          (
              [idnumber] =&gt; 53
              [name] =&gt; d2067bc65317ed97c201ce2795af04ea
              [parent] =&gt; 20
          )
  
      [60] =&gt; Array
          (
              [idnumber] =&gt; 54
              [name] =&gt; f15f125c54390c968b1821a5afee7605
              [parent] =&gt; 20
          )
  
      [61] =&gt; Array
          (
              [idnumber] =&gt; 67
              [name] =&gt; 39bb4be6f7e30a7631b2fd025bc91f16
              [parent] =&gt; 21
          )
  
      [62] =&gt; Array
          (
              [idnumber] =&gt; 69
              [name] =&gt; 76793afd574e5d76829dd86b05e73e1a
              [parent] =&gt; 416
          )
  
      [63] =&gt; Array
          (
              [idnumber] =&gt; 70
              [name] =&gt; b2eefd8e37aa3306790651eeb1ae265a
              [parent] =&gt; 416
          )
  
      [64] =&gt; Array
          (
              [idnumber] =&gt; 71
              [name] =&gt; dbfd24078ce6c3b41d907e1e9af44009
              [parent] =&gt; 416
          )
  
      [65] =&gt; Array
          (
              [idnumber] =&gt; 74
              [name] =&gt; 9fc683d522580cd8a9f7589eee17aee8
              [parent] =&gt; 415
          )
  
      [66] =&gt; Array
          (
              [idnumber] =&gt; 77
              [name] =&gt; 0c8a52ec9b69c16a278142f5f1778b23
              [parent] =&gt; 414
          )
  
      [67] =&gt; Array
          (
              [idnumber] =&gt; 84
              [name] =&gt; ed13d27194a7c8ec10ae78f7edde7e78
              [parent] =&gt; 328
          )
  
      [68] =&gt; Array
          (
              [idnumber] =&gt; 85
              [name] =&gt; 296acae6743ae09f3056be5be2d7853c
              [parent] =&gt; 328
          )
  
      [69] =&gt; Array
          (
              [idnumber] =&gt; 86
              [name] =&gt; a8051e9837a4425f036b84f836f34149
              [parent] =&gt; 329
          )
  
      [70] =&gt; Array
          (
              [idnumber] =&gt; 87
              [name] =&gt; 29b7e255580b7a4be94145f5ef42923e
              [parent] =&gt; 329
          )
  
      [71] =&gt; Array
          (
              [idnumber] =&gt; 88
              [name] =&gt; 5278e04859e872d7bcd9e65cda9c0f56
              [parent] =&gt; 329
          )
  
      [72] =&gt; Array
          (
              [idnumber] =&gt; 89
              [name] =&gt; 140e465803de655a5b05cee052ca85e1
              [parent] =&gt; 329
          )
  
      [73] =&gt; Array
          (
              [idnumber] =&gt; 92
              [name] =&gt; 99b48a46e92397167254a6247e0b4953
              [parent] =&gt; 329
          )
  
      [74] =&gt; Array
          (
              [idnumber] =&gt; 93
              [name] =&gt; aac30240cf45fbfb6fb85c98516ba655
              [parent] =&gt; 329
          )
  
      [75] =&gt; Array
          (
              [idnumber] =&gt; 94
              [name] =&gt; ae65dc3cd4877ba2f45e4f1957d8ac59
              [parent] =&gt; 7946
          )
  
      [76] =&gt; Array
          (
              [idnumber] =&gt; 95
              [name] =&gt; 0ba7c97a63925f1cca6be8ed9be62090
              [parent] =&gt; 7946
          )
  
      [77] =&gt; Array
          (
              [idnumber] =&gt; 96
              [name] =&gt; 3bae849e0aa84084651e7d89a64b9566
              [parent] =&gt; 329
          )
  
      [78] =&gt; Array
          (
              [idnumber] =&gt; 97
              [name] =&gt; 4cef5692d9b52c5708cd65f500f7e57f
              [parent] =&gt; 329
          )
  
      [79] =&gt; Array
          (
              [idnumber] =&gt; 98
              [name] =&gt; c092a289457c01860e5d86fa740b249f
              [parent] =&gt; 329
          )
  
      [80] =&gt; Array
          (
              [idnumber] =&gt; 99
              [name] =&gt; 5ad5af7f29a16e5c6dadc4ee4433efbb
              [parent] =&gt; 329
          )
  
      [81] =&gt; Array
          (
              [idnumber] =&gt; 100
              [name] =&gt; 2fef02f5b42328de1a531c116f1f44c8
              [parent] =&gt; 329
          )
  
      [82] =&gt; Array
          (
              [idnumber] =&gt; 101
              [name] =&gt; 99fcb7cb1958db55278d75bd9ffce256
              [parent] =&gt; 329
          )
  
      [83] =&gt; Array
          (
              [idnumber] =&gt; 102
              [name] =&gt; cc398a543d74d03c70449d0b6106428c
              [parent] =&gt; 331
          )
  
      [84] =&gt; Array
          (
              [idnumber] =&gt; 103
              [name] =&gt; 66820a6642317a83cf2d4a4a4e6e521c
              [parent] =&gt; 331
          )
  
      [85] =&gt; Array
          (
              [idnumber] =&gt; 104
              [name] =&gt; 3537971acafb2a96cfb914f951815605
              [parent] =&gt; 331
          )
  
      [86] =&gt; Array
          (
              [idnumber] =&gt; 105
              [name] =&gt; 3b1bac0d48851c080f8d75c02576d4f3
              [parent] =&gt; 331
          )
  
      [87] =&gt; Array
          (
              [idnumber] =&gt; 107
              [name] =&gt; 12d3c2a669e461680c8ea85ef7903dbe
              [parent] =&gt; 331
          )
  
      [88] =&gt; Array
          (
              [idnumber] =&gt; 110
              [name] =&gt; 86498621642b02f0849a86f80b48856f
              [parent] =&gt; 325
          )
  
      [89] =&gt; Array
          (
              [idnumber] =&gt; 111
              [name] =&gt; 85dcefe856011148d8609b933b9f2213
              [parent] =&gt; 325
          )
  
      [90] =&gt; Array
          (
              [idnumber] =&gt; 112
              [name] =&gt; 6aefbde721e70e7ee83fe49495812f95
              [parent] =&gt; 325
          )
  
      [91] =&gt; Array
          (
              [idnumber] =&gt; 113
              [name] =&gt; c097b3cd89cf195a4a59922da977473f
              [parent] =&gt; 325
          )
  
      [92] =&gt; Array
          (
              [idnumber] =&gt; 114
              [name] =&gt; ed13d27194a7c8ec10ae78f7edde7e78
              [parent] =&gt; 325
          )
  
      [93] =&gt; Array
          (
              [idnumber] =&gt; 115
              [name] =&gt; 296acae6743ae09f3056be5be2d7853c
              [parent] =&gt; 325
          )
  
      [94] =&gt; Array
          (
              [idnumber] =&gt; 116
              [name] =&gt; d3c160bd103b2f6a8169fe59f765c7ee
              [parent] =&gt; 325
          )
  
      [95] =&gt; Array
          (
              [idnumber] =&gt; 118
              [name] =&gt; 86498621642b02f0849a86f80b48856f
              [parent] =&gt; 330
          )
  
      [96] =&gt; Array
          (
              [idnumber] =&gt; 119
              [name] =&gt; 85dcefe856011148d8609b933b9f2213
              [parent] =&gt; 330
          )
  
      [97] =&gt; Array
          (
              [idnumber] =&gt; 120
              [name] =&gt; ed13d27194a7c8ec10ae78f7edde7e78
              [parent] =&gt; 330
          )
  
      [98] =&gt; Array
          (
              [idnumber] =&gt; 121
              [name] =&gt; 296acae6743ae09f3056be5be2d7853c
              [parent] =&gt; 330
          )
  
      [99] =&gt; Array
          (
              [idnumber] =&gt; 122
              [name] =&gt; 37ef0a2d87231b6fef606daa8e704e9b
              [parent] =&gt; 330
          )
  
      [100] =&gt; Array
          (
              [idnumber] =&gt; 123
              [name] =&gt; b01543c73aafea980d3ede43596225be
              [parent] =&gt; 330
          )
  
      [101] =&gt; Array
          (
              [idnumber] =&gt; 124
              [name] =&gt; d3c160bd103b2f6a8169fe59f765c7ee
              [parent] =&gt; 330
          )
  
      [102] =&gt; Array
          (
              [idnumber] =&gt; 126
              [name] =&gt; 5c8dfb4a4aed6062d1d41baab8ad53f0
              [parent] =&gt; 330
          )
  
      [103] =&gt; Array
          (
              [idnumber] =&gt; 127
              [name] =&gt; 9ad1bbe4e196b578c66ead152c7b02d7
              [parent] =&gt; 330
          )
  
      [104] =&gt; Array
          (
              [idnumber] =&gt; 128
              [name] =&gt; 6aefbde721e70e7ee83fe49495812f95
              [parent] =&gt; 330
          )
  
      [105] =&gt; Array
          (
              [idnumber] =&gt; 129
              [name] =&gt; c097b3cd89cf195a4a59922da977473f
              [parent] =&gt; 330
          )
  
      [106] =&gt; Array
          (
              [idnumber] =&gt; 130
              [name] =&gt; 17ba0c06ff5227f94af93783c1da7345
              [parent] =&gt; 330
          )
  
      [107] =&gt; Array
          (
              [idnumber] =&gt; 131
              [name] =&gt; 6fbc54f26ecbe5306b08921cc16c3807
              [parent] =&gt; 330
          )
  
      [108] =&gt; Array
          (
              [idnumber] =&gt; 132
              [name] =&gt; 28dff0ecadf84d94530811d32ff347b8
              [parent] =&gt; 330
          )
  
      [109] =&gt; Array
          (
              [idnumber] =&gt; 133
              [name] =&gt; ceee8277ac38013590607a7f61df7ad1
              [parent] =&gt; 330
          )
  
      [110] =&gt; Array
          (
              [idnumber] =&gt; 137
              [name] =&gt; 6aefbde721e70e7ee83fe49495812f95
              [parent] =&gt; 327
          )
  
      [111] =&gt; Array
          (
              [idnumber] =&gt; 138
              [name] =&gt; ed13d27194a7c8ec10ae78f7edde7e78
              [parent] =&gt; 327
          )
  
      [112] =&gt; Array
          (
              [idnumber] =&gt; 139
              [name] =&gt; 296acae6743ae09f3056be5be2d7853c
              [parent] =&gt; 327
          )
  
      [113] =&gt; Array
          (
              [idnumber] =&gt; 140
              [name] =&gt; 86498621642b02f0849a86f80b48856f
              [parent] =&gt; 327
          )
  
      [114] =&gt; Array
          (
              [idnumber] =&gt; 141
              [name] =&gt; 85dcefe856011148d8609b933b9f2213
              [parent] =&gt; 327
          )
  
      [115] =&gt; Array
          (
              [idnumber] =&gt; 142
              [name] =&gt; d3c160bd103b2f6a8169fe59f765c7ee
              [parent] =&gt; 327
          )
  
      [116] =&gt; Array
          (
              [idnumber] =&gt; 144
              [name] =&gt; 014b9bb8de7e518262c5a0883a074ea9
              [parent] =&gt; 327
          )
  
      [117] =&gt; Array
          (
              [idnumber] =&gt; 151
              [name] =&gt; 0b34972fe3b45566ceb9770a11a90a9d
              [parent] =&gt; 7946
          )
  
      [118] =&gt; Array
          (
              [idnumber] =&gt; 152
              [name] =&gt; 0b34972fe3b45566ceb9770a11a90a9d
              [parent] =&gt; 7946
          )
  
      [119] =&gt; Array
          (
              [idnumber] =&gt; 153
              [name] =&gt; 0b34972fe3b45566ceb9770a11a90a9d
              [parent] =&gt; 7946
          )
  
      [120] =&gt; Array
          (
              [idnumber] =&gt; 154
              [name] =&gt; 14af2aec1b4799e34dc499ce56825a8a
              [parent] =&gt; 329
          )
  
      [121] =&gt; Array
          (
              [idnumber] =&gt; 155
              [name] =&gt; 29b7e255580b7a4be94145f5ef42923e
              [parent] =&gt; 329
          )
  
      [122] =&gt; Array
          (
              [idnumber] =&gt; 158
              [name] =&gt; 140e465803de655a5b05cee052ca85e1
              [parent] =&gt; 329
          )
  
      [123] =&gt; Array
          (
              [idnumber] =&gt; 159
              [name] =&gt; bd09b24563702316e57224e2bf467150
              [parent] =&gt; 329
          )
  
      [124] =&gt; Array
          (
              [idnumber] =&gt; 160
              [name] =&gt; c88dc73076720593f1267b1e46b79046
              [parent] =&gt; 329
          )
  
      [125] =&gt; Array
          (
              [idnumber] =&gt; 161
              [name] =&gt; c88dc73076720593f1267b1e46b79046
              [parent] =&gt; 329
          )
  
      [126] =&gt; Array
          (
              [idnumber] =&gt; 162
              [name] =&gt; 7e716ea311ab94d7e488086807e07b04
              [parent] =&gt; 329
          )
  
      [127] =&gt; Array
          (
              [idnumber] =&gt; 163
              [name] =&gt; 140e465803de655a5b05cee052ca85e1
              [parent] =&gt; 329
          )
  
      [128] =&gt; Array
          (
              [idnumber] =&gt; 165
              [name] =&gt; d016d35b57067c62fb7ad3968d42ba13
              [parent] =&gt; 21
          )
  
      [129] =&gt; Array
          (
              [idnumber] =&gt; 167
              [name] =&gt; bee11a7b01fa7d7e9aaef9ca6c6eecca
              [parent] =&gt; 21
          )
  
      [130] =&gt; Array
          (
              [idnumber] =&gt; 169
              [name] =&gt; d6d0d7cf5c7ac37d5880b1fa6727380e
              [parent] =&gt; 21
          )
  
      [131] =&gt; Array
          (
              [idnumber] =&gt; 171
              [name] =&gt; 9f146bfd1b1aa02612b95a0ae7b52f13
              [parent] =&gt; 21
          )
  
      [132] =&gt; Array
          (
              [idnumber] =&gt; 173
              [name] =&gt; 7aa1ba9aa94752ee4714e369addaa0d4
              [parent] =&gt; 21
          )
  
      [133] =&gt; Array
          (
              [idnumber] =&gt; 175
              [name] =&gt; a5657e83f1d0908ce2e21f7a99abc500
              [parent] =&gt; 21
          )
  
      [134] =&gt; Array
          (
              [idnumber] =&gt; 177
              [name] =&gt; 5f14f3f1c00baa93ebec797562347ba2
              [parent] =&gt; 21
          )
  
      [135] =&gt; Array
          (
              [idnumber] =&gt; 179
              [name] =&gt; 23a00461ee7a67ee34a48b181113f110
              [parent] =&gt; 21
          )
  
      [136] =&gt; Array
          (
              [idnumber] =&gt; 183
              [name] =&gt; 46196ca9e1d3b55d89497904bbb3a56a
              [parent] =&gt; 21
          )
  
      [137] =&gt; Array
          (
              [idnumber] =&gt; 184
              [name] =&gt; 4853ee507844bdec64071b762c35695f
              [parent] =&gt; 21
          )
  
      [138] =&gt; Array
          (
              [idnumber] =&gt; 185
              [name] =&gt; b034836887359d8fc4ab57c35858ab01
              [parent] =&gt; 21
          )
  
      [139] =&gt; Array
          (
              [idnumber] =&gt; 186
              [name] =&gt; f86d74c5c3aca97ebf974d88df5891bc
              [parent] =&gt; 21
          )
  
      [140] =&gt; Array
          (
              [idnumber] =&gt; 192
              [name] =&gt; ea222f107efb10bb13ac23632d4a798a
              [parent] =&gt; 19
          )
  
      [141] =&gt; Array
          (
              [idnumber] =&gt; 484
              [name] =&gt; 1e1a02d2e8ebe6ea21962e8e3444f4b8
              [parent] =&gt; 425
          )
  
      [142] =&gt; Array
          (
              [idnumber] =&gt; 518
              [name] =&gt; e2a827a10dc2a105c66bc863f06262b4
              [parent] =&gt; 19
          )
  
      [143] =&gt; Array
          (
              [idnumber] =&gt; 521
              [name] =&gt; fe99d661f1c4416e8e6891f1b54dd1e0
              [parent] =&gt; 18
          )
  
      [144] =&gt; Array
          (
              [idnumber] =&gt; 522
              [name] =&gt; 59896b120ec9a236c97a9e36042d8be9
              [parent] =&gt; 330
          )
  
      [145] =&gt; Array
          (
              [idnumber] =&gt; 523
              [name] =&gt; e712a22d1019191ce13901b0aa863e1d
              [parent] =&gt; 20
          )
  
      [146] =&gt; Array
          (
              [idnumber] =&gt; 525
              [name] =&gt; 431317a1408785f11b535406f0efa3f6
              [parent] =&gt; 20
          )
  
      [147] =&gt; Array
          (
              [idnumber] =&gt; 526
              [name] =&gt; c19f8c114520d8de56af061ade571db3
              [parent] =&gt; 20
          )
  
      [148] =&gt; Array
          (
              [idnumber] =&gt; 527
              [name] =&gt; bc5105bc977e9be039bc200565b71c7f
              [parent] =&gt; 20
          )
  
      [149] =&gt; Array
          (
              [idnumber] =&gt; 529
              [name] =&gt; bd4a333b60555df7f4428ca2b5742279
              [parent] =&gt; 20
          )
  )
  </code></pre>