3v4l.org

run code in 300+ PHP versions simultaneously
<?php $v = 5; switch($v) { case ($v === 5): var_dump(5); breal; }
Finding entry points
Branch analysis from position: 0
2 jumps found. (Code = 44) Position 1 = 4, Position 2 = 5
Branch analysis from position: 4
1 jumps found. (Code = 42) Position 1 = 10
Branch analysis from position: 10
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 5
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/YgsLv
function name:  (null)
number of ops:  11
compiled vars:  !0 = $v
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   ASSIGN                                                   !0, 5
    6     1        IS_IDENTICAL                                     ~3      !0, 5
          2        IS_EQUAL                                                 !0, ~3
          3      > JMPNZ                                                    ~2, ->5
          4    > > JMP                                                      ->10
    7     5    >   INIT_FCALL                                               'var_dump'
          6        SEND_VAL                                                 5
          7        DO_ICALL                                                 
    8     8        FETCH_CONSTANT                                   ~5      'breal'
          9        FREE                                                     ~5
    9    10    > > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
167.42 ms | 1394 KiB | 15 Q