3v4l.org

run code in 300+ PHP versions simultaneously
<?php $str = "COenrdmr"; $str = "12346578"; $str[0] = chr(ord($str[0]) + hexdec('6b') - hexdec('42')); $str[1] = chr(ord($str[1]) + hexdec('61') - hexdec('65')); $str[2] = chr(ord($str[2]) + hexdec('61') - hexdec('65')); $str[3] = chr(ord($str[3]) + hexdec('79') - hexdec('47')); $str[4] = chr(ord($str[4]) - hexdec('79') + hexdec('47')); $str[5] = chr(ord($str[5]) - hexdec('62') + hexdec('65')); $str[6] = chr(ord($str[6]) - hexdec('61') + hexdec('65')); $str[7] = chr(ord($str[7]) - hexdec('42') + hexdec('6B')); var_dump($str);
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/iZ80m
function name:  (null)
number of ops:  142
compiled vars:  !0 = $str
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   ASSIGN                                                   !0, 'COenrdmr'
    3     1        ASSIGN                                                   !0, '12346578'
    5     2        INIT_FCALL                                               'chr'
          3        INIT_FCALL                                               'ord'
          4        FETCH_DIM_R                                      ~4      !0, 0
          5        SEND_VAL                                                 ~4
          6        DO_ICALL                                         $5      
          7        INIT_FCALL                                               'hexdec'
          8        SEND_VAL                                                 '6b'
          9        DO_ICALL                                         $6      
         10        ADD                                              ~7      $5, $6
         11        INIT_FCALL                                               'hexdec'
         12        SEND_VAL                                                 '42'
         13        DO_ICALL                                         $8      
         14        SUB                                              ~9      ~7, $8
         15        SEND_VAL                                                 ~9
         16        DO_ICALL                                         $10     
         17        ASSIGN_DIM                                               !0, 0
         18        OP_DATA                                                  $10
    6    19        INIT_FCALL                                               'chr'
         20        INIT_FCALL                                               'ord'
         21        FETCH_DIM_R                                      ~12     !0, 1
         22        SEND_VAL                                                 ~12
         23        DO_ICALL                                         $13     
         24        INIT_FCALL                                               'hexdec'
         25        SEND_VAL                                                 '61'
         26        DO_ICALL                                         $14     
         27        ADD                                              ~15     $13, $14
         28        INIT_FCALL                                               'hexdec'
         29        SEND_VAL                                                 '65'
         30        DO_ICALL                                         $16     
         31        SUB                                              ~17     ~15, $16
         32        SEND_VAL                                                 ~17
         33        DO_ICALL                                         $18     
         34        ASSIGN_DIM                                               !0, 1
         35        OP_DATA                                                  $18
    7    36        INIT_FCALL                                               'chr'
         37        INIT_FCALL                                               'ord'
         38        FETCH_DIM_R                                      ~20     !0, 2
         39        SEND_VAL                                                 ~20
         40        DO_ICALL                                         $21     
         41        INIT_FCALL                                               'hexdec'
         42        SEND_VAL                                                 '61'
         43        DO_ICALL                                         $22     
         44        ADD                                              ~23     $21, $22
         45        INIT_FCALL                                               'hexdec'
         46        SEND_VAL                                                 '65'
         47        DO_ICALL                                         $24     
         48        SUB                                              ~25     ~23, $24
         49        SEND_VAL                                                 ~25
         50        DO_ICALL                                         $26     
         51        ASSIGN_DIM                                               !0, 2
         52        OP_DATA                                                  $26
    8    53        INIT_FCALL                                               'chr'
         54        INIT_FCALL                                               'ord'
         55        FETCH_DIM_R                                      ~28     !0, 3
         56        SEND_VAL                                                 ~28
         57        DO_ICALL                                         $29     
         58        INIT_FCALL                                               'hexdec'
         59        SEND_VAL                                                 '79'
         60        DO_ICALL                                         $30     
         61        ADD                                              ~31     $29, $30
         62        INIT_FCALL                                               'hexdec'
         63        SEND_VAL                                                 '47'
         64        DO_ICALL                                         $32     
         65        SUB                                              ~33     ~31, $32
         66        SEND_VAL                                                 ~33
         67        DO_ICALL                                         $34     
         68        ASSIGN_DIM                                               !0, 3
         69        OP_DATA                                                  $34
    9    70        INIT_FCALL                                               'chr'
         71        INIT_FCALL                                               'ord'
         72        FETCH_DIM_R                                      ~36     !0, 4
         73        SEND_VAL                                                 ~36
         74        DO_ICALL                                         $37     
         75        INIT_FCALL                                               'hexdec'
         76        SEND_VAL                                                 '79'
         77        DO_ICALL                                         $38     
         78        SUB                                              ~39     $37, $38
         79        INIT_FCALL                                               'hexdec'
         80        SEND_VAL                                                 '47'
         81        DO_ICALL                                         $40     
         82        ADD                                              ~41     ~39, $40
         83        SEND_VAL                                                 ~41
         84        DO_ICALL                                         $42     
         85        ASSIGN_DIM                                               !0, 4
         86        OP_DATA                                                  $42
   10    87        INIT_FCALL                                               'chr'
         88        INIT_FCALL                                               'ord'
         89        FETCH_DIM_R                                      ~44     !0, 5
         90        SEND_VAL                                                 ~44
         91        DO_ICALL                                         $45     
         92        INIT_FCALL                                               'hexdec'
         93        SEND_VAL                                                 '62'
         94        DO_ICALL                                         $46     
         95        SUB                                              ~47     $45, $46
         96        INIT_FCALL                                               'hexdec'
         97        SEND_VAL                                                 '65'
         98        DO_ICALL                                         $48     
         99        ADD                                              ~49     ~47, $48
        100        SEND_VAL                                                 ~49
        101        DO_ICALL                                         $50     
        102        ASSIGN_DIM                                               !0, 5
        103        OP_DATA                                                  $50
   11   104        INIT_FCALL                                               'chr'
        105        INIT_FCALL                                               'ord'
        106        FETCH_DIM_R                                      ~52     !0, 6
        107        SEND_VAL                                                 ~52
        108        DO_ICALL                                         $53     
        109        INIT_FCALL                                               'hexdec'
        110        SEND_VAL                                                 '61'
        111        DO_ICALL                                         $54     
        112        SUB                                              ~55     $53, $54
        113        INIT_FCALL                                               'hexdec'
        114        SEND_VAL                                                 '65'
        115        DO_ICALL                                         $56     
        116        ADD                                              ~57     ~55, $56
        117        SEND_VAL                                                 ~57
        118        DO_ICALL                                         $58     
        119        ASSIGN_DIM                                               !0, 6
        120        OP_DATA                                                  $58
   12   121        INIT_FCALL                                               'chr'
        122        INIT_FCALL                                               'ord'
        123        FETCH_DIM_R                                      ~60     !0, 7
        124        SEND_VAL                                                 ~60
        125        DO_ICALL                                         $61     
        126        INIT_FCALL                                               'hexdec'
        127        SEND_VAL                                                 '42'
        128        DO_ICALL                                         $62     
        129        SUB                                              ~63     $61, $62
        130        INIT_FCALL                                               'hexdec'
        131        SEND_VAL                                                 '6B'
        132        DO_ICALL                                         $64     
        133        ADD                                              ~65     ~63, $64
        134        SEND_VAL                                                 ~65
        135        DO_ICALL                                         $66     
        136        ASSIGN_DIM                                               !0, 7
        137        OP_DATA                                                  $66
   15   138        INIT_FCALL                                               'var_dump'
        139        SEND_VAR                                                 !0
        140        DO_ICALL                                                 
        141      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
155.48 ms | 1404 KiB | 21 Q