3v4l.org

run code in 300+ PHP versions simultaneously
<?php $a='ążźć'; echo strlen($a).' '.mb_strlen($a);
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/EHcmt
function name:  (null)
number of ops:  9
compiled vars:  !0 = $a
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   ASSIGN                                                   !0, '%C4%85%C5%BC%C5%BA%C4%87'
    3     1        STRLEN                                           ~2      !0
          2        CONCAT                                           ~3      ~2, '+'
          3        INIT_FCALL                                               'mb_strlen'
          4        SEND_VAR                                                 !0
          5        DO_ICALL                                         $4      
          6        CONCAT                                           ~5      ~3, $4
          7        ECHO                                                     ~5
          8      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
154.8 ms | 1394 KiB | 15 Q