3v4l.org

run code in 300+ PHP versions simultaneously
<?php $some_string = "ннннн ннннн"; $arra_c = array( '1' ); foreach($arra_c as $k => $v){ var_dump(iconv("UTF-8", "ISO-8859-1//TRANSLIT", $text)); } var_dump(mb_detect_encoding($some_string)); var_dump(strlen(json_encode(array('message' => $some_string))));
Finding entry points
Branch analysis from position: 0
2 jumps found. (Code = 77) Position 1 = 3, Position 2 = 14
Branch analysis from position: 3
2 jumps found. (Code = 78) Position 1 = 4, Position 2 = 14
Branch analysis from position: 4
1 jumps found. (Code = 42) Position 1 = 3
Branch analysis from position: 3
Branch analysis from position: 14
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 14
filename:       /in/IHFYi
function name:  (null)
number of ops:  30
compiled vars:  !0 = $some_string, !1 = $arra_c, !2 = $v, !3 = $k, !4 = $text
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   ASSIGN                                                   !0, '%D0%BD%D0%BD%D0%BD%D0%BD%D0%BD+%D0%BD%D0%BD%D0%BD%D0%BD%D0%BD'
    5     1        ASSIGN                                                   !1, <array>
    9     2      > FE_RESET_R                                       $7      !1, ->14
          3    > > FE_FETCH_R                                       ~8      $7, !2, ->14
          4    >   ASSIGN                                                   !3, ~8
   11     5        INIT_FCALL                                               'var_dump'
          6        INIT_FCALL_BY_NAME                                       'iconv'
          7        SEND_VAL_EX                                              'UTF-8'
          8        SEND_VAL_EX                                              'ISO-8859-1%2F%2FTRANSLIT'
          9        SEND_VAR_EX                                              !4
         10        DO_FCALL                                      0  $10     
         11        SEND_VAR                                                 $10
         12        DO_ICALL                                                 
    9    13      > JMP                                                      ->3
         14    >   FE_FREE                                                  $7
   17    15        INIT_FCALL                                               'var_dump'
         16        INIT_FCALL                                               'mb_detect_encoding'
         17        SEND_VAR                                                 !0
         18        DO_ICALL                                         $12     
         19        SEND_VAR                                                 $12
         20        DO_ICALL                                                 
   18    21        INIT_FCALL                                               'var_dump'
         22        INIT_FCALL                                               'json_encode'
         23        INIT_ARRAY                                       ~14     !0, 'message'
         24        SEND_VAL                                                 ~14
         25        DO_ICALL                                         $15     
         26        STRLEN                                           ~16     $15
         27        SEND_VAL                                                 ~16
         28        DO_ICALL                                                 
         29      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
161.83 ms | 1396 KiB | 22 Q