3v4l.org

run code in 300+ PHP versions simultaneously
<?php $s=<<<FOO <script>if (i<j.length);</script> hola<a href="foo">demo</a> <script> /* <![CDATA[ */ /* ]]> */ if(a>2); </script> demo bar FOO; var_dump(strip_tags( $s, '<a>' ));
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/lE5Vb
function name:  (null)
number of ops:  9
compiled vars:  !0 = $s
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   ASSIGN                                                   !0, '%3Cscript%3Eif+%28i%3Cj.length%29%3B%3C%2Fscript%3E%0Ahola%3Ca+href%3D%22foo%22%3Edemo%3C%2Fa%3E%0A%3Cscript%3E%0A%2F%2A+%3C%21%5BCDATA%5B+%2A%2F%0A%0A%2F%2A+%5D%5D%3E+%2A%2F%0Aif%28a%3E2%29%3B%0A%3C%2Fscript%3E%0Ademo%0Abar'
   16     1        INIT_FCALL                                               'var_dump'
          2        INIT_FCALL                                               'strip_tags'
          3        SEND_VAR                                                 !0
          4        SEND_VAL                                                 '%3Ca%3E'
          5        DO_ICALL                                         $2      
          6        SEND_VAR                                                 $2
          7        DO_ICALL                                                 
          8      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
157.05 ms | 1394 KiB | 17 Q