3v4l.org

run code in 300+ PHP versions simultaneously
<?php $s = "http:<div>www.php</div>.<p>net</p>"; strip_tags ($s, '<p>'); echo count ($s);
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/2Jl9O
function name:  (null)
number of ops:  8
compiled vars:  !0 = $s
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    4     0  E >   ASSIGN                                                   !0, 'http%3A%3Cdiv%3Ewww.php%3C%2Fdiv%3E.%3Cp%3Enet%3C%2Fp%3E'
    5     1        INIT_FCALL                                               'strip_tags'
          2        SEND_VAR                                                 !0
          3        SEND_VAL                                                 '%3Cp%3E'
          4        DO_ICALL                                                 
    6     5        COUNT                                            ~3      !0
          6        ECHO                                                     ~3
          7      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
166.83 ms | 1393 KiB | 15 Q