3v4l.org

run code in 300+ PHP versions simultaneously
<?php $s = 0; echo "結果は{$s}点です。"; switch ($s){ case $s >= 90: echo "パーフェクトです。"; break; case $s < 90 && $s >= 70: echo "素晴らしい"; break; case $s < 70 && $s >= 50: echo "合格です。"; break; default: echo "頑張りましょう!"; }
Finding entry points
Branch analysis from position: 0
2 jumps found. (Code = 44) Position 1 = 8, Position 2 = 21
Branch analysis from position: 8
2 jumps found. (Code = 46) Position 1 = 10, Position 2 = 12
Branch analysis from position: 10
2 jumps found. (Code = 44) Position 1 = 14, Position 2 = 23
Branch analysis from position: 14
2 jumps found. (Code = 46) Position 1 = 16, Position 2 = 18
Branch analysis from position: 16
2 jumps found. (Code = 44) Position 1 = 20, Position 2 = 25
Branch analysis from position: 20
1 jumps found. (Code = 42) Position 1 = 27
Branch analysis from position: 27
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 25
1 jumps found. (Code = 42) Position 1 = 28
Branch analysis from position: 28
Branch analysis from position: 18
Branch analysis from position: 23
1 jumps found. (Code = 42) Position 1 = 28
Branch analysis from position: 28
Branch analysis from position: 12
Branch analysis from position: 21
1 jumps found. (Code = 42) Position 1 = 28
Branch analysis from position: 28
filename:       /in/OUGtQ
function name:  (null)
number of ops:  29
compiled vars:  !0 = $s
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   ASSIGN                                                   !0, 0
    4     1        ROPE_INIT                                     3  ~3      '%E7%B5%90%E6%9E%9C%E3%81%AF'
          2        ROPE_ADD                                      1  ~3      ~3, !0
          3        ROPE_END                                      2  ~2      ~3, '%E7%82%B9%E3%81%A7%E3%81%99%E3%80%82'
          4        ECHO                                                     ~2
    6     5        IS_SMALLER_OR_EQUAL                              ~6      90, !0
          6        IS_EQUAL                                                 !0, ~6
          7      > JMPNZ                                                    ~5, ->21
    9     8    >   IS_SMALLER                                       ~7      !0, 90
          9      > JMPZ_EX                                          ~7      ~7, ->12
         10    >   IS_SMALLER_OR_EQUAL                              ~8      70, !0
         11        BOOL                                             ~7      ~8
         12    >   IS_EQUAL                                                 !0, ~7
         13      > JMPNZ                                                    ~5, ->23
   12    14    >   IS_SMALLER                                       ~9      !0, 70
         15      > JMPZ_EX                                          ~9      ~9, ->18
         16    >   IS_SMALLER_OR_EQUAL                              ~10     50, !0
         17        BOOL                                             ~9      ~10
         18    >   IS_EQUAL                                                 !0, ~9
         19      > JMPNZ                                                    ~5, ->25
         20    > > JMP                                                      ->27
    7    21    >   ECHO                                                     '%E3%83%91%E3%83%BC%E3%83%95%E3%82%A7%E3%82%AF%E3%83%88%E3%81%A7%E3%81%99%E3%80%82'
    8    22      > JMP                                                      ->28
   10    23    >   ECHO                                                     '%E7%B4%A0%E6%99%B4%E3%82%89%E3%81%97%E3%81%84'
   11    24      > JMP                                                      ->28
   13    25    >   ECHO                                                     '%E5%90%88%E6%A0%BC%E3%81%A7%E3%81%99%E3%80%82'
   14    26      > JMP                                                      ->28
   16    27    >   ECHO                                                     '%E9%A0%91%E5%BC%B5%E3%82%8A%E3%81%BE%E3%81%97%E3%82%87%E3%81%86%EF%BC%81'
   17    28    > > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
186.09 ms | 1399 KiB | 13 Q