A
A
Alexander Privalov2016-04-06 01:21:10
PHP
Alexander Privalov, 2016-04-06 01:21:10

Why can't access the array element with the key "UF_CRM_1459861952"?

You have to access it through the crutch $arFields[array_keys($arFields)[0]]

Answer the question

In order to leave comments, you need to log in

1 answer(s)
I
Ilya, 2016-04-06
@konfuji

And this is how it works:

$obj = (object) $arFields;
$obj->UF_CRM_1459861952;

?

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question