#46247 [Asn->Csd]: ibase_set_event_handler() is allowing to pass callback without event

From: Date: Tue, 07 Oct 2008 15:32:22 +0000
Subject: #46247 [Asn->Csd]: ibase_set_event_handler() is allowing to pass callback without event
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-129543@lists.php.net to get a copy of this message
 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)

« previous php.bugs (#129543) next »