3v4l.org

run code in 300+ PHP versions simultaneously
<?php $text = '<p>Lorum ipsum &nbsp;<a href="http://www.test.com">This is a test link</a>.</p>'; $text = strip_tags($text, "<a>"); echo $text;
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/5iCkS
function name:  (null)
number of ops:  8
compiled vars:  !0 = $text
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   ASSIGN                                                   !0, '%3Cp%3ELorum+ipsum+%26nbsp%3B%3Ca+href%3D%22http%3A%2F%2Fwww.test.com%22%3EThis+is+a+test+link%3C%2Fa%3E.%3C%2Fp%3E'
    3     1        INIT_FCALL                                               'strip_tags'
          2        SEND_VAR                                                 !0
          3        SEND_VAL                                                 '%3Ca%3E'
          4        DO_ICALL                                         $2      
          5        ASSIGN                                                   !0, $2
    4     6        ECHO                                                     !0
          7      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
163.58 ms | 1398 KiB | 15 Q