|  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Request #63269 register_tick_function() passing parameters
Submitted: 2012-10-12 23:54 UTC Modified: -
Avg. Score:3.0 ± 0.0
Reproduced:0 of 0 (0.0%)
From: klaussantana at gmail dot com Assigned:
Status: Open Package: Unknown/Other Function
PHP Version: Irrelevant OS: Any
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:
Solve the problem:
20 + 42 = ?
Subscribe to this entry?

 [2012-10-12 23:54 UTC] klaussantana at gmail dot com
It would be nice if when you register a function to execute at every "n" compiler 
ticks it receive as the 1st parameter the tick event informations in an array...

Test script:
function my_tick_function( $event )
   echo "Event {$event['name']} on {$event['file']} at line {$event['line']} triggered. <br/> \r\n";


   $S = 'String';


Add a Patch

Pull Requests

Add a Pull Request

PHP Copyright © 2001-2020 The PHP Group
All rights reserved.
Last updated: Thu Oct 01 01:01:24 2020 UTC