3v4l.org

run code in 300+ PHP versions simultaneously
<?php $message = 'The Da Vinci Code is a 2003 mystery-detective novel by Dan Brown'; $str_split = str_split($message); $x = 0; $y = 1; $farray[0] = 0; $farray[1] = 1; for($i=2;$i<=10;$i++) { $z = $x + $y; $farray[] = $z; $x=$y; $y=$z; } foreach($farray as $key=>$fvalue){ //echo $key . " => " . $fvalue . "\n"; echo $str_split[$fvalue]."-"; } ?>
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 42) Position 1 = 20
Branch analysis from position: 20
2 jumps found. (Code = 44) Position 1 = 22, Position 2 = 13
Branch analysis from position: 22
2 jumps found. (Code = 77) Position 1 = 23, Position 2 = 29
Branch analysis from position: 23
2 jumps found. (Code = 78) Position 1 = 24, Position 2 = 29
Branch analysis from position: 24
1 jumps found. (Code = 42) Position 1 = 23
Branch analysis from position: 23
Branch analysis from position: 29
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 29
Branch analysis from position: 13
2 jumps found. (Code = 44) Position 1 = 22, Position 2 = 13
Branch analysis from position: 22
Branch analysis from position: 13
filename:       /in/5KIZD
function name:  (null)
number of ops:  31
compiled vars:  !0 = $message, !1 = $str_split, !2 = $x, !3 = $y, !4 = $farray, !5 = $i, !6 = $z, !7 = $fvalue, !8 = $key
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   ASSIGN                                                   !0, 'The+Da+Vinci+Code+is+a+2003+mystery-detective+novel+by+Dan+Brown'
    3     1        INIT_FCALL                                               'str_split'
          2        SEND_VAR                                                 !0
          3        DO_ICALL                                         $10     
          4        ASSIGN                                                   !1, $10
    5     5        ASSIGN                                                   !2, 0
    6     6        ASSIGN                                                   !3, 1
    7     7        ASSIGN_DIM                                               !4, 0
          8        OP_DATA                                                  0
    8     9        ASSIGN_DIM                                               !4, 1
         10        OP_DATA                                                  1
   10    11        ASSIGN                                                   !5, 2
         12      > JMP                                                      ->20
   12    13    >   ADD                                              ~17     !2, !3
         14        ASSIGN                                                   !6, ~17
   13    15        ASSIGN_DIM                                               !4
         16        OP_DATA                                                  !6
   14    17        ASSIGN                                                   !2, !3
   15    18        ASSIGN                                                   !3, !6
   10    19        PRE_INC                                                  !5
         20    >   IS_SMALLER_OR_EQUAL                                      !5, 10
         21      > JMPNZ                                                    ~23, ->13
   18    22    > > FE_RESET_R                                       $24     !4, ->29
         23    > > FE_FETCH_R                                       ~25     $24, !7, ->29
         24    >   ASSIGN                                                   !8, ~25
   20    25        FETCH_DIM_R                                      ~27     !1, !7
         26        CONCAT                                           ~28     ~27, '-'
         27        ECHO                                                     ~28
   18    28      > JMP                                                      ->23
         29    >   FE_FREE                                                  $24
   23    30      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
145.78 ms | 1011 KiB | 14 Q