3v4l.org

run code in 300+ PHP versions simultaneously
<?php foreach($lessons as $lesson) { $this->saveLesson($lesson->shiftId, $lesson->index, $lesson); } foreach($lessons as $lesson) { $this->saveLesson($lesson); }
Finding entry points
Branch analysis from position: 0
2 jumps found. (Code = 77) Position 1 = 1, Position 2 = 13
Branch analysis from position: 1
2 jumps found. (Code = 78) Position 1 = 2, Position 2 = 13
Branch analysis from position: 2
1 jumps found. (Code = 42) Position 1 = 1
Branch analysis from position: 1
Branch analysis from position: 13
2 jumps found. (Code = 77) Position 1 = 15, Position 2 = 21
Branch analysis from position: 15
2 jumps found. (Code = 78) Position 1 = 16, Position 2 = 21
Branch analysis from position: 16
1 jumps found. (Code = 42) Position 1 = 15
Branch analysis from position: 15
Branch analysis from position: 21
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 21
Branch analysis from position: 13
filename:       /in/JJMKD
function name:  (null)
number of ops:  23
compiled vars:  !0 = $lessons, !1 = $lesson
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E > > FE_RESET_R                                       $2      !0, ->13
          1    > > FE_FETCH_R                                               $2, !1, ->13
    4     2    >   FETCH_THIS                                       $3      
          3        INIT_METHOD_CALL                                         $3, 'saveLesson'
          4        CHECK_FUNC_ARG                                           
          5        FETCH_OBJ_FUNC_ARG                               $4      !1, 'shiftId'
          6        SEND_FUNC_ARG                                            $4
          7        CHECK_FUNC_ARG                                           
          8        FETCH_OBJ_FUNC_ARG                               $5      !1, 'index'
          9        SEND_FUNC_ARG                                            $5
         10        SEND_VAR_EX                                              !1
         11        DO_FCALL                                      0          
    3    12      > JMP                                                      ->1
         13    >   FE_FREE                                                  $2
    7    14      > FE_RESET_R                                       $7      !0, ->21
         15    > > FE_FETCH_R                                               $7, !1, ->21
    8    16    >   FETCH_THIS                                       $8      
         17        INIT_METHOD_CALL                                         $8, 'saveLesson'
         18        SEND_VAR_EX                                              !1
         19        DO_FCALL                                      0          
    7    20      > JMP                                                      ->15
         21    >   FE_FREE                                                  $7
    9    22      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
134.9 ms | 995 KiB | 13 Q