3v4l.org

run code in 500+ PHP versions simultaneously
<?php error_reporting(-1); $arr = array( 'testo' => array('hello')); var_dump(htmlentities($arr['testo'], ENT_COMPAT | ENT_HTML401, 'UTF-8'));
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/a0vjq
function name:  (null)
number of ops:  14
compiled vars:  !0 = $arr
line      #* E I O op                               fetch          ext  return  operands
-----------------------------------------------------------------------------------------
    3     0  E >   INIT_FCALL                                                   'error_reporting'
          1        SEND_VAL                                                     -1
          2        DO_ICALL                                                     
    4     3        ASSIGN                                                       !0, <array>
    5     4        INIT_FCALL                                                   'var_dump'
          5        INIT_FCALL                                                   'htmlentities'
          6        FETCH_DIM_R                                          ~3      !0, 'testo'
          7        SEND_VAL                                                     ~3
          8        SEND_VAL                                                     2
          9        SEND_VAL                                                     'UTF-8'
         10        DO_ICALL                                             $4      
         11        SEND_VAR                                                     $4
         12        DO_ICALL                                                     
         13      > RETURN                                                       1

Generated using Vulcan Logic Dumper, using php 8.5.0


preferences:
148.71 ms | 2040 KiB | 15 Q