|  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #78415 PHP Crashes when assigning empty array to reference variable
Submitted: 2019-08-14 12:31 UTC Modified: 2019-08-25 04:22 UTC
From: josef dot sabl at gmail dot com Assigned:
Status: No Feedback Package: Built-in web server
PHP Version: 7.3.8 OS: Windows 10
Private report: No CVE-ID: None
Have you experienced this issue?
Rate the importance of this bug to you:

 [2019-08-14 12:31 UTC] josef dot sabl at gmail dot com
I am running the built-in server on Windows (no install, just downloaded sources from x64-ts).

The first time the crash appeared I had 7.3.6 but it persists in 7.3.8.

It happened to two developers with separate configurations.

This crash is of the sort that appears randomly, is reproducible for some short time and then goes away.

Our application is using Nette Framework with Tracy debug bar and I traced the crash to this particular line:

Disabling some Tracy panels resolved the problem but also adding some nonsensical line before the aforementioned line did.

This is my php.ini:

This is the info from Windows Events / Windows Error Reporting


  - Provider 

   [ Name]  Application Error 
  - EventID 1000 

   [ Qualifiers]  0 
   Level 2 
   Task 100 
   Keywords 0x80000000000000 
  - TimeCreated 

   [ SystemTime]  2019-08-08T10:45:02.566529300Z 
   EventRecordID 18769 
   Channel Application 
   Computer *************** 

- EventData 


If I can do more to help diagnose this, please let me know.


Add a Patch

Pull Requests

Add a Pull Request


AllCommentsChangesGit/SVN commitsRelated reports
 [2019-08-14 12:41 UTC]
-Status: Open +Status: Feedback
 [2019-08-14 12:41 UTC]
- A backtrace would be helpful.
- Also try with any Zend extensions you may have disabled, including Xdebug and opcache.
- Is it only with the built-in server? Does it still crash through FPM or the CLI?

> Disabling some Tracy panels resolved the problem but also adding some nonsensical line before the aforementioned
> line did.
 [2019-08-25 04:22 UTC] php-bugs at lists dot php dot net
No feedback was provided. The bug is being suspended because
we assume that you are no longer experiencing the problem.
If this is not the case and you are able to provide the
information that was requested earlier, please do so and
change the status of the bug back to "Re-Opened". Thank you.
PHP Copyright © 2001-2022 The PHP Group
All rights reserved.
Last updated: Thu May 19 03:05:45 2022 UTC