<?php
function exceptionHandler($e)
{
var_dump($e);
}
function shutdown()
{
echo 'Скрипт успешно завершился', PHP_EOL;
}
register_shutdown_function('shutdown');
set_exception_handler('exceptionHandler');
test();
/*
object(Error)#1 (7) { ["message":protected] => string(33) "Call to undefined function test()", ... }
Скрипт успешно завершился
*/
print base64_decode('0KnQtdC/0LAg0KHQзtdGA0LPQtdC5'); // Щепа Сергей
?utf-8?Q?=D0=A9=D0=B5=D0=BF=D0=B0 =D0=A1=D0=B5=D1=80=D0=B3=D0=B5=D0=B9?=
<?php
$FIGI= ["BBG000HLJ7M4","BBG002293PJ4","BBG000BH0FR6"];
$data = ["figi" => $FIGI];
$data_string = json_encode ($data);
print($data_string);
// {"figi":["BBG000HLJ7M4","BBG002293PJ4","BBG000BH0FR6"]}
$property = $json_obj['data'][0];
[
"type" => "property",
"id" => "c0b6c16a-3002-48d3-a832-65311736d4da",
"attributes": [
"inline_address" => "string",
"public_address" => "string"
]
]
foreach($property as $value)
вы перебираете все значения данного массив и на первом же значении получаете "property"['attributes']
.