View Issue Details

IDProjectCategoryView StatusLast Update
0001472XdebugFeature/Change requestpublic2019-01-22 21:55
ReporteryangroketyAssigned Toderick 
PriorityhighSeverityfeatureReproducibilityhave not tried
Status acknowledgedResolutionopen 
PlatformLinuxOSubuntu 17.04OS Version
Product Version2.5.5 
Target VersionFixed in Version 
Summary0001472: xdebug.trace_format: computer readable format
DescriptionCan computer readable format output contain "xdebug.collect_assignments"?
TagsNo tags attached.
Operating System
PHP Version5.6.30-5.6.35

Activities

yangrokety

2017-09-22 13:42

reporter   ~0004423

Last edited: 2017-09-22 13:48

View 8 revisions

Hi, derick.
I try to implement xdebug_trace_computerized_assignment, and the trace result:
Version: 2.5.5
File format: 4
TRACE START [2017-09-22 13:28:43]
1_______0_______0_______0.000141________259968__{main}__1_______________/home/rokety/t.php______0_______0
1_______________2_______________________{main}__1_______________/home/rokety/t.php______6_______$fo_=_'test'
2_______1_______0_______0.000194________260248__foo_____1_______________/home/rokety/t.php______7_______0
2_______________2_______________________foo_____1_______________/home/rokety/t.php______3_______$bar_=_1
2_______1_______1_______0.000230________260480
2_______1_______R_______________________NULL
1_______0_______1_______0.000254________260480
1_______0_______R_______________________1
________________________0.000416________8504
TRACE END [2017-09-22 13:28:43]

The third column value '2' means assignment.

I see you assign this feature request to 2.7.0dev. I hope this feature can be contain in 2.5.6 release.

If ok, I can make a pull request to 2.5 branch:-)

derick

2017-09-23 08:46

administrator   ~0004424

Hi,

I'm happy to work with you on a patch on this. But new features can not go into bug fix release branches (2.5). At the minimum this should go to 2.6 (current master). There is a guide on adding feature available on https://xdebug.org/contributing.php

cheers,
Derick

yangrokety

2017-09-23 10:58

reporter   ~0004425

Last edited: 2017-09-23 11:42

View 2 revisions

Hi, derick.
I found the current master has limit to php version > 7 by this commit:
https://github.com/xdebug/xdebug/commit/9bda2b3fc0ea833eed8b9526655170769d0eeb60#diff-788d457a20b110cc38e571dec9ddc68c

And the configure error:
checking Check for supported PHP versions... configure: error: not supported. Need a PHP version >= 7.0.0 and < 7.3.0 (found 5.6.31)

Does 2.6 not support php5? :-(

derick

2017-09-24 19:32

administrator   ~0004426

No, PHP 5 support is dropped in Xdebug 2.6 and later. PHP 5 itself is no longer supported by PHP either: http://php.net/supported-versions.php

Issue History

Date Modified Username Field Change
2017-09-16 04:24 yangrokety New Issue
2017-09-20 22:06 derick Target Version => 2.7.0dev
2017-09-20 22:06 derick Assigned To => derick
2017-09-20 22:06 derick Status new => acknowledged
2017-09-22 13:42 yangrokety Note Added: 0004423
2017-09-22 13:44 yangrokety Note Edited: 0004423 View Revisions
2017-09-22 13:44 yangrokety Note Edited: 0004423 View Revisions
2017-09-22 13:45 yangrokety Note Edited: 0004423 View Revisions
2017-09-22 13:45 yangrokety Note Edited: 0004423 View Revisions
2017-09-22 13:47 yangrokety Note Edited: 0004423 View Revisions
2017-09-22 13:47 yangrokety Note Edited: 0004423 View Revisions
2017-09-22 13:48 yangrokety Note Edited: 0004423 View Revisions
2017-09-23 08:46 derick Note Added: 0004424
2017-09-23 10:58 yangrokety Note Added: 0004425
2017-09-23 11:42 yangrokety Note Edited: 0004425 View Revisions
2017-09-24 19:32 derick Note Added: 0004426
2019-01-22 21:55 derick Target Version 2.7.0dev =>