3v4l.org

run code in 300+ PHP versions simultaneously
<?php foreach ($forms as $form) : $form->title = Company::find(236)->companyformspaid->toArray()[$demo_med]['title']; $demo_med++; endforeach; ?>
Finding entry points
Branch analysis from position: 0
2 jumps found. (Code = 77) Position 1 = 1, Position 2 = 14
Branch analysis from position: 1
2 jumps found. (Code = 78) Position 1 = 2, Position 2 = 14
Branch analysis from position: 2
1 jumps found. (Code = 42) Position 1 = 1
Branch analysis from position: 1
Branch analysis from position: 14
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 14
filename:       /in/6hkN9
function name:  (null)
number of ops:  16
compiled vars:  !0 = $forms, !1 = $form, !2 = $demo_med
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E > > FE_RESET_R                                       $3      !0, ->14
          1    > > FE_FETCH_R                                               $3, !1, ->14
    3     2    >   INIT_STATIC_METHOD_CALL                                  'Company', 'find'
          3        SEND_VAL_EX                                              236
          4        DO_FCALL                                      0  $5      
          5        FETCH_OBJ_R                                      ~6      $5, 'companyformspaid'
          6        INIT_METHOD_CALL                                         ~6, 'toArray'
          7        DO_FCALL                                      0  $7      
          8        FETCH_DIM_R                                      ~8      $7, !2
          9        FETCH_DIM_R                                      ~9      ~8, 'title'
         10        ASSIGN_OBJ                                               !1, 'title'
         11        OP_DATA                                                  ~9
    4    12        PRE_INC                                                  !2
    2    13      > JMP                                                      ->1
         14    >   FE_FREE                                                  $3
    6    15      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
149.28 ms | 1385 KiB | 13 Q