3v4l.org

run code in 300+ PHP versions simultaneously
<?php $string = 'äëïöü'; $len = strlen($string); $mbLen = mb_strlen($string); var_dump($len, $mbLen);
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/EGOU7
function name:  (null)
number of ops:  12
compiled vars:  !0 = $string, !1 = $len, !2 = $mbLen
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   ASSIGN                                                   !0, '%C3%A4%C3%AB%C3%AF%C3%B6%C3%BC'
    5     1        STRLEN                                           ~4      !0
          2        ASSIGN                                                   !1, ~4
    7     3        INIT_FCALL                                               'mb_strlen'
          4        SEND_VAR                                                 !0
          5        DO_ICALL                                         $6      
          6        ASSIGN                                                   !2, $6
    9     7        INIT_FCALL                                               'var_dump'
          8        SEND_VAR                                                 !1
          9        SEND_VAR                                                 !2
         10        DO_ICALL                                                 
         11      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
153.86 ms | 1394 KiB | 17 Q