summaryrefslogtreecommitdiff
path: root/ext/pcntl/tests/pcntl_fork_variation.phpt
diff options
context:
space:
mode:
authorPeter Kokot <peterkokot@gmail.com>2018-10-14 17:45:48 +0200
committerPeter Kokot <peterkokot@gmail.com>2018-10-14 19:45:12 +0200
commit782352c54ad69c517e3c32b0dd2c25d74842647a (patch)
tree220bdc1e814e9f44b3578d49b3f239a3fdefa1d0 /ext/pcntl/tests/pcntl_fork_variation.phpt
parent604d4bdae5037e021c1f9d35f08cbeddd610d84c (diff)
downloadphp-git-782352c54ad69c517e3c32b0dd2c25d74842647a.tar.gz
Trim trailing whitespace in *.phpt
Diffstat (limited to 'ext/pcntl/tests/pcntl_fork_variation.phpt')
-rw-r--r--ext/pcntl/tests/pcntl_fork_variation.phpt16
1 files changed, 8 insertions, 8 deletions
diff --git a/ext/pcntl/tests/pcntl_fork_variation.phpt b/ext/pcntl/tests/pcntl_fork_variation.phpt
index 4eea07181c..4a83966533 100644
--- a/ext/pcntl/tests/pcntl_fork_variation.phpt
+++ b/ext/pcntl/tests/pcntl_fork_variation.phpt
@@ -16,24 +16,24 @@ echo "*** Testing the process isolations between a process and its forks ***\n";
$pid = pcntl_fork();
if ($pid > 0) {
- pcntl_wait($status);
+ pcntl_wait($status);
echo "father is $pid\n";
- if (!isset($pid2))
+ if (!isset($pid2))
{
echo "father ($pid) doesn't know its grandsons\n";
}
-}
-else
+}
+else
{
echo "son ($pid)\n";
$pid2 = pcntl_fork();
if ($pid2 > 0)
- {
- pcntl_wait($status2);
+ {
+ pcntl_wait($status2);
echo "son is father of $pid2\n";
- }
- else
+ }
+ else
{
echo "grandson ($pid2)\n";
}