3v4l.org

run code in 300+ PHP versions simultaneously
<?php $str = "KS and this isn’t a test of symbols ‘ and I still don’t understan ‘causes"; var_dump($str); echo iconv("utf-8", "utf-8//ignore", $str);
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/T0HDC
function name:  (null)
number of ops:  11
compiled vars:  !0 = $str
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   ASSIGN                                                   !0, 'KS+and+this+isn%E2%80%99t+a+test+of+symbols+%E2%80%98+and+I+still+don%E2%80%99t+understan+%E2%80%98causes'
    3     1        INIT_FCALL                                               'var_dump'
          2        SEND_VAR                                                 !0
          3        DO_ICALL                                                 
    4     4        INIT_FCALL_BY_NAME                                       'iconv'
          5        SEND_VAL_EX                                              'utf-8'
          6        SEND_VAL_EX                                              'utf-8%2F%2Fignore'
          7        SEND_VAR_EX                                              !0
          8        DO_FCALL                                      0  $3      
          9        ECHO                                                     $3
         10      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
149.87 ms | 1394 KiB | 15 Q