title: how to print the data from an array of objects in php
body: <p>i am new to php and object oriented programming , i have any issue i need to print the group value from any array called $inputdata </p>
  
  <p>when i use print_r to print the $inputdata  array it looks like :</p>
  
  <pre><code>vision\newsubject\inputdata  Object
  (
   [property_state:protected] =&gt; Array
                  (
                      [newTypeID] =&gt; Array
                          (
                              [value] =&gt; 1
                              [value_saved] =&gt; 1
                          )
  
                      [group] =&gt; Array
                          (
                              [value] =&gt; 12
                              [value_saved] =&gt; 12
                          )
        )
  
                  )
  </code></pre>
  
  <p>I want to print the group value ,please help me out </p>