php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #73972 use xhprof Segmentation fault happen
Submitted: 2017-01-22 09:17 UTC Modified: 2017-10-24 08:26 UTC
Votes:2
Avg. Score:3.0 ± 0.0
Reproduced:1 of 1 (100.0%)
Same Version:0 (0.0%)
Same OS:0 (0.0%)
From: 404620135 at qq dot com Assigned:
Status: Suspended Package: xhprof (PECL)
PHP Version: 5.6.24 OS: centos 6.5
Private report: No CVE-ID: None
View Add Comment Developer Edit
Anyone can comment on a bug. Have a simpler test case? Does it work for you on a different platform? Let us know!
Just going to say 'Me too!'? Don't clutter the database with that please — but make sure to vote on the bug!
Your email address:
MUST BE VALID
Solve the problem:
46 + 12 = ?
Subscribe to this entry?

 
 [2017-01-22 09:17 UTC] 404620135 at qq dot com
Description:
------------
run test script output: 1Segmentation fault

Test script:
---------------
 <?php
 xhprof_enable();
 class Index
 {
     public function index()
     {
         return 1;
     }
 
     public function test()
     {
         return 3;
     }
 }
 echo 1;
 $method = "test";
 $class = "Index";
 echo in_array(strtolower($method),array_map('strtolower',get_class_methods($class)),TRUE);
 $data = xhprof_disable();
 var_dump($data);

Expected result:
----------------
1Segmentation fault


Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2017-01-22 09:27 UTC] 404620135 at qq dot com
-PHP Version: 5.6Git-2017-01-22 (Git) +PHP Version: 5.6.24
 [2017-01-22 09:27 UTC] 404620135 at qq dot com
real php version
 [2017-10-24 08:26 UTC] kalle@php.net
-Status: Open +Status: Suspended
 [2017-10-24 08:26 UTC] kalle@php.net
This package has not had a release for over 4 years, and the last bit of git activity was over 2 years ago, so I think its safe to say this extension is no longer in active development. If development picks back up, then please re-open this report
 
PHP Copyright © 2001-2019 The PHP Group
All rights reserved.
Last updated: Tue Dec 10 08:01:24 2019 UTC