3v4l.org

run code in 300+ PHP versions simultaneously
<?php function fuck($str, $arr) { $a = $str; foreach($arr as $b) { $a .= $b; } return $a; } fuck('test');
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/6gfQc
function name:  (null)
number of ops:  4
compiled vars:  none
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
   13     0  E >   INIT_FCALL                                               'fuck'
          1        SEND_VAL                                                 'test'
          2        DO_FCALL                                      0          
          3      > RETURN                                                   1

Function fuck:
Finding entry points
Branch analysis from position: 0
2 jumps found. (Code = 77) Position 1 = 4, Position 2 = 7
Branch analysis from position: 4
2 jumps found. (Code = 78) Position 1 = 5, Position 2 = 7
Branch analysis from position: 5
1 jumps found. (Code = 42) Position 1 = 4
Branch analysis from position: 4
Branch analysis from position: 7
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 7
filename:       /in/6gfQc
function name:  fuck
number of ops:  10
compiled vars:  !0 = $str, !1 = $arr, !2 = $a, !3 = $b
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   RECV                                             !0      
          1        RECV                                             !1      
    5     2        ASSIGN                                                   !2, !0
    6     3      > FE_RESET_R                                       $5      !1, ->7
          4    > > FE_FETCH_R                                               $5, !3, ->7
    8     5    >   ASSIGN_OP                                     8          !2, !3
    6     6      > JMP                                                      ->4
          7    >   FE_FREE                                                  $5
   10     8      > RETURN                                                   !2
   11     9*     > RETURN                                                   null

End of function fuck

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
206.2 ms | 1397 KiB | 14 Q