3v4l.org

run code in 300+ PHP versions simultaneously
<?php $json = '{"nodes":[{"top_id":"1","top":"1","parent_id":"2","parent":"2","child_id":"5","child":"5","standard":"Standard I: Curriculum, Planning, and Assessment","indicator":"Indicator I-A.\tCurriculum &amp; Planning","element":"I-A-1. Subject Matter Knowledge","Connections":"Common Core\r\n2011 Mass Frameworks","Effective Practice":"Accurately presents content identified in the state frameworks for the given grade level\r\nMakes connections across ideas and content areas","Proficient":"Demonstrates sound knowledge and understanding of the subject matter and the pedagogy it requires by consistently engaging students in learning experiences that enable them to acquire complex knowledge and skills in the subject.","Suggested Artifacts":"Curriculum units\r\nPlan book\r\nPhotographs\r\nPlan book, pictures, video"},{"top_id":"1","top":"1","parent_id":"2","parent":"2","child_id":"6","child":"6","standard":"Standard I: Curriculum, Planning, and Assessment","indicator":"Indicator I-A.\tCurriculum &amp; Planning","element":"I-A-2. Child and Adolescent Development","Connections":"Differentiated Instruction","Effective Practice":"Delivers instruction using language comprehensible to students\r\nProvides resources and assessments at appropriate challenge levels","Proficient":"Demonstrates knowledge of the developmental levels of students in the classroom and the different ways these students learn by providing differentiated learning experiences that enable all students to progress toward meeting intended outcomes.","Suggested Artifacts":"Plan book, pictures, video\r\nCopies of resources, assessments"},{"top_id":"1","top":"1","parent_id":"2","parent":"2","child_id":"7","child":"7","standard":"Standard I: Curriculum, Planning, and Assessment","indicator":"Indicator I-A.\tCurriculum &amp; Planning","element":"I-A-3. Rigorous Standards-Based Unit Design","Connections":"Understanding by Design (UbD)\r\nBloom&#039;s Taxonomy\r\n\r\nModel Curriculum Units","Effective Practice":"Formative and summative assessment is evident\r\nAll lessons move toward the unit learning objectives","Proficient":"Designs units of instruction with measurable outcomes and challenging tasks requiring higher-order thinking skills that enable students to learn the knowledge and skills defined in state standards/local curricula.","Suggested Artifacts":"Curriculum unit, video, student work"},{"top_id":"1","top":"1","parent_id":"2","parent":"2","child_id":"8","child":"8","standard":"Standard I: Curriculum, Planning, and Assessment","indicator":"Indicator I-A.\tCurriculum &amp; Planning","element":"I-A-4. Well-Structured Lessons","Connections":"Understanding by Design (UbD)\r\nUniversal Design for learning (UDL)","Effective Practice":"Includes learning objectives\r\nDifferentiates to meet diverse needs and learning styles","Proficient":"Develops well-structured lessons with challenging, measurable objectives and appropriate student engagement strategies, pacing, sequence, activities, materials, resources, technologies, and grouping.","Suggested Artifacts":"Plan book, lesson plan, video"},{"top_id":"1","top":"1","parent_id":"3","parent":"3","child_id":"9","child":"9","standard":"Standard I: Curriculum, Planning, and Assessment","indicator":"Indicator I-B. Assessment","element":"I-B-1. Variety of Assessment Methods","Connections":"Massachusetts Tiered System of Support (MTSS)","Effective Practice":"Uses range of formative and summative assessments\r\nMeasures student growth toward standards","Proficient":"Designs and administers a variety of informal and formal methods and assessments, including common interim assessments, to measure each student&#039;s learning, growth, and progress toward achieving state/local standards.","Suggested Artifacts":"Formative, interim, or summative assessments"},{"top_id":"1","top":"1","parent_id":"3","parent":"3","child_id":"10","child":"10","standard":"Standard I: Curriculum, Planning, and Assessment","indicator":"Indicator I-B. Assessment","element":"I-B-2. Adjustment to Practice","Connections":"Professional Learning Communities\r\nData Teams","Effective Practice":"Groups students after formative assessments and/or data analysis\r\nParticipates in data team meetings\r\nAdjusts pace according to student needs","Proficient":"Organizes and analyzes results from a variety of assessments to determine progress toward intended outcomes and uses these findings to adjust practice and identify and/or implement appropriate differentiated interventions and enhancements for students.","Suggested Artifacts":"Lesson plan revised in response to assessment\r\nPre- and post assessments"},{"top_id":"1","top":"1","parent_id":"4","parent":"4","child_id":"11","child":"11","standard":"Standard I: Curriculum, Planning, and Assessment","indicator":"Indicator I-C. Analysis","element":"I-C-1. Analysis and Conclusions","Connections":"Data Teams\r\nPLCs","Effective Practice":"Views wide range of data\r\nDraws conclusions to improve student learning","Proficient":"Individually and with colleagues, draws appropriate conclusions from a thorough analysis of a wide range of assessment data to improve student learning.","Suggested Artifacts":"Data printouts or graphic representations\r\nTeam meeting notes"},{"top_id":"1","top":"1","parent_id":"4","parent":"4","child_id":"12","child":"12","standard":"Standard I: Curriculum, Planning, and Assessment","indicator":"Indicator I-C. Analysis","element":"I-C-2. Sharing Conclusions With Colleagues","Connections":"Data Teams\r\nPLCs","Effective Practice":"Shares student learning conclusions with colleagues\r\nSeeks feedback about practices that will improve student learning","Proficient":"Regularly shares with appropriate colleagues (e.g., general education, special education, and English learner staff) conclusions about student progress and seeks feedback from them about instructional or assessment practices that will support improved student learning.","Suggested Artifacts":"Meeting notes\r\nRevised lesson or unit plans"},{"top_id":"1","top":"1","parent_id":"4","parent":"4","child_id":"13","child":"13","standard":"Standard I: Curriculum, Planning, and Assessment","indicator":"Indicator I-C. Analysis","element":"I-C-3. Sharing Conclusions With Students","Connections":null,"Effective Practice":"Provides feedback to students about improving performance\r\nProvides feedback to families about improving student performance","Proficient":"Based on assessment results, provides descriptive feedback and engages students and families in constructive conversation that focuses on how students can improve their performance.","Suggested Artifacts":"Conference notes, videotaped conference\r\nConference notes, email, newsletters"}]}'; $array = json_decode($json, true); $nodes = $array['nodes']; $tree = array(); foreach ($nodes as $item) { // construct our tree // gather the data if ( !isset($data_by_id[ $item['top_id'] ])) { $data_by_id[ $item['top_id'] ] = array( 'name' => $item['standard'] ); } if ( !isset($data_by_id[ $item['parent_id'] ])) { $data_by_id[ $item['parent_id'] ] = array( 'name' => $item['indicator'] ); } if ( !isset($data_by_id[ $item['child_id'] ])) { $data_by_id[ $item['child_id'] ] = array( 'name' => $item['element'], 'contents' => array($item['Connections'], $item['Effective Practice'], $item['Proficient'], $item['Suggested Artifacts']) ); } // construct the tree $tree[ $item['top_id'] ] = array( $item['parent_id'] => array ( $item['child_id'] => 1 ) ) ; } print_r($tree); /* print_r($data_by_id); echo "\n\n"; function print_tree( $data, $arr ){ echo "<ul>\n"; foreach ($arr as $key => $value) { echo "<li>" . $data[$key]['name'] . "</li>\n"; if (isset($data[$key]['contents']) && is_array($data[$key]['contents'])) { echo '<ul>'; foreach ($data[$key]['contents'] as $leaf) { echo '<li>' . $leaf . "</li>\n"; } echo "</ul>\n"; } if (is_array($value)) { print_tree($data, $value); } } echo "</ul>\n"; } print_tree($data_by_id, $tree); */ // go through the tree and print the info echo "<ul>\n"; foreach ($tree as $trunk => $trunk_val) { echo '<li>' . $data_by_id[ $trunk ]['name'] . "</li>\n"; echo "<ul>\n"; foreach ($trunk_val as $branch => $branch_val) { echo '<li>' . $data_by_id[ $branch ]['name'] . "</li>\n"; echo "<ul>\n"; foreach ($branch_val as $twig => $twig_val) { echo '<li>' . $data_by_id[ $twig ]['name'] . "</li>\n"; if (isset($data_by_id[$twig]['contents']) && is_array($data_by_id[$twig]['contents'])) { echo '<ul>'; foreach ($data_by_id[$twig]['contents'] as $leaf) { echo '<li>' . $leaf . "</li>\n"; } echo "</ul>\n"; } } echo "</ul>\n"; } echo "</ul>\n"; } echo "</ul>\n";
Finding entry points
Branch analysis from position: 0
2 jumps found. (Code = 77) Position 1 = 10, Position 2 = 55
Branch analysis from position: 10
2 jumps found. (Code = 78) Position 1 = 11, Position 2 = 55
Branch analysis from position: 11
2 jumps found. (Code = 43) Position 1 = 15, Position 2 = 20
Branch analysis from position: 15
2 jumps found. (Code = 43) Position 1 = 24, Position 2 = 29
Branch analysis from position: 24
2 jumps found. (Code = 43) Position 1 = 33, Position 2 = 47
Branch analysis from position: 33
1 jumps found. (Code = 42) Position 1 = 10
Branch analysis from position: 10
Branch analysis from position: 47
Branch analysis from position: 29
Branch analysis from position: 20
Branch analysis from position: 55
2 jumps found. (Code = 77) Position 1 = 61, Position 2 = 112
Branch analysis from position: 61
2 jumps found. (Code = 78) Position 1 = 62, Position 2 = 112
Branch analysis from position: 62
2 jumps found. (Code = 77) Position 1 = 70, Position 2 = 109
Branch analysis from position: 70
2 jumps found. (Code = 78) Position 1 = 71, Position 2 = 109
Branch analysis from position: 71
2 jumps found. (Code = 77) Position 1 = 79, Position 2 = 106
Branch analysis from position: 79
2 jumps found. (Code = 78) Position 1 = 80, Position 2 = 106
Branch analysis from position: 80
2 jumps found. (Code = 46) Position 1 = 89, Position 2 = 93
Branch analysis from position: 89
2 jumps found. (Code = 43) Position 1 = 94, Position 2 = 105
Branch analysis from position: 94
2 jumps found. (Code = 77) Position 1 = 98, Position 2 = 103
Branch analysis from position: 98
2 jumps found. (Code = 78) Position 1 = 99, Position 2 = 103
Branch analysis from position: 99
1 jumps found. (Code = 42) Position 1 = 98
Branch analysis from position: 98
Branch analysis from position: 103
1 jumps found. (Code = 42) Position 1 = 79
Branch analysis from position: 79
Branch analysis from position: 103
Branch analysis from position: 105
Branch analysis from position: 93
Branch analysis from position: 106
1 jumps found. (Code = 42) Position 1 = 70
Branch analysis from position: 70
Branch analysis from position: 106
Branch analysis from position: 109
1 jumps found. (Code = 42) Position 1 = 61
Branch analysis from position: 61
Branch analysis from position: 109
Branch analysis from position: 112
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 112
Branch analysis from position: 55
filename:       /in/7MVV8
function name:  (null)
number of ops:  115
compiled vars:  !0 = $json, !1 = $array, !2 = $nodes, !3 = $tree, !4 = $item, !5 = $data_by_id, !6 = $trunk_val, !7 = $trunk, !8 = $branch_val, !9 = $branch, !10 = $twig_val, !11 = $twig, !12 = $leaf
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   ASSIGN                                                   !0, '%7B%22nodes%22%3A%5B%7B%22top_id%22%3A%221%22%2C%22top%22%3A%221%22%2C%22parent_id%22%3A%222%22%2C%22parent%22%3A%222%22%2C%22child_id%22%3A%225%22%2C%22child%22%3A%225%22%2C%22standard%22%3A%22Standard+I%3A+Curriculum%2C+Planning%2C+and+Assessment%22%2C%22indicator%22%3A%22Indicator+I-A.%5CtCurriculum+%26amp%3B+Planning%22%2C%22element%22%3A%22I-A-1.+Subject+Matter+Knowledge%22%2C%22Connections%22%3A%22Common+Core%5Cr%5Cn2011+Mass+Frameworks%22%2C%22Effective+Practice%22%3A%22Accurately+presents+content+identified+in+the+state+frameworks+for+the+given+grade+level%5Cr%5CnMakes+connections+across+ideas+and+content+areas%22%2C%22Proficient%22%3A%22Demonstrates+sound+knowledge+and+understanding+of+the+subject+matter+and+the+pedagogy+it+requires+by+consistently+engaging+students+in+learning+experiences+that+enable+them+to+acquire+complex+knowledge+and+skills+in+the+subject.%22%2C%22Suggested+Artifacts%22%3A%22Curriculum+units%5Cr%5CnPlan+book%5Cr%5CnPhotographs%5Cr%5CnPlan+book%2C+pictures%2C+video%22%7D%2C%7B%22top_id%22%3A%221%22%2C%22top%22%3A%221%22%2C%22parent_id%22%3A%222%22%2C%22parent%22%3A%222%22%2C%22child_id%22%3A%226%22%2C%22child%22%3A%226%22%2C%22standard%22%3A%22Standard+I%3A+Curriculum%2C+Planning%2C+and+Assessment%22%2C%22indicator%22%3A%22Indicator+I-A.%5CtCurriculum+%26amp%3B+Planning%22%2C%22element%22%3A%22I-A-2.+Child+and+Adolescent+Development%22%2C%22Connections%22%3A%22Differentiated+Instruction%22%2C%22Effective+Practice%22%3A%22Delivers+instruction+using+language+comprehensible+to+students%5Cr%5CnProvides+resources+and+assessments+at+appropriate+challenge+levels%22%2C%22Proficient%22%3A%22Demonstrates+knowledge+of+the+developmental+levels+of+students+in+the+classroom+and+the+different+ways+these+students+learn+by+providing+differentiated+learning+experiences+that+enable+all+students+to+progress+toward+meeting+intended+outcomes.%22%2C%22Suggested+Artifacts%22%3A%22Plan+book%2C+pictures%2C+video%5Cr%5CnCopies+of+resources%2C+assessments%22%7D%2C%7B%22top_id%22%3A%221%22%2C%22top%22%3A%221%22%2C%22parent_id%22%3A%222%22%2C%22parent%22%3A%222%22%2C%22child_id%22%3A%227%22%2C%22child%22%3A%227%22%2C%22standard%22%3A%22Standard+I%3A+Curriculum%2C+Planning%2C+and+Assessment%22%2C%22indicator%22%3A%22Indicator+I-A.%5CtCurriculum+%26amp%3B+Planning%22%2C%22element%22%3A%22I-A-3.+Rigorous+Standards-Based+Unit+Design%22%2C%22Connections%22%3A%22Understanding+by+Design+%28UbD%29%5Cr%5CnBloom%26%23039%3Bs+Taxonomy%5Cr%5Cn%5Cr%5CnModel+Curriculum+Units%22%2C%22Effective+Practice%22%3A%22Formative+and+summative+assessment+is+evident%5Cr%5CnAll+lessons+move+toward+the+unit+learning+objectives%22%2C%22Proficient%22%3A%22Designs+units+of+instruction+with+measurable+outcomes+and+challenging+tasks+requiring+higher-order+thinking+skills+that+enable+students+to+learn+the+knowledge+and+skills+defined+in+state+standards%2Flocal+curricula.%22%2C%22Suggested+Artifacts%22%3A%22Curriculum+unit%2C+video%2C+student+work%22%7D%2C%7B%22top_id%22%3A%221%22%2C%22top%22%3A%221%22%2C%22parent_id%22%3A%222%22%2C%22parent%22%3A%222%22%2C%22child_id%22%3A%228%22%2C%22child%22%3A%228%22%2C%22standard%22%3A%22Standard+I%3A+Curriculum%2C+Planning%2C+and+Assessment%22%2C%22indicator%22%3A%22Indicator+I-A.%5CtCurriculum+%26amp%3B+Planning%22%2C%22element%22%3A%22I-A-4.+Well-Structured+Lessons%22%2C%22Connections%22%3A%22Understanding+by+Design+%28UbD%29%5Cr%5CnUniversal+Design+for+learning+%28UDL%29%22%2C%22Effective+Practice%22%3A%22Includes+learning+objectives%5Cr%5CnDifferentiates+to+meet+diverse+needs+and+learning+styles%22%2C%22Proficient%22%3A%22Develops+well-structured+lessons+with+challenging%2C+measurable+objectives+and+appropriate+student+engagement+strategies%2C+pacing%2C+sequence%2C+activities%2C+materials%2C+resources%2C+technologies%2C+and+grouping.%22%2C%22Suggested+Artifacts%22%3A%22Plan+book%2C+lesson+plan%2C+video%22%7D%2C%7B%22top_id%22%3A%221%22%2C%22top%22%3A%221%22%2C%22parent_id%22%3A%223%22%2C%22parent%22%3A%223%22%2C%22child_id%22%3A%229%22%2C%22child%22%3A%229%22%2C%22standard%22%3A%22Standard+I%3A+Curriculum%2C+Planning%2C+and+Assessment%22%2C%22indicator%22%3A%22Indicator+I-B.+Assessment%22%2C%22element%22%3A%22I-B-1.+Variety+of+Assessment+Methods%22%2C%22Connections%22%3A%22Massachusetts+Tiered+System+of+Support+%28MTSS%29%22%2C%22Effective+Practice%22%3A%22Uses+range+of+formative+and+summative+assessments%5Cr%5CnMeasures+student+growth+toward+standards%22%2C%22Proficient%22%3A%22Designs+and+administers+a+variety+of+informal+and+formal+methods+and+assessments%2C+including+common+interim+assessments%2C+to+measure+each+student%26%23039%3Bs+learning%2C+growth%2C+and+progress+toward+achieving+state%2Flocal+standards.%22%2C%22Suggested+Artifacts%22%3A%22Formative%2C+interim%2C+or+summative+assessments%22%7D%2C%7B%22top_id%22%3A%221%22%2C%22top%22%3A%221%22%2C%22parent_id%22%3A%223%22%2C%22parent%22%3A%223%22%2C%22child_id%22%3A%2210%22%2C%22child%22%3A%2210%22%2C%22standard%22%3A%22Standard+I%3A+Curriculum%2C+Planning%2C+and+Assessment%22%2C%22indicator%22%3A%22Indicator+I-B.+Assessment%22%2C%22element%22%3A%22I-B-2.+Adjustment+to+Practice%22%2C%22Connections%22%3A%22Professional+Learning+Communities%5Cr%5CnData+Teams%22%2C%22Effective+Practice%22%3A%22Groups+students+after+formative+assessments+and%2For+data+analysis%5Cr%5CnParticipates+in+data+team+meetings%5Cr%5CnAdjusts+pace+according+to+student+needs%22%2C%22Proficient%22%3A%22Organizes+and+analyzes+results+from+a+variety+of+assessments+to+determine+progress+toward+intended+outcomes+and+uses+these+findings+to+adjust+practice+and+identify+and%2For+implement+appropriate+differentiated+interventions+and+enhancements+for+students.%22%2C%22Suggested+Artifacts%22%3A%22Lesson+plan+revised+in+response+to+assessment%5Cr%5CnPre-+and+post+assessments%22%7D%2C%7B%22top_id%22%3A%221%22%2C%22top%22%3A%221%22%2C%22parent_id%22%3A%224%22%2C%22parent%22%3A%224%22%2C%22child_id%22%3A%2211%22%2C%22child%22%3A%2211%22%2C%22standard%22%3A%22Standard+I%3A+Curriculum%2C+Planning%2C+and+Assessment%22%2C%22indicator%22%3A%22Indicator+I-C.+Analysis%22%2C%22element%22%3A%22I-C-1.+Analysis+and+Conclusions%22%2C%22Connections%22%3A%22Data+Teams%5Cr%5CnPLCs%22%2C%22Effective+Practice%22%3A%22Views+wide+range+of+data%5Cr%5CnDraws+conclusions+to+improve+student+learning%22%2C%22Proficient%22%3A%22Individually+and+with+colleagues%2C+draws+appropriate+conclusions+from+a+thorough+analysis+of+a+wide+range+of+assessment+data+to+improve+student+learning.%22%2C%22Suggested+Artifacts%22%3A%22Data+printouts+or+graphic+representations%5Cr%5CnTeam+meeting+notes%22%7D%2C%7B%22top_id%22%3A%221%22%2C%22top%22%3A%221%22%2C%22parent_id%22%3A%224%22%2C%22parent%22%3A%224%22%2C%22child_id%22%3A%2212%22%2C%22child%22%3A%2212%22%2C%22standard%22%3A%22Standard+I%3A+Curriculum%2C+Planning%2C+and+Assessment%22%2C%22indicator%22%3A%22Indicator+I-C.+Analysis%22%2C%22element%22%3A%22I-C-2.+Sharing+Conclusions+With+Colleagues%22%2C%22Connections%22%3A%22Data+Teams%5Cr%5CnPLCs%22%2C%22Effective+Practice%22%3A%22Shares+student+learning+conclusions+with+colleagues%5Cr%5CnSeeks+feedback+about+practices+that+will+improve+student+learning%22%2C%22Proficient%22%3A%22Regularly+shares+with+appropriate+colleagues+%28e.g.%2C+general+education%2C+special+education%2C+and+English+learner+staff%29+conclusions+about+student+progress+and+seeks+feedback+from+them+about+instructional+or+assessment+practices+that+will+support+improved+student+learning.%22%2C%22Suggested+Artifacts%22%3A%22Meeting+notes%5Cr%5CnRevised+lesson+or+unit+plans%22%7D%2C%7B%22top_id%22%3A%221%22%2C%22top%22%3A%221%22%2C%22parent_id%22%3A%224%22%2C%22parent%22%3A%224%22%2C%22child_id%22%3A%2213%22%2C%22child%22%3A%2213%22%2C%22standard%22%3A%22Standard+I%3A+Curriculum%2C+Planning%2C+and+Assessment%22%2C%22indicator%22%3A%22Indicator+I-C.+Analysis%22%2C%22element%22%3A%22I-C-3.+Sharing+Conclusions+With+Students%22%2C%22Connections%22%3Anull%2C%22Effective+Practice%22%3A%22Provides+feedback+to+students+about+improving+performance%5Cr%5CnProvides+feedback+to+families+about+improving+student+performance%22%2C%22Proficient%22%3A%22Based+on+assessment+results%2C+provides+descriptive+feedback+and+engages+students+and+families+in+constructive+conversation+that+focuses+on+how+students+can+improve+their+performance.%22%2C%22Suggested+Artifacts%22%3A%22Conference+notes%2C+videotaped+conference%5Cr%5CnConference+notes%2C+email%2C+newsletters%22%7D%5D%7D'
    5     1        INIT_FCALL                                               'json_decode'
          2        SEND_VAR                                                 !0
          3        SEND_VAL                                                 <true>
          4        DO_ICALL                                         $14     
          5        ASSIGN                                                   !1, $14
    6     6        FETCH_DIM_R                                      ~16     !1, 'nodes'
          7        ASSIGN                                                   !2, ~16
    7     8        ASSIGN                                                   !3, <array>
    9     9      > FE_RESET_R                                       $19     !2, ->55
         10    > > FE_FETCH_R                                               $19, !4, ->55
   12    11    >   FETCH_DIM_R                                      ~20     !4, 'top_id'
         12        ISSET_ISEMPTY_DIM_OBJ                         0  ~21     !5, ~20
         13        BOOL_NOT                                         ~22     ~21
         14      > JMPZ                                                     ~22, ->20
   13    15    >   FETCH_DIM_R                                      ~23     !4, 'top_id'
         16        FETCH_DIM_R                                      ~25     !4, 'standard'
         17        INIT_ARRAY                                       ~26     ~25, 'name'
         18        ASSIGN_DIM                                               !5, ~23
         19        OP_DATA                                                  ~26
   15    20    >   FETCH_DIM_R                                      ~27     !4, 'parent_id'
         21        ISSET_ISEMPTY_DIM_OBJ                         0  ~28     !5, ~27
         22        BOOL_NOT                                         ~29     ~28
         23      > JMPZ                                                     ~29, ->29
   16    24    >   FETCH_DIM_R                                      ~30     !4, 'parent_id'
         25        FETCH_DIM_R                                      ~32     !4, 'indicator'
         26        INIT_ARRAY                                       ~33     ~32, 'name'
         27        ASSIGN_DIM                                               !5, ~30
         28        OP_DATA                                                  ~33
   18    29    >   FETCH_DIM_R                                      ~34     !4, 'child_id'
         30        ISSET_ISEMPTY_DIM_OBJ                         0  ~35     !5, ~34
         31        BOOL_NOT                                         ~36     ~35
         32      > JMPZ                                                     ~36, ->47
   19    33    >   FETCH_DIM_R                                      ~37     !4, 'child_id'
         34        FETCH_DIM_R                                      ~39     !4, 'element'
         35        INIT_ARRAY                                       ~40     ~39, 'name'
         36        FETCH_DIM_R                                      ~41     !4, 'Connections'
         37        INIT_ARRAY                                       ~42     ~41
         38        FETCH_DIM_R                                      ~43     !4, 'Effective+Practice'
         39        ADD_ARRAY_ELEMENT                                ~42     ~43
         40        FETCH_DIM_R                                      ~44     !4, 'Proficient'
         41        ADD_ARRAY_ELEMENT                                ~42     ~44
         42        FETCH_DIM_R                                      ~45     !4, 'Suggested+Artifacts'
         43        ADD_ARRAY_ELEMENT                                ~42     ~45
         44        ADD_ARRAY_ELEMENT                                ~40     ~42, 'contents'
         45        ASSIGN_DIM                                               !5, ~37
         46        OP_DATA                                                  ~40
   22    47    >   FETCH_DIM_R                                      ~46     !4, 'top_id'
         48        FETCH_DIM_R                                      ~48     !4, 'parent_id'
         49        FETCH_DIM_R                                      ~49     !4, 'child_id'
         50        INIT_ARRAY                                       ~50     1, ~49
         51        INIT_ARRAY                                       ~51     ~50, ~48
         52        ASSIGN_DIM                                               !3, ~46
         53        OP_DATA                                                  ~51
    9    54      > JMP                                                      ->10
         55    >   FE_FREE                                                  $19
   24    56        INIT_FCALL                                               'print_r'
         57        SEND_VAR                                                 !3
         58        DO_ICALL                                                 
   50    59        ECHO                                                     '%3Cul%3E%0A'
   51    60      > FE_RESET_R                                       $53     !3, ->112
         61    > > FE_FETCH_R                                       ~54     $53, !6, ->112
         62    >   ASSIGN                                                   !7, ~54
   52    63        FETCH_DIM_R                                      ~56     !5, !7
         64        FETCH_DIM_R                                      ~57     ~56, 'name'
         65        CONCAT                                           ~58     '%3Cli%3E', ~57
         66        CONCAT                                           ~59     ~58, '%3C%2Fli%3E%0A'
         67        ECHO                                                     ~59
   53    68        ECHO                                                     '%3Cul%3E%0A'
   54    69      > FE_RESET_R                                       $60     !6, ->109
         70    > > FE_FETCH_R                                       ~61     $60, !8, ->109
         71    >   ASSIGN                                                   !9, ~61
   55    72        FETCH_DIM_R                                      ~63     !5, !9
         73        FETCH_DIM_R                                      ~64     ~63, 'name'
         74        CONCAT                                           ~65     '%3Cli%3E', ~64
         75        CONCAT                                           ~66     ~65, '%3C%2Fli%3E%0A'
         76        ECHO                                                     ~66
   56    77        ECHO                                                     '%3Cul%3E%0A'
   57    78      > FE_RESET_R                                       $67     !8, ->106
         79    > > FE_FETCH_R                                       ~68     $67, !10, ->106
         80    >   ASSIGN                                                   !11, ~68
   58    81        FETCH_DIM_R                                      ~70     !5, !11
         82        FETCH_DIM_R                                      ~71     ~70, 'name'
         83        CONCAT                                           ~72     '%3Cli%3E', ~71
         84        CONCAT                                           ~73     ~72, '%3C%2Fli%3E%0A'
         85        ECHO                                                     ~73
   59    86        FETCH_DIM_IS                                     ~74     !5, !11
         87        ISSET_ISEMPTY_DIM_OBJ                         0  ~75     ~74, 'contents'
         88      > JMPZ_EX                                          ~75     ~75, ->93
         89    >   FETCH_DIM_R                                      ~76     !5, !11
         90        FETCH_DIM_R                                      ~77     ~76, 'contents'
         91        TYPE_CHECK                                  128  ~78     ~77
         92        BOOL                                             ~75     ~78
         93    > > JMPZ                                                     ~75, ->105
   60    94    >   ECHO                                                     '%3Cul%3E'
   61    95        FETCH_DIM_R                                      ~79     !5, !11
         96        FETCH_DIM_R                                      ~80     ~79, 'contents'
         97      > FE_RESET_R                                       $81     ~80, ->103
         98    > > FE_FETCH_R                                               $81, !12, ->103
   62    99    >   CONCAT                                           ~82     '%3Cli%3E', !12
        100        CONCAT                                           ~83     ~82, '%3C%2Fli%3E%0A'
        101        ECHO                                                     ~83
   61   102      > JMP                                                      ->98
        103    >   FE_FREE                                                  $81
   64   104        ECHO                                                     '%3C%2Ful%3E%0A'
   57   105    > > JMP                                                      ->79
        106    >   FE_FREE                                                  $67
   67   107        ECHO                                                     '%3C%2Ful%3E%0A'
   54   108      > JMP                                                      ->70
        109    >   FE_FREE                                                  $60
   69   110        ECHO                                                     '%3C%2Ful%3E%0A'
   51   111      > JMP                                                      ->61
        112    >   FE_FREE                                                  $53
   71   113        ECHO                                                     '%3C%2Ful%3E%0A'
        114      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
253.36 ms | 1416 KiB | 18 Q