View Issue Details

IDProjectCategoryView StatusLast Update
0001570XdebugDocumentationpublic2019-02-01 17:00
Reporterbkdotcom Assigned Toderick  
PrioritynormalSeverityminorReproducibilityhave not tried
Status closedResolutionfixed 
Summary0001570: xdebug_call_class default value inconsistency
Description

https://xdebug.org/docs/all_functions#xdebug_call_class

function signature:
string xdebug_call_class( [int $depth = 1] )

further down in the documentation:
A value of 2 (the default) returns the call information of the "grand parent" of the current method:

TagsNo tags attached.
Operating System
PHP Version7.2.0-7.2.4

Activities

bkdotcom

2018-08-10 21:29

reporter   ~0004693

Using v2.5.5, the default appears to be 0

derick

2019-02-01 17:00

administrator   ~0004865

Thanks, I've fixed this now: https://github.com/xdebug/xdebug.org/commit/e408a279f32e0fe9bed6eb314b7384f2fe7d4478

Issue History

Date Modified Username Field Change
2018-08-10 18:46 bkdotcom New Issue
2018-08-10 21:29 bkdotcom Note Added: 0004693
2019-02-01 17:00 derick Note Added: 0004865
2019-02-01 17:00 derick Status new => closed
2019-02-01 17:00 derick Assigned To => derick
2019-02-01 17:00 derick Resolution open => fixed