View Issue Details

IDProjectCategoryView StatusLast Update
0001441XdebugUsage problems (Wrong Results)public2017-05-23 12:45
ReporterveeAssigned Toderick 
PrioritynormalSeverityminorReproducibilityalways
Status resolvedResolutionno change required 
PlatformWindowsOSWindowsOS Version10
Product Version2.3.3 
Target VersionFixed in Version 
Summary0001441: Call to undefined function xdebug_start_function_monitor()
DescriptionI follow the document on this page https://xdebug.org/docs/stack_trace
Under array xdebug_get_monitored_functions() section.

The code is.

```
<?php
/* Start the function monitor for strrev and array_push: */
xdebug_start_function_monitor( [ 'strrev', 'array_push' ] );

/* Run some code: */
echo strrev("yes!"), "\n";

echo strrev("yes!"), "\n";

var_dump(xdebug_get_monitored_functions());
xdebug_stop_function_monitor();
```

The result is Fatal error: Call to undefined function xdebug_start_function_monitor()
Steps To ReproduceCopy that source code and run and then error!
TagsNo tags attached.
Operating SystemWindows 10
PHP Version5.5.35-5.5.39

Activities

vee

2017-05-23 12:06

reporter   ~0004343

wrong version. -_-"

derick

2017-05-23 12:45

administrator   ~0004344

Indeed :-) They were introduced in Xdebug 2.4.

Issue History

Date Modified Username Field Change
2017-05-23 11:58 vee New Issue
2017-05-23 12:06 vee Note Added: 0004343
2017-05-23 12:45 derick Note Added: 0004344
2017-05-23 12:45 derick Status new => resolved
2017-05-23 12:45 derick Resolution open => no change required
2017-05-23 12:45 derick Assigned To => derick