3v4l.org

run code in 300+ PHP versions simultaneously
<?php declare(strict_types=1); echo strip_tags('<p>Hello!</p>', false); echo strip_tags('<p>Hello!</p>', []); echo strip_tags('<p>Hello!</p>', null); echo strip_tags('<p>Hello!</p>', fopen('php://temp', 'w'));
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/mJvL3
function name:  (null)
number of ops:  25
compiled vars:  none
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    5     0  E >   INIT_FCALL                                               'strip_tags'
          1        SEND_VAL                                                 '%3Cp%3EHello%21%3C%2Fp%3E'
          2        SEND_VAL                                                 <false>
          3        DO_ICALL                                         $0      
          4        ECHO                                                     $0
    6     5        INIT_FCALL                                               'strip_tags'
          6        SEND_VAL                                                 '%3Cp%3EHello%21%3C%2Fp%3E'
          7        SEND_VAL                                                 <array>
          8        DO_ICALL                                         $1      
          9        ECHO                                                     $1
    7    10        INIT_FCALL                                               'strip_tags'
         11        SEND_VAL                                                 '%3Cp%3EHello%21%3C%2Fp%3E'
         12        SEND_VAL                                                 null
         13        DO_ICALL                                         $2      
         14        ECHO                                                     $2
    8    15        INIT_FCALL                                               'strip_tags'
         16        SEND_VAL                                                 '%3Cp%3EHello%21%3C%2Fp%3E'
         17        INIT_FCALL                                               'fopen'
         18        SEND_VAL                                                 'php%3A%2F%2Ftemp'
         19        SEND_VAL                                                 'w'
         20        DO_ICALL                                         $3      
         21        SEND_VAR                                                 $3
         22        DO_ICALL                                         $4      
         23        ECHO                                                     $4
         24      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
149 ms | 1011 KiB | 15 Q