3v4l.org

run code in 300+ PHP versions simultaneously
<?php //echo count(str_split(json_decode('" \u00a0\n\r\t\f\u000b\u200b\u180e\u2000\u2001\u2002\u2003\u2004\u2005\u2006\u2007\u2008\u2009\u200a\u202f\u205f\u3000"'))); //echo iconv_strlen(json_decode('"\u2002\u2003\u2004\u2005\u2006"')); echo strlen(utf8_decode(json_decode('"\u2002\u2003\u2004\u2005\u2006"'))); echo utf8_decode(json_decode('"\u2002\u2003\u2004\u2005\u2006"'));
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/S4AJJ
function name:  (null)
number of ops:  16
compiled vars:  none
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    4     0  E >   INIT_FCALL                                               'utf8_decode'
          1        INIT_FCALL                                               'json_decode'
          2        SEND_VAL                                                 '%22%5Cu2002%5Cu2003%5Cu2004%5Cu2005%5Cu2006%22'
          3        DO_ICALL                                         $0      
          4        SEND_VAR                                                 $0
          5        DO_ICALL                                         $1      
          6        STRLEN                                           ~2      $1
          7        ECHO                                                     ~2
    5     8        INIT_FCALL                                               'utf8_decode'
          9        INIT_FCALL                                               'json_decode'
         10        SEND_VAL                                                 '%22%5Cu2002%5Cu2003%5Cu2004%5Cu2005%5Cu2006%22'
         11        DO_ICALL                                         $3      
         12        SEND_VAR                                                 $3
         13        DO_ICALL                                         $4      
         14        ECHO                                                     $4
         15      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
153.51 ms | 1398 KiB | 18 Q