3v4l.org

run code in 300+ PHP versions simultaneously
<?php $donut = array("Adı" => false, "açıklama" => false, "kurulum" => false, "kaldırma" => false, "onayDurumu" => 2); $degiskenler = array("adı" => "Modül Adı:"); $line = "// Modül Adı: Denek kod"; foreach ($donut as $varAd => $var){ if (strpos($line, $varAd) == 0 or strpos($line,$varAd)){ $donut[$varAd] = substr($line, strpos($line, $varAd) + strlen($varAd)) + 1; echo $donut[$varAd]; } } ?>
Finding entry points
Branch analysis from position: 0
2 jumps found. (Code = 77) Position 1 = 4, Position 2 = 34
Branch analysis from position: 4
2 jumps found. (Code = 78) Position 1 = 5, Position 2 = 34
Branch analysis from position: 5
2 jumps found. (Code = 47) Position 1 = 12, Position 2 = 17
Branch analysis from position: 12
2 jumps found. (Code = 43) Position 1 = 18, Position 2 = 33
Branch analysis from position: 18
1 jumps found. (Code = 42) Position 1 = 4
Branch analysis from position: 4
Branch analysis from position: 33
Branch analysis from position: 17
Branch analysis from position: 34
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 34
filename:       /in/36tqG
function name:  (null)
number of ops:  36
compiled vars:  !0 = $donut, !1 = $degiskenler, !2 = $line, !3 = $var, !4 = $varAd
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   ASSIGN                                                   !0, <array>
    3     1        ASSIGN                                                   !1, <array>
    4     2        ASSIGN                                                   !2, '%2F%2F+Mod%C3%BCl+Ad%C4%B1%3A+Denek+kod'
    5     3      > FE_RESET_R                                       $8      !0, ->34
          4    > > FE_FETCH_R                                       ~9      $8, !3, ->34
          5    >   ASSIGN                                                   !4, ~9
    6     6        INIT_FCALL                                               'strpos'
          7        SEND_VAR                                                 !2
          8        SEND_VAR                                                 !4
          9        DO_ICALL                                         $11     
         10        IS_EQUAL                                         ~12     $11, 0
         11      > JMPNZ_EX                                         ~12     ~12, ->17
         12    >   INIT_FCALL                                               'strpos'
         13        SEND_VAR                                                 !2
         14        SEND_VAR                                                 !4
         15        DO_ICALL                                         $13     
         16        BOOL                                             ~12     $13
         17    > > JMPZ                                                     ~12, ->33
    7    18    >   INIT_FCALL                                               'substr'
         19        SEND_VAR                                                 !2
         20        INIT_FCALL                                               'strpos'
         21        SEND_VAR                                                 !2
         22        SEND_VAR                                                 !4
         23        DO_ICALL                                         $15     
         24        STRLEN                                           ~16     !4
         25        ADD                                              ~17     $15, ~16
         26        SEND_VAL                                                 ~17
         27        DO_ICALL                                         $18     
         28        ADD                                              ~19     $18, 1
         29        ASSIGN_DIM                                               !0, !4
         30        OP_DATA                                                  ~19
    8    31        FETCH_DIM_R                                      ~20     !0, !4
         32        ECHO                                                     ~20
    5    33    > > JMP                                                      ->4
         34    >   FE_FREE                                                  $8
   11    35      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
146.82 ms | 1396 KiB | 17 Q