3v4l.org

run code in 300+ PHP versions simultaneously
<?php $bool = false; echo "The value of \$bool is " . ($bool ? "TRUE" : "FALSE") . "\n"; $num = 8; echo "The value of \$num is " . ($num > 5 ? "greater than 5" : "less than five");
Finding entry points
Branch analysis from position: 0
2 jumps found. (Code = 43) Position 1 = 2, Position 2 = 4
Branch analysis from position: 2
1 jumps found. (Code = 42) Position 1 = 5
Branch analysis from position: 5
2 jumps found. (Code = 43) Position 1 = 11, Position 2 = 13
Branch analysis from position: 11
1 jumps found. (Code = 42) Position 1 = 14
Branch analysis from position: 14
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 13
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 4
2 jumps found. (Code = 43) Position 1 = 11, Position 2 = 13
Branch analysis from position: 11
Branch analysis from position: 13
filename:       /in/8DVP9
function name:  (null)
number of ops:  17
compiled vars:  !0 = $bool, !1 = $num
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   ASSIGN                                                   !0, <false>
    5     1      > JMPZ                                                     !0, ->4
          2    >   QM_ASSIGN                                        ~3      'TRUE'
          3      > JMP                                                      ->5
          4    >   QM_ASSIGN                                        ~3      'FALSE'
          5    >   CONCAT                                           ~4      'The+value+of+%24bool+is+', ~3
          6        CONCAT                                           ~5      ~4, '%0A'
          7        ECHO                                                     ~5
    7     8        ASSIGN                                                   !1, 8
    9     9        IS_SMALLER                                               5, !1
         10      > JMPZ                                                     ~7, ->13
         11    >   QM_ASSIGN                                        ~8      'greater+than+5'
         12      > JMP                                                      ->14
         13    >   QM_ASSIGN                                        ~8      'less+than+five'
         14    >   CONCAT                                           ~9      'The+value+of+%24num+is+', ~8
         15        ECHO                                                     ~9
         16      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
268.3 ms | 998 KiB | 13 Q