3v4l.org

run code in 300+ PHP versions simultaneously
<?php $str = isset($_GET['str']) && is_string($_GET['str']) ? $_GET['str'] : ''; if (!$len = strlen($str)) { echo "入力された文字列は{$len}バイトです"; } else { echo "文字列が入力されていません"; }
Finding entry points
Branch analysis from position: 0
2 jumps found. (Code = 46) Position 1 = 3, Position 2 = 7
Branch analysis from position: 3
2 jumps found. (Code = 43) Position 1 = 8, Position 2 = 12
Branch analysis from position: 8
1 jumps found. (Code = 42) Position 1 = 13
Branch analysis from position: 13
2 jumps found. (Code = 43) Position 1 = 18, Position 2 = 23
Branch analysis from position: 18
1 jumps found. (Code = 42) Position 1 = 24
Branch analysis from position: 24
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 23
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 12
2 jumps found. (Code = 43) Position 1 = 18, Position 2 = 23
Branch analysis from position: 18
Branch analysis from position: 23
Branch analysis from position: 7
filename:       /in/QXQhZ
function name:  (null)
number of ops:  25
compiled vars:  !0 = $str, !1 = $len
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   FETCH_IS                                         ~2      '_GET'
          1        ISSET_ISEMPTY_DIM_OBJ                         0  ~3      ~2, 'str'
          2      > JMPZ_EX                                          ~3      ~3, ->7
          3    >   FETCH_R                      global              ~4      '_GET'
          4        FETCH_DIM_R                                      ~5      ~4, 'str'
          5        TYPE_CHECK                                   64  ~6      ~5
          6        BOOL                                             ~3      ~6
          7    > > JMPZ                                                     ~3, ->12
          8    >   FETCH_R                      global              ~7      '_GET'
          9        FETCH_DIM_R                                      ~8      ~7, 'str'
         10        QM_ASSIGN                                        ~9      ~8
         11      > JMP                                                      ->13
         12    >   QM_ASSIGN                                        ~9      ''
         13    >   ASSIGN                                                   !0, ~9
    4    14        STRLEN                                           ~11     !0
         15        ASSIGN                                           ~12     !1, ~11
         16        BOOL_NOT                                         ~13     ~12
         17      > JMPZ                                                     ~13, ->23
    5    18    >   ROPE_INIT                                     3  ~15     '%E5%85%A5%E5%8A%9B%E3%81%95%E3%82%8C%E3%81%9F%E6%96%87%E5%AD%97%E5%88%97%E3%81%AF'
         19        ROPE_ADD                                      1  ~15     ~15, !1
         20        ROPE_END                                      2  ~14     ~15, '%E3%83%90%E3%82%A4%E3%83%88%E3%81%A7%E3%81%99'
         21        ECHO                                                     ~14
         22      > JMP                                                      ->24
    7    23    >   ECHO                                                     '%E6%96%87%E5%AD%97%E5%88%97%E3%81%8C%E5%85%A5%E5%8A%9B%E3%81%95%E3%82%8C%E3%81%A6%E3%81%84%E3%81%BE%E3%81%9B%E3%82%93'
    8    24    > > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
159.16 ms | 1395 KiB | 13 Q