3v4l.org

run code in 500+ PHP versions simultaneously
<?php $y = '[pause="1000ms"]'; echo preg_replace("/\[.*\"(\w+)\".*\]/", '<break time="$1"/>', $y);
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/76M3g
function name:  (null)
number of ops:  5
compiled vars:  !0 = $y
line      #* E I O op                               fetch          ext  return  operands
-----------------------------------------------------------------------------------------
    2     0  E >   ASSIGN                                                       !0, '%5Bpause%3D%221000ms%22%5D'
    3     1        FRAMELESS_ICALL_3                preg_replace        ~2      '%2F%5C%5B.%2A%22%28%5Cw%2B%29%22.%2A%5C%5D%2F', '%3Cbreak+time%3D%22%241%22%2F%3E'
          2        OP_DATA                                                      !0
          3        ECHO                                                         ~2
          4      > RETURN                                                       1

Generated using Vulcan Logic Dumper, using php 8.5.0


preferences:
157.05 ms | 2076 KiB | 13 Q