Doc #63301 [NEW]: pcntl_signal example is making a parse_error

From: Date: Thu, 18 Oct 2012 08:47:44 +0000
Subject: Doc #63301 [NEW]: pcntl_signal example is making a parse_error
Groups: php.doc.bugs 
Request: Send a blank email to doc-bugs+get-8972@lists.php.net to get a copy of this message
From: odoucet@php.net Operating system: PHP version: Irrelevant Package: Documentation problem Bug Type: Documentation Problem Bug description:pcntl_signal example is making a parse_error Description: ------------ --- From manual page: http://www.php.net/function.pcntl-signal#refsect1- function.pcntl-signal-examples --- Example commented when you want to give an object and a method name to pcntl_signal 2nd arg is not correct, there is a parenthesis misssing. Before: pcntl_signal(SIGUSR1, array($obj, "do_something"); After: pcntl_signal(SIGUSR1, array($obj, "do_something")); -- Edit bug report at https://bugs.php.net/bug.php?id=63301&edit=1 -- Try a snapshot (PHP 5.4): https://bugs.php.net/fix.php?id=63301&r=trysnapshot54 Try a snapshot (PHP 5.3): https://bugs.php.net/fix.php?id=63301&r=trysnapshot53 Try a snapshot (trunk): https://bugs.php.net/fix.php?id=63301&r=trysnapshottrunk Fixed in SVN: https://bugs.php.net/fix.php?id=63301&r=fixed Fixed in release: https://bugs.php.net/fix.php?id=63301&r=alreadyfixed Need backtrace: https://bugs.php.net/fix.php?id=63301&r=needtrace Need Reproduce Script: https://bugs.php.net/fix.php?id=63301&r=needscript Try newer version: https://bugs.php.net/fix.php?id=63301&r=oldversion Not developer issue: https://bugs.php.net/fix.php?id=63301&r=support Expected behavior: https://bugs.php.net/fix.php?id=63301&r=notwrong Not enough info: https://bugs.php.net/fix.php?id=63301&r=notenoughinfo Submitted twice: https://bugs.php.net/fix.php?id=63301&r=submittedtwice register_globals: https://bugs.php.net/fix.php?id=63301&r=globals PHP 4 support discontinued: https://bugs.php.net/fix.php?id=63301&r=php4 Daylight Savings: https://bugs.php.net/fix.php?id=63301&r=dst IIS Stability: https://bugs.php.net/fix.php?id=63301&r=isapi Install GNU Sed: https://bugs.php.net/fix.php?id=63301&r=gnused Floating point limitations: https://bugs.php.net/fix.php?id=63301&r=float No Zend Extensions: https://bugs.php.net/fix.php?id=63301&r=nozend MySQL Configuration Error: https://bugs.php.net/fix.php?id=63301&r=mysqlcfg

« previous php.doc.bugs (#8972) next »