Warning: Undefined array key "HTTPS" in include() (line 29 of /opt/www/fdv2/drupal.stage/web/sites/default/settings.local.php).
include('/opt/www/fdv2/drupal.stage/web/sites/default/settings.local.php') (Line: 4)
require('/opt/www/fdv2/drupal.stage/web/sites/drupal001.net/settings.php') (Line: 145)
Drupal\Core\Site\Settings::initialize('/opt/www/fdv2/drupal.stage/web', 'sites/drupal001.net', Object) (Line: 1099)
Drupal\Core\DrupalKernel->initializeSettings(Object) (Line: 701)
Drupal\Core\DrupalKernel->handle(Object) (Line: 19)
为什么drupal_static_reset有返回但不能打印出来呢? - Drupal大学 - Drupal问答论坛
首页 / 帖子
为什么drupal_static_reset有返回但不能打印出来呢?

 $ok = &drupal_static('o','k');

 $qq = drupal_static_reset('o');

在drupal_static_reset的函数中,有个return $data[$name];但为什么打印不出$qq呢?


1个答案
YOYO
发布于:2016-07-27 14:25

因为drupal_static_reset函数没有return?