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

From: Date: Tue, 07 Oct 2008 00:01:06 +0000
Subject: #46247 [Opn->Asn]: 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-129528@lists.php.net to get a copy of this message
ID: 46247 Updated by: felipe@php.net Reported By: felipe@php.net -Status: Open +Status: Assigned Bug Type: InterBase related PHP Version: 5.3CVS-2008-10-07 (CVS) -Assigned To: +Assigned To: felipe 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

« previous php.bugs (#129528) next »