3v4l.org

run code in 300+ PHP versions simultaneously
<?php $invalidUTF8Body = 'Cumplea' . chr(163) . chr(191) . 'os'; $var = htmlentities($this->raw_text, ENT_QUOTES, 'UTF-8'); var_dump($var);
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/gSXPL
function name:  (null)
number of ops:  13
compiled vars:  !0 = $invalidUTF8Body, !1 = $var
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   ASSIGN                                                   !0, 'Cumplea%A3%BFos'
    4     1        INIT_FCALL                                               'htmlentities'
          2        FETCH_THIS                                       $3      
          3        FETCH_OBJ_R                                      ~4      $3, 'raw_text'
          4        SEND_VAL                                                 ~4
          5        SEND_VAL                                                 3
          6        SEND_VAL                                                 'UTF-8'
          7        DO_ICALL                                         $5      
          8        ASSIGN                                                   !1, $5
    6     9        INIT_FCALL                                               'var_dump'
         10        SEND_VAR                                                 !1
         11        DO_ICALL                                                 
         12      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
163.38 ms | 1394 KiB | 17 Q