3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?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 } ?>
Output for 7.0.5 - 7.2.0
Notice: Undefined variable: oQiwi in /in/EGaCK on line 1 Fatal error: Uncaught Error: Call to a member function getHistory() on null in /in/EGaCK:1 Stack trace: #0 {main} thrown in /in/EGaCK on line 1
Process exited with code 255.
Output for 7.0.0 - 7.0.4
Notice: Undefined variable: oQiwi in /in/EGaCK on line 1 Fatal error: Uncaught Error: Call to a member function getHistory() on unknown in /in/EGaCK:1 Stack trace: #0 {main} thrown in /in/EGaCK on line 1
Process exited with code 255.
Output for 5.6.0 - 5.6.28
Notice: Undefined variable: oQiwi in /in/EGaCK on line 1 Fatal error: Call to a member function getHistory() on null in /in/EGaCK on line 1
Process exited with code 255.
Output for 5.4.0 - 5.5.38
Notice: Undefined variable: oQiwi in /in/EGaCK on line 1 Fatal error: Call to a member function getHistory() on a non-object in /in/EGaCK on line 1
Process exited with code 255.