3v4l.org

run code in 300+ PHP versions simultaneously
<?php $a = array( utf8_encode("grado académico"), utf8_encode("ñññññóóóóûüÑuü"), utf8_encode("ÁÁÁÁÉÉ"), utf8_encode("código") ); $b = array_map('utf8_decode', $a); print_r($b);
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/06AP3
function name:  (null)
number of ops:  26
compiled vars:  !0 = $a, !1 = $b
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    4     0  E >   INIT_FCALL                                               'utf8_encode'
          1        SEND_VAL                                                 'grado+acad%C3%A9mico'
          2        DO_ICALL                                         $2      
          3        INIT_ARRAY                                       ~3      $2
    5     4        INIT_FCALL                                               'utf8_encode'
          5        SEND_VAL                                                 '%C3%B1%C3%B1%C3%B1%C3%B1%C3%B1%C3%B3%C3%B3%C3%B3%C3%B3%C3%BB%C3%BC%C3%91u%C3%BC'
          6        DO_ICALL                                         $4      
          7        ADD_ARRAY_ELEMENT                                ~3      $4
    6     8        INIT_FCALL                                               'utf8_encode'
          9        SEND_VAL                                                 '%C3%81%C3%81%C3%81%C3%81%C3%89%C3%89'
         10        DO_ICALL                                         $5      
         11        ADD_ARRAY_ELEMENT                                ~3      $5
    7    12        INIT_FCALL                                               'utf8_encode'
         13        SEND_VAL                                                 'c%C3%B3digo'
         14        DO_ICALL                                         $6      
         15        ADD_ARRAY_ELEMENT                                ~3      $6
    3    16        ASSIGN                                                   !0, ~3
    9    17        INIT_FCALL                                               'array_map'
         18        SEND_VAL                                                 'utf8_decode'
         19        SEND_VAR                                                 !0
         20        DO_ICALL                                         $8      
         21        ASSIGN                                                   !1, $8
   10    22        INIT_FCALL                                               'print_r'
         23        SEND_VAR                                                 !1
         24        DO_ICALL                                                 
         25      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
160.43 ms | 1395 KiB | 19 Q