View Issue Details

IDProjectCategoryView StatusLast Update
0002130XdebugStep Debuggingpublic2022-10-21 09:55
ReporterEvowebFrance Assigned Toderick  
PrioritynormalSeveritycrashReproducibilityalways
Status assignedResolutionopen 
Product Version3.2.0RC1 
Summary0002130: Crash when set an array with key containing "day-s".
Description

I want to add to $GLOBALS special texts with this key "s_day-s" and it crashes when debug.
Without debugging, no crash.

Steps To Reproduce

Just try to debug this short PHP code, crash at line 4 :

<?php
$a = ["day-s" => "day(s)"];
foreach ($a as $k=>$v) {
$GLOBALS["s_".$k] = $v;
}

Additional Information

Xdebug configuration :
xdebug.mode=debug,develop
xdebug.start_with_request=session
xdebug.client_port=9003

IDE version PHPSTORM V2022.2.3 (#PS-222.4345.15)
Firefox 105.0.3
PHP 8.0.13 on IIS 10.0

Windows Event observer :
Nom de l’application défaillante php-cgi.exe, version : 8.0.13.0, horodatage : 0x619429f5
Nom du module défaillant : ntdll.dll, version : 10.0.19041.2130, horodatage : 0xb5ced1c6
Code d’exception : 0xc0000409
Décalage d’erreur : 0x000000000008c67f
ID du processus défaillant : 0x57dc
Heure de début de l’application défaillante : 0x01d8e52f47578ee7
Chemin d’accès de l’application défaillante : C:\php-8.0\php-cgi.exe
Chemin d’accès du module défaillant: C:\windows\SYSTEM32\ntdll.dll
ID de rapport : e83a657b-727f-4ec3-bb21-589a5895b87e
Nom complet du package défaillant :
ID de l’application relative au package défaillant :

TagsNo tags attached.
Operating SystemWindows 10 21H2
PHP Version8.0.10-8.0.19

Activities

derick

2022-10-21 09:49

administrator   ~0006413

Hi,

Thanks for the report.

Could you share the Xdebug log file please?

You can make one by adding xdebug.log=/tmp/xdebug.log and xdebug.log_level=10 to your PHP.ini file, and then please attach it to this report.

I am asking as sometimes IDEs send things to Xdebug that are otherwise hard to imitate.

cheers,
Derick

Issue History

Date Modified Username Field Change
2022-10-21 09:40 EvowebFrance New Issue
2022-10-21 09:49 derick Assigned To => derick
2022-10-21 09:49 derick Status new => feedback
2022-10-21 09:49 derick Note Added: 0006413
2022-10-21 09:53 EvowebFrance Status feedback => assigned