0

I have this array where I have a special character in the key. How Do I access its value ?

Usually, I would access the value like $result->id. Where id would be my key and result the array.

Now here, I have the key to be : J24-RN058900126115 . So when I try to access $result->J24-RN058900126115

So how Do I access the value from that key ?

Rajan
  • 2,427
  • 10
  • 51
  • 111

0 Answers0