nicholsr                Fri Oct 26 11:02:04 2007 UTC

  Added files:                 (Branch: PHP_5_2)
    /php-src/ext/standard/tests/array   min_error.phpt max_basic.phpt 
                                        min_variation2.phpt 
                                        min_basic.phpt 
                                        max_variation2.phpt 
                                        max_error.phpt 
                                        max_variation1.phpt 
                                        min_variation1.phpt 
  Log:
  new testcases for max and min
  
http://cvs.php.net/viewvc.cgi/php-src/ext/standard/tests/array/min_error.phpt?view=markup&rev=1.1
Index: php-src/ext/standard/tests/array/min_error.phpt
+++ php-src/ext/standard/tests/array/min_error.phpt
--TEST--
Test wrong number of arguments for min()
--INI--
--FILE--
<?php
/* 
 * proto mixed min(mixed arg1 [, mixed arg2 [, mixed ...]])
 * Function is implemented in ext/standard/array.c
*/ 


echo "\n*** Testing Error Conditions ***\n";

var_dump(min());
var_dump(min(1));
var_dump(min(array()));
var_dump(min(new stdclass));

?>
--EXPECTF--

*** Testing Error Conditions ***

Warning: min(): At%seast one %s on line %d
NULL

Warning: Wrong parameter count for min() in %s on line %d
NULL

Warning: min(): Array must contain at%seast one element in %s on line %d
bool(false)

Warning: Wrong parameter count for min() in %s on line %d
NULL
--UEXPECTF--

*** Testing Error Conditions ***

Warning: min(): At%seast one %s on line %d
NULL

Warning: Wrong parameter count for min() in %s on line %d
NULL

Warning: min(): Array must contain at%seast one element in %s on line %d
bool(false)

Warning: Wrong parameter count for min() in %s on line %d
NULL


http://cvs.php.net/viewvc.cgi/php-src/ext/standard/tests/array/max_basic.phpt?view=markup&rev=1.1
Index: php-src/ext/standard/tests/array/max_basic.phpt
+++ php-src/ext/standard/tests/array/max_basic.phpt
--TEST--
Test return type and value for expected input max()
--INI--
--FILE--
<?php
/* 
 * proto mixed max(mixed arg1 [, mixed arg2 [, mixed ...]])
 * Function is implemented in ext/standard/array.c
*/ 

echo "\n*** Testing sequences of numbers ***\n";

var_dump(max(2,1,2));
var_dump(max(-2,1,2));
var_dump(max(2.1,2.11,2.09));
var_dump(max("", "t", "b"));
var_dump(max(false, true, false));
var_dump(max(true, false, true));
var_dump(max(1, true, false, true));
var_dump(max(0, true, false, true));
var_dump(max(0, 1, array(2,3)));

echo "\nDone\n";
?>
--EXPECT--

*** Testing sequences of numbers ***
int(2)
int(2)
float(2.11)
string(1) "t"
bool(true)
bool(true)
int(1)
bool(true)
array(2) {
  [0]=>
  int(2)
  [1]=>
  int(3)
}

Done
--UEXPECT--

*** Testing sequences of numbers ***
int(2)
int(2)
float(2.11)
unicode(1) "t"
bool(true)
bool(true)
int(1)
bool(true)
array(2) {
  [0]=>
  int(2)
  [1]=>
  int(3)
}

Done
http://cvs.php.net/viewvc.cgi/php-src/ext/standard/tests/array/min_variation2.phpt?view=markup&rev=1.1
Index: php-src/ext/standard/tests/array/min_variation2.phpt
+++ php-src/ext/standard/tests/array/min_variation2.phpt
--TEST--
Test variations in usage of min()
--INI--
--FILE--
<?php
/* 
 * proto mixed min(mixed arg1 [, mixed arg2 [, mixed ...]])
 * Function is implemented in ext/standard/array.c
*/ 

echo "\n*** Testing arrays  ***\n";

