1--TEST-- 2Test function pcntl_rfork() with no flag. 3--EXTENSIONS-- 4pcntl 5posix 6--SKIPIF-- 7<?php 8 if (!function_exists('pcntl_rfork')) die('skip pcntl_rfork unavailable'); 9?> 10--FILE-- 11<?php 12echo "*** Test with no flags ***\n"; 13 14$pid = pcntl_rfork(0); 15if ($pid == 0) { 16 echo "child"; 17 exit; 18} 19?> 20--EXPECT-- 21*** Test with no flags *** 22child 23