3v4l.org

run code in 300+ PHP versions simultaneously
<?php strlen('…'); strlen(json_encode('.')); strlen(json_encode('…'));
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/MXBtt
function name:  (null)
number of ops:  11
compiled vars:  none
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    5     0  E >   INIT_FCALL                                               'json_encode'
          1        SEND_VAL                                                 '.'
          2        DO_ICALL                                         $0      
          3        STRLEN                                           ~1      $0
          4        FREE                                                     ~1
    6     5        INIT_FCALL                                               'json_encode'
          6        SEND_VAL                                                 '%E2%80%A6'
          7        DO_ICALL                                         $2      
          8        STRLEN                                           ~3      $2
          9        FREE                                                     ~3
         10      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
183.62 ms | 1398 KiB | 15 Q