3v4l.org

run code in 300+ PHP versions simultaneously
<?php setlocale(LC_ALL, "fr_CA.utf8"); // for instance $input('wélé wélé ù è'); $output = iconv("utf-8", "ascii//TRANSLIT", $input); echo $output;
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/Rgf35
function name:  (null)
number of ops:  15
compiled vars:  !0 = $input, !1 = $output
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   INIT_FCALL                                               'setlocale'
          1        SEND_VAL                                                 6
          2        SEND_VAL                                                 'fr_CA.utf8'
          3        DO_ICALL                                                 
    4     4        INIT_DYNAMIC_CALL                                        !0
          5        SEND_VAL_EX                                              'w%C3%A9l%C3%A9+w%C3%A9l%C3%A9+%C3%B9+%C3%A8'
          6        DO_FCALL                                      0          
    5     7        INIT_FCALL_BY_NAME                                       'iconv'
          8        SEND_VAL_EX                                              'utf-8'
          9        SEND_VAL_EX                                              'ascii%2F%2FTRANSLIT'
         10        SEND_VAR_EX                                              !0
         11        DO_FCALL                                      0  $4      
         12        ASSIGN                                                   !1, $4
    7    13        ECHO                                                     !1
         14      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
149 ms | 1394 KiB | 15 Q