3v4l.org

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

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
149.53 ms | 1395 KiB | 15 Q