3v4l.org

run code in 300+ PHP versions simultaneously
<?php mb_internal_encoding('UTF-8'); $value = 'g' . chr(0xa4) .'eld'; $orignalValue = $value; mb_substitute_character('entity'); $value = mb_convert_encoding($value, self::ENCODING); var_dump($value, mb_strlen($value));
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/ArLP5
function name:  (null)
number of ops:  22
compiled vars:  !0 = $value, !1 = $orignalValue
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   INIT_FCALL                                               'mb_internal_encoding'
          1        SEND_VAL                                                 'UTF-8'
          2        DO_ICALL                                                 
    5     3        ASSIGN                                                   !0, 'g%A4eld'
    7     4        ASSIGN                                                   !1, !0
    8     5        INIT_FCALL                                               'mb_substitute_character'
          6        SEND_VAL                                                 'entity'
          7        DO_ICALL                                                 
   10     8        INIT_FCALL                                               'mb_convert_encoding'
          9        SEND_VAR                                                 !0
         10        FETCH_CLASS_CONSTANT                             ~6      'ENCODING'
         11        SEND_VAL                                                 ~6
         12        DO_ICALL                                         $7      
         13        ASSIGN                                                   !0, $7
   11    14        INIT_FCALL                                               'var_dump'
         15        SEND_VAR                                                 !0
         16        INIT_FCALL                                               'mb_strlen'
         17        SEND_VAR                                                 !0
         18        DO_ICALL                                         $9      
         19        SEND_VAR                                                 $9
         20        DO_ICALL                                                 
         21      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
166.91 ms | 1395 KiB | 23 Q