3v4l.org

run code in 500+ PHP versions simultaneously
<?php // 1から3までの数字を、ランダム(でたらめ)に1つ選びます $random_number = rand(1, 3); // 選ばれた数字によって、おみくじの結果を変えます if ($random_number == 1) { echo "🎉 結果は【 大吉 】です! 今日は最高の1日になるよ!"; } elseif ($random_number == 2) { echo "✨ 結果は【 中吉 】です! ラッキーなことがあるかも。"; } else { echo "👍 結果は【 末吉 】です! のんびり過ごそう。"; } ?>
Finding entry points
Branch analysis from position: 0
2 jumps found. (Code = 43) Position 1 = 7, Position 2 = 9
Branch analysis from position: 7
1 jumps found. (Code = 42) Position 1 = 14
Branch analysis from position: 14
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 9
2 jumps found. (Code = 43) Position 1 = 11, Position 2 = 13
Branch analysis from position: 11
1 jumps found. (Code = 42) Position 1 = 14
Branch analysis from position: 14
Branch analysis from position: 13
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/a5Uoj
function name:  (null)
number of ops:  15
compiled vars:  !0 = $random_number
line      #* E I O op                               fetch          ext  return  operands
-----------------------------------------------------------------------------------------
    3     0  E >   INIT_FCALL                                                   'rand'
          1        SEND_VAL                                                     1
          2        SEND_VAL                                                     3
          3        DO_ICALL                                             $1      
          4        ASSIGN                                                       !0, $1
    6     5        IS_EQUAL                                                     !0, 1
          6      > JMPZ                                                         ~3, ->9
    7     7    >   ECHO                                                         '%F0%9F%8E%89+%E7%B5%90%E6%9E%9C%E3%81%AF%E3%80%90+%E5%A4%A7%E5%90%89+%E3%80%91%E3%81%A7%E3%81%99%EF%BC%81+%E4%BB%8A%E6%97%A5%E3%81%AF%E6%9C%80%E9%AB%98%E3%81%AE1%E6%97%A5%E3%81%AB%E3%81%AA%E3%82%8B%E3%82%88%EF%BC%81'
    6     8      > JMP                                                          ->14
    8     9    >   IS_EQUAL                                                     !0, 2
         10      > JMPZ                                                         ~4, ->13
    9    11    >   ECHO                                                         '%E2%9C%A8+%E7%B5%90%E6%9E%9C%E3%81%AF%E3%80%90+%E4%B8%AD%E5%90%89+%E3%80%91%E3%81%A7%E3%81%99%EF%BC%81+%E3%83%A9%E3%83%83%E3%82%AD%E3%83%BC%E3%81%AA%E3%81%93%E3%81%A8%E3%81%8C%E3%81%82%E3%82%8B%E3%81%8B%E3%82%82%E3%80%82'
    8    12      > JMP                                                          ->14
   11    13    >   ECHO                                                         '%F0%9F%91%8D+%E7%B5%90%E6%9E%9C%E3%81%AF%E3%80%90+%E6%9C%AB%E5%90%89+%E3%80%91%E3%81%A7%E3%81%99%EF%BC%81+%E3%81%AE%E3%82%93%E3%81%B3%E3%82%8A%E9%81%8E%E3%81%94%E3%81%9D%E3%81%86%E3%80%82'
   13    14    > > RETURN                                                       1

Generated using Vulcan Logic Dumper, using php 8.5.0


preferences:
131.15 ms | 479 KiB | 8 Q