3v4l.org

run code in 300+ PHP versions simultaneously
<?php function protect(){ $a[1] = 'lolol'; $a[2] = '1l1l1l'; $a[3] = '<p>dasdsa</p>'; $a[4] = 'assa"".**&'; //addslashes($a); array_map('strip_tags',$a); var_dump($a); }
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/fPPuv
function name:  (null)
number of ops:  1
compiled vars:  none
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
   14     0  E > > RETURN                                                   1

Function protect:
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/fPPuv
function name:  protect
number of ops:  16
compiled vars:  !0 = $a
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    6     0  E >   ASSIGN_DIM                                               !0, 1
          1        OP_DATA                                                  'lolol'
    7     2        ASSIGN_DIM                                               !0, 2
          3        OP_DATA                                                  '1l1l1l'
    8     4        ASSIGN_DIM                                               !0, 3
          5        OP_DATA                                                  '%3Cp%3Edasdsa%3C%2Fp%3E'
    9     6        ASSIGN_DIM                                               !0, 4
          7        OP_DATA                                                  'assa%22%22.%2A%2A%26'
   12     8        INIT_FCALL                                               'array_map'
          9        SEND_VAL                                                 'strip_tags'
         10        SEND_VAR                                                 !0
         11        DO_ICALL                                                 
   13    12        INIT_FCALL                                               'var_dump'
         13        SEND_VAR                                                 !0
         14        DO_ICALL                                                 
   14    15      > RETURN                                                   null

End of function protect

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
152.73 ms | 1395 KiB | 17 Q