3v4l.org

run code in 300+ PHP versions simultaneously
<?php if (!extension_loaded('intl')) { throw new \Exception('PHP extension "intl" is not installed!'); } $trans = \Transliterator::create('Latin-ASCII;'); $test = $trans->transliterate('ั‚ะตัั‚'); echo $test;
Finding entry points
Branch analysis from position: 0
2 jumps found. (Code = 43) Position 1 = 5, Position 2 = 9
Branch analysis from position: 5
1 jumps found. (Code = 108) Position 1 = -2
Branch analysis from position: 9
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/Z1AZ7
function name:  (null)
number of ops:  19
compiled vars:  !0 = $trans, !1 = $test
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   INIT_FCALL                                               'extension_loaded'
          1        SEND_VAL                                                 'intl'
          2        DO_ICALL                                         $2      
          3        BOOL_NOT                                         ~3      $2
          4      > JMPZ                                                     ~3, ->9
    3     5    >   NEW                                              $4      'Exception'
          6        SEND_VAL_EX                                              'PHP+extension+%22intl%22+is+not+installed%21'
          7        DO_FCALL                                      0          
          8      > THROW                                         0          $4
    5     9    >   INIT_STATIC_METHOD_CALL                                  'Transliterator', 'create'
         10        SEND_VAL_EX                                              'Latin-ASCII%3B'
         11        DO_FCALL                                      0  $6      
         12        ASSIGN                                                   !0, $6
    6    13        INIT_METHOD_CALL                                         !0, 'transliterate'
         14        SEND_VAL_EX                                              '%D1%82%D0%B5%D1%81%D1%82'
         15        DO_FCALL                                      0  $8      
         16        ASSIGN                                                   !1, $8
    7    17        ECHO                                                     !1
         18      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
146.16 ms | 1395 KiB | 15 Q