0

If, during a normal HTTP request, the connection is accidentally terminated as a PHP script is being executed, will the script terminate too or will it continue executing?

Peter
  • 648
  • 7
  • 26

1 Answers1

1

You can decide whether or not you want a client disconnect to cause your script to be aborted.

The default behaviour is however for your script to be aborted when the remote client disconnects.

PHP Connection handling