3v4l.org

run code in 300+ PHP versions simultaneously
<?php $alpha = range('A', 'Z'); $ascii = array_map(function($_) { return $_ + (1 << 1 << 1 << 1 << 1 << 1 << 1); }, range(1, 26)); $alpha_vars = array_map(function($_) { return "$$_"; }, $alpha); $ascii_var_list = join(',', $alpha_vars); ("list($ascii_var_list) = \$ascii;"); $sp = 32; $_='_'; $ss='ss'; //$hb=$_.$ss.$_.$ss.$_.$ss.$_.$ss.$_.$ss.$_.$ss.$_.$ss.$_.$ss.$_.$ss.$_.$ss.$_.$ss.$_. //$ss.$_.$ss.$_.$ss.$_.$ss.$_.$ss.$_.$ss.$_.$ss.$_.$ss.$_.$ss.$_.$ss.$_.$ss.$_.$ss.$_.$ss; // I think I just heard the PHP parser cry. ## We're almost done. Just gotta decrypt my data, prepare my formatting, yadda yadda... $decrypted_data = str_rot13("UNCCL OVEGUQNL WBUA CVYR"); echo "1"; $hb=""; for($hb=""; count($hb)/3 < count($decrypted_data); $hb.=$_.$ss); $john_purrier_rocks = str_split($decrypted_data); $brandon_philips_kicks_ass = array_map(function($_) { return ($_ === ' ') ? '$sp' : "\$$_"; }, $john_purrier_rocks); $rabble_makes_me_moist = join(',', $brandon_philips_kicks_ass); ("\$rabble_makes_me_moist = array($rabble_makes_me_moist);"); $appfog_owns = array_map('chr', $rabble_makes_me_moist); array_unshift($appfog_owns, str_replace('_s', '%', $hb)); $happy_birthday = call_user_func_array('sprintf', $appfog_owns); echo $happy_birthday; ?>
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 42) Position 1 = 43
Branch analysis from position: 43
2 jumps found. (Code = 44) Position 1 = 48, Position 2 = 41
Branch analysis from position: 48
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 41
2 jumps found. (Code = 44) Position 1 = 48, Position 2 = 41
Branch analysis from position: 48
Branch analysis from position: 41
filename:       /in/7EKYm
function name:  (null)
number of ops:  88
compiled vars:  !0 = $alpha, !1 = $ascii, !2 = $alpha_vars, !3 = $ascii_var_list, !4 = $sp, !5 = $_, !6 = $ss, !7 = $decrypted_data, !8 = $hb, !9 = $john_purrier_rocks, !10 = $brandon_philips_kicks_ass, !11 = $rabble_makes_me_moist, !12 = $appfog_owns, !13 = $happy_birthday
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    4     0  E >   INIT_FCALL                                               'range'
          1        SEND_VAL                                                 'A'
          2        SEND_VAL                                                 'Z'
          3        DO_ICALL                                         $14     
          4        ASSIGN                                                   !0, $14
    6     5        INIT_FCALL                                               'array_map'
          6        DECLARE_LAMBDA_FUNCTION                                  '%00%7Bclosure%7D%2Fin%2F7EKYm%3A6%240'
          7        SEND_VAL                                                 ~16
          8        INIT_FCALL                                               'range'
          9        SEND_VAL                                                 1
         10        SEND_VAL                                                 26
         11        DO_ICALL                                         $17     
         12        SEND_VAR                                                 $17
         13        DO_ICALL                                         $18     
         14        ASSIGN                                                   !1, $18
    9    15        INIT_FCALL                                               'array_map'
         16        DECLARE_LAMBDA_FUNCTION                                  '%00%7Bclosure%7D%2Fin%2F7EKYm%3A9%241'
         17        SEND_VAL                                                 ~20
         18        SEND_VAR                                                 !0
         19        DO_ICALL                                         $21     
         20        ASSIGN                                                   !2, $21
   10    21        INIT_FCALL                                               'join'
         22        SEND_VAL                                                 '%2C'
         23        SEND_VAR                                                 !2
         24        DO_ICALL                                         $23     
         25        ASSIGN                                                   !3, $23
   11    26        ROPE_INIT                                     3  ~26     'list%28'
         27        ROPE_ADD                                      1  ~26     ~26, !3
         28        ROPE_END                                      2  ~25     ~26, '%29+%3D+%24ascii%3B'
         29        FREE                                                     ~25
   12    30        ASSIGN                                                   !4, 32
   14    31        ASSIGN                                                   !5, '_'
   15    32        ASSIGN                                                   !6, 'ss'
   23    33        INIT_FCALL                                               'str_rot13'
         34        SEND_VAL                                                 'UNCCL+OVEGUQNL+WBUA+CVYR'
         35        DO_ICALL                                         $31     
         36        ASSIGN                                                   !7, $31
   25    37        ECHO                                                     '1'
   26    38        ASSIGN                                                   !8, ''
   27    39        ASSIGN                                                   !8, ''
         40      > JMP                                                      ->43
         41    >   CONCAT                                           ~35     !5, !6
         42        ASSIGN_OP                                     8          !8, ~35
         43    >   COUNT                                            ~37     !8
         44        DIV                                              ~38     ~37, 3
         45        COUNT                                            ~39     !7
         46        IS_SMALLER                                               ~38, ~39
         47      > JMPNZ                                                    ~40, ->41
   33    48    >   INIT_FCALL                                               'str_split'
         49        SEND_VAR                                                 !7
         50        DO_ICALL                                         $41     
         51        ASSIGN                                                   !9, $41
   34    52        INIT_FCALL                                               'array_map'
         53        DECLARE_LAMBDA_FUNCTION                                  '%00%7Bclosure%7D%2Fin%2F7EKYm%3A34%242'
         54        SEND_VAL                                                 ~43
         55        SEND_VAR                                                 !9
         56        DO_ICALL                                         $44     
         57        ASSIGN                                                   !10, $44
   35    58        INIT_FCALL                                               'join'
         59        SEND_VAL                                                 '%2C'
         60        SEND_VAR                                                 !10
         61        DO_ICALL                                         $46     
         62        ASSIGN                                                   !11, $46
   36    63        ROPE_INIT                                     3  ~49     '%24rabble_makes_me_moist+%3D+array%28'
         64        ROPE_ADD                                      1  ~49     ~49, !11
         65        ROPE_END                                      2  ~48     ~49, '%29%3B'
         66        FREE                                                     ~48
   37    67        INIT_FCALL                                               'array_map'
         68        SEND_VAL                                                 'chr'
         69        SEND_VAR                                                 !11
         70        DO_ICALL                                         $51     
         71        ASSIGN                                                   !12, $51
   38    72        INIT_FCALL                                               'array_unshift'
         73        SEND_REF                                                 !12
         74        INIT_FCALL                                               'str_replace'
         75        SEND_VAL                                                 '_s'
         76        SEND_VAL                                                 '%25'
         77        SEND_VAR                                                 !8
         78        DO_ICALL                                         $53     
         79        SEND_VAR                                                 $53
         80        DO_ICALL                                                 
   39    81        INIT_FCALL                                               'sprintf'
         82        SEND_ARRAY                                               !12
         83        CHECK_UNDEF_ARGS                                         
         84        DO_FCALL                                      0  $55     
         85        ASSIGN                                                   !13, $55
   40    86        ECHO                                                     !13
   44    87      > RETURN                                                   1

