3v4l.org

run code in 300+ PHP versions simultaneously
<?php $deep = 2; $a = $deep === true ? 5 : $deep; $b = is_int($deep) && $deep > 0 && ($deep - 1); $c = false; var_dump($a, $b, $c, ' = ', $a || $b || $c);
Finding entry points
Branch analysis from position: 0
2 jumps found. (Code = 43) Position 1 = 3, Position 2 = 5
Branch analysis from position: 3
1 jumps found. (Code = 42) Position 1 = 6
Branch analysis from position: 6
2 jumps found. (Code = 46) Position 1 = 9, Position 2 = 11
Branch analysis from position: 9
2 jumps found. (Code = 46) Position 1 = 12, Position 2 = 14
Branch analysis from position: 12
2 jumps found. (Code = 47) Position 1 = 22, Position 2 = 23
Branch analysis from position: 22
2 jumps found. (Code = 47) Position 1 = 24, Position 2 = 25
Branch analysis from position: 24
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 25
Branch analysis from position: 23
Branch analysis from position: 14
Branch analysis from position: 11
Branch analysis from position: 5
2 jumps found. (Code = 46) Position 1 = 9, Position 2 = 11
Branch analysis from position: 9
Branch analysis from position: 11
filename:       /in/B2V5a
function name:  (null)
number of ops:  28
compiled vars:  !0 = $deep, !1 = $a, !2 = $b, !3 = $c
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   ASSIGN                                                   !0, 2
    3     1        TYPE_CHECK                                    8          !0
          2      > JMPZ                                                     ~5, ->5
          3    >   QM_ASSIGN                                        ~6      5
          4      > JMP                                                      ->6
          5    >   QM_ASSIGN                                        ~6      !0
          6    >   ASSIGN                                                   !1, ~6
    4     7        TYPE_CHECK                                   16  ~8      !0
          8      > JMPZ_EX                                          ~8      ~8, ->11
          9    >   IS_SMALLER                                       ~9      0, !0
         10        BOOL                                             ~8      ~9
         11    > > JMPZ_EX                                          ~8      ~8, ->14
         12    >   SUB                                              ~10     !0, 1
         13        BOOL                                             ~8      ~10
         14    >   ASSIGN                                                   !2, ~8
    5    15        ASSIGN                                                   !3, <false>
    6    16        INIT_FCALL                                               'var_dump'
         17        SEND_VAR                                                 !1
         18        SEND_VAR                                                 !2
         19        SEND_VAR                                                 !3
         20        SEND_VAL                                                 '+%3D+'
         21      > JMPNZ_EX                                         ~13     !1, ->23
         22    >   BOOL                                             ~13     !2
         23    > > JMPNZ_EX                                         ~13     ~13, ->25
         24    >   BOOL                                             ~13     !3
         25    >   SEND_VAL                                                 ~13
         26        DO_ICALL                                                 
         27      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
211.15 ms | 1396 KiB | 15 Q