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

From: Date: Tue, 11 Mar 2008 00:21:45 +0000
Subject: #44403 [Opn]: register_tick_function() does not check for a valid callback
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-123164@lists.php.net to get a copy of this message
ID: 44403 User updated by: kalle@php.net Reported By: kalle@php.net Status: Open -Bug Type: Website problem +Bug Type: Scripting Engine problem Operating System: Windows Vista -PHP Version: Irrelevant +PHP Version: 5.2.5 New Comment: Changed category to Scripting Engine problem insted of website problem, don't know what happend 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

« previous php.bugs (#123164) next »