> Even when there is parameter to pass, user has to create variable always. > > select_select([$a], [$b], [$c], 10); > > fails with E_ERROR, while > > $x = [$a]; > $y = [$b]; > $z = [$c]; > stream_select($x, $y, $z, 10); > > works, but It does not look nice.
>From the documentation: "Also do not forget that those arrays are passed by reference and will be modified after stream_select() returns." These modify by reference; ignoring this is almost *certainly* a bug on your part. -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php