var_dump(min(array(2,1,2)));
var_dump(min(array(-2,1,2)));
var_dump(min(array(2.1,2.11,2.09)));
var_dump(min(array("", "t", "b")));
var_dump(min(array(false, true, false)));
var_dump(min(array(true, false, true)));
var_dump(min(array(1, true, false, true)));
var_dump(min(array(0, true, false, true)));
var_dump(min(array(0, 1, array(2,3))));
var_dump(min(array(2147483645, 2147483646)));
var_dump(min(array(2147483647, 2147483648)));
var_dump(min(array(2147483646, 2147483648)));
var_dump(min(array(-2147483647, -2147483646)));
var_dump(min(array(-2147483648, -2147483647)));
var_dump(min(array(-2147483649, -2147483647)));

echo "\nDone\n";

?>
--EXPECT--

*** Testing arrays  ***
int(1)
int(-2)
float(2.09)
string(0) ""
bool(false)
bool(false)
bool(false)
int(0)
int(0)
int(2147483645)
int(2147483647)
int(2147483646)
int(-2147483647)
float(-2147483648)
float(-2147483649)

Done
--UEXPECT--

*** Testing arrays  ***
int(1)
int(-2)
float(2.09)
unicode(0) ""
bool(false)
bool(false)
bool(false)
int(0)
int(0)
int(2147483645)
int(2147483647)
int(2147483646)
int(-2147483647)
float(-2147483648)
float(-2147483649)

Done
http://cvs.php.net/viewvc.cgi/php-src/ext/standard/tests/array/min_basic.phpt?view=markup&rev=1.1
Index: php-src/ext/standard/tests/array/min_basic.phpt
+++ php-src/ext/standard/tests/array/min_basic.phpt
--TEST--
Test return type and value for expected input min()
--INI--
--FILE--
<?php
/* 
 * proto mixed min(mixed arg1 [, mixed arg2 [, mixed ...]])
 * Function is implemented in ext/standard/array.c
*/ 

echo "\n*** Testing sequences of numbers ***\n";

var_dump(min(2,1,2));
var_dump(min(-2,1,2));
var_dump(min(2.1,2.11,2.09));
var_dump(min("", "t", "b"));
var_dump(min(false, true, false));
var_dump(min(true, false, true));
var_dump(min(1, true, false, true));
var_dump(min(0, true, false, true));
var_dump(min(0, 1, array(2,3)));

echo "\nDone\n";
?>
--EXPECT--

*** Testing sequences of numbers ***
int(1)
int(-2)
float(2.09)
string(0) ""
bool(false)
bool(false)
bool(false)
int(0)
int(0)

Done
--UEXPECT--

*** Testing sequences of numbers ***
int(1)
int(-2)
float(2.09)
unicode(0) ""
bool(false)
bool(false)
bool(false)
int(0)
int(0)

Done
http://cvs.php.net/viewvc.cgi/php-src/ext/standard/tests/array/max_variation2.phpt?view=markup&rev=1.1
Index: php-src/ext/standard/tests/array/max_variation2.phpt
+++ php-src/ext/standard/tests/array/max_variation2.phpt
--TEST--
Test variations in usage of max()
--INI--
--FILE--
<?php
/* 
 * proto mixed max(mixed arg1 [, mixed arg2 [, mixed ...]])
 * Function is implemented in ext/standard/array.c
*/ 

echo "\n*** Testing arrays  ***\n";

var_dump(max(array(2,1,2)));
var_dump(max(array(-2,1,2)));
var_dump(max(array(2.1,2.11,2.09)));
var_dump(max(array("", "t", "b")));
var_dump(max(array(false, true, false)));
var_dump(max(array(true, false, true)));
var_dump(max(array(1, true, false, true)));
var_dump(max(array(0, true, false, true)));
var_dump(max(array(0, 1, array(2,3))));
var_dump(max(array(2147483645, 2147483646)));
var_dump(max(array(2147483647, 2147483648)));
var_dump(max(array(2147483646, 2147483648)));
var_dump(max(array(-2147483647, -2147483646)));
var_dump(max(array(-2147483648, -2147483647)));
var_dump(max(array(-2147483649, -2147483647)));

