3v4l.org

run code in 300+ PHP versions simultaneously
<?php $str = '<span class="text"><b>If an alert window appears, click “Run”.</b> Depending on connection speed, the download may take a few minutes.</span>'; echo preg_replace('/<b>(.*?)<\/b>/', '$1', $str);
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/J9RvP
function name:  (null)
number of ops:  8
compiled vars:  !0 = $str
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   ASSIGN                                                   !0, '%3Cspan+class%3D%22text%22%3E%3Cb%3EIf+an+alert+window+appears%2C+click+%E2%80%9CRun%E2%80%9D.%3C%2Fb%3E+Depending+on+connection+speed%2C+the+download+may+take+a+few+minutes.%3C%2Fspan%3E'
    5     1        INIT_FCALL                                               'preg_replace'
          2        SEND_VAL                                                 '%2F%3Cb%3E%28.%2A%3F%29%3C%5C%2Fb%3E%2F'
          3        SEND_VAL                                                 '%241'
          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:
161.37 ms | 1394 KiB | 15 Q