3v4l.org

run code in 300+ PHP versions simultaneously
<?php $newsPiece['pages'] = '15B'; if (!(int)$newsPiece['pages']):?> <?php echo $newsPiece['pages']?><?php endif;?>
Finding entry points
Branch analysis from position: 0
2 jumps found. (Code = 43) Position 1 = 6, Position 2 = 9
Branch analysis from position: 6
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 9
filename:       /in/cgW2V
function name:  (null)
number of ops:  10
compiled vars:  !0 = $newsPiece
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   ASSIGN_DIM                                               !0, 'pages'
          1        OP_DATA                                                  '15B'
    3     2        FETCH_DIM_R                                      ~2      !0, 'pages'
          3        CAST                                          4  ~3      ~2
          4        BOOL_NOT                                         ~4      ~3
          5      > JMPZ                                                     ~4, ->9
          6    >   ECHO                                                     '+'
          7        FETCH_DIM_R                                      ~5      !0, 'pages'
          8        ECHO                                                     ~5
          9    > > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
158.73 ms | 1393 KiB | 13 Q