3v4l.org

run code in 300+ PHP versions simultaneously
<?php $nn = "0.0"; echo empty($nn)? 'empty': 'full'; echo "\n"; if ("0.0") echo 'zero point zero';
Finding entry points
Branch analysis from position: 0
2 jumps found. (Code = 43) Position 1 = 3, Position 2 = 5
Branch analysis from position: 3
1 jumps found. (Code = 42) Position 1 = 6
Branch analysis from position: 6
2 jumps found. (Code = 43) Position 1 = 9, Position 2 = 10
Branch analysis from position: 9
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 10
Branch analysis from position: 5
2 jumps found. (Code = 43) Position 1 = 9, Position 2 = 10
Branch analysis from position: 9
Branch analysis from position: 10
filename:       /in/SGduJ
function name:  (null)
number of ops:  11
compiled vars:  !0 = $nn
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   ASSIGN                                                   !0, '0.0'
    3     1        ISSET_ISEMPTY_CV                                         !0
          2      > JMPZ                                                     ~2, ->5
          3    >   QM_ASSIGN                                        ~3      'empty'
          4      > JMP                                                      ->6
          5    >   QM_ASSIGN                                        ~3      'full'
          6    >   ECHO                                                     ~3
    4     7        ECHO                                                     '%0A'
    5     8      > JMPZ                                                     '0.0', ->10
          9    >   ECHO                                                     'zero+point+zero'
         10    > > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
162.34 ms | 1393 KiB | 13 Q