nlopess         Wed Feb 14 19:48:18 2007 UTC

  Modified files:              
    /phpdoc/en/reference/exec/functions proc-terminate.xml 
  Log:
  document the php 5.2.2 changes: the resource is no longer destroyed
  
http://cvs.php.net/viewvc.cgi/phpdoc/en/reference/exec/functions/proc-terminate.xml?r1=1.7&r2=1.8&diff_format=u
Index: phpdoc/en/reference/exec/functions/proc-terminate.xml
diff -u phpdoc/en/reference/exec/functions/proc-terminate.xml:1.7 
phpdoc/en/reference/exec/functions/proc-terminate.xml:1.8
--- phpdoc/en/reference/exec/functions/proc-terminate.xml:1.7   Fri Apr 14 
09:28:33 2006
+++ phpdoc/en/reference/exec/functions/proc-terminate.xml       Wed Feb 14 
19:48:18 2007
@@ -1,5 +1,5 @@
 <?xml version="1.0" encoding="iso-8859-1"?>
-<!-- $Revision: 1.7 $ -->
+<!-- $Revision: 1.8 $ -->
 <refentry id='function.proc-terminate'>
  <refnamediv>
   <refname>proc_terminate</refname>
@@ -9,7 +9,7 @@
  <refsect1 role="description">
   &reftitle.description;
   <methodsynopsis>
-   <type>int</type><methodname>proc_terminate</methodname>
+   <type>bool</type><methodname>proc_terminate</methodname>
    
<methodparam><type>resource</type><parameter>process</parameter></methodparam>
    <methodparam 
choice="opt"><type>int</type><parameter>signal</parameter></methodparam>
   </methodsynopsis>
@@ -30,6 +30,8 @@
    <function>proc_terminate</function> allows you terminate the process and
    continue with other tasks.  You may poll the process (to see if it has
    stopped yet) by using the <function>proc_get_status</function> function.
+   However this is only possible with PHP 5.2.2 or newer, as previous versions
+   destroyed the given process <parameter>resource</parameter>.
   </para>
  </refsect1>
 

Reply via email to