3v4l.org

run code in 300+ PHP versions simultaneously
<?php $newsPiece['pages'] = '15B'; if ((int)$newsPiece['pages']):?> <?php echo $newsPiece['pages']?><?php endif;?> <?php $newsPiece['pages'] = '15-38'; 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 = 5, Position 2 = 8
Branch analysis from position: 5
2 jumps found. (Code = 43) Position 1 = 13, Position 2 = 16
Branch analysis from position: 13
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 16
Branch analysis from position: 8
filename:       /in/IHD3d
function name:  (null)
number of ops:  17
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      > JMPZ                                                     ~3, ->8
          5    >   ECHO                                                     '+'
          6        FETCH_DIM_R                                      ~4      !0, 'pages'
          7        ECHO                                                     ~4
    5     8    >   ASSIGN_DIM                                               !0, 'pages'
          9        OP_DATA                                                  '15-38'
    6    10        FETCH_DIM_R                                      ~6      !0, 'pages'
         11        CAST                                          4  ~7      ~6
         12      > JMPZ                                                     ~7, ->16
         13    >   ECHO                                                     '+'
         14        FETCH_DIM_R                                      ~8      !0, 'pages'
         15        ECHO                                                     ~8
         16    > > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
175.62 ms | 1385 KiB | 13 Q