You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am using php-7.3 with php-apcu 5.1.17 (both from raspbian 10.13) in several php scripts.
I have mainly stored arrays in acpu-variables.
now on a pre-elementary check I noticed, that the variables after apcu_fetch are "false" - and most astonishing associative references to the arrays work.
e.g.: $froniusvalues = apcu_fetch('froniusvalues');
shows me on "var_dump($froniusvalues)" only "false"
and if (is_array($froniusvalues)) {
fails, but a line below $froniusvalues["P_PV"];
works correctly.
any idea if I am doing something wrong, or what's strange there?
Thank you. :-)
BR
Alois
The text was updated successfully, but these errors were encountered:
hi,
I am using php-7.3 with php-apcu 5.1.17 (both from raspbian 10.13) in several php scripts.
I have mainly stored arrays in acpu-variables.
now on a pre-elementary check I noticed, that the variables after apcu_fetch are "false" - and most astonishing associative references to the arrays work.
e.g.:
$froniusvalues = apcu_fetch('froniusvalues');
shows me on "var_dump($froniusvalues)" only "false"
and
if (is_array($froniusvalues)) {
fails, but a line below
$froniusvalues["P_PV"];
works correctly.
any idea if I am doing something wrong, or what's strange there?
Thank you. :-)
BR
Alois
The text was updated successfully, but these errors were encountered: