I'm working with Drupal 8, but since this looks like a PHP problem to me, I'm asking it here and not on Drupal Answers.
The isset
statement in the following code should return TRUE
, but it does not:
/*
$specifier = 'field_google_hire_identifier'
$field_storage_definitions = array of objects
*/
var_dump(
isset($field_storage_definitions[$specifier]),
$specifier,
$field_storage_definitions[$specifier],
$field_storage_definitions
);
die;
Output on the screen:
Other array elements...
Other array elements...
Original output HTML: https://codepen.io/anon/pen/ZwRJdR
Array keys:
var_dump( array_keys($field_storage_definitions));
I'm kind of clueless why isset($field_storage_definitions[$specifier]
is FALSE
and $field_storage_definitions[$specifier]
is NULL
I uninstalled APC and disabled Opcache.