Re: Php-cli, scripts freeze on exit

From: Date: Sun, 24 Jan 2010 20:34:12 +0000
Subject: Re: Php-cli, scripts freeze on exit
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-301396@lists.php.net to get a copy of this message
On Mon, Jan 25, 2010 at 1:16 AM, David W. Allor <david@artisanpath.com> wrote: > Hi! > > I'm using php-cli 5.3.1. > > When I run php from the command line, the script does not return me to > the command prompt when exited. The script always completes, but it has > to be killed to release it's resources. > > I've created a little working example: > > > #!/usr/bin/php > <? > echo 'hellu'; > exit(0); > ?> What if you dont use any exit(0) ?? -- Shiplu Mokaddim My talks, http://talk.cmyweb.net Follow me, http://twitter.com/shiplu SUST Programmers, http://groups.google.com/group/p2psust Innovation distinguishes bet ... ... (ask Steve Jobs the rest)

« previous php.general (#301396) next »