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($results); 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/WIUqc
function name:  (null)
number of ops:  32
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        SEND_VAR                                                 !0
         17        DO_ICALL                                                 
   12    18        INIT_FCALL                                               'var_dump'
         19        INIT_FCALL                                               'iterator_to_array'
         20        NEW                                              $10     'RecursiveIteratorIterator'
         21        NEW                                              $11     'RecursiveArrayIterator'
         22        SEND_VAR_EX                                              !0
         23        DO_FCALL                                      0          
         24        SEND_VAR_NO_REF_EX                                       $11
         25        DO_FCALL                                      0          
         26        SEND_VAR                                                 $10
         27        SEND_VAL                                                 <false>
         28        DO_ICALL                                         $14     
         29        SEND_VAR                                                 $14
         30        DO_ICALL                                                 
         31      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
160.26 ms | 1395 KiB | 17 Q