ID:               38796
 Updated by:       [EMAIL PROTECTED]
 Reported By:      fiw at mail dot ru
-Status:           Open
+Status:           Bogus
 Bug Type:         PCNTL related
 Operating System: FreeBSD 6.1
 PHP Version:      5.1.6
 New Comment:

Child process is just a copy of parent process.
That's how fork() call works.
Constructors are not called, because they were called in the child
process, _before_ the fork() call.


Previous Comments:
------------------------------------------------------------------------

[2006-09-12 19:55:24] fiw at mail dot ru

But why child process calls only every destructors and not calls they
constructors (from any objects)?

------------------------------------------------------------------------

[2006-09-12 19:38:33] [EMAIL PROTECTED]

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] [EMAIL PROTECTED]

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.

------------------------------------------------------------------------

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

Reply via email to