echo "\nDone\n";

?>
--EXPECT--

*** Testing arrays  ***
int(2)
int(2)
float(2.11)
string(1) "t"
bool(true)
bool(true)
int(1)
bool(true)
array(2) {
  [0]=>
  int(2)
  [1]=>
  int(3)
}
int(2147483646)
float(2147483648)
float(2147483648)
int(-2147483646)
int(-2147483647)
int(-2147483647)

Done
--UEXPECT--

*** Testing arrays  ***
int(2)
int(2)
float(2.11)
unicode(1) "t"
bool(true)
bool(true)
int(1)
bool(true)
array(2) {
  [0]=>
  int(2)
  [1]=>
  int(3)
}
int(2147483646)
float(2147483648)
float(2147483648)
int(-2147483646)
int(-2147483647)
int(-2147483647)

Done
http://cvs.php.net/viewvc.cgi/php-src/ext/standard/tests/array/max_error.phpt?view=markup&rev=1.1
Index: php-src/ext/standard/tests/array/max_error.phpt
+++ php-src/ext/standard/tests/array/max_error.phpt
--TEST--
Test wrong number of arguments for min()
--INI--
--FILE--
<?php
/* 
 * proto mixed min(mixed arg1 [, mixed arg2 [, mixed ...]])
 * Function is implemented in ext/standard/array.c
*/ 


echo "\n*** Testing Error Conditions ***\n";

var_dump(max());
var_dump(max(1));
var_dump(max(array()));
var_dump(max(new stdclass));

?>
--EXPECTF--

*** Testing Error Conditions ***

Warning: max(): At%seast one %s on line %d
NULL

Warning: Wrong parameter count for max() in %s on line %d
NULL

Warning: max(): Array must contain at%seast one element in %s on line %d
bool(false)

Warning: Wrong parameter count for max() in %s on line %d
NULL
--UEXPECTF--

*** Testing Error Conditions ***

Warning: max(): At%seast one %s on line %d
NULL

Warning: Wrong parameter count for max() in %s on line %d
NULL

Warning: max(): Array must contain at%seast one element in %s on line %d
bool(false)

Warning: Wrong parameter count for max() in %s on line %d
NULL

http://cvs.php.net/viewvc.cgi/php-src/ext/standard/tests/array/max_variation1.phpt?view=markup&rev=1.1
Index: php-src/ext/standard/tests/array/max_variation1.phpt
+++ php-src/ext/standard/tests/array/max_variation1.phpt
--TEST--
Test variations in usage of max()
--INI--
--FILE--
<?php
/* 
 * proto mixed max(mixed arg1 [, mixed arg2 [, mixed ...]])
 * Function is implemented in ext/standard/array.c
*/ 

echo "\n*** Testing boundary conditions ***\n";
var_dump(max(2147483645, 2147483646) );
var_dump(max(2147483647, 2147483648) );
var_dump(max(2147483646, 2147483648) );
var_dump(max(-2147483647, -2147483646) );
var_dump(max(-2147483648, -2147483647) );
var_dump(max(-2147483649, -2147483647) );

echo "\n*** Testing large number of arguments ***\n";

