3v4l.org

run code in 300+ PHP versions simultaneously
<?php define('LIVE','false'); if(LIVE){ echo "LIVEサーバーだよ。"; }else{ echo "ステージングだよ。"; }
Finding entry points
Branch analysis from position: 0
2 jumps found. (Code = 43) Position 1 = 6, Position 2 = 8
Branch analysis from position: 6
1 jumps found. (Code = 42) Position 1 = 9
Branch analysis from position: 9
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 8
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/88FQqr
function name:  (null)
number of ops:  10
compiled vars:  none
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   INIT_FCALL                                               'define'
          1        SEND_VAL                                                 'LIVE'
          2        SEND_VAL                                                 'false'
          3        DO_ICALL                                                 
    5     4        FETCH_CONSTANT                                   ~1      'LIVE'
          5      > JMPZ                                                     ~1, ->8
    6     6    >   ECHO                                                     'LIVE%E3%82%B5%E3%83%BC%E3%83%90%E3%83%BC%E3%81%A0%E3%82%88%E3%80%82'
          7      > JMP                                                      ->9
    8     8    >   ECHO                                                     '%E3%82%B9%E3%83%86%E3%83%BC%E3%82%B8%E3%83%B3%E3%82%B0%E3%81%A0%E3%82%88%E3%80%82'
    9     9    > > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
176.59 ms | 1398 KiB | 15 Q