#44403 [Opn->Csd]: register_tick_function() does not check for a valid callback

From: Date: Mon, 30 Jun 2008 11:42:57 +0000
Subject: #44403 [Opn->Csd]: register_tick_function() does not check for a valid callback
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-126111@lists.php.net to get a copy of this message
 ID:               44403
 Updated by:       kalle@php.net
 Reported By:      kalle@php.net
-Status:           Open
+Status:           Closed
 Bug Type:         Scripting Engine problem
 Operating System: Windows Vista
 PHP Version:      5.2.5
 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_3 by Iliaa


Previous Comments:
------------------------------------------------------------------------

[2008-03-11 00:19:43] kalle@php.net

Description:
------------
register_tick_function() does not check if the first parameter is a
valid callback.

Reproduce code:
---------------
<?php
	register_tick_function('non_existing_function');
?>

Expected result:
----------------
Warning: 'non_existing_function' is not a valid callback in
C:\webserver\webroot\program.php on line 2

... or something similar

Actual result:
--------------
No error issued


------------------------------------------------------------------------


-- 
Edit this bug report at http://bugs.php.net/?id=44403&edit=1



Thread (1 message)

  • kalle@php.net
  • Unknown Message
    • kalle@php.net
« previous php.bugs (#126111) next »