MantisBT

View Issue Details Jump to Notes ] Issue History ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0001441XdebugUsage problems (Wrong Results)public2017-05-23 12:582017-05-23 13:45
Reportervee 
Assigned Toderick 
PrioritynormalSeverityminorReproducibilityalways
StatusresolvedResolutionno 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
Attached Files

- Relationships

-  Notes
(0004343)
vee (reporter)
2017-05-23 13:06

wrong version. -_-"
(0004344)
derick (administrator)
2017-05-23 13:45

Indeed :-) They were introduced in Xdebug 2.4.

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


Copyright © 2000 - 2017 MantisBT Team
Powered by Mantis Bugtracker