From fb70264f425fef5e493ba42bfcdde8b811d651d8 Mon Sep 17 00:00:00 2001 From: Daniel Egeberg Date: Thu, 29 Apr 2010 08:33:49 +0000 Subject: [PATCH] Clarified the parameter's requirements. git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@298761 c90b9560-bf6c-de11-be94-00142212c4b1 --- reference/array/functions/array-rand.xml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/reference/array/functions/array-rand.xml b/reference/array/functions/array-rand.xml index d30b458f6d..291e10ed38 100644 --- a/reference/array/functions/array-rand.xml +++ b/reference/array/functions/array-rand.xml @@ -33,7 +33,9 @@ num_req - Specifies how many entries you want to pick. + Specifies how many entries you want to pick. Trying to pick more + elements than there are in the array will result in an + E_WARNING level error.