#38796 [Bgs->Opn]: Self-call __destructor from child process
| From: | fiw at mail dot ru | Date: | Tue, 12 Sep 2006 19:55:24 +0000 |
| Subject: | #38796 [Bgs->Opn]: Self-call __destructor from child process | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-102072@lists.php.net to get a copy of this message | ||
ID: 38796
User updated by: fiw at mail dot ru
Reported By: fiw at mail dot ru
-Status: Bogus
+Status: Open
Bug Type: PCNTL related
Operating System: FreeBSD 6.1
PHP Version: 5.1.6
New Comment:
But why child process calls only every destructors and not calls they
constructors (from any objects)?
Previous Comments:
------------------------------------------------------------------------
[2006-09-12 19:38:33] tony2001@php.net
fork() duplicates the parent environment, including all the variables
and objects. Apparently child processes call destructors, as usual PHP
processes.
No bug here.
------------------------------------------------------------------------
[2006-09-12 19:31:33] fiw at mail dot ru
Ok, thanks. You can check your mailbox.
------------------------------------------------------------------------
[2006-09-12 19:18:29] tony2001@php.net
Feel free to use private mail and Russian.
------------------------------------------------------------------------
[2006-09-12 19:16:18] fiw at mail dot ru
Sorry, I don't know english much well. But you can see this bug in
expected result - child process call not own destructors.
------------------------------------------------------------------------
[2006-09-12 19:08:14] tony2001@php.net
What do you want me to check?
Care to describe what's your problem with some more words.
------------------------------------------------------------------------
The remainder of the comments for this report are too long. To view
the rest of the comments, please view the bug report online at
http://bugs.php.net/38796
--
Edit this bug report at http://bugs.php.net/?id=38796&edit=1