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); $str = '<span class="text"><b>Click “Start Trial Now”</b> to complete the installation of Tableau Desktop. Next, you’ll set up Tableau Server.</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/eXgW5
function name:  (null)
number of ops:  15
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     7        ASSIGN                                                   !0, '%3Cspan+class%3D%22text%22%3E%3Cb%3EClick+%E2%80%9CStart+Trial+Now%E2%80%9D%3C%2Fb%3E+to+complete+the+installation+of+Tableau+Desktop.+Next%2C+you%E2%80%99ll+set+up+Tableau+Server.%3C%2Fspan%3E'
    9     8        INIT_FCALL                                               'preg_replace'
          9        SEND_VAL                                                 '%2F%3Cb%3E%28.%2A%3F%29%3C%5C%2Fb%3E%2F'
         10        SEND_VAL                                                 '%241'
         11        SEND_VAR                                                 !0
         12        DO_ICALL                                         $4      
         13        ECHO                                                     $4
         14      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
159.33 ms | 1395 KiB | 15 Q