3v4l.org

run code in 300+ PHP versions simultaneously
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/Ai3HZ
function name:  (null)
number of ops:  93
compiled vars:  !0 = $word, !1 = $encoded, !2 = $hexadecimal, !3 = $f
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   ASSIGN                                                   !0, 'base64_decode'
    5     1        ECHO                                                     'bin2hex%3A+%0A'
    6     2        INIT_FCALL                                               'implode'
          3        INIT_FCALL                                               'array_map'
          4        DECLARE_LAMBDA_FUNCTION                          ~5      [0]
    8     5        SEND_VAL                                                 ~5
          6        INIT_FCALL                                               'str_split'
          7        SEND_VAR                                                 !0
          8        DO_ICALL                                         $6      
          9        SEND_VAR                                                 $6
    6    10        DO_ICALL                                         $7      
    8    11        SEND_VAR                                                 $7
    6    12        DO_ICALL                                         $8      
    8    13        CONCAT                                           ~9      $8, '%0A'
         14        CONCAT                                           ~10     ~9, '%0A'
         15        ECHO                                                     ~10
   10    16        ECHO                                                     'unpack%3A+%0A'
   11    17        INIT_FCALL                                               'implode'
         18        INIT_FCALL                                               'array_map'
         19        DECLARE_LAMBDA_FUNCTION                          ~11     [1]
   13    20        SEND_VAL                                                 ~11
         21        INIT_FCALL                                               'str_split'
         22        SEND_VAR                                                 !0
         23        DO_ICALL                                         $12     
         24        SEND_VAR                                                 $12
   11    25        DO_ICALL                                         $13     
   13    26        SEND_VAR                                                 $13
   11    27        DO_ICALL                                         $14     
   13    28        CONCAT                                           ~15     $14, '%0A'
         29        CONCAT                                           ~16     ~15, '%0A'
         30        ECHO                                                     ~16
   15    31        ECHO                                                     'sprintf%3A+%0A'
   16    32        INIT_FCALL                                               'implode'
         33        INIT_FCALL                                               'array_map'
         34        DECLARE_LAMBDA_FUNCTION                          ~17     [2]
   18    35        SEND_VAL                                                 ~17
         36        INIT_FCALL                                               'str_split'
         37        SEND_VAR                                                 !0
         38        DO_ICALL                                         $18     
         39        CAST                                          7  ~19     $18
         40        SEND_VAL                                                 ~19
   16    41        DO_ICALL                                         $20     
   18    42        SEND_VAR                                                 $20
   16    43        DO_ICALL                                         $21     
         44        ASSIGN                                           ~22     !1, $21
         45        ECHO                                                     ~22
   19    46        ECHO                                                     '%0A%0A'
   21    47        ECHO                                                     '-------------------------%0A%0Adecoded%3A%0A'
   22    48        INIT_FCALL                                               'str_replace'
         49        SEND_VAL                                                 '%5Cx'
         50        SEND_VAL                                                 ''
         51        SEND_VAR                                                 !1
         52        DO_ICALL                                         $23     
         53        ASSIGN                                                   !2, $23
   24    54        ECHO                                                     'hex2bin%3A%0A'
   25    55        INIT_FCALL                                               'hex2bin'
         56        SEND_VAR                                                 !2
         57        DO_ICALL                                         $25     
         58        CONCAT                                           ~26     $25, '%0A'
         59        CONCAT                                           ~27     ~26, '%0A'
         60        ECHO                                                     ~27
   27    61        ECHO                                                     'pack%3A%0A'
   28    62        INIT_FCALL                                               'pack'
         63        SEND_VAL                                                 'H%2A'
         64        SEND_VAR                                                 !2
         65        DO_ICALL                                         $28     
         66        CONCAT                                           ~29     $28, '%0A'
         67        CONCAT                                           ~30     ~29, '%0A'
         68        ECHO                                                     ~30
   30    69        ECHO                                                     'sscanf+%2B+vprintf%0A'
   31    70        INIT_FCALL                                               'vprintf'
         71        INIT_FCALL                                               'str_repeat'
         72        SEND_VAL                                                 '%25c'
         73        INIT_FCALL                                               'sscanf'
         74        SEND_VAR                                                 !2
         75        INIT_FCALL                                               'str_repeat'
         76        SEND_VAL                                                 '%2502X'
         77        INIT_FCALL                                               'substr_count'
         78        SEND_VAR                                                 !1
         79        SEND_VAL                                                 '%5Cx'
         80        DO_ICALL                                         $31     
         81        SEND_VAR                                                 $31
         82        DO_ICALL                                         $32     
         83        SEND_VAR                                                 $32
         84        DO_ICALL                                         $33     
         85        ASSIGN                                           ~34     !3, $33
         86        COUNT                                            ~35     ~34
         87        SEND_VAL                                                 ~35
         88        DO_ICALL                                         $36     
         89        SEND_VAR                                                 $36
         90        SEND_VAR                                                 !3
         91        DO_ICALL                                                 
         92      > RETURN                                                   1


Dynamic Functions:
Dynamic Function 0
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/Ai3HZ
function name:  {closure}
number of ops:  7
compiled vars:  !0 = $char
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    6     0  E >   RECV                                             !0      
    7     1        INIT_FCALL                                               'bin2hex'
          2        SEND_VAR                                                 !0
          3        DO_ICALL                                         $1      
          4        CONCAT                                           ~2      '%5Cx', $1
          5      > RETURN                                                   ~2
    8     6*     > RETURN                                                   null

End of Dynamic Function 0

Dynamic Function 1
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/Ai3HZ
function name:  {closure}
number of ops:  11
compiled vars:  !0 = $char
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
   11     0  E >   RECV                                             !0      
   12     1        INIT_FCALL                                               'implode'
          2        INIT_FCALL                                               'unpack'
          3        SEND_VAL                                                 'H%2A'
          4        SEND_VAR                                                 !0
          5        DO_ICALL                                         $1      
          6        SEND_VAR                                                 $1
          7        DO_ICALL                                         $2      
          8        CONCAT                                           ~3      '%5Cx', $2
          9      > RETURN                                                   ~3
   13    10*     > RETURN                                                   null

End of Dynamic Function 1

Dynamic Function 2
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/Ai3HZ
function name:  {closure}
number of ops:  10
compiled vars:  !0 = $char
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
   16     0  E >   RECV                                             !0      
   17     1        INIT_FCALL                                               'sprintf'
          2        SEND_VAL                                                 '%5Cx%2502X'
          3        INIT_FCALL                                               'ord'
          4        SEND_VAR                                                 !0
          5        DO_ICALL                                         $1      
          6        SEND_VAR                                                 $1
          7        DO_ICALL                                         $2      
          8      > RETURN                                                   $2
   18     9*     > RETURN                                                   null

End of Dynamic Function 2

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
148.92 ms | 990 KiB | 27 Q