3v4l.org

run code in 300+ PHP versions simultaneously
<?php $stuff = '<div><div class="rev_slider_2_2_wrapper"></div><i id="rev_slider_2_2_wrapper"></i></div>'; preg_replace( '~rev_slider_(\d)_(\d)_wrapper~ui', $stuff, $args ); print_r( $args );
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/sQO5V
function name:  (null)
number of ops:  10
compiled vars:  !0 = $stuff, !1 = $args
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   ASSIGN                                                   !0, '%3Cdiv%3E%3Cdiv+class%3D%22rev_slider_2_2_wrapper%22%3E%3C%2Fdiv%3E%3Ci+id%3D%22rev_slider_2_2_wrapper%22%3E%3C%2Fi%3E%3C%2Fdiv%3E'
    5     1        INIT_FCALL                                               'preg_replace'
          2        SEND_VAL                                                 '%7Erev_slider_%28%5Cd%29_%28%5Cd%29_wrapper%7Eui'
          3        SEND_VAR                                                 !0
          4        SEND_VAR                                                 !1
          5        DO_ICALL                                                 
    7     6        INIT_FCALL                                               'print_r'
          7        SEND_VAR                                                 !1
          8        DO_ICALL                                                 
          9      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
145.87 ms | 1394 KiB | 17 Q