3v4l.org

run code in 300+ PHP versions simultaneously
<?php $qtext = '<TEXTFORMAT LEADING="2"><P ALIGN="LEFT"><FONT FACE="Tahoma" SIZE="14" COLOR="#000000" LETTERSPACING="0" KERNING="0">Which of the following statements is correct regarding use of a residential property?</FONT></P></TEXTFORMAT><TEXTFORMAT LEADING="2"><P ALIGN="LEFT"><FONT FACE="Tahoma" SIZE="14" COLOR="#000000" LETTERSPACING="0" KERNING="0"> I. A legal suite is one that meets current Land Use Bylaws and was built with proper permits</FONT></P></TEXTFORMAT><TEXTFORMAT LEADING="2"><P ALIGN="LEFT"><FONT FACE="Tahoma" SIZE="14" COLOR="#000000" LETTERSPACING="0" KERNING="0"> II. An illegal suite is one that does not meet current Land Use Bylaws and/or was built without proper permits</FONT></P></TEXTFORMAT><TEXTFORMAT LEADING="2"><P ALIGN="LEFT"><FONT FACE="Tahoma" SIZE="14" COLOR="#000000" LETTERSPACING="0" KERNING="0">III. A non-conforming suite is one that does not meet current Land Use Bylaws but did at one time</FONT></P></TEXTFORMAT><TEXTFORMAT LEADING="2"><P ALIGN="LEFT"><FONT FACE="Tahoma" SIZE="14" COLOR="#000000" LETTERSPACING="0" KERNING="0"> IV. A semi-legal suite is one that meets both current and past Land Use Bylaws </FONT></P></TEXTFORMAT>'; $qtext = preg_replace("/<([a-z][a-z0-9]*)[^>]*?(\/?)>/i",'<$1$2>', $qtext); $qtext = strip_tags($qtext, '<p></p>'); echo $qtext;
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/tomLh
function name:  (null)
number of ops:  14
compiled vars:  !0 = $qtext
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   ASSIGN                                                   !0, '%3CTEXTFORMAT+LEADING%3D%222%22%3E%3CP+ALIGN%3D%22LEFT%22%3E%3CFONT+FACE%3D%22Tahoma%22+SIZE%3D%2214%22+COLOR%3D%22%23000000%22+LETTERSPACING%3D%220%22+KERNING%3D%220%22%3EWhich+of+the+following+statements+is+correct+regarding+use+of+a+residential+property%3F%3C%2FFONT%3E%3C%2FP%3E%3C%2FTEXTFORMAT%3E%3CTEXTFORMAT+LEADING%3D%222%22%3E%3CP+ALIGN%3D%22LEFT%22%3E%3CFONT+FACE%3D%22Tahoma%22+SIZE%3D%2214%22+COLOR%3D%22%23000000%22+LETTERSPACING%3D%220%22+KERNING%3D%220%22%3E++I.+A+legal+suite+is+one+that+meets+current+Land+Use+Bylaws+and+was+built+with+proper+permits%3C%2FFONT%3E%3C%2FP%3E%3C%2FTEXTFORMAT%3E%3CTEXTFORMAT+LEADING%3D%222%22%3E%3CP+ALIGN%3D%22LEFT%22%3E%3CFONT+FACE%3D%22Tahoma%22+SIZE%3D%2214%22+COLOR%3D%22%23000000%22+LETTERSPACING%3D%220%22+KERNING%3D%220%22%3E+II.+An+illegal+suite+is+one+that+does+not+meet+current+Land+Use+Bylaws+and%2For+was+built+without+proper+permits%3C%2FFONT%3E%3C%2FP%3E%3C%2FTEXTFORMAT%3E%3CTEXTFORMAT+LEADING%3D%222%22%3E%3CP+ALIGN%3D%22LEFT%22%3E%3CFONT+FACE%3D%22Tahoma%22+SIZE%3D%2214%22+COLOR%3D%22%23000000%22+LETTERSPACING%3D%220%22+KERNING%3D%220%22%3EIII.+A+non-conforming+suite+is+one+that+does+not+meet+current+Land+Use+Bylaws+but+did+at+one+time%3C%2FFONT%3E%3C%2FP%3E%3C%2FTEXTFORMAT%3E%3CTEXTFORMAT+LEADING%3D%222%22%3E%3CP+ALIGN%3D%22LEFT%22%3E%3CFONT+FACE%3D%22Tahoma%22+SIZE%3D%2214%22+COLOR%3D%22%23000000%22+LETTERSPACING%3D%220%22+KERNING%3D%220%22%3E+IV.+A+semi-legal+suite+is+one+that+meets+both+current+and+past+Land+Use+Bylaws+%3C%2FFONT%3E%3C%2FP%3E%3C%2FTEXTFORMAT%3E'
    3     1        INIT_FCALL                                               'preg_replace'
          2        SEND_VAL                                                 '%2F%3C%28%5Ba-z%5D%5Ba-z0-9%5D%2A%29%5B%5E%3E%5D%2A%3F%28%5C%2F%3F%29%3E%2Fi'
          3        SEND_VAL                                                 '%3C%241%242%3E'
          4        SEND_VAR                                                 !0
          5        DO_ICALL                                         $2      
          6        ASSIGN                                                   !0, $2
    4     7        INIT_FCALL                                               'strip_tags'
          8        SEND_VAR                                                 !0
          9        SEND_VAL                                                 '%3Cp%3E%3C%2Fp%3E'
         10        DO_ICALL                                         $4      
         11        ASSIGN                                                   !0, $4
    6    12        ECHO                                                     !0
         13      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
158.56 ms | 1396 KiB | 17 Q