fork download
  1. <?php
  2. $var = array(
  3. '*original' => array(
  4. 'id' => 1,
  5. 'user_id' => 3,
  6. 'reference' => 'c8d2076672c9631e8c048589f3a9a26f3961',
  7. 'status' => 'Pendente',
  8. 'paymentMethod' => "ph",
  9. 'date' => "2018-08-30",
  10. 'paymentLink' => "",
  11. 'created_at' => "2018-08-30 17:41:39",
  12. 'updated_at' => "0000-00-00 00:00:00",
  13. 'pacote' => 1,
  14. 'tipo' => "Ativação de pacote",
  15. 'valor' => 0,
  16. 'transaction_id' => NULL,
  17. )
  18. );
  19.  
  20.  
  21. $recuperado = $var["*original"]["transaction_id"];
  22.  
  23. var_dump($recuperado);
Success #stdin #stdout 0.01s 82560KB
stdin
Standard input is empty
stdout
NULL