3v4l.org

run code in 300+ PHP versions simultaneously
<?php $words["test"] = "foooo"; echo preg_replace( "/<#(.+?)#>/e", "\$words[\\1]", "test <#test#>" );
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/JmaLZ
function name:  (null)
number of ops:  9
compiled vars:  !0 = $words
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   ASSIGN_DIM                                               !0, 'test'
          1        OP_DATA                                                  'foooo'
    5     2        INIT_FCALL                                               'preg_replace'
          3        SEND_VAL                                                 '%2F%3C%23%28.%2B%3F%29%23%3E%2Fe'
          4        SEND_VAL                                                 '%24words%5B%5C1%5D'
          5        SEND_VAL                                                 'test+%3C%23test%23%3E'
          6        DO_ICALL                                         $2      
          7        ECHO                                                     $2
          8      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
169.99 ms | 1385 KiB | 15 Q