3v4l.org

run code in 300+ PHP versions simultaneously
<?php $wp = create_function('$a',strrev(';(a$)lave')); $wp('echo "foo";'); ?>
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/EMeSG
function name:  (null)
number of ops:  12
compiled vars:  !0 = $wp
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    1     0  E >   INIT_FCALL_BY_NAME                                       'create_function'
          1        SEND_VAL_EX                                              '%24a'
          2        INIT_FCALL                                               'strrev'
          3        SEND_VAL                                                 '%3B%28a%24%29lave'
          4        DO_ICALL                                         $1      
          5        SEND_VAR_NO_REF_EX                                       $1
          6        DO_FCALL                                      0  $2      
          7        ASSIGN                                                   !0, $2
    2     8        INIT_DYNAMIC_CALL                                        !0
          9        SEND_VAL_EX                                              'echo+%22foo%22%3B'
         10        DO_FCALL                                      0          
    4    11      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
153.57 ms | 1394 KiB | 15 Q