3v4l.org

run code in 300+ PHP versions simultaneously
<?php $eng = 'controversial'; $ru = 'спорный'; var_dump( strlen($eng), strlen($ru) );
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/KTKcm
function name:  (null)
number of ops:  9
compiled vars:  !0 = $eng, !1 = $ru
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   ASSIGN                                                   !0, 'controversial'
    4     1        ASSIGN                                                   !1, '%D1%81%D0%BF%D0%BE%D1%80%D0%BD%D1%8B%D0%B9'
    6     2        INIT_FCALL                                               'var_dump'
    7     3        STRLEN                                           ~4      !0
          4        SEND_VAL                                                 ~4
    8     5        STRLEN                                           ~5      !1
          6        SEND_VAL                                                 ~5
    6     7        DO_ICALL                                                 
    9     8      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
146.8 ms | 1008 KiB | 14 Q