MantisBT

View Issue Details Jump to Notes ] Issue History ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0001472XdebugFeature/Change requestpublic2017-09-16 05:242017-09-24 20:32
Reporteryangrokety 
Assigned Toderick 
PriorityhighSeverityfeatureReproducibilityhave not tried
StatusacknowledgedResolutionopen 
PlatformLinuxOSubuntu 17.04OS Version
Product Version2.5.5 
Target Version2.7.0devFixed 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
Attached Files

- Relationships

-  Notes
(0004423)
yangrokety (reporter)
2017-09-22 14:42
edited on: 2017-09-22 14:48

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:-)

(0004424)
derick (administrator)
2017-09-23 09:46

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
(0004425)
yangrokety (reporter)
2017-09-23 11:58
edited on: 2017-09-23 12:42

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? :-(

(0004426)
derick (administrator)
2017-09-24 20:32

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 05:24 yangrokety New Issue
2017-09-20 23:06 derick Target Version => 2.7.0dev
2017-09-20 23:06 derick Assigned To => derick
2017-09-20 23:06 derick Status new => acknowledged
2017-09-22 14:42 yangrokety Note Added: 0004423
2017-09-22 14:44 yangrokety Note Edited: 0004423 View Revisions
2017-09-22 14:44 yangrokety Note Edited: 0004423 View Revisions
2017-09-22 14:45 yangrokety Note Edited: 0004423 View Revisions
2017-09-22 14:45 yangrokety Note Edited: 0004423 View Revisions
2017-09-22 14:47 yangrokety Note Edited: 0004423 View Revisions
2017-09-22 14:47 yangrokety Note Edited: 0004423 View Revisions
2017-09-22 14:48 yangrokety Note Edited: 0004423 View Revisions
2017-09-23 09:46 derick Note Added: 0004424
2017-09-23 11:58 yangrokety Note Added: 0004425
2017-09-23 12:42 yangrokety Note Edited: 0004425 View Revisions
2017-09-24 20:32 derick Note Added: 0004426


Copyright © 2000 - 2018 MantisBT Team
Powered by Mantis Bugtracker