#46247 [Asn->Csd]: ibase_set_event_handler() is allowing to pass callback without event
ID: 46247
Updated by: felipe@php.net
Reported By: felipe@php.net
-Status: Assigned
+Status: Closed
Bug Type: InterBase related
PHP Version: 5.2CVS, 5.3CVS, 6CVS
Assigned To: felipe
New Comment:
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
http://snaps.php.net/.
Thank you for the report, and for helping us make PHP better.
Fixed in 5.2, 5.3 and HEAD.
Previous Comments:
------------------------------------------------------------------------
[2008-10-07 00:00:47] felipe@php.net
Description:
------------
See below.
Reproduce code:
---------------
<?php
function whatever($a, $b) { var_dump($a, $b);}
ibase_set_event_handler($x, "whatever");
Actual result:
--------------
Hang up
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=46247&edit=1
Thread (3 messages)