3v4l.org

run code in 300+ PHP versions simultaneously
<?php $mb_name = "湊崎 紗夏"; $tmp_mb_name = iconv('UTF-8', 'UTF-8//IGNORE', $mb_name); if($tmp_mb_name != $mb_name) { echo "tmp_mb_name: {$tmp_mb_name}\n"; echo "mb_name: {$mb_name}\n"; exit; } else { echo "no problem!\n"; }
Finding entry points
Branch analysis from position: 0
2 jumps found. (Code = 43) Position 1 = 9, Position 2 = 19
Branch analysis from position: 9
1 jumps found. (Code = 79) Position 1 = -2
Branch analysis from position: 19
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/0qAEt
function name:  (null)
number of ops:  21
compiled vars:  !0 = $mb_name, !1 = $tmp_mb_name
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   ASSIGN                                                   !0, '%E6%B9%8A%E5%B4%8E+%E7%B4%97%E5%A4%8F'
    4     1        INIT_FCALL_BY_NAME                                       'iconv'
          2        SEND_VAL_EX                                              'UTF-8'
          3        SEND_VAL_EX                                              'UTF-8%2F%2FIGNORE'
          4        SEND_VAR_EX                                              !0
          5        DO_FCALL                                      0  $3      
          6        ASSIGN                                                   !1, $3
    5     7        IS_NOT_EQUAL                                             !1, !0
          8      > JMPZ                                                     ~5, ->19
    6     9    >   ROPE_INIT                                     3  ~7      'tmp_mb_name%3A+'
         10        ROPE_ADD                                      1  ~7      ~7, !1
         11        ROPE_END                                      2  ~6      ~7, '%0A'
         12        ECHO                                                     ~6
    7    13        ROPE_INIT                                     3  ~10     'mb_name%3A+'
         14        ROPE_ADD                                      1  ~10     ~10, !0
         15        ROPE_END                                      2  ~9      ~10, '%0A'
         16        ECHO                                                     ~9
    8    17      > EXIT                                                     
    5    18*       JMP                                                      ->20
   10    19    >   ECHO                                                     'no+problem%21%0A'
   11    20      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
137.88 ms | 1433 KiB | 13 Q