Function %00%7Bclosure%7D%2Fin%2F7EKYm%3A6%240:
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/7EKYm
function name:  {closure}
number of ops:  4
compiled vars:  !0 = $_
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    6     0  E >   RECV                                             !0      
          1        ADD                                              ~1      !0, 64
          2      > RETURN                                                   ~1
          3*     > RETURN                                                   null

End of function %00%7Bclosure%7D%2Fin%2F7EKYm%3A6%240

Function %00%7Bclosure%7D%2Fin%2F7EKYm%3A9%241:
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/7EKYm
function name:  {closure}
number of ops:  5
compiled vars:  !0 = $_
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    9     0  E >   RECV                                             !0      
          1        NOP                                                      
          2        FAST_CONCAT                                      ~1      '%24', !0
          3      > RETURN                                                   ~1
          4*     > RETURN                                                   null

End of function %00%7Bclosure%7D%2Fin%2F7EKYm%3A9%241

Function %00%7Bclosure%7D%2Fin%2F7EKYm%3A34%242:
Finding entry points
Branch analysis from position: 0
2 jumps found. (Code = 43) Position 1 = 3, Position 2 = 5
Branch analysis from position: 3
1 jumps found. (Code = 42) Position 1 = 8
Branch analysis from position: 8
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 5
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/7EKYm
function name:  {closure}
number of ops:  10
compiled vars:  !0 = $_
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
   34     0  E >   RECV                                             !0      
          1        IS_IDENTICAL                                             !0, '+'
          2      > JMPZ                                                     ~1, ->5
          3    >   QM_ASSIGN                                        ~2      '%24sp'
          4      > JMP                                                      ->8
          5    >   NOP                                                      
          6        FAST_CONCAT                                      ~3      '%24', !0
          7        QM_ASSIGN                                        ~2      ~3
          8    > > RETURN                                                   ~2
          9*     > RETURN                                                   null

End of function %00%7Bclosure%7D%2Fin%2F7EKYm%3A34%242

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
159.01 ms | 1404 KiB | 29 Q