Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:87087 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 51290 invoked from network); 9 Jul 2015 14:59:01 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 9 Jul 2015 14:59:01 -0000 Authentication-Results: pb1.pair.com smtp.mail=patrick.allaert@gmail.com; spf=pass; sender-id=pass Authentication-Results: pb1.pair.com header.from=patrickallaert@php.net; sender-id=unknown Received-SPF: pass (pb1.pair.com: domain gmail.com designates 209.85.217.172 as permitted sender) X-PHP-List-Original-Sender: patrick.allaert@gmail.com X-Host-Fingerprint: 209.85.217.172 mail-lb0-f172.google.com Received: from [209.85.217.172] ([209.85.217.172:35321] helo=mail-lb0-f172.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id A9/61-22102-23C8E955 for ; Thu, 09 Jul 2015 10:58:59 -0400 Received: by lblf12 with SMTP id f12so7216753lbl.2 for ; Thu, 09 Jul 2015 07:58:55 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=mime-version:from:date:message-id:subject:to:cc:content-type; bh=FcPv1gyoYYjwC6aqt9cZP+0P+k9Raav9PAsonsulQCY=; b=hkKu5TzDGliDrcCWFPScBSL3nn2M16sAd0eUtID3uvFP8s++ub17XGwlP099M8v702 w0+o1/Z7/v8r9soBwF72LjiSXm+kYXNkC/SFh9BSgY73cNTMdP764eyJ5NuCAtN+I3ad 3lUn8Xx0HHFtrxgL3ziB0yOLj+NgNti1l0ftyYsPano/qjEDiv+XYwuMLAHF35eZBiTb VbMLU8a/UtB1qyei/g6Uv910rZw9ILTJGQjSEt6/tjw71z0Fpl1h5aF7IR/eV88TFt8T QsBNLwJxvNhE7ocFB21ZjpS/yFSqGAgoX+VbdWadWxBhFk+boMbgAJcww7Htn/cNGckR EJfA== X-Received: by 10.152.10.97 with SMTP id h1mr15381595lab.45.1436453935163; Thu, 09 Jul 2015 07:58:55 -0700 (PDT) MIME-Version: 1.0 Date: Thu, 09 Jul 2015 14:58:45 +0000 Message-ID: To: PHP Development Cc: Olivier Garcia Content-Type: multipart/alternative; boundary=001a1132f6828ab196051a727ee9 Subject: Very strange error message From: patrickallaert@php.net (Patrick ALLAERT) --001a1132f6828ab196051a727ee9 Content-Type: text/plain; charset=UTF-8 Hello list, Today I am facing a rather strange PHP error message on a production system using PHP 5.4.41 with APC: [09-Jul-2015 15:06:43 Europe/Brussels] PHP Fatal error: Access to undeclared static property: Stash\Item::$/opt/app/a373/apache-pro/htdocs/vendor/tedivm/stash/src/Stash/Interfaces/ItemInterface.php in /opt/app/a373/apache-pro/htdocs/vendor/tedivm/stash/src/Stash/Item.php on line 348 That line 348 is this one: https://github.com/tedious/Stash/blob/master/src/Stash/Item.php#L348 and contains: $cacheTime = self::$cacheTime; $cacheTime being defined in the class as: public static $cacheTime = 432000; // five days (see: https://github.com/tedious/Stash/blob/master/src/Stash/Item.php#L59) A message like: "Fatal error: Access to undeclared static property: Stash\Item::$cacheTime" is virtually possible, but: "Fatal error: Access to undeclared static property: Stash\Item::$/opt/app/a373/apache-pro/htdocs/vendor/tedivm/stash/src/Stash/Interfaces/ItemInterface.php" ? How is it possible that the filename of the file containing the interface being used by that class appears instead of the variable? Any clue of what happened? PHP bug, APC one? Memory corruption? Bad karma or planets wrongly aligned? Cheers, Patrick --001a1132f6828ab196051a727ee9--