From:             me at thomaskeller dot biz
Operating system: Linux
PHP version:      5.3.0alpha3
PHP Bug Type:     PCNTL related
Bug description:  pcntl_signal needs declare(ticks) which is deprecated since 
5.3

Description:
------------
To state the PHP docs on register_tick_function
(http://de2.php.net/manual/en/function.register-tick-function.php):

"5.3.0           Ticks are now deprecated and register_tick_function()  now
throws an E_DEPRECATED notice."

However, ticks are needed for pcntl_signal to process signal interrupts
(pcntl_signal uses them since 4.3). Deprecating ticks will make cli scripts
written in PHP pretty much useless if there is no signal handling
available. The documentation also misses to outline alternatives for signal
handling from 5.3 onwards.

Reproduce code:
---------------
n/a

Expected result:
----------------
n/a

Actual result:
--------------
n/a

-- 
Edit bug report at http://bugs.php.net/?id=47198&edit=1
-- 
Try a CVS snapshot (PHP 5.2):        
http://bugs.php.net/fix.php?id=47198&r=trysnapshot52
Try a CVS snapshot (PHP 5.3):        
http://bugs.php.net/fix.php?id=47198&r=trysnapshot53
Try a CVS snapshot (PHP 6.0):        
http://bugs.php.net/fix.php?id=47198&r=trysnapshot60
Fixed in CVS:                        
http://bugs.php.net/fix.php?id=47198&r=fixedcvs
Fixed in CVS and need be documented: 
http://bugs.php.net/fix.php?id=47198&r=needdocs
Fixed in release:                    
http://bugs.php.net/fix.php?id=47198&r=alreadyfixed
Need backtrace:                      
http://bugs.php.net/fix.php?id=47198&r=needtrace
Need Reproduce Script:               
http://bugs.php.net/fix.php?id=47198&r=needscript
Try newer version:                   
http://bugs.php.net/fix.php?id=47198&r=oldversion
Not developer issue:                 
http://bugs.php.net/fix.php?id=47198&r=support
Expected behavior:                   
http://bugs.php.net/fix.php?id=47198&r=notwrong
Not enough info:                     
http://bugs.php.net/fix.php?id=47198&r=notenoughinfo
Submitted twice:                     
http://bugs.php.net/fix.php?id=47198&r=submittedtwice
register_globals:                    
http://bugs.php.net/fix.php?id=47198&r=globals
PHP 4 support discontinued:          http://bugs.php.net/fix.php?id=47198&r=php4
Daylight Savings:                    http://bugs.php.net/fix.php?id=47198&r=dst
IIS Stability:                       
http://bugs.php.net/fix.php?id=47198&r=isapi
Install GNU Sed:                     
http://bugs.php.net/fix.php?id=47198&r=gnused
Floating point limitations:          
http://bugs.php.net/fix.php?id=47198&r=float
No Zend Extensions:                  
http://bugs.php.net/fix.php?id=47198&r=nozend
MySQL Configuration Error:           
http://bugs.php.net/fix.php?id=47198&r=mysqlcfg

Reply via email to