3v4l.org

run code in 300+ PHP versions simultaneously
<?php $test="menĂº"; echo $test."<br>"; echo utf8_encode($test)."<br>"; echo utf8_decode($test)."<br>";
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/D19Hr
function name:  (null)
number of ops:  14
compiled vars:  !0 = $test
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   ASSIGN                                                   !0, 'men%C3%BA'
    3     1        CONCAT                                           ~2      !0, '%3Cbr%3E'
          2        ECHO                                                     ~2
    4     3        INIT_FCALL                                               'utf8_encode'
          4        SEND_VAR                                                 !0
          5        DO_ICALL                                         $3      
          6        CONCAT                                           ~4      $3, '%3Cbr%3E'
          7        ECHO                                                     ~4
    5     8        INIT_FCALL                                               'utf8_decode'
          9        SEND_VAR                                                 !0
         10        DO_ICALL                                         $5      
         11        CONCAT                                           ~6      $5, '%3Cbr%3E'
         12        ECHO                                                     ~6
         13      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
163.28 ms | 1394 KiB | 17 Q