3v4l.org

run code in 300+ PHP versions simultaneously
<?php // ~x = -x - 1 $a = "(echo 'Hello';)"; $s = str_split($a); $v = null; foreach($s as $c) { $o = ord($c); $v .= chr(($o * -1) - 1); } $code = urlencode((~(~$v))); #echo (~urldecode($code)); #eval("echo 'Hello';"); echo urldecode($code); echo eval(urldecode($code));
Finding entry points
Branch analysis from position: 0
2 jumps found. (Code = 77) Position 1 = 7, Position 2 = 19
Branch analysis from position: 7
2 jumps found. (Code = 78) Position 1 = 8, Position 2 = 19
Branch analysis from position: 8
1 jumps found. (Code = 42) Position 1 = 7
Branch analysis from position: 7
Branch analysis from position: 19
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 19
filename:       /in/HkqsI
function name:  (null)
number of ops:  36
compiled vars:  !0 = $a, !1 = $s, !2 = $v, !3 = $c, !4 = $o, !5 = $code
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    4     0  E >   ASSIGN                                                   !0, '%28echo+%27Hello%27%3B%29'
    5     1        INIT_FCALL                                               'str_split'
          2        SEND_VAR                                                 !0
          3        DO_ICALL                                         $7      
          4        ASSIGN                                                   !1, $7
    6     5        ASSIGN                                                   !2, null
    7     6      > FE_RESET_R                                       $10     !1, ->19
          7    > > FE_FETCH_R                                               $10, !3, ->19
    8     8    >   INIT_FCALL                                               'ord'
          9        SEND_VAR                                                 !3
         10        DO_ICALL                                         $11     
         11        ASSIGN                                                   !4, $11
    9    12        INIT_FCALL                                               'chr'
         13        MUL                                              ~13     !4, -1
         14        SUB                                              ~14     ~13, 1
         15        SEND_VAL                                                 ~14
         16        DO_ICALL                                         $15     
         17        ASSIGN_OP                                     8          !2, $15
    7    18      > JMP                                                      ->7
         19    >   FE_FREE                                                  $10
   12    20        INIT_FCALL                                               'urlencode'
         21        BW_NOT                                           ~17     !2
         22        BW_NOT                                           ~18     ~17
         23        SEND_VAL                                                 ~18
         24        DO_ICALL                                         $19     
         25        ASSIGN                                                   !5, $19
   15    26        INIT_FCALL                                               'urldecode'
         27        SEND_VAR                                                 !5
         28        DO_ICALL                                         $21     
         29        ECHO                                                     $21
   16    30        INIT_FCALL                                               'urldecode'
         31        SEND_VAR                                                 !5
         32        DO_ICALL                                         $22     
         33        INCLUDE_OR_EVAL                                  $23     $22, EVAL
         34        ECHO                                                     $23
         35      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
175.62 ms | 1396 KiB | 23 Q