3v4l.org

run code in 300+ PHP versions simultaneously
<?php $some_string = "упмугн ене7н"; var_dump(strlen(json_encode(array('message' => $some_string))));
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/cYXo4
function name:  (null)
number of ops:  10
compiled vars:  !0 = $some_string
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   ASSIGN                                                   !0, '%D1%83%D0%BF%D0%BC%D1%83%D0%B3%D0%BD+%D0%B5%D0%BD%D0%B57%D0%BD'
    5     1        INIT_FCALL                                               'var_dump'
          2        INIT_FCALL                                               'json_encode'
          3        INIT_ARRAY                                       ~2      !0, 'message'
          4        SEND_VAL                                                 ~2
          5        DO_ICALL                                         $3      
          6        STRLEN                                           ~4      $3
          7        SEND_VAL                                                 ~4
          8        DO_ICALL                                                 
          9      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
172.31 ms | 1394 KiB | 17 Q