3v4l.org

run code in 500+ PHP versions simultaneously
<?php $text = '<a href="http://www.someplace.com">link</a> <others>stuff</others>'; echo strip_tags($text,"<a>");
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/3KKLW
function name:  (null)
number of ops:  7
compiled vars:  !0 = $text
line      #* E I O op                               fetch          ext  return  operands
-----------------------------------------------------------------------------------------
    2     0  E >   ASSIGN                                                       !0, '%3Ca+href%3D%22http%3A%2F%2Fwww.someplace.com%22%3Elink%3C%2Fa%3E+%3Cothers%3Estuff%3C%2Fothers%3E'
    3     1        INIT_FCALL                                                   'strip_tags'
          2        SEND_VAR                                                     !0
          3        SEND_VAL                                                     '%3Ca%3E'
          4        DO_ICALL                                             $2      
          5        ECHO                                                         $2
          6      > RETURN                                                       1

Generated using Vulcan Logic Dumper, using php 8.5.0


preferences:
170.78 ms | 2900 KiB | 14 Q