3v4l.org

run code in 300+ PHP versions simultaneously
<?php var_dump( mb_strwidth('☕ ☕ ☕'), mb_strwidth('🥇🥈🥉'), mb_strwidth('♈♉♊♋♌♍♎♏♐♑♒♓'), );
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/X6DWb
function name:  (null)
number of ops:  15
compiled vars:  none
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   INIT_FCALL                                               'var_dump'
    4     1        INIT_FCALL                                               'mb_strwidth'
          2        SEND_VAL                                                 '%E2%98%95+%E2%98%95+%E2%98%95'
          3        DO_ICALL                                         $0      
          4        SEND_VAR                                                 $0
    5     5        INIT_FCALL                                               'mb_strwidth'
          6        SEND_VAL                                                 '%F0%9F%A5%87%F0%9F%A5%88%F0%9F%A5%89'
          7        DO_ICALL                                         $1      
          8        SEND_VAR                                                 $1
    6     9        INIT_FCALL                                               'mb_strwidth'
         10        SEND_VAL                                                 '%E2%99%88%E2%99%89%E2%99%8A%E2%99%8B%E2%99%8C%E2%99%8D%E2%99%8E%E2%99%8F%E2%99%90%E2%99%91%E2%99%92%E2%99%93'
         11        DO_ICALL                                         $2      
         12        SEND_VAR                                                 $2
         13        DO_ICALL                                                 
    7    14      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
148.15 ms | 1398 KiB | 17 Q