3v4l.org

run code in 300+ PHP versions simultaneously
<?php $charset=str_repeat("abcdefghijklmnopqrstuvwxyz",2); $msg="tm bcsv qolfp f'dmvd xuhm exl tgak hlrkiv sydg hxm qiswzzwf qrf oqdueqe dpae resd wndo liva bu vgtokx sjzk hmb rqch fqwbg fmmft seront sntsdr pmsecq"; $format=explode(" ",$msg); for($element=0;$element<=count($format);$element++){ $string=$format[$element]; $len=strlen($string); $key=$element+1; print $string." ".$len." ".$key."\n"; for($char=0;$char<=$len-1;$char++) $l=strpos($charset,substr($string,$char+1,1)); print substr($string,$char+1,1);#$n=substr($charset,$l+$key,1); print $n."\n"; }
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 42) Position 1 = 50
Branch analysis from position: 50
2 jumps found. (Code = 44) Position 1 = 53, Position 2 = 13
Branch analysis from position: 53
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 13
1 jumps found. (Code = 42) Position 1 = 39
Branch analysis from position: 39
2 jumps found. (Code = 44) Position 1 = 42, Position 2 = 27
Branch analysis from position: 42
2 jumps found. (Code = 44) Position 1 = 53, Position 2 = 13
Branch analysis from position: 53
Branch analysis from position: 13
Branch analysis from position: 27
2 jumps found. (Code = 44) Position 1 = 42, Position 2 = 27
Branch analysis from position: 42
Branch analysis from position: 27
filename:       /in/iQj2q
function name:  (null)
number of ops:  54
compiled vars:  !0 = $charset, !1 = $msg, !2 = $format, !3 = $element, !4 = $string, !5 = $len, !6 = $key, !7 = $char, !8 = $l
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   INIT_FCALL                                               'str_repeat'
          1        SEND_VAL                                                 'abcdefghijklmnopqrstuvwxyz'
          2        SEND_VAL                                                 2
          3        DO_ICALL                                         $9      
          4        ASSIGN                                                   !0, $9
    3     5        ASSIGN                                                   !1, 'tm+bcsv+qolfp+f%27dmvd+xuhm+exl+tgak+hlrkiv+sydg+hxm+qiswzzwf+qrf+oqdueqe+dpae+resd+wndo+liva+bu+vgtokx+sjzk+hmb+rqch+fqwbg+fmmft+seront+sntsdr+pmsecq'
    4     6        INIT_FCALL                                               'explode'
          7        SEND_VAL                                                 '+'
          8        SEND_VAR                                                 !1
          9        DO_ICALL                                         $12     
         10        ASSIGN                                                   !2, $12
    5    11        ASSIGN                                                   !3, 0
         12      > JMP                                                      ->50
    6    13    >   FETCH_DIM_R                                      ~15     !2, !3
         14        ASSIGN                                                   !4, ~15
    7    15        STRLEN                                           ~17     !4
         16        ASSIGN                                                   !5, ~17
    8    17        ADD                                              ~19     !3, 1
         18        ASSIGN                                                   !6, ~19
    9    19        CONCAT                                           ~21     !4, '+'
         20        CONCAT                                           ~22     ~21, !5
         21        CONCAT                                           ~23     ~22, '+'
         22        CONCAT                                           ~24     ~23, !6
         23        CONCAT                                           ~25     ~24, '%0A'
         24        ECHO                                                     ~25
   10    25        ASSIGN                                                   !7, 0
         26      > JMP                                                      ->39
         27    >   INIT_FCALL                                               'strpos'
         28        SEND_VAR                                                 !0
         29        INIT_FCALL                                               'substr'
         30        SEND_VAR                                                 !4
         31        ADD                                              ~27     !7, 1
         32        SEND_VAL                                                 ~27
         33        SEND_VAL                                                 1
         34        DO_ICALL                                         $28     
         35        SEND_VAR                                                 $28
         36        DO_ICALL                                         $29     
         37        ASSIGN                                                   !8, $29
         38        PRE_INC                                                  !7
         39    >   SUB                                              ~32     !5, 1
         40        IS_SMALLER_OR_EQUAL                                      !7, ~32
         41      > JMPNZ                                                    ~33, ->27
         42    >   INIT_FCALL                                               'substr'
         43        SEND_VAR                                                 !4
         44        ADD                                              ~34     !7, 1
         45        SEND_VAL                                                 ~34
         46        SEND_VAL                                                 1
         47        DO_ICALL                                         $35     
         48        ECHO                                                     $35
    5    49        PRE_INC                                                  !3
         50    >   COUNT                                            ~37     !2
         51        IS_SMALLER_OR_EQUAL                                      !3, ~37
         52      > JMPNZ                                                    ~38, ->13
   11    53    > > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
153.15 ms | 1018 KiB | 17 Q