3v4l.org

run code in 300+ PHP versions simultaneously
<?php $cParentID = 1; echo 'Greater than -1? ', ($cParentID > -1) ? 'yes' : 'no', "\n"; echo 'Not equals to undefined? ', ($cParentID != $stopAt) ? 'yes' : 'no', "\n"; $cParentID = null; echo 'Greater than -1? ', ($cParentID > -1) ? 'yes' : 'no', "\n"; echo 'Not equals to undefined? ', ($cParentID != $stopAt) ? 'yes' : 'no', "\n";
Finding entry points
Branch analysis from position: 0
2 jumps found. (Code = 43) Position 1 = 4, Position 2 = 6
Branch analysis from position: 4
1 jumps found. (Code = 42) Position 1 = 7
Branch analysis from position: 7
2 jumps found. (Code = 43) Position 1 = 12, Position 2 = 14
Branch analysis from position: 12
1 jumps found. (Code = 42) Position 1 = 15
Branch analysis from position: 15
2 jumps found. (Code = 43) Position 1 = 21, Position 2 = 23
Branch analysis from position: 21
1 jumps found. (Code = 42) Position 1 = 24
Branch analysis from position: 24
2 jumps found. (Code = 43) Position 1 = 29, Position 2 = 31
Branch analysis from position: 29
1 jumps found. (Code = 42) Position 1 = 32
Branch analysis from position: 32
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 31
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 23
2 jumps found. (Code = 43) Position 1 = 29, Position 2 = 31
Branch analysis from position: 29
Branch analysis from position: 31
Branch analysis from position: 14
2 jumps found. (Code = 43) Position 1 = 21, Position 2 = 23
Branch analysis from position: 21
Branch analysis from position: 23
Branch analysis from position: 6
2 jumps found. (Code = 43) Position 1 = 12, Position 2 = 14
Branch analysis from position: 12
Branch analysis from position: 14
filename:       /in/JaWIe
function name:  (null)
number of ops:  35
compiled vars:  !0 = $cParentID, !1 = $stopAt
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   ASSIGN                                                   !0, 1
    3     1        ECHO                                                     'Greater+than+-1%3F+'
          2        IS_SMALLER                                               -1, !0
          3      > JMPZ                                                     ~3, ->6
          4    >   QM_ASSIGN                                        ~4      'yes'
          5      > JMP                                                      ->7
          6    >   QM_ASSIGN                                        ~4      'no'
          7    >   ECHO                                                     ~4
          8        ECHO                                                     '%0A'
    4     9        ECHO                                                     'Not+equals+to+undefined%3F+'
         10        IS_NOT_EQUAL                                             !0, !1
         11      > JMPZ                                                     ~5, ->14
         12    >   QM_ASSIGN                                        ~6      'yes'
         13      > JMP                                                      ->15
         14    >   QM_ASSIGN                                        ~6      'no'
         15    >   ECHO                                                     ~6
         16        ECHO                                                     '%0A'
    5    17        ASSIGN                                                   !0, null
    6    18        ECHO                                                     'Greater+than+-1%3F+'
         19        IS_SMALLER                                               -1, !0
         20      > JMPZ                                                     ~8, ->23
         21    >   QM_ASSIGN                                        ~9      'yes'
         22      > JMP                                                      ->24
         23    >   QM_ASSIGN                                        ~9      'no'
         24    >   ECHO                                                     ~9
         25        ECHO                                                     '%0A'
    7    26        ECHO                                                     'Not+equals+to+undefined%3F+'
         27        IS_NOT_EQUAL                                             !0, !1
         28      > JMPZ                                                     ~10, ->31
         29    >   QM_ASSIGN                                        ~11     'yes'
         30      > JMP                                                      ->32
         31    >   QM_ASSIGN                                        ~11     'no'
         32    >   ECHO                                                     ~11
         33        ECHO                                                     '%0A'
         34      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
152.23 ms | 1399 KiB | 13 Q