3v4l.org

run code in 300+ PHP versions simultaneously
<?php $results = []; $results[] = ['topic' => 'Command Line']; $results[] = ['topic' => 'Symfony General']; $results[] = ['topic' => 'Dependency Injection']; $results[] = ['topic' => 'Validation']; $results[] = ['topic' => 'Cache']; $results[] = ['topic' => 'Form']; $results[] = ['topic' => 'Doctrine']; var_dump(iterator_to_array(new \RecursiveIteratorIterator(new \RecursiveArrayIterator($results)), false));
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/3goJJ
function name:  (null)
number of ops:  29
compiled vars:  !0 = $results
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   ASSIGN                                                   !0, <array>
    3     1        ASSIGN_DIM                                               !0
          2        OP_DATA                                                  <array>
    4     3        ASSIGN_DIM                                               !0
          4        OP_DATA                                                  <array>
    5     5        ASSIGN_DIM                                               !0
          6        OP_DATA                                                  <array>
    6     7        ASSIGN_DIM                                               !0
          8        OP_DATA                                                  <array>
    7     9        ASSIGN_DIM                                               !0
         10        OP_DATA                                                  <array>
    8    11        ASSIGN_DIM                                               !0
         12        OP_DATA                                                  <array>
    9    13        ASSIGN_DIM                                               !0
         14        OP_DATA                                                  <array>
   11    15        INIT_FCALL                                               'var_dump'
         16        INIT_FCALL                                               'iterator_to_array'
         17        NEW                                              $9      'RecursiveIteratorIterator'
         18        NEW                                              $10     'RecursiveArrayIterator'
         19        SEND_VAR_EX                                              !0
         20        DO_FCALL                                      0          
         21        SEND_VAR_NO_REF_EX                                       $10
         22        DO_FCALL                                      0          
         23        SEND_VAR                                                 $9
         24        SEND_VAL                                                 <false>
         25        DO_ICALL                                         $13     
         26        SEND_VAR                                                 $13
         27        DO_ICALL                                                 
         28      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
166.47 ms | 1395 KiB | 17 Q