3v4l.org

run code in 300+ PHP versions simultaneously
<?php $deep = 2; $a = $deep && 5; $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 = 46) Position 1 = 2, Position 2 = 3
Branch analysis from position: 2
2 jumps found. (Code = 46) Position 1 = 6, Position 2 = 8
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 = 47) Position 1 = 19, Position 2 = 20
Branch analysis from position: 19
2 jumps found. (Code = 47) Position 1 = 21, Position 2 = 22
Branch analysis from position: 21
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 22
Branch analysis from position: 20
Branch analysis from position: 11
Branch analysis from position: 8
Branch analysis from position: 3
filename:       /in/vMYOU
function name:  (null)
number of ops:  25
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      > JMPZ_EX                                          ~5      !0, ->3
          2    >   BOOL                                             ~5      5
          3    >   ASSIGN                                                   !1, ~5
    4     4        TYPE_CHECK                                   16  ~7      !0
          5      > JMPZ_EX                                          ~7      ~7, ->8
          6    >   IS_SMALLER                                       ~8      0, !0
          7        BOOL                                             ~7      ~8
          8    > > JMPZ_EX                                          ~7      ~7, ->11
          9    >   SUB                                              ~9      !0, 1
         10        BOOL                                             ~7      ~9
         11    >   ASSIGN                                                   !2, ~7
    5    12        ASSIGN                                                   !3, <false>
    6    13        INIT_FCALL                                               'var_dump'
         14        SEND_VAR                                                 !1
         15        SEND_VAR                                                 !2
         16        SEND_VAR                                                 !3
         17        SEND_VAL                                                 '+%3D+'
         18      > JMPNZ_EX                                         ~12     !1, ->20
         19    >   BOOL                                             ~12     !2
         20    > > JMPNZ_EX                                         ~12     ~12, ->22
         21    >   BOOL                                             ~12     !3
         22    >   SEND_VAL                                                 ~12
         23        DO_ICALL                                                 
         24      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
144.78 ms | 1388 KiB | 15 Q