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 ($degiskenler as $varAd => $var){ if (strpos($line, $var) == 0 or strpos($line,$var)){ $donut[$varAd] = substr($line, strpos($line, $var) + strlen($var)); echo "[".$varAd."]".substr($line, strpos($line, $var) + strlen($var)); } } ?>
Finding entry points
Branch analysis from position: 0
2 jumps found. (Code = 77) Position 1 = 4, Position 2 = 45
Branch analysis from position: 4
2 jumps found. (Code = 78) Position 1 = 5, Position 2 = 45
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 = 44
Branch analysis from position: 18
1 jumps found. (Code = 42) Position 1 = 4
Branch analysis from position: 4
Branch analysis from position: 44
Branch analysis from position: 17
Branch analysis from position: 45
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 45
filename:       /in/KKr9W
function name:  (null)
number of ops:  47
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      !1, ->45
          4    > > FE_FETCH_R                                       ~9      $8, !3, ->45
          5    >   ASSIGN                                                   !4, ~9
    6     6        INIT_FCALL                                               'strpos'
          7        SEND_VAR                                                 !2
          8        SEND_VAR                                                 !3
          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                                                 !3
         15        DO_ICALL                                         $13     
         16        BOOL                                             ~12     $13
         17    > > JMPZ                                                     ~12, ->44
    7    18    >   INIT_FCALL                                               'substr'
         19        SEND_VAR                                                 !2
         20        INIT_FCALL                                               'strpos'
         21        SEND_VAR                                                 !2
         22        SEND_VAR                                                 !3
         23        DO_ICALL                                         $15     
         24        STRLEN                                           ~16     !3
         25        ADD                                              ~17     $15, ~16
         26        SEND_VAL                                                 ~17
         27        DO_ICALL                                         $18     
         28        ASSIGN_DIM                                               !0, !4
         29        OP_DATA                                                  $18
    8    30        CONCAT                                           ~19     '%5B', !4
         31        CONCAT                                           ~20     ~19, '%5D'
         32        INIT_FCALL                                               'substr'
         33        SEND_VAR                                                 !2
         34        INIT_FCALL                                               'strpos'
         35        SEND_VAR                                                 !2
         36        SEND_VAR                                                 !3
         37        DO_ICALL                                         $21     
         38        STRLEN                                           ~22     !3
         39        ADD                                              ~23     $21, ~22
         40        SEND_VAL                                                 ~23
         41        DO_ICALL                                         $24     
         42        CONCAT                                           ~25     ~20, $24
         43        ECHO                                                     ~25
    5    44    > > JMP                                                      ->4
         45    >   FE_FREE                                                  $8
   11    46      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
180.7 ms | 1400 KiB | 17 Q