3v4l.org

run code in 300+ PHP versions simultaneously
<?php $isnull = empty(null) === true ? 'hurra' : 'mist'; $isEmpty = empty("") === true ? 'hurra' : 'mist'; var_dump( $is_null.'_'.$isEmpty);
Finding entry points
Branch analysis from position: 0
2 jumps found. (Code = 43) Position 1 = 1, Position 2 = 3
Branch analysis from position: 1
1 jumps found. (Code = 42) Position 1 = 4
Branch analysis from position: 4
2 jumps found. (Code = 43) Position 1 = 6, Position 2 = 8
Branch analysis from position: 6
1 jumps found. (Code = 42) Position 1 = 9
Branch analysis from position: 9
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 8
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 3
2 jumps found. (Code = 43) Position 1 = 6, Position 2 = 8
Branch analysis from position: 6
Branch analysis from position: 8
filename:       /in/veLiL
function name:  (null)
number of ops:  16
compiled vars:  !0 = $isnull, !1 = $isEmpty, !2 = $is_null
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E > > JMPZ                                                     <true>, ->3
          1    >   QM_ASSIGN                                        ~3      'hurra'
          2      > JMP                                                      ->4
          3    >   QM_ASSIGN                                        ~3      'mist'
          4    >   ASSIGN                                                   !0, ~3
    4     5      > JMPZ                                                     <true>, ->8
          6    >   QM_ASSIGN                                        ~5      'hurra'
          7      > JMP                                                      ->9
          8    >   QM_ASSIGN                                        ~5      'mist'
          9    >   ASSIGN                                                   !1, ~5
    7    10        INIT_FCALL                                               'var_dump'
         11        CONCAT                                           ~7      !2, '_'
         12        CONCAT                                           ~8      ~7, !1
         13        SEND_VAL                                                 ~8
         14        DO_ICALL                                                 
         15      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
159.32 ms | 1395 KiB | 15 Q