3v4l.org

run code in 300+ PHP versions simultaneously
<?php echo "start\n"; $x = htmlentities('a', ENT_COMPAT,'cp1251'); echo "end\n";
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/A50BK
function name:  (null)
number of ops:  9
compiled vars:  !0 = $x
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   ECHO                                                     'start%0A'
    4     1        INIT_FCALL                                               'htmlentities'
          2        SEND_VAL                                                 'a'
          3        SEND_VAL                                                 2
          4        SEND_VAL                                                 'cp1251'
          5        DO_ICALL                                         $1      
          6        ASSIGN                                                   !0, $1
    5     7        ECHO                                                     'end%0A'
          8      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
157.1 ms | 1393 KiB | 15 Q