3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $insertData = Array( 'handle' => isset($data->pool->handle) ? $data->pool->handle : '', 'income_total' => isset($data->income_total->amount) ? ($data->income_total->amount+$data->liability_total->amount) : 0.0, 'income_total_currency' => isset($data->income_total->currency) ? $data->income_total->currency : '', 'total_purchases' => 0 );
Output for 4.3.0 - 4.4.9, 5.1.6 - 7.1.0
Output for 5.0.0 - 5.1.5
Notice: Trying to get property of non-object in /in/jd7N5 on line 4 Notice: Trying to get property of non-object in /in/jd7N5 on line 5 Notice: Trying to get property of non-object in /in/jd7N5 on line 6