3v4l.org

run code in 300+ PHP versions simultaneously
<?php $deep = true; $a = $deep === true && 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 = 3, Position 2 = 4
Branch analysis from position: 3
2 jumps found. (Code = 46) Position 1 = 7, Position 2 = 9
Branch analysis from position: 7
2 jumps found. (Code = 46) Position 1 = 10, Position 2 = 12
Branch analysis from position: 10
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: 12
Branch analysis from position: 9
Branch analysis from position: 4
filename:       /in/mokaU
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, <true>
    3     1        TYPE_CHECK                                    8  ~5      !0
          2      > JMPZ_EX                                          ~5      ~5, ->4
          3    >   BOOL                                             ~5      5
          4    >   ASSIGN                                                   !1, ~5
    4     5        TYPE_CHECK                                   16  ~7      !0
          6      > JMPZ_EX                                          ~7      ~7, ->9
          7    >   IS_SMALLER                                       ~8      0, !0
          8        BOOL                                             ~7      ~8
          9    > > JMPZ_EX                                          ~7      ~7, ->12
         10    >   SUB                                              ~9      !0, 1
         11        BOOL                                             ~7      ~9
         12    >   ASSIGN                                                   !2, ~7
    5    13        ASSIGN                                                   !3, <false>
    6    14        INIT_FCALL                                               'var_dump'
         15        SEND_VAR                                                 !1
         16        SEND_VAR                                                 !2
         17        SEND_VAR                                                 !3
         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:
147.83 ms | 1396 KiB | 15 Q