// float data
10.5,
-10.5,
- 10.5e10,
- 10.6E-10,
+ 10.1234567e10,
+ 10.7654321E-10,
.5,
// array data
-- Iteration 6 --
string(8) "-1 0. 5 "
-- Iteration 7 --
-string(18) "10 50 00 00 00 00 "
+string(18) "10 12 34 56 70 00 "
-- Iteration 8 --
-string(11) "1. 06 E- 9 "
+string(20) "1. 07 65 43 21 E- 9 "
-- Iteration 9 --
string(5) "0. 5 "
-- Iteration 10 --
-Notice: Array to string conversion in %s on line %d
+Notice: Array to string conversion in %s on line 87
string(8) "Ar ra y "
-- Iteration 11 --
-Notice: Array to string conversion in %s on line %d
+Notice: Array to string conversion in %s on line 87
string(8) "Ar ra y "
-- Iteration 12 --
-Notice: Array to string conversion in %s on line %d
+Notice: Array to string conversion in %s on line 87
string(8) "Ar ra y "
-- Iteration 13 --
-Notice: Array to string conversion in %s on line %d
+Notice: Array to string conversion in %s on line 87
string(8) "Ar ra y "
-- Iteration 14 --
-Notice: Array to string conversion in %s on line %d
+Notice: Array to string conversion in %s on line 87
string(8) "Ar ra y "
-- Iteration 15 --
string(1) " "
-- Iteration 27 --
string(1) " "
-- Iteration 28 --
-string(%d) "Re so ur ce i d #%d "
-Done
+string(%d) "Re so ur ce i d #%s "
+Done
\ No newline at end of file
// float data
10.5,
-10.5,
- 10.5e10,
- 10.6E-10,
+ 10.1234567e10,
+ 10.7654321E-10,
.5,
// array data
Warning: chunk_split(): Chunk length should be greater than zero in %s on line %d
bool(false)
-- Iteration 3 --
-string(26) "This is chuklen variation*"
+
+Warning: chunk_split(): Chunk length should be greater than zero in %s on line %d
+bool(false)
-- Iteration 4 --
Warning: chunk_split(): Chunk length should be greater than zero in %s on line %d
Warning: chunk_split(): Chunk length should be greater than zero in %s on line %d
bool(false)
-- Iteration 24 --
-string(30) "This *is ch*uklen* vari*ation*"
-Done
+string(%d) "%s"
+Done
\ No newline at end of file
// float data
10.5,
-10.5,
- 10.5e10,
- 10.6E-10,
+ 10.123456e10,
+ 10.7654321E-10,
.5,
// array data
-- Iteration 6 --
string(52) "This-10.5 is -10.5simp-10.5le s-10.5trin-10.5g.-10.5"
-- Iteration 7 --
-string(94) "This105000000000 is 105000000000simp105000000000le s105000000000trin105000000000g.105000000000"
+string(94) "This101234560000 is 101234560000simp101234560000le s101234560000trin101234560000g.101234560000"
-- Iteration 8 --
-string(64) "This1.06E-9 is 1.06E-9simp1.06E-9le s1.06E-9trin1.06E-9g.1.06E-9"
+string(100) "This1.07654321E-9 is 1.07654321E-9simp1.07654321E-9le s1.07654321E-9trin1.07654321E-9g.1.07654321E-9"
-- Iteration 9 --
string(40) "This0.5 is 0.5simp0.5le s0.5trin0.5g.0.5"
-- Iteration 10 --
string(22) "This is simple string."
-- Iteration 26 --
string(%d) "ThisResource id #%d is Resource id #%dsimpResource id #%dle sResource id #%dtrinResource id #%dg.Resource id #%d"
-Done
+Done
\ No newline at end of file
// float data
10.5,
-10.5,
- 10.5e10,
- 10.6E-10,
+ 10.1234567e10,
+ 10.7654321E-10,
.5,
// array data
foreach($values as $value) {
echo "\n-- Iteration $count --\n";
var_dump( crc32($value) );
+ $count++;
};
// closing the resource
-- Iteration 1 --
int(-186917087)
--- Iteration 1 --
+-- Iteration 2 --
int(-2082672713)
--- Iteration 1 --
+-- Iteration 3 --
int(-873121252)
--- Iteration 1 --
+-- Iteration 4 --
int(1860518047)
--- Iteration 1 --
+-- Iteration 5 --
int(269248583)
--- Iteration 1 --
+-- Iteration 6 --
int(-834950157)
--- Iteration 1 --
-int(-638440228)
+-- Iteration 7 --
+int(-965354630)
--- Iteration 1 --
-int(-742287383)
+-- Iteration 8 --
+int(1376932222)
--- Iteration 1 --
+-- Iteration 9 --
int(-2036403827)
--- Iteration 1 --
+-- Iteration 10 --
Warning: crc32() expects parameter 1 to be string, array given in %s on line %d
NULL
--- Iteration 1 --
+-- Iteration 11 --
Warning: crc32() expects parameter 1 to be string, array given in %s on line %d
NULL
--- Iteration 1 --
+-- Iteration 12 --
Warning: crc32() expects parameter 1 to be string, array given in %s on line %d
NULL
--- Iteration 1 --
+-- Iteration 13 --
Warning: crc32() expects parameter 1 to be string, array given in %s on line %d
NULL
--- Iteration 1 --
+-- Iteration 14 --
Warning: crc32() expects parameter 1 to be string, array given in %s on line %d
NULL
--- Iteration 1 --
+-- Iteration 15 --
int(0)
--- Iteration 1 --
+-- Iteration 16 --
int(0)
--- Iteration 1 --
+-- Iteration 17 --
int(-2082672713)
--- Iteration 1 --
+-- Iteration 18 --
int(0)
--- Iteration 1 --
+-- Iteration 19 --
int(-2082672713)
--- Iteration 1 --
+-- Iteration 20 --
int(0)
--- Iteration 1 --
+-- Iteration 21 --
int(0)
--- Iteration 1 --
+-- Iteration 22 --
int(0)
--- Iteration 1 --
+-- Iteration 23 --
int(-1465013268)
--- Iteration 1 --
+-- Iteration 24 --
int(0)
--- Iteration 1 --
+-- Iteration 25 --
int(0)
--- Iteration 1 --
+-- Iteration 26 --
Warning: crc32() expects parameter 1 to be string, resource given in %s on line %d
NULL
-Done
+Done
\ No newline at end of file
* Alias to functions: none
*/
+error_reporting(E_ALL & ~E_NOTICE);
/*
* Testing strspn() : with different unexpected values for str argument
// float data
10.5,
-10.5,
- 10.5e10,
- 10.6E-10,
+ 10.1234567e10,
+ 10.7654321E-10,
.5,
// array data
// loop through each element of the array for str
foreach($values as $value) {
- echo "\n-- Iteration with str value as \"$value\" \n";
+ echo "\n-- Iteration with str value as \"$value\"\n";
var_dump( strcspn($value,$mask) ); // with default args
var_dump( strcspn($value,$mask,$start) ); // with default len value
var_dump( strcspn($value,$mask,$start,$len) ); // with all args
--EXPECTF--
*** Testing strcspn() : with unexpected values for str argument ***
-Notice: Undefined variable: undefined_var in %s on line %d
-
-Notice: Undefined variable: unset_var in %s on line %d
-
--- Iteration with str value as "0"
+-- Iteration with str value as "0"
int(0)
int(0)
int(0)
--- Iteration with str value as "1"
+-- Iteration with str value as "1"
int(0)
int(0)
int(0)
--- Iteration with str value as "12345"
+-- Iteration with str value as "12345"
int(0)
int(0)
int(0)
--- Iteration with str value as "-2345"
+-- Iteration with str value as "-2345"
int(1)
int(0)
int(0)
--- Iteration with str value as "10.5"
+-- Iteration with str value as "10.5"
int(0)
int(0)
int(0)
--- Iteration with str value as "-10.5"
+-- Iteration with str value as "-10.5"
int(1)
int(0)
int(0)
--- Iteration with str value as "105000000000"
+-- Iteration with str value as "101234567000"
int(0)
int(0)
int(0)
--- Iteration with str value as "1.06E-9"
+-- Iteration with str value as "1.07654321E-9"
int(0)
int(1)
int(1)
--- Iteration with str value as "0.5"
+-- Iteration with str value as "0.5"
int(0)
int(1)
int(1)
--- Iteration with str value as "Array"
+-- Iteration with str value as "Array"
Warning: strcspn() expects parameter 1 to be string, array given in %s on line %d
NULL
Warning: strcspn() expects parameter 1 to be string, array given in %s on line %d
NULL
--- Iteration with str value as "Array"
+-- Iteration with str value as "Array"
Warning: strcspn() expects parameter 1 to be string, array given in %s on line %d
NULL
Warning: strcspn() expects parameter 1 to be string, array given in %s on line %d
NULL
--- Iteration with str value as "Array"
+-- Iteration with str value as "Array"
Warning: strcspn() expects parameter 1 to be string, array given in %s on line %d
NULL
Warning: strcspn() expects parameter 1 to be string, array given in %s on line %d
NULL
--- Iteration with str value as "Array"
+-- Iteration with str value as "Array"
Warning: strcspn() expects parameter 1 to be string, array given in %s on line %d
NULL
Warning: strcspn() expects parameter 1 to be string, array given in %s on line %d
NULL
--- Iteration with str value as "Array"
+-- Iteration with str value as "Array"
Warning: strcspn() expects parameter 1 to be string, array given in %s on line %d
NULL
Warning: strcspn() expects parameter 1 to be string, array given in %s on line %d
NULL
--- Iteration with str value as ""
+-- Iteration with str value as ""
int(0)
bool(false)
bool(false)
--- Iteration with str value as ""
+-- Iteration with str value as ""
int(0)
bool(false)
bool(false)
--- Iteration with str value as "1"
+-- Iteration with str value as "1"
int(0)
int(0)
int(0)
--- Iteration with str value as ""
+-- Iteration with str value as ""
int(0)
bool(false)
bool(false)
--- Iteration with str value as "1"
+-- Iteration with str value as "1"
int(0)
int(0)
int(0)
--- Iteration with str value as ""
+-- Iteration with str value as ""
int(0)
bool(false)
bool(false)
--- Iteration with str value as ""
+-- Iteration with str value as ""
int(0)
bool(false)
bool(false)
--- Iteration with str value as ""
+-- Iteration with str value as ""
int(0)
bool(false)
bool(false)
--- Iteration with str value as "object"
+-- Iteration with str value as "object"
int(0)
int(0)
int(0)
--- Iteration with str value as ""
+-- Iteration with str value as ""
int(0)
bool(false)
bool(false)
--- Iteration with str value as ""
+-- Iteration with str value as ""
int(0)
bool(false)
bool(false)
--- Iteration with str value as "Resource id #%d"
+-- Iteration with str value as "Resource id #%d"
Warning: strcspn() expects parameter 1 to be string, resource given in %s on line %d
NULL
Warning: strcspn() expects parameter 1 to be string, resource given in %s on line %d
NULL
-Done
+Done
\ No newline at end of file
* Alias to functions: none
*/
+error_reporting(E_ALL & ~E_NOTICE);
+
/*
* Testing strcspn() : with different unexpected values for mask argument
*/
// float data
10.5,
-10.5,
- 10.5e10,
- 10.6E-10,
+ 10.1234567e10,
+ 10.7654321E-10,
.5,
// array data
// loop through each element of the array for mask
foreach($values as $value) {
- echo "\n-- Iteration with mask value as \"$value\" -- \n";
+ echo "\n-- Iteration with mask value as \"$value\" --\n";
var_dump( strcspn($str,$value) ); // with defalut args
var_dump( strcspn($str,$value,$start) ); // with default len value
var_dump( strcspn($str,$value,$start,$len) ); // with all args
--EXPECTF--
*** Testing strcspn() : with diferent unexpected values of mask argument ***
-Notice: Undefined variable: undefined_var in %s on line %d
-
-Notice: Undefined variable: unset_var in %s on line %d
-
--- Iteration with mask value as "0" --
+-- Iteration with mask value as "0" --
int(10)
int(9)
int(9)
--- Iteration with mask value as "1" --
+-- Iteration with mask value as "1" --
int(10)
int(9)
int(9)
--- Iteration with mask value as "12345" --
+-- Iteration with mask value as "12345" --
int(10)
int(9)
int(9)
--- Iteration with mask value as "-2345" --
+-- Iteration with mask value as "-2345" --
int(10)
int(9)
int(9)
--- Iteration with mask value as "10.5" --
+-- Iteration with mask value as "10.5" --
int(10)
int(9)
int(9)
--- Iteration with mask value as "-10.5" --
+-- Iteration with mask value as "-10.5" --
int(10)
int(9)
int(9)
--- Iteration with mask value as "105000000000" --
+-- Iteration with mask value as "101234567000" --
int(10)
int(9)
int(9)
--- Iteration with mask value as "1.06E-9" --
+-- Iteration with mask value as "1.07654321E-9" --
int(10)
int(9)
int(9)
--- Iteration with mask value as "0.5" --
+-- Iteration with mask value as "0.5" --
int(10)
int(9)
int(9)
--- Iteration with mask value as "Array" --
+-- Iteration with mask value as "Array" --
Warning: strcspn() expects parameter 2 to be string, array given in %s on line %d
NULL
Warning: strcspn() expects parameter 2 to be string, array given in %s on line %d
NULL
--- Iteration with mask value as "Array" --
+-- Iteration with mask value as "Array" --
Warning: strcspn() expects parameter 2 to be string, array given in %s on line %d
NULL
Warning: strcspn() expects parameter 2 to be string, array given in %s on line %d
NULL
--- Iteration with mask value as "Array" --
+-- Iteration with mask value as "Array" --
Warning: strcspn() expects parameter 2 to be string, array given in %s on line %d
NULL
Warning: strcspn() expects parameter 2 to be string, array given in %s on line %d
NULL
--- Iteration with mask value as "Array" --
+-- Iteration with mask value as "Array" --
Warning: strcspn() expects parameter 2 to be string, array given in %s on line %d
NULL
Warning: strcspn() expects parameter 2 to be string, array given in %s on line %d
NULL
--- Iteration with mask value as "Array" --
+-- Iteration with mask value as "Array" --
Warning: strcspn() expects parameter 2 to be string, array given in %s on line %d
NULL
Warning: strcspn() expects parameter 2 to be string, array given in %s on line %d
NULL
--- Iteration with mask value as "" --
+-- Iteration with mask value as "" --
int(10)
int(9)
int(9)
--- Iteration with mask value as "" --
+-- Iteration with mask value as "" --
int(10)
int(9)
int(9)
--- Iteration with mask value as "1" --
+-- Iteration with mask value as "1" --
int(10)
int(9)
int(9)
--- Iteration with mask value as "" --
+-- Iteration with mask value as "" --
int(10)
int(9)
int(9)
--- Iteration with mask value as "1" --
+-- Iteration with mask value as "1" --
int(10)
int(9)
int(9)
--- Iteration with mask value as "" --
+-- Iteration with mask value as "" --
int(10)
int(9)
int(9)
--- Iteration with mask value as "" --
+-- Iteration with mask value as "" --
int(10)
int(9)
int(9)
--- Iteration with mask value as "" --
+-- Iteration with mask value as "" --
int(10)
int(9)
int(9)
--- Iteration with mask value as "object" --
+-- Iteration with mask value as "object" --
int(1)
int(0)
int(0)
--- Iteration with mask value as "" --
+-- Iteration with mask value as "" --
int(10)
int(9)
int(9)
--- Iteration with mask value as "" --
+-- Iteration with mask value as "" --
int(10)
int(9)
int(9)
--- Iteration with mask value as "Resource id #%d" --
+-- Iteration with mask value as "Resource id #%d" --
Warning: strcspn() expects parameter 2 to be string, resource given in %s on line %d
NULL
Warning: strcspn() expects parameter 2 to be string, resource given in %s on line %d
NULL
-Done
+Done
\ No newline at end of file
* Alias to functions: none
*/
+error_reporting(E_ALL & ~E_NOTICE);
+
/*
* Testing strcspn() : with unexpected values of start argument
*/
// float data
10.5,
-10.5,
- 10.5e10,
- 10.6E-10,
+ 10.1234567e10,
+ 10.7654321E-10,
.5,
// array data
--EXPECTF--
*** Testing strcspn() : with unexpected values of start argument ***
-Notice: Undefined variable: undefined_var in %s on line %d
-
-Notice: Undefined variable: unset_var in %s on line %d
-
-- Iteration with start value as "10.5" --
int(0)
int(0)
int(0)
int(0)
--- Iteration with start value as "105000000000" --
-bool(false)
-bool(false)
+-- Iteration with start value as "101234567000" --
+int(0)
+int(0)
--- Iteration with start value as "1.06E-9" --
+-- Iteration with start value as "1.07654321E-9" --
int(0)
int(0)
-- Iteration with start value as "Array" --
-Warning: strcspn() expects parameter 3 to be long, array given in %s on line %d
+Warning: strcspn() expects parameter 3 to be long, array given in %s on line 89
NULL
Warning: strcspn() expects parameter 3 to be long, array given in %s on line %d
Warning: strcspn() expects parameter 3 to be long, resource given in %s on line %d
NULL
-Done
+Done
\ No newline at end of file
* Alias to functions: none
*/
+error_reporting(E_ALL & ~E_NOTICE);
+
/*
* Testing strcspn() : with unexpected values of len argument
*/
// float data
10.5,
-10.5,
- 10.5e10,
- 10.6E-10,
+ 10.1234567e10,
+ 10.7654321E-10,
.5,
// array data
--EXPECTF--
*** Testing strcspn() : with unexpected values of len argument ***
-Notice: Undefined variable: undefined_var in %s on line %d
-
-Notice: Undefined variable: unset_var in %s on line %d
-
-- Iteration with len value as "10.5" --
int(0)
-- Iteration with len value as "-10.5" --
int(0)
--- Iteration with len value as "105000000000" --
+-- Iteration with len value as "101234567000" --
int(0)
--- Iteration with len value as "1.06E-9" --
+-- Iteration with len value as "1.07654321E-9" --
int(0)
-- Iteration with len value as "0.5" --
Warning: strcspn() expects parameter 4 to be long, resource given in %s on line %d
NULL
-Done
+Done
\ No newline at end of file
* Alias to functions: none
*/
+error_reporting(E_ALL & ~E_NOTICE);
+
/*
* Testing strspn() : with different unexpected values for str argument
*/
// float data
10.5,
-10.5,
- 10.5e10,
- 10.6E-10,
+ 10.1234567e10,
+ 10.7654321E-10,
.5,
// array data
// loop through each element of the array for str
foreach($values as $value) {
- echo "\n-- Iteration with str value as \"$value\" \n";
+ echo "\n-- Iteration with str value as \"$value\"\n";
var_dump( strspn($value,$mask) ); // with default args
var_dump( strspn($value,$mask,$start) ); // with default len value
var_dump( strspn($value,$mask,$start,$len) ); // with all args
--EXPECTF--
*** Testing strspn() : with unexpected values for str argument ***
-Notice: Undefined variable: undefined_var in %s on line %d
-
-Notice: Undefined variable: unset_var in %s on line %d
-
--- Iteration with str value as "0"
+-- Iteration with str value as "0"
int(1)
int(0)
int(0)
--- Iteration with str value as "1"
+-- Iteration with str value as "1"
int(1)
int(0)
int(0)
--- Iteration with str value as "12345"
+-- Iteration with str value as "12345"
int(5)
int(4)
int(4)
--- Iteration with str value as "-2345"
+-- Iteration with str value as "-2345"
int(0)
int(4)
int(4)
--- Iteration with str value as "10.5"
+-- Iteration with str value as "10.5"
int(2)
int(1)
int(1)
--- Iteration with str value as "-10.5"
+-- Iteration with str value as "-10.5"
int(0)
int(2)
int(2)
--- Iteration with str value as "105000000000"
+-- Iteration with str value as "101234567000"
int(12)
int(11)
int(10)
--- Iteration with str value as "1.06E-9"
+-- Iteration with str value as "1.07654321E-9"
int(1)
int(0)
int(0)
--- Iteration with str value as "0.5"
+-- Iteration with str value as "0.5"
int(1)
int(0)
int(0)
--- Iteration with str value as "Array"
+-- Iteration with str value as "Array"
Warning: strspn() expects parameter 1 to be string, array given in %s on line %d
NULL
Warning: strspn() expects parameter 1 to be string, array given in %s on line %d
NULL
--- Iteration with str value as "Array"
+-- Iteration with str value as "Array"
Warning: strspn() expects parameter 1 to be string, array given in %s on line %d
NULL
Warning: strspn() expects parameter 1 to be string, array given in %s on line %d
NULL
--- Iteration with str value as "Array"
+-- Iteration with str value as "Array"
Warning: strspn() expects parameter 1 to be string, array given in %s on line %d
NULL
Warning: strspn() expects parameter 1 to be string, array given in %s on line %d
NULL
--- Iteration with str value as "Array"
+-- Iteration with str value as "Array"
Warning: strspn() expects parameter 1 to be string, array given in %s on line %d
NULL
Warning: strspn() expects parameter 1 to be string, array given in %s on line %d
NULL
--- Iteration with str value as "Array"
+-- Iteration with str value as "Array"
Warning: strspn() expects parameter 1 to be string, array given in %s on line %d
NULL
Warning: strspn() expects parameter 1 to be string, array given in %s on line %d
NULL
--- Iteration with str value as ""
+-- Iteration with str value as ""
int(0)
bool(false)
bool(false)
--- Iteration with str value as ""
+-- Iteration with str value as ""
int(0)
bool(false)
bool(false)
--- Iteration with str value as "1"
+-- Iteration with str value as "1"
int(1)
int(0)
int(0)
--- Iteration with str value as ""
+-- Iteration with str value as ""
int(0)
bool(false)
bool(false)
--- Iteration with str value as "1"
+-- Iteration with str value as "1"
int(1)
int(0)
int(0)
--- Iteration with str value as ""
+-- Iteration with str value as ""
int(0)
bool(false)
bool(false)
--- Iteration with str value as ""
+-- Iteration with str value as ""
int(0)
bool(false)
bool(false)
--- Iteration with str value as ""
+-- Iteration with str value as ""
int(0)
bool(false)
bool(false)
--- Iteration with str value as "object"
+-- Iteration with str value as "object"
int(2)
int(1)
int(1)
--- Iteration with str value as ""
+-- Iteration with str value as ""
int(0)
bool(false)
bool(false)
--- Iteration with str value as ""
+-- Iteration with str value as ""
int(0)
bool(false)
bool(false)
--- Iteration with str value as "Resource id #%d"
+-- Iteration with str value as "Resource id #%d"
Warning: strspn() expects parameter 1 to be string, resource given in %s on line %d
NULL
Warning: strspn() expects parameter 1 to be string, resource given in %s on line %d
NULL
-Done
+Done
\ No newline at end of file
* Alias to functions: none
*/
+error_reporting(E_ALL & ~E_NOTICE);
+
/*
* Testing strspn() : with different unexpected values for mask argument
*/
// float data
10.5,
-10.5,
- 10.5e10,
- 10.6E-10,
+ 10.1234567e10,
+ 10.7654321E-10,
.5,
// array data
// loop through each element of the array for mask
foreach($values as $value) {
- echo "\n-- Iteration with mask value as \"$value\" -- \n";
+ echo "\n-- Iteration with mask value as \"$value\" --\n";
var_dump( strspn($str,$value) ); // with defalut args
var_dump( strspn($str,$value,$start) ); // with default len value
var_dump( strspn($str,$value,$start,$len) ); // with all args
--EXPECTF--
*** Testing strspn() : with diferent unexpected values of mask argument ***
-Notice: Undefined variable: undefined_var in %s on line %d
-
-Notice: Undefined variable: unset_var in %s on line %d
-
--- Iteration with mask value as "0" --
+-- Iteration with mask value as "0" --
int(0)
int(0)
int(0)
--- Iteration with mask value as "1" --
+-- Iteration with mask value as "1" --
int(0)
int(0)
int(0)
--- Iteration with mask value as "12345" --
+-- Iteration with mask value as "12345" --
int(0)
int(0)
int(0)
--- Iteration with mask value as "-2345" --
+-- Iteration with mask value as "-2345" --
int(0)
int(0)
int(0)
--- Iteration with mask value as "10.5" --
+-- Iteration with mask value as "10.5" --
int(0)
int(0)
int(0)
--- Iteration with mask value as "-10.5" --
+-- Iteration with mask value as "-10.5" --
int(0)
int(0)
int(0)
--- Iteration with mask value as "105000000000" --
+-- Iteration with mask value as "101234567000" --
int(0)
int(0)
int(0)
--- Iteration with mask value as "1.06E-9" --
+-- Iteration with mask value as "1.07654321E-9" --
int(0)
int(0)
int(0)
--- Iteration with mask value as "0.5" --
+-- Iteration with mask value as "0.5" --
int(0)
int(0)
int(0)
--- Iteration with mask value as "Array" --
+-- Iteration with mask value as "Array" --
Warning: strspn() expects parameter 2 to be string, array given in %s on line %d
NULL
Warning: strspn() expects parameter 2 to be string, array given in %s on line %d
NULL
--- Iteration with mask value as "Array" --
+-- Iteration with mask value as "Array" --
Warning: strspn() expects parameter 2 to be string, array given in %s on line %d
NULL
Warning: strspn() expects parameter 2 to be string, array given in %s on line %d
NULL
--- Iteration with mask value as "Array" --
+-- Iteration with mask value as "Array" --
Warning: strspn() expects parameter 2 to be string, array given in %s on line %d
NULL
Warning: strspn() expects parameter 2 to be string, array given in %s on line %d
NULL
--- Iteration with mask value as "Array" --
+-- Iteration with mask value as "Array" --
Warning: strspn() expects parameter 2 to be string, array given in %s on line %d
NULL
Warning: strspn() expects parameter 2 to be string, array given in %s on line %d
NULL
--- Iteration with mask value as "Array" --
+-- Iteration with mask value as "Array" --
Warning: strspn() expects parameter 2 to be string, array given in %s on line %d
NULL
Warning: strspn() expects parameter 2 to be string, array given in %s on line %d
NULL
--- Iteration with mask value as "" --
+-- Iteration with mask value as "" --
int(0)
int(0)
int(0)
--- Iteration with mask value as "" --
+-- Iteration with mask value as "" --
int(0)
int(0)
int(0)
--- Iteration with mask value as "1" --
+-- Iteration with mask value as "1" --
int(0)
int(0)
int(0)
--- Iteration with mask value as "" --
+-- Iteration with mask value as "" --
int(0)
int(0)
int(0)
--- Iteration with mask value as "1" --
+-- Iteration with mask value as "1" --
int(0)
int(0)
int(0)
--- Iteration with mask value as "" --
+-- Iteration with mask value as "" --
int(0)
int(0)
int(0)
--- Iteration with mask value as "" --
+-- Iteration with mask value as "" --
int(0)
int(0)
int(0)
--- Iteration with mask value as "" --
+-- Iteration with mask value as "" --
int(0)
int(0)
int(0)
--- Iteration with mask value as "object" --
+-- Iteration with mask value as "object" --
int(0)
int(1)
int(1)
--- Iteration with mask value as "" --
+-- Iteration with mask value as "" --
int(0)
int(0)
int(0)
--- Iteration with mask value as "" --
+-- Iteration with mask value as "" --
int(0)
int(0)
int(0)
--- Iteration with mask value as "Resource id #%d" --
+-- Iteration with mask value as "Resource id #%d" --
Warning: strspn() expects parameter 2 to be string, resource given in %s on line %d
NULL
Warning: strspn() expects parameter 2 to be string, resource given in %s on line %d
NULL
-Done
+Done
\ No newline at end of file
* Alias to functions: none
*/
+error_reporting(E_ALL & ~E_NOTICE);
+
/*
* Testing strspn() : with unexpected values of start argument
*/
// float data
10.5,
-10.5,
- 10.5e10,
- 10.6E-10,
+ 10.1234567e10,
+ 10.7654321E-10,
.5,
// array data
--EXPECTF--
*** Testing strspn() : with unexpected values of start argument ***
-Notice: Undefined variable: undefined_var in %s on line %d
-
-Notice: Undefined variable: unset_var in %s on line %d
-
-- Iteration with start value as "10.5" --
int(0)
int(0)
int(2)
int(2)
--- Iteration with start value as "105000000000" --
-bool(false)
-bool(false)
+-- Iteration with start value as "101234567000" --
+int(2)
+int(2)
--- Iteration with start value as "1.06E-9" --
+-- Iteration with start value as "1.07654321E-9" --
int(2)
int(2)
Warning: strspn() expects parameter 3 to be long, resource given in %s on line %d
NULL
-Done
+Done
\ No newline at end of file
* Alias to functions: none
*/
+error_reporting(E_ALL & ~E_NOTICE);
+
/*
* Testing strspn() : with unexpected values of len argument
*/
// float data
10.5,
-10.5,
- 10.5e10,
- 10.6E-10,
+ 10.1234567e10,
+ 10.7654321E-10,
.5,
// array data
--EXPECTF--
*** Testing strspn() : with unexpected values of len argument ***
-Notice: Undefined variable: undefined_var in %s on line %d
-
-Notice: Undefined variable: unset_var in %s on line %d
-
-- Iteration with len value as "10.5" --
int(2)
-- Iteration with len value as "-10.5" --
int(0)
--- Iteration with len value as "105000000000" --
-int(2)
+-- Iteration with len value as "101234567000" --
+int(0)
--- Iteration with len value as "1.06E-9" --
+-- Iteration with len value as "1.07654321E-9" --
int(0)
-- Iteration with len value as "0.5" --
Warning: strspn() expects parameter 4 to be long, resource given in %s on line %d
NULL
-Done
+Done
\ No newline at end of file
// float values
10.5,
-10.5,
- 10.5e10,
- 10.6E-10,
+ 10.1234567e10,
+ 10.7654321E-10,
.5,
// array values
-- Iteration 6 --
string(4) "10.5"
-- Iteration 7 --
-string(12) "105000000000"
+string(12) "101234567000"
-- Iteration 8 --
-string(5) "1.06E"
+string(11) "1.07654321E"
-- Iteration 9 --
string(3) "0.5"
-- Iteration 10 --
bool(false)
-- Iteration 26 --
string(%d) "Resource id #%d"
-Done
+Done
\ No newline at end of file
// float values
10.5,
-10.5,
- 10.5e10,
- 10.6E-10,
+ 10.1234567e10,
+ 10.7654321E-10,
.5,
// array values
-- Iteration 12 --
string(5) "-10.5"
-- Iteration 13 --
-string(12) "105000000000"
+string(12) "101234567000"
-- Iteration 14 --
-string(7) "1.06E-9"
+string(13) "1.07654321E-9"
-- Iteration 15 --
string(3) "0.5"
-- Iteration 16 --
string(5) "Array"
-- Iteration 20 --
-Notice: Array to string conversion in %s on line %d
+Notice: Array to string conversion in %s on line 101
string(5) "Array"
-- Iteration 21 --
string(1) "1"
string(0) ""
-- Iteration 36 --
string(%d) "Resource Id #%d"
-Done
+Done
\ No newline at end of file