3v4l.org

run code in 300+ PHP versions simultaneously
<?php echo "äöü"."-".utf8_encode("äöü")."-".utf8_encode(utf8_encode("äöü"))."-".mb_convert_encoding("äöü", 'UTF-8')."-".mb_convert_encoding(utf8_encode("äöü"), 'UTF-8')."<br/>"; echo json_encode(array("äöü"."-".utf8_encode("äöü")."-".utf8_encode(utf8_encode("äöü"))."-".mb_convert_encoding("äöü", 'UTF-8')."-".mb_convert_encoding(utf8_encode("äöü"), 'UTF-8')));
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/a2bF9
function name:  (null)
number of ops:  62
compiled vars:  none
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   INIT_FCALL                                               'utf8_encode'
          1        SEND_VAL                                                 '%C3%A4%C3%B6%C3%BC'
          2        DO_ICALL                                         $0      
          3        CONCAT                                           ~1      '%C3%A4%C3%B6%C3%BC-', $0
          4        CONCAT                                           ~2      ~1, '-'
          5        INIT_FCALL                                               'utf8_encode'
          6        INIT_FCALL                                               'utf8_encode'
          7        SEND_VAL                                                 '%C3%A4%C3%B6%C3%BC'
          8        DO_ICALL                                         $3      
          9        SEND_VAR                                                 $3
         10        DO_ICALL                                         $4      
         11        CONCAT                                           ~5      ~2, $4
         12        CONCAT                                           ~6      ~5, '-'
         13        INIT_FCALL                                               'mb_convert_encoding'
         14        SEND_VAL                                                 '%C3%A4%C3%B6%C3%BC'
         15        SEND_VAL                                                 'UTF-8'
         16        DO_ICALL                                         $7      
         17        CONCAT                                           ~8      ~6, $7
         18        CONCAT                                           ~9      ~8, '-'
         19        INIT_FCALL                                               'mb_convert_encoding'
         20        INIT_FCALL                                               'utf8_encode'
         21        SEND_VAL                                                 '%C3%A4%C3%B6%C3%BC'
         22        DO_ICALL                                         $10     
         23        SEND_VAR                                                 $10
         24        SEND_VAL                                                 'UTF-8'
         25        DO_ICALL                                         $11     
         26        CONCAT                                           ~12     ~9, $11
         27        CONCAT                                           ~13     ~12, '%3Cbr%2F%3E'
         28        ECHO                                                     ~13
    3    29        INIT_FCALL                                               'json_encode'
         30        INIT_FCALL                                               'utf8_encode'
         31        SEND_VAL                                                 '%C3%A4%C3%B6%C3%BC'
         32        DO_ICALL                                         $14     
         33        CONCAT                                           ~15     '%C3%A4%C3%B6%C3%BC-', $14
         34        CONCAT                                           ~16     ~15, '-'
         35        INIT_FCALL                                               'utf8_encode'
         36        INIT_FCALL                                               'utf8_encode'
         37        SEND_VAL                                                 '%C3%A4%C3%B6%C3%BC'
         38        DO_ICALL                                         $17     
         39        SEND_VAR                                                 $17
         40        DO_ICALL                                         $18     
         41        CONCAT                                           ~19     ~16, $18
         42        CONCAT                                           ~20     ~19, '-'
         43        INIT_FCALL                                               'mb_convert_encoding'
         44        SEND_VAL                                                 '%C3%A4%C3%B6%C3%BC'
         45        SEND_VAL                                                 'UTF-8'
         46        DO_ICALL                                         $21     
         47        CONCAT                                           ~22     ~20, $21
         48        CONCAT                                           ~23     ~22, '-'
         49        INIT_FCALL                                               'mb_convert_encoding'
         50        INIT_FCALL                                               'utf8_encode'
         51        SEND_VAL                                                 '%C3%A4%C3%B6%C3%BC'
         52        DO_ICALL                                         $24     
         53        SEND_VAR                                                 $24
         54        SEND_VAL                                                 'UTF-8'
         55        DO_ICALL                                         $25     
         56        CONCAT                                           ~26     ~23, $25
         57        INIT_ARRAY                                       ~27     ~26
         58        SEND_VAL                                                 ~27
         59        DO_ICALL                                         $28     
         60        ECHO                                                     $28
         61      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
148.39 ms | 1404 KiB | 20 Q