3v4l.org

run code in 300+ PHP versions simultaneously
<?php $string ="<p>This string contains a paragraph and <b>bold text</b>.</p>"; echo strip_tags($string, "<p>")."\n"; echo strip_tags($string, "<p></p>");
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/AVEA3
function name:  (null)
number of ops:  13
compiled vars:  !0 = $string
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   ASSIGN                                                   !0, '%3Cp%3EThis+string+contains+a+paragraph+and+%3Cb%3Ebold+text%3C%2Fb%3E.%3C%2Fp%3E'
    5     1        INIT_FCALL                                               'strip_tags'
          2        SEND_VAR                                                 !0
          3        SEND_VAL                                                 '%3Cp%3E'
          4        DO_ICALL                                         $2      
          5        CONCAT                                           ~3      $2, '%0A'
          6        ECHO                                                     ~3
    7     7        INIT_FCALL                                               'strip_tags'
          8        SEND_VAR                                                 !0
          9        SEND_VAL                                                 '%3Cp%3E%3C%2Fp%3E'
         10        DO_ICALL                                         $4      
         11        ECHO                                                     $4
         12      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
149.76 ms | 1009 KiB | 14 Q