3v4l.org

run code in 300+ PHP versions simultaneously
<?php $subject = <<< EOF xxxx..... {{{ function mmmm(){ ....... } }}} xxxxx..... EOF; echo preg_replace('|({{{)(.*)(}}})|s', '{ $2 }', $subject);
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/ct54J
function name:  (null)
number of ops:  8
compiled vars:  !0 = $subject
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   ASSIGN                                                   !0, 'xxxx.....+%7B%7B%7B%0Afunction+mmmm%28%29%7B%0A.......%0A%7D+%7D%7D%7D+xxxxx.....'
    8     1        INIT_FCALL                                               'preg_replace'
          2        SEND_VAL                                                 '%7C%28%7B%7B%7B%29%28.%2A%29%28%7D%7D%7D%29%7Cs'
          3        SEND_VAL                                                 '%7B+%242+%7D'
          4        SEND_VAR                                                 !0
          5        DO_ICALL                                         $2      
          6        ECHO                                                     $2
          7      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
148.74 ms | 1008 KiB | 14 Q