3v4l.org

run code in 300+ PHP versions simultaneously
<?php foreach( $oQiwi->getHistory( date( 'd.m.Y', strtotime( '-3 day' ) ), date( 'd.m.Y', strtotime( '+1 day' ) ) ) as $aItem ) { ?> <tr align="center"> <td><?=$aItem['iID']?></td> <td><?=$aItem['sDate']?> <?=$aItem['sTime']?></td> <td><?=$aItem['dAmount']?> <?=$aItem['sCurrency']?></td> <td><?=$aItem['dWithExpend']?> <?=$aItem['sCurrency']?></td> <td title="<?=$aItem['sProvider']?>"><?=$aItem['iOpponentPhone']?></td> <td><?=$aItem['sComment']?></td> <td><?=str_replace( array( 'INCOME', 'EXPENDITURE' ), array( 'приход', 'расход' ), $aItem['sType'] )?></td> <td title="<?=($aItem['sStatus'] == 'ERROR' ? $aItem['sError'] : '')?>"><?=$aItem['sStatus']?></td> </tr> <?php } ?>
Finding entry points
Branch analysis from position: 0
2 jumps found. (Code = 77) Position 1 = 19, Position 2 = 72
Branch analysis from position: 19
2 jumps found. (Code = 78) Position 1 = 20, Position 2 = 72
Branch analysis from position: 20
2 jumps found. (Code = 43) Position 1 = 62, Position 2 = 65
Branch analysis from position: 62
1 jumps found. (Code = 42) Position 1 = 66
Branch analysis from position: 66
1 jumps found. (Code = 42) Position 1 = 19
Branch analysis from position: 19
Branch analysis from position: 65
1 jumps found. (Code = 42) Position 1 = 19
Branch analysis from position: 19
Branch analysis from position: 72
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 72
filename:       /in/EGaCK
function name:  (null)
number of ops:  74
compiled vars:  !0 = $oQiwi, !1 = $aItem
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    1     0  E >   INIT_METHOD_CALL                                         !0, 'getHistory'
          1        INIT_FCALL                                               'date'
          2        SEND_VAL                                                 'd.m.Y'
          3        INIT_FCALL                                               'strtotime'
          4        SEND_VAL                                                 '-3+day'
          5        DO_ICALL                                         $2      
          6        SEND_VAR                                                 $2
          7        DO_ICALL                                         $3      
          8        SEND_VAR_NO_REF_EX                                       $3
          9        INIT_FCALL                                               'date'
         10        SEND_VAL                                                 'd.m.Y'
         11        INIT_FCALL                                               'strtotime'
         12        SEND_VAL                                                 '%2B1+day'
         13        DO_ICALL                                         $4      
         14        SEND_VAR                                                 $4
         15        DO_ICALL                                         $5      
         16        SEND_VAR_NO_REF_EX                                       $5
         17        DO_FCALL                                      0  $6      
         18      > FE_RESET_R                                       $7      $6, ->72
         19    > > FE_FETCH_R                                               $7, !1, ->72
    2    20    >   ECHO                                                     '++%3Ctr+align%3D%22center%22%3E%0A+++%3Ctd%3E'
    3    21        FETCH_DIM_R                                      ~8      !1, 'iID'
         22        ECHO                                                     ~8
         23        ECHO                                                     '%3C%2Ftd%3E%0A+++%3Ctd%3E'
    4    24        FETCH_DIM_R                                      ~9      !1, 'sDate'
         25        ECHO                                                     ~9
         26        ECHO                                                     '+'
         27        FETCH_DIM_R                                      ~10     !1, 'sTime'
         28        ECHO                                                     ~10
         29        ECHO                                                     '%3C%2Ftd%3E%0A+++%3Ctd%3E'
    5    30        FETCH_DIM_R                                      ~11     !1, 'dAmount'
         31        ECHO                                                     ~11
         32        ECHO                                                     '+'
         33        FETCH_DIM_R                                      ~12     !1, 'sCurrency'
         34        ECHO                                                     ~12
         35        ECHO                                                     '%3C%2Ftd%3E%0A+++%3Ctd%3E'
    6    36        FETCH_DIM_R                                      ~13     !1, 'dWithExpend'
         37        ECHO                                                     ~13
         38        ECHO                                                     '+'
         39        FETCH_DIM_R                                      ~14     !1, 'sCurrency'
         40        ECHO                                                     ~14
         41        ECHO                                                     '%3C%2Ftd%3E%0A+++%3Ctd+title%3D%22'
    7    42        FETCH_DIM_R                                      ~15     !1, 'sProvider'
         43        ECHO                                                     ~15
         44        ECHO                                                     '%22%3E'
         45        FETCH_DIM_R                                      ~16     !1, 'iOpponentPhone'
         46        ECHO                                                     ~16
         47        ECHO                                                     '%3C%2Ftd%3E%0A+++%3Ctd%3E'
    8    48        FETCH_DIM_R                                      ~17     !1, 'sComment'
         49        ECHO                                                     ~17
         50        ECHO                                                     '%3C%2Ftd%3E%0A+++%3Ctd%3E'
    9    51        INIT_FCALL                                               'str_replace'
         52        SEND_VAL                                                 <array>
         53        SEND_VAL                                                 <array>
         54        FETCH_DIM_R                                      ~18     !1, 'sType'
         55        SEND_VAL                                                 ~18
         56        DO_ICALL                                         $19     
         57        ECHO                                                     $19
         58        ECHO                                                     '%3C%2Ftd%3E%0A+++%3Ctd+title%3D%22'
   10    59        FETCH_DIM_R                                      ~20     !1, 'sStatus'
         60        IS_EQUAL                                                 ~20, 'ERROR'
         61      > JMPZ                                                     ~21, ->65
         62    >   FETCH_DIM_R                                      ~22     !1, 'sError'
         63        QM_ASSIGN                                        ~23     ~22
         64      > JMP                                                      ->66
         65    >   QM_ASSIGN                                        ~23     ''
         66    >   ECHO                                                     ~23
         67        ECHO                                                     '%22%3E'
         68        FETCH_DIM_R                                      ~24     !1, 'sStatus'
         69        ECHO                                                     ~24
         70        ECHO                                                     '%3C%2Ftd%3E%0A++%3C%2Ftr%3E%0A++'
    1    71      > JMP                                                      ->19
         72    >   FE_FREE                                                  $7
   12    73      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
155.43 ms | 1400 KiB | 19 Q