3v4l.org

run code in 300+ PHP versions simultaneously
<?php $newsPiece['pages'] = '15A'; 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;?> <?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 = 5, Position 2 = 8
Branch analysis from position: 5
2 jumps found. (Code = 43) Position 1 = 14, Position 2 = 17
Branch analysis from position: 14
2 jumps found. (Code = 43) Position 1 = 23, Position 2 = 26
Branch analysis from position: 23
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 26
Branch analysis from position: 17
Branch analysis from position: 8
filename:       /in/PksqX
function name:  (null)
number of ops:  27
compiled vars:  !0 = $newsPiece
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   ASSIGN_DIM                                               !0, 'pages'
          1        OP_DATA                                                  '15A'
    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
    4     8    >   ECHO                                                     '%0A'
    6     9        ASSIGN_DIM                                               !0, 'pages'
         10        OP_DATA                                                  '15-38'
    7    11        FETCH_DIM_R                                      ~6      !0, 'pages'
         12        CAST                                          4  ~7      ~6
         13      > JMPZ                                                     ~7, ->17
         14    >   ECHO                                                     '+'
         15        FETCH_DIM_R                                      ~8      !0, 'pages'
         16        ECHO                                                     ~8
    8    17    >   ECHO                                                     '%0A'
   10    18        ASSIGN_DIM                                               !0, 'pages'
         19        OP_DATA                                                  '15B'
   11    20        FETCH_DIM_R                                      ~10     !0, 'pages'
         21        CAST                                          4  ~11     ~10
         22      > JMPZ                                                     ~11, ->26
         23    >   ECHO                                                     '+'
         24        FETCH_DIM_R                                      ~12     !0, 'pages'
         25        ECHO                                                     ~12
         26    > > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
142.84 ms | 1394 KiB | 13 Q