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
if some of $values will be numeric, like status code for example, then it will not work with "false !== ($value = apcu_fetch($key))", because json_encode will return different strings to base64encoder.
i tried this and it works, but i guess it's bad solution. Hope i helped with something.
//status code to int from string
if(isset($values[1])){
$mayBeStatusCode = $values[1];
$values[1] = is_numeric($mayBeStatusCode) ? (int) $mayBeStatusCode : $mayBeStatusCode;
}
The text was updated successfully, but these errors were encountered:
prometheus_client_php/src/Prometheus/Storage/APCng.php
Line 754 in cb7ee99
if some of $values will be numeric, like status code for example, then it will not work with "false !== ($value = apcu_fetch($key))", because json_encode will return different strings to base64encoder.
i tried this and it works, but i guess it's bad solution. Hope i helped with something.
The text was updated successfully, but these errors were encountered: