3v4l.org

run code in 300+ PHP versions simultaneously
<?php $scripts = transliterator_list_ids(); foreach ($scripts as $script) { echo $transliterated = transliterator_transliterate( $script . '; Latin-ASCII; Lower();', '中国オタク界' ) . ' in ' . $script . "\n"; }
Finding entry points
Branch analysis from position: 0
2 jumps found. (Code = 77) Position 1 = 4, Position 2 = 16
Branch analysis from position: 4
2 jumps found. (Code = 78) Position 1 = 5, Position 2 = 16
Branch analysis from position: 5
1 jumps found. (Code = 42) Position 1 = 4
Branch analysis from position: 4
Branch analysis from position: 16
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 16
filename:       /in/22LPQ
function name:  (null)
number of ops:  18
compiled vars:  !0 = $scripts, !1 = $script, !2 = $transliterated
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   INIT_FCALL_BY_NAME                                       'transliterator_list_ids'
          1        DO_FCALL                                      0  $3      
          2        ASSIGN                                                   !0, $3
    4     3      > FE_RESET_R                                       $5      !0, ->16
          4    > > FE_FETCH_R                                               $5, !1, ->16
    5     5    >   INIT_FCALL_BY_NAME                                       'transliterator_transliterate'
    6     6        CONCAT                                           ~6      !1, '%3B+Latin-ASCII%3B+Lower%28%29%3B'
          7        SEND_VAL_EX                                              ~6
    7     8        SEND_VAL_EX                                              '%E4%B8%AD%E5%9B%BD%E3%82%AA%E3%82%BF%E3%82%AF%E7%95%8C'
          9        DO_FCALL                                      0  $7      
    8    10        CONCAT                                           ~8      $7, '+in+'
         11        CONCAT                                           ~9      ~8, !1
         12        CONCAT                                           ~10     ~9, '%0A'
    5    13        ASSIGN                                           ~11     !2, ~10
         14        ECHO                                                     ~11
    4    15      > JMP                                                      ->4
         16    >   FE_FREE                                                  $5
    9    17      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
160.48 ms | 1394 KiB | 19 Q