PEMBERITAHUAN: Properti yang tidak ditentukan:

$parts = $structure->parts; //throwing error Notice: Undefined property: 
//1.As of PHP 7.0:

$parts = $structure->parts ?? false;

//2.A frowned-upon practice - the stfu operator:

$parts = @$structure->parts;
uzii