3v4l.org

run code in 300+ PHP versions simultaneously
<?php $x='Le Courrier de Sáint-Hyácinthe'; echo utf8_encode(mb_strtoupper(utf8_decode( $x ))) . "\n";
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/eaCQB
function name:  (null)
number of ops:  13
compiled vars:  !0 = $x
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   ASSIGN                                                   !0, 'Le+Courrier+de+S%C3%A1int-Hy%C3%A1cinthe'
    3     1        INIT_FCALL                                               'utf8_encode'
          2        INIT_FCALL                                               'mb_strtoupper'
          3        INIT_FCALL                                               'utf8_decode'
          4        SEND_VAR                                                 !0
          5        DO_ICALL                                         $2      
          6        SEND_VAR                                                 $2
          7        DO_ICALL                                         $3      
          8        SEND_VAR                                                 $3
          9        DO_ICALL                                         $4      
         10        CONCAT                                           ~5      $4, '%0A'
         11        ECHO                                                     ~5
         12      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
153.8 ms | 1394 KiB | 19 Q