3v4l.org

run code in 300+ PHP versions simultaneously
<?php $text = 'I am [pitch = "high"]Rudratosh Shastri[endpitch]. what is your name ? how are you? sorry [pause ="3000"] i can not hear you ?[rate="-70.00%"] i still can\'t hear you[endrate] ? [rate="+50.00%"]why i can\'t hear you[endrate] ?'; $text = preg_replace('/\[pause\h*=\h*"(\d+)"]/', '<break time="$1ms"/>', $text); echo $text;
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/fQ0nW
function name:  (null)
number of ops:  9
compiled vars:  !0 = $text
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   ASSIGN                                                   !0, 'I+am++%5Bpitch+%3D+%22high%22%5DRudratosh+Shastri%5Bendpitch%5D.+what+is+your+name+%3F+how++are+you%3F+sorry+%5Bpause+%3D%223000%22%5D+i+can+not+hear+you+%3F%5Brate%3D%22-70.00%25%22%5D+i+still+can%27t+hear+you%5Bendrate%5D+%3F+%5Brate%3D%22%2B50.00%25%22%5Dwhy+i+can%27t+hear+you%5Bendrate%5D+%3F'
    4     1        INIT_FCALL                                               'preg_replace'
          2        SEND_VAL                                                 '%2F%5C%5Bpause%5Ch%2A%3D%5Ch%2A%22%28%5Cd%2B%29%22%5D%2F'
          3        SEND_VAL                                                 '%3Cbreak+time%3D%22%241ms%22%2F%3E'
          4        SEND_VAR                                                 !0
          5        DO_ICALL                                         $2      
          6        ASSIGN                                                   !0, $2
    5     7        ECHO                                                     !0
    6     8      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
146.52 ms | 1009 KiB | 14 Q