3v4l.org

run code in 300+ PHP versions simultaneously
<?php $shits = array(); foreach(Shit::getShits() as $shit) { $shits[] = array( 'tird' => $shit->getTird(), 'ffff' => array_map( function($val) { // can't return key = value }, $this->getPoopies() ) ); }
Finding entry points
Branch analysis from position: 0
2 jumps found. (Code = 77) Position 1 = 4, Position 2 = 20
Branch analysis from position: 4
2 jumps found. (Code = 78) Position 1 = 5, Position 2 = 20
Branch analysis from position: 5
1 jumps found. (Code = 42) Position 1 = 4
Branch analysis from position: 4
Branch analysis from position: 20
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 20
filename:       /in/oSqVi
function name:  (null)
number of ops:  22
compiled vars:  !0 = $shits, !1 = $shit
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   ASSIGN                                                   !0, <array>
    3     1        INIT_STATIC_METHOD_CALL                                  'Shit', 'getShits'
          2        DO_FCALL                                      0  $3      
          3      > FE_RESET_R                                       $4      $3, ->20
          4    > > FE_FETCH_R                                               $4, !1, ->20
    5     5    >   INIT_METHOD_CALL                                         !1, 'getTird'
          6        DO_FCALL                                      0  $6      
          7        INIT_ARRAY                                       ~7      $6, 'tird'
    6     8        INIT_FCALL                                               'array_map'
    7     9        DECLARE_LAMBDA_FUNCTION                                  '%00%7Bclosure%7D%2Fin%2FoSqVi%3A7%240'
    9    10        SEND_VAL                                                 ~8
   10    11        FETCH_THIS                                       $9      
         12        INIT_METHOD_CALL                                         $9, 'getPoopies'
         13        DO_FCALL                                      0  $10     
         14        SEND_VAR                                                 $10
         15        DO_ICALL                                         $11     
         16        ADD_ARRAY_ELEMENT                                ~7      $11, 'ffff'
    4    17        ASSIGN_DIM                                               !0
   10    18        OP_DATA                                                  ~7
    3    19      > JMP                                                      ->4
         20    >   FE_FREE                                                  $4
   13    21      > RETURN                                                   1

Function %00%7Bclosure%7D%2Fin%2FoSqVi%3A7%240:
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/oSqVi
function name:  {closure}
number of ops:  2
compiled vars:  !0 = $val
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    7     0  E >   RECV                                             !0      
    9     1      > RETURN                                                   null

End of function %00%7Bclosure%7D%2Fin%2FoSqVi%3A7%240

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
165.87 ms | 1396 KiB | 15 Q