|  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #46247 ibase_set_event_handler() is allowing to pass callback without event
Submitted: 2008-10-07 00:00 UTC Modified: 2008-10-07 15:32 UTC
From: Assigned: felipe
Status: Closed Package: InterBase related
PHP Version: 5.2CVS, 5.3CVS, 6CVS OS:
Private report: No CVE-ID:
 [2008-10-07 00:00 UTC]
See below.

Reproduce code:

function whatever($a, $b) { var_dump($a, $b);}
ibase_set_event_handler($x, "whatever");

Actual result:
Hang up


Add a Patch

Pull Requests

Add a Pull Request


AllCommentsChangesGit/SVN commitsRelated reports
 [2008-10-07 15:32 UTC]
This bug has been fixed in CVS.

Snapshots of the sources are packaged every three hours; this change
will be in the next snapshot. You can grab the snapshot at
Thank you for the report, and for helping us make PHP better.

Fixed in 5.2, 5.3 and HEAD.
PHP Copyright © 2001-2015 The PHP Group
All rights reserved.
Last updated: Tue Oct 13 16:01:31 2015 UTC