3v4l.org

run code in 300+ PHP versions simultaneously
<?php $abc = preg_replace("!^(/?(?:[^/\\\\]+[/\\\\]){})!e", "$1", '{${phpinfo()}}'); var_dump($abc);
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/Ws403
function name:  (null)
number of ops:  10
compiled vars:  !0 = $abc
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   INIT_FCALL                                               'preg_replace'
          1        SEND_VAL                                                 '%21%5E%28%2F%3F%28%3F%3A%5B%5E%2F%5C%5C%5D%2B%5B%2F%5C%5C%5D%29%7B%7D%29%21e'
          2        SEND_VAL                                                 '%241'
          3        SEND_VAL                                                 '%7B%24%7Bphpinfo%28%29%7D%7D'
          4        DO_ICALL                                         $1      
          5        ASSIGN                                                   !0, $1
    4     6        INIT_FCALL                                               'var_dump'
          7        SEND_VAR                                                 !0
          8        DO_ICALL                                                 
          9      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
177.3 ms | 1394 KiB | 17 Q