var_dump(max(0, 1 , 2, 3, 4, 5, 6, 7, 8, 9, 0, 10, 11, 12, 13, 14, 15, 16, 17, 
18, 19, 20,0, 1 , 2, 3, 4, 5, 6, 7, 8, 9, 0, 10, 11, 12, 13, 14, 15, 16, 17, 
18, 19, 20,0, 1 , 2, 3, 4, 5, 6, 7, 8, 9, 0, 10, 11, 12, 13, 14, 15, 16, 17, 
18, 19, 20,0, 1 , 2, 3, 4, 5, 6, 7, 8, 9, 0, 10, 11, 12, 13, 14, 15, 16, 17, 
18, 19, 20,0, 1 , 2, 3, 4, 5, 6, 7, 8, 9, 0, 10, 11, 12, 13, 14, 15, 16, 17, 
18, 19, 20,0, 1 , 2, 3, 4, 5, 6, 7, 8, 9, 0, 10, 11, 12, 13, 14, 15, 16, 17, 
18, 19, 20,0, 1 , 2, 3, 4, 5, 6, 7, 8, 9, 0, 10, 11, 12, 13, 14, 15, 16, 17, 
18, 19, 20,0, 1 , 2, 3, 4, 5, 6, 7, 8, 9, 0, 10, 11, 12, 13, 14, 15, 16, 17, 
18, 19, 20,0, 1 , 2, 3, 4, 5, 6, 7, 8, 9, 0, 10, 11, 12, 13, 14, 15, 16, 17, 
18, 19, 20,0, 1 , 2, 3, 4, 5, 6, 7, 8, 9, 0, 10, 11, 12, 13, 14, 15, 16, 17, 
18, 19, 20,0, 1 , 2, 3, 4, 5, 6, 7, 8, 9, 0, 10, 11, 12, 13, 14, 15, 16, 17, 
18, 19, 20,0, 1 , 2, 3, 4, 5, 6, 7, 8, 9, 0, 10, 11, 12, 13, 14, 15, 16, 17, 
18, 19, 20,0, 1 , 2, 3, 4, 5, 6, 7, 8, 9, 0, 10, 11, 12, 13, 14!
 , 15, 16, 17, 18, 19, 20,0, 1 , 2, 3, 4, 5, 6, 7, 8, 9, 0, 10, 11, 12, 13, 14, 
15, 16, 17, 18, 19, 20,0, 1 , 2, 3, 4, 5, 6, 7, 8, 9, 0, 10, 11, 12, 13, 14, 
15, 16, 17, 18, 19, 20,0, 1 , 2, 3, 4, 5, 6, 7, 8, 9, 0, 10, 11, 12, 13, 14, 
15, 16, 17, 18, 19, 20,0, 1 , 2, 3, 4, 5, 6, 7, 8, 9, 0, 10, 11, 12, 13, 14, 
15, 16, 17, 18, 19, 20,0, 1 , 2, 3, 4, 5, 6, 7, 8, 9, 0, 10, 11, 12, 13, 14, 
15, 16, 17, 18, 19, 20,0, 1 , 2, 3, 4, 5, 6, 7, 8, 9, 0, 10, 11, 12, 13, 14, 
15, 16, 17, 18, 19, 20,0, 1 , 2, 3, 4, 5, 6, 7, 8, 9, 0, 10, 11, 12, 13, 14, 
15, 16, 17, 18, 19, 20,0, 1 , 2, 3, 4, 5, 6, 7, 8, 9, 0, 10, 11, 12, 13, 14, 
15, 16, 17, 18, 19, 20,0, 1 , 2, 3, 4, 5, 6, 7, 8, 9, 0, 10, 11, 12, 13, 14, 
15, 16, 17, 18, 19, 20,0, 1 , 2, 3, 4, 5, 6, 7, 8, 9, 0, 10, 11, 12, 13, 14, 
15, 16, 17, 18, 19, 20,0, 1 , 2, 3, 4, 5, 6, 7, 8, 9, 0, 10, 11, 12, 13, 14, 
15, 16, 17, 18, 19, 20,0, 1 , 2, 3, 4, 5, 6, 7, 8, 9, 0, 10, 11, 12, 13, 14, 
15, 16, 17, 18, 19, 20,0, 1 , 2, 3, 4, 5, 6, 7, 8, 9, 0, 10, 1!
 1, 12, 13, 14, 15, 16, 17, 18, 19, 20,0, 1 , 2, 3, 4, 5, 6, 7, 8, 9, 0
, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20,0, 1 , 2, 3, 4, 5, 6, 7, 8, 9, 0, 
10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20,0, 1 , 2, 3, 4, 5, 6, 7, 8, 9, 0, 
10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20,0, 1 , 2, 3, 4, 5, 6, 7, 8, 9, 0, 
10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20,0, 1 , 2, 3, 4, 5, 6, 7, 8, 9, 0, 
10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20,0, 1 , 2, 3, 4, 5, 6, 7, 8, 9, 0, 
10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20,0, 1 , 2, 3, 4, 5, 6, 7, 8, 9, 0, 
10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20,0, 1 , 2, 3, 4, 5, 6, 7, 8, 9, 0, 
10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20,0, 1 , 2, 3, 4, 5, 6, 7, 8, 9, 0, 
10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20,0, 1 , 2, 3, 4, 5, 6, 7, 8, 9, 0, 
10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20,0, 1 , 2, 3, 4, 5, 6, 7, 8, 9, 0, 
10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20,0, 1 , 2, 3, 4, 5, 6, 7, 8, 9, 0, 
10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20,0, 1 , 2, 3, 4, 5, 6, 7, 8, 9, 0, 
10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20,0, 1 , 2, 3, 4, 5, 6!
 , 7, 8, 9, 0, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20,0, 1 , 2, 3, 4, 5, 6, 
7, 8, 9, 0, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20,0, 1 , 2, 3, 4, 5, 6, 7, 
8, 9, 0, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20,0, 1 , 2, 3, 4, 5, 6, 7, 8, 
9, 0, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20,0, 1 , 2, 3, 4, 5, 6, 7, 8, 9, 
0, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20,0, 1 , 2, 3, 4, 5, 6, 7, 8, 9, 0, 
10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20,0, 1 , 2, 3, 4, 5, 6, 7, 8, 9, 0, 
10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20,0, 1 , 2, 3, 4, 5, 6, 7, 8, 9, 0, 
10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20,0, 1 , 2, 3, 4, 5, 6, 7, 8, 9, 0, 
10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20,0, 1 , 2, 3, 4, 5, 6, 7, 8, 9, 0, 
10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20,0, 1 , 2, 3, 4, 5, 6, 7, 8, 9, 0, 
10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20,0, 1 , 2, 3, 4, 5, 6, 7, 8, 9, 0, 
10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20,0, 1 , 2, 3, 4, 5, 6, 7, 8, 9, 0, 
10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20,0, 1 , !
 2, 3, 4, 5, 6, 7, 8, 9, 0, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20,
0, 1 , 2, 3, 4, 5, 6, 7, 8, 9, 0, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20,0, 
1 , 2, 3, 4, 5, 6, 7, 8, 9, 0, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20,0, 1 
, 2, 3, 4, 5, 6, 7, 8, 9, 0, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20,21));

echo "\nDone\n";
?>
--EXPECT--

*** Testing boundary conditions ***
int(2147483646)
float(2147483648)
float(2147483648)
int(-2147483646)
int(-2147483647)
int(-2147483647)

*** Testing large number of arguments ***
int(21)

Done
--UEXPECT--

*** Testing boundary conditions ***
int(2147483646)
float(2147483648)
float(2147483648)
int(-2147483646)
int(-2147483647)
int(-2147483647)

*** Testing large number of arguments ***
int(21)

Done
http://cvs.php.net/viewvc.cgi/php-src/ext/standard/tests/array/min_variation1.phpt?view=markup&rev=1.1
Index: php-src/ext/standard/tests/array/min_variation1.phpt
+++ php-src/ext/standard/tests/array/min_variation1.phpt
--TEST--
Test variations in usage of min()
--INI--
--FILE--
<?php
/* 
 * proto mixed min(mixed arg1 [, mixed arg2 [, mixed ...]])
 * Function is implemented in ext/standard/array.c
*/ 

echo "\n*** Testing boundary conditions ***\n";
var_dump(min(2147483645, 2147483646) );
var_dump(min(2147483647, 2147483648) );
var_dump(min(2147483646, 2147483648) );
var_dump(min(-2147483647, -2147483646) );
var_dump(min(-2147483648, -2147483647) );
var_dump(min(-2147483649, -2147483647) );

echo "\n*** Testing large number of arguments ***\n";

var_dump(min(0, 1 , 2, 3, 4, 5, 6, 7, 8, 9, 0, 10, 11, 12, 13, 14, 15, 16, 17, 
18, 19, 20,0, 1 , 2, 3, 4, 5, 6, 7, 8, 9, 0, 10, 11, 12, 13, 14, 15, 16, 17, 
18, 19, 20,0, 1 , 2, 3, 4, 5, 6, 7, 8, 9, 0, 10, 11, 12, 13, 14, 15, 16, 17, 
18, 19, 20,0, 1 , 2, 3, 4, 5, 6, 7, 8, 9, 0, 10, 11, 12, 13, 14, 15, 16, 17, 
18, 19, 20,0, 1 , 2, 3, 4, 5, 6, 7, 8, 9, 0, 10, 11, 12, 13, 14, 15, 16, 17, 
18, 19, 20,0, 1 , 2, 3, 4, 5, 6, 7, 8, 9, 0, 10, 11, 12, 13, 14, 15, 16, 17, 
18, 19, 20,0, 1 , 2, 3, 4, 5, 6, 7, 8, 9, 0, 10, 11, 12, 13, 14, 15, 16, 17, 
18, 19, 20,0, 1 , 2, 3, 4, 5, 6, 7, 8, 9, 0, 10, 11, 12, 13, 14, 15, 16, 17, 
18, 19, 20,0, 1 , 2, 3, 4, 5, 6, 7, 8, 9, 0, 10, 11, 12, 13, 14, 15, 16, 17, 
18, 19, 20,0, 1 , 2, 3, 4, 5, 6, 7, 8, 9, 0, 10, 11, 12, 13, 14, 15, 16, 17, 
18, 19, 20,0, 1 , 2, 3, 4, 5, 6, 7, 8, 9, 0, 10, 11, 12, 13, 14, 15, 16, 17, 
18, 19, 20,0, 1 , 2, 3, 4, 5, 6, 7, 8, 9, 0, 10, 11, 12, 13, 14, 15, 16, 17, 
18, 19, 20,0, 1 , 2, 3, 4, 5, 6, 7, 8, 9, 0, 10, 11, 12, 13, 14!
 , 15, 16, 17, 18, 19, 20,0, 1 , 2, 3, 4, 5, 6, 7, 8, 9, 0, 10, 11, 12, 13, 14, 
15, 16, 17, 18, 19, 20,0, 1 , 2, 3, 4, 5, 6, 7, 8, 9, 0, 10, 11, 12, 13, 14, 
15, 16, 17, 18, 19, 20,0, 1 , 2, 3, 4, 5, 6, 7, 8, 9, 0, 10, 11, 12, 13, 14, 
15, 16, 17, 18, 19, 20,0, 1 , 2, 3, 4, 5, 6, 7, 8, 9, 0, 10, 11, 12, 13, 14, 
15, 16, 17, 18, 19, 20,0, 1 , 2, 3, 4, 5, 6, 7, 8, 9, 0, 10, 11, 12, 13, 14, 
15, 16, 17, 18, 19, 20,0, 1 , 2, 3, 4, 5, 6, 7, 8, 9, 0, 10, 11, 12, 13, 14, 
15, 16, 17, 18, 19, 20,0, 1 , 2, 3, 4, 5, 6, 7, 8, 9, 0, 10, 11, 12, 13, 14, 
15, 16, 17, 18, 19, 20,0, 1 , 2, 3, 4, 5, 6, 7, 8, 9, 0, 10, 11, 12, 13, 14, 
15, 16, 17, 18, 19, 20,0, 1 , 2, 3, 4, 5, 6, 7, 8, 9, 0, 10, 11, 12, 13, 14, 
15, 16, 17, 18, 19, 20,0, 1 , 2, 3, 4, 5, 6, 7, 8, 9, 0, 10, 11, 12, 13, 14, 
15, 16, 17, 18, 19, 20,0, 1 , 2, 3, 4, 5, 6, 7, 8, 9, 0, 10, 11, 12, 13, 14, 
15, 16, 17, 18, 19, 20,0, 1 , 2, 3, 4, 5, 6, 7, 8, 9, 0, 10, 11, 12, 13, 14, 
15, 16, 17, 18, 19, 20,0, 1 , 2, 3, 4, 5, 6, 7, 8, 9, 0, 10, 1!
 1, 12, 13, 14, 15, 16, 17, 18, 19, 20,0, 1 , 2, 3, 4, 5, 6, 7, 8, 9, 0
, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20,0, 1 , 2, 3, 4, 5, 6, 7, 8, 9, 0, 
10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20,0, 1 , 2, 3, 4, 5, 6, 7, 8, 9, 0, 
10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20,0, 1 , 2, 3, 4, 5, 6, 7, 8, 9, 0, 
10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20,0, 1 , 2, 3, 4, 5, 6, 7, 8, 9, 0, 
10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20,0, 1 , 2, 3, 4, 5, 6, 7, 8, 9, 0, 
10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20,0, 1 , 2, 3, 4, 5, 6, 7, 8, 9, 0, 
10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20,0, 1 , 2, 3, 4, 5, 6, 7, 8, 9, 0, 
10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20,0, 1 , 2, 3, 4, 5, 6, 7, 8, 9, 0, 
10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20,0, 1 , 2, 3, 4, 5, 6, 7, 8, 9, 0, 
10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20,0, 1 , 2, 3, 4, 5, 6, 7, 8, 9, 0, 
10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20,0, 1 , 2, 3, 4, 5, 6, 7, 8, 9, 0, 
10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20,0, 1 , 2, 3, 4, 5, 6, 7, 8, 9, 0, 
10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20,0, 1 , 2, 3, 4, 5, 6!
 , 7, 8, 9, 0, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20,0, 1 , 2, 3, 4, 5, 6, 
7, 8, 9, 0, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20,0, 1 , 2, 3, 4, 5, 6, 7, 
8, 9, 0, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20,0, 1 , 2, 3, 4, 5, 6, 7, 8, 
9, 0, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20,0, 1 , 2, 3, 4, 5, 6, 7, 8, 9, 
0, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20,0, 1 , 2, 3, 4, 5, 6, 7, 8, 9, 0, 
10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20,0, 1 , 2, 3, 4, 5, 6, 7, 8, 9, 0, 
10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20,0, 1 , 2, 3, 4, 5, 6, 7, 8, 9, 0, 
10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20,0, 1 , 2, 3, 4, 5, 6, 7, 8, 9, 0, 
10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20,0, 1 , 2, 3, 4, 5, 6, 7, 8, 9, 0, 
10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20,0, 1 , 2, 3, 4, 5, 6, 7, 8, 9, 0, 
10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20,0, 1 , 2, 3, 4, 5, 6, 7, 8, 9, 0, 
10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20,0, 1 , 2, 3, 4, 5, 6, 7, 8, 9, 0, 
10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20,0, 1 , !
 2, 3, 4, 5, 6, 7, 8, 9, 0, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20,
0, 1 , 2, 3, 4, 5, 6, 7, 8, 9, 0, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20,0, 
1 , 2, 3, 4, 5, 6, 7, 8, 9, 0, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20,0, 1 
, 2, 3, 4, 5, 6, 7, 8, 9, 0, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20,21));

echo "\nDone\n";
?>
--EXPECT--

*** Testing boundary conditions ***
int(2147483645)
int(2147483647)
int(2147483646)
int(-2147483647)
float(-2147483648)
float(-2147483649)

*** Testing large number of arguments ***
int(0)

Done
--UEXPECT--

*** Testing boundary conditions ***
int(2147483645)
int(2147483647)
int(2147483646)
int(-2147483647)
float(-2147483648)
float(-2147483649)

*** Testing large number of arguments ***
int(0)

Done
-- 
PHP CVS Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to