Re: cvs: php-src /ext/standard/tests/array array_splice_basic.phpt array_splice_errors.phpt array_splice_variation1.phpt array_splice_variation2.phpt
array_splice_variation3.phpt array_splice_variation4.phpt

From: Date: Fri, 26 Oct 2007 17:00:56 +0000
Subject: Re: cvs: php-src /ext/standard/tests/array array_splice_basic.phpt array_splice_errors.phpt array_splice_variation1.phpt array_splice_variation2.phpt
array_splice_variation3.phpt array_splice_variation4.phpt
References: 1 2  Groups: php.cvs 
Request: Send a blank email to php-cvs+get-46793@lists.php.net to get a copy of this message
Marcus Boerger wrote:
$input_array=array (array(1,2)); $input_array[]=&$input_array[0]; var_dump (array_splice ($input_array[0],1,1)); var_dump ($input_array);
    
Rob - are you using the test case generator to help produce these? If so
I should maybe modify the formatting to meet the guidelines? Also - an earlier version of the generator did add blank --INI-- sections - but I think I took that out (I certainly meant to). I'll check and fix if I forgot. Zoe
Our normal coding style has no space between function and opening brace. But we do have spaces after commas and between operators. Sharing that style makes the code much more readable to all people that deal with tests. Best regards, Marcus


« previous php.cvs (#46793) next »