From 6eaef0712ee1bb5b49c1f42e5b7c6b7abbbd093c Mon Sep 17 00:00:00 2001 From: Raghubansh Kumar Date: Sat, 29 Sep 2007 09:18:07 +0000 Subject: [PATCH] New testcases for strrchr() function --- ext/standard/tests/strings/strrchr_basic.phpt | 57 +++++ ext/standard/tests/strings/strrchr_error.phpt | 40 ++++ .../tests/strings/strrchr_variation1.phpt | Bin 0 -> 4406 bytes .../tests/strings/strrchr_variation10.phpt | 188 +++++++++++++++ .../tests/strings/strrchr_variation11.phpt | 159 +++++++++++++ .../tests/strings/strrchr_variation12.phpt | Bin 0 -> 1128 bytes .../tests/strings/strrchr_variation2.phpt | 220 ++++++++++++++++++ .../tests/strings/strrchr_variation3.phpt | 43 ++++ .../tests/strings/strrchr_variation4.phpt | 58 +++++ .../tests/strings/strrchr_variation5.phpt | 57 +++++ .../tests/strings/strrchr_variation6.phpt | 45 ++++ .../tests/strings/strrchr_variation7.phpt | 47 ++++ .../tests/strings/strrchr_variation8.phpt | 41 ++++ .../tests/strings/strrchr_variation9.phpt | 196 ++++++++++++++++ 14 files changed, 1151 insertions(+) create mode 100644 ext/standard/tests/strings/strrchr_basic.phpt create mode 100644 ext/standard/tests/strings/strrchr_error.phpt create mode 100644 ext/standard/tests/strings/strrchr_variation1.phpt create mode 100644 ext/standard/tests/strings/strrchr_variation10.phpt create mode 100644 ext/standard/tests/strings/strrchr_variation11.phpt create mode 100644 ext/standard/tests/strings/strrchr_variation12.phpt create mode 100644 ext/standard/tests/strings/strrchr_variation2.phpt create mode 100644 ext/standard/tests/strings/strrchr_variation3.phpt create mode 100644 ext/standard/tests/strings/strrchr_variation4.phpt create mode 100644 ext/standard/tests/strings/strrchr_variation5.phpt create mode 100644 ext/standard/tests/strings/strrchr_variation6.phpt create mode 100644 ext/standard/tests/strings/strrchr_variation7.phpt create mode 100644 ext/standard/tests/strings/strrchr_variation8.phpt create mode 100644 ext/standard/tests/strings/strrchr_variation9.phpt diff --git a/ext/standard/tests/strings/strrchr_basic.phpt b/ext/standard/tests/strings/strrchr_basic.phpt new file mode 100644 index 0000000000..f396834837 --- /dev/null +++ b/ext/standard/tests/strings/strrchr_basic.phpt @@ -0,0 +1,57 @@ +--TEST-- +Test strrchr() function : basic functionality +--FILE-- + +--EXPECTF-- +*** Testing strrchr() function: basic functionality *** +string(12) "Hello, World" +string(12) "Hello, World" +string(12) "Hello, World" +string(12) "Hello, World" +bool(false) +bool(false) +string(5) "World" +string(5) "World" +string(7) ", World" +string(7) ", World" +string(12) "Hello, World" +string(12) "Hello, World" +string(4) "orld" +string(4) "orld" +bool(false) +*** Done *** diff --git a/ext/standard/tests/strings/strrchr_error.phpt b/ext/standard/tests/strings/strrchr_error.phpt new file mode 100644 index 0000000000..8c2881aa53 --- /dev/null +++ b/ext/standard/tests/strings/strrchr_error.phpt @@ -0,0 +1,40 @@ +--TEST-- +Test strrchr() function : error conditions +--FILE-- + +--EXPECTF-- +*** Testing strrchr() function: error conditions *** + +-- Testing strrchr() function with Zero arguments -- +Warning: Wrong parameter count for strrchr() in %s on line %d +NULL + +-- Testing strrchr() function with less than expected no. of arguments -- +Warning: Wrong parameter count for strrchr() in %s on line %d +NULL + +-- Testing strrchr() function with more than expected no. of arguments -- +Warning: Wrong parameter count for strrchr() in %s on line %d +NULL +*** Done *** diff --git a/ext/standard/tests/strings/strrchr_variation1.phpt b/ext/standard/tests/strings/strrchr_variation1.phpt new file mode 100644 index 0000000000000000000000000000000000000000..91290ecf93f54a7ae65ceb40745361d1a77b6877 GIT binary patch literal 4406 zcmb_fZBN@s5WcVVub7$~N@4{PbEq|C9fpAEiA`5zZ{Pc>*!<_&#Yb>KIfto<>QP4;>c}_80xhVv&W)j z(U};7Q2`@HHvp7s4QfJ+v0ZgJZBSc$$iCScX~H z4>N$q?(3ajL(y%v+8t-VHy9orzdt#RX_xEy!NDQcF?_%$2;II51SeBPFqY@+v1tMH zdO5$XQkJW77Pw}oc9+apnv2nR{F~hcT8c-Aj?1+twvJ)z7j3D1!%}*M6KP+m*G$<@ z(pm_J!8869(j?;&Fsss3g7oWMpMD>YDHB>JTSvVXBIPWD8#XZoAQNgx1Iq5o*VjAJVx8p!)>}R_Thg{W(kkP~w|!-X z(hihW1{)>Um6^Yu$kkI->{C_kI&-`3DgM&yP4NVGc!aFF<9QNk$E0@4!p8i8t=@;H zlC7s|l*v7Zv#Sr6mvvES)(D5nM#Pa@MN}Fip1p*G2!w=mycmt-W|emVokbS{j}E5j z$qF3svME!#XK7W>zumT5i1cG5&|yA@fG*P6LRq0XPlcGFlH{VgjiD59%gb6=W}--H z-NRFo(5R3oC<`nlTsY2+NK{#g#j_Ti=3qe!MolXnBVX9IL z!pw2t5>=~KS5TOa6J|J(Kr-<6w7Q!$7fP`>VHXtgpEBHEEg;cU5S`A@`mPDiN0D)m zvT^brwR-f&=h27BIm-2RdSJp3d;Ga-BW6(fDeT$&jaO1uMZC~&PH*OgBP{Z@7IxonyF{w8i$TpIC ztK$Wj)FzdEr-7|~LbtD>1e>Ph>YNM?@PHd}$E_KwD82+6kKfVGj(y7$W2?;)(lstwlSEuMB6?FTUVbvowEKrM0)v3XVeN$C#z2i_R`JJ z45O2D?XmWBZu%tV|8+$*C!+Jwr!K6%g@7}T~EK8%x*fTJmS=ouPw9J5|e(~ODB*^)m(hjnWN~Gp}rY+1v)iW q?^+@OVm-gj1xw8~Z_&F-2Qb|V1HFao%z2= 'red', 'item' => 'pen'), + + // boolean values + true, + false, + TRUE, + FALSE, + + // null vlaues + NULL, + null, + + // objects + new sample(), + + // empty string + "", + '', + + // resource + $file_handle, + + // undefined variable + @$undefined_var, + + // unset variable + @$unset_var +); + +// loop through each element of the array and check the working of strrchr() +$count = 1; +for($index = 0; $index < count($haystacks); $index++) { + echo "-- Iteration $count --\n"; + var_dump( strrchr($haystacks[$index], $needles[$index]) ); + $count ++; +} + +fclose($file_handle); //closing the file handle + +echo "*** Done ***"; +?> +--EXPECTF-- +*** Testing strrchr() function with unexpected inputs for needle *** +-- Iteration 1 -- +bool(false) +-- Iteration 2 -- +bool(false) +-- Iteration 3 -- +bool(false) +-- Iteration 4 -- +bool(false) +-- Iteration 5 -- +bool(false) +-- Iteration 6 -- +bool(false) +-- Iteration 7 -- +bool(false) +-- Iteration 8 -- +bool(false) +-- Iteration 9 -- +bool(false) +-- Iteration 10 -- +bool(false) +-- Iteration 11 -- +bool(false) +-- Iteration 12 -- +bool(false) +-- Iteration 13 -- +bool(false) +-- Iteration 14 -- +bool(false) +-- Iteration 15 -- +bool(false) +-- Iteration 16 -- +bool(false) +-- Iteration 17 -- +bool(false) +-- Iteration 18 -- +bool(false) +-- Iteration 19 -- +bool(false) +-- Iteration 20 -- +bool(false) +-- Iteration 21 -- + +Notice: Object of class sample could not be converted to int in %s on line %d +bool(false) +-- Iteration 22 -- +bool(false) +-- Iteration 23 -- +bool(false) +-- Iteration 24 -- +bool(false) +-- Iteration 25 -- +bool(false) +-- Iteration 26 -- +bool(false) +*** Done *** diff --git a/ext/standard/tests/strings/strrchr_variation11.phpt b/ext/standard/tests/strings/strrchr_variation11.phpt new file mode 100644 index 0000000000..d04710d7d7 --- /dev/null +++ b/ext/standard/tests/strings/strrchr_variation11.phpt @@ -0,0 +1,159 @@ +--TEST-- +Test strrchr() function : usage variations - unexpected inputs for haystack and needle +--FILE-- + 'red', 'item' => 'pen'), + + // boolean values + true, + false, + TRUE, + FALSE, + + // objects + new sample(), + + // empty string + "", + '', + + // null vlaues + NULL, + null, + + // resource + $file_handle, + + // undefined variable + @$undefined_var, + + // unset variable + @$unset_var +); + + +// loop through each element of the array and check the working of strrchr() +$counter = 1; +for($index = 0; $index < count($values); $index ++) { + echo "-- Iteration $counter --\n"; + $haystack = $values[$index]; + + var_dump( strrchr($values[$index], $values[$index]) ); + $counter ++; +} + +fclose($file_handle); //closing the file handle + +echo "*** Done ***"; +?> +--EXPECTF-- +*** Testing strrchr() function: with unexpected inputs for haystack and needle *** +-- Iteration 1 -- +bool(false) +-- Iteration 2 -- +bool(false) +-- Iteration 3 -- +bool(false) +-- Iteration 4 -- +bool(false) +-- Iteration 5 -- +bool(false) +-- Iteration 6 -- +bool(false) +-- Iteration 7 -- +bool(false) +-- Iteration 8 -- +bool(false) +-- Iteration 9 -- +bool(false) +-- Iteration 10 -- + +Notice: Array to string conversion in %s on line %d +bool(false) +-- Iteration 11 -- + +Notice: Array to string conversion in %s on line %d +bool(false) +-- Iteration 12 -- + +Notice: Array to string conversion in %s on line %d +bool(false) +-- Iteration 13 -- + +Notice: Array to string conversion in %s on line %d +bool(false) +-- Iteration 14 -- + +Notice: Array to string conversion in %s on line %d +bool(false) +-- Iteration 15 -- +bool(false) +-- Iteration 16 -- +bool(false) +-- Iteration 17 -- +bool(false) +-- Iteration 18 -- +bool(false) +-- Iteration 19 -- + +Notice: Object of class sample could not be converted to int in %s on line %d +bool(false) +-- Iteration 20 -- +bool(false) +-- Iteration 21 -- +bool(false) +-- Iteration 22 -- +bool(false) +-- Iteration 23 -- +bool(false) +-- Iteration 24 -- +bool(false) +-- Iteration 25 -- +bool(false) +-- Iteration 26 -- +bool(false) +*** Done *** diff --git a/ext/standard/tests/strings/strrchr_variation12.phpt b/ext/standard/tests/strings/strrchr_variation12.phpt new file mode 100644 index 0000000000000000000000000000000000000000..c31e0c86ced29638a1a834e505ab6583f50e3abe GIT binary patch literal 1128 zcmb7C-)q}25Z<%?ibI6OcH=nd!yb}ueOMDV2&2%H4wf-A`BIy?l9A-LVeEh3DYEke z*3dmky8G_?PWN4!E@wB(G-XS)4y-dq7AA^e-6-iwtzZI;754~_!j!^CETr(WRKje) ziZ!w{oqt};h~eV0E^3w~aBZ~HZc`&rHBpx8e#hKCdxh9oC*-d|2k0rpyux_OAb~5i z(v-EAo4~wOxdm4sRDyccQZ~k*k_dVY0%ReKkPZ!$ik?AW=vi)bV+bX6juXIVmyx2% zg~{pSn;J@%WXyN`!sjRORJx-3?W3p~wD1;GQ&m8M4>Sdbc`Iq57S__!Y3P%{xKB`j zIq!p)L0M?vNpeE%V5~sEmEu#jo0Nt3AdC^4hyn0VSXG)2y;-Ap$nUhNaz3C;7uf<} z9}g96pshQ=w`Jk*@qk~Ao_5T9H43VSY0k(ow$>)<@xN64n7SddzwZoK(*OVf literal 0 HcmV?d00001 diff --git a/ext/standard/tests/strings/strrchr_variation2.phpt b/ext/standard/tests/strings/strrchr_variation2.phpt new file mode 100644 index 0000000000..0b15ceeeb2 --- /dev/null +++ b/ext/standard/tests/strings/strrchr_variation2.phpt @@ -0,0 +1,220 @@ +--TEST-- +Test strrchr() function : usage variations - single quoted strings +--FILE-- +?@hello123456he \x234 \101 '; +$needle = array( + //regular strings + 'l', + 'L', + 'HELLO', + 'hEllo', + + //escape characters + '\t', + '\T', + ' ', + '\n', + '\N', + ' +', //new line + + //nulls + '\0', + NULL, + null, + + //boolean false + FALSE, + false, + + //empty string + '', + + //special chars + ' ', + '$', + ' $', + '&', + '!#', + '%\o', + '\o,', + '()', + '*+', + '+', + '-', + '.', + '.;', + ':;', + ';', + '<=>', + '>', + '=>', + '?', + '@', + '@hEllo', + + '12345', //decimal numeric string + '\x23', //hexadecimal numeric string + '#', //hexadecimal numeric string + '\101', //octal numeric string + 'A', + '456HEE', //numerics + chars + 42, //needle as int(ASCII value of '*') + $haystack //haystack as needle +); + +/* loop through to get the position of the needle in haystack string */ +$count = 1; +for($index=0; $index +--EXPECTF-- +*** Testing strrchr() function: with various single quoted strings *** +-- Iteration 1 -- +string(22) "lo123456he \x234 \101 " + +-- Iteration 2 -- +bool(false) + +-- Iteration 3 -- +string(63) "Hello,\t\n\0\n $&!#%\o,()*+-./:;<=>?@hello123456he \x234 \101 " + +-- Iteration 4 -- +string(14) "he \x234 \101 " + +-- Iteration 5 -- +string(5) "\101 " + +-- Iteration 6 -- +string(5) "\101 " + +-- Iteration 7 -- +string(1) " " + +-- Iteration 8 -- +string(5) "\101 " + +-- Iteration 9 -- +string(5) "\101 " + +-- Iteration 10 -- +bool(false) + +-- Iteration 11 -- +string(5) "\101 " + +-- Iteration 12 -- +bool(false) + +-- Iteration 13 -- +bool(false) + +-- Iteration 14 -- +bool(false) + +-- Iteration 15 -- +bool(false) + +-- Iteration 16 -- +bool(false) + +-- Iteration 17 -- +string(1) " " + +-- Iteration 18 -- +string(47) "$&!#%\o,()*+-./:;<=>?@hello123456he \x234 \101 " + +-- Iteration 19 -- +string(1) " " + +-- Iteration 20 -- +string(46) "&!#%\o,()*+-./:;<=>?@hello123456he \x234 \101 " + +-- Iteration 21 -- +string(45) "!#%\o,()*+-./:;<=>?@hello123456he \x234 \101 " + +-- Iteration 22 -- +string(43) "%\o,()*+-./:;<=>?@hello123456he \x234 \101 " + +-- Iteration 23 -- +string(5) "\101 " + +-- Iteration 24 -- +string(39) "()*+-./:;<=>?@hello123456he \x234 \101 " + +-- Iteration 25 -- +string(37) "*+-./:;<=>?@hello123456he \x234 \101 " + +-- Iteration 26 -- +string(36) "+-./:;<=>?@hello123456he \x234 \101 " + +-- Iteration 27 -- +string(35) "-./:;<=>?@hello123456he \x234 \101 " + +-- Iteration 28 -- +string(34) "./:;<=>?@hello123456he \x234 \101 " + +-- Iteration 29 -- +string(34) "./:;<=>?@hello123456he \x234 \101 " + +-- Iteration 30 -- +string(32) ":;<=>?@hello123456he \x234 \101 " + +-- Iteration 31 -- +string(31) ";<=>?@hello123456he \x234 \101 " + +-- Iteration 32 -- +string(30) "<=>?@hello123456he \x234 \101 " + +-- Iteration 33 -- +string(28) ">?@hello123456he \x234 \101 " + +-- Iteration 34 -- +string(29) "=>?@hello123456he \x234 \101 " + +-- Iteration 35 -- +string(27) "?@hello123456he \x234 \101 " + +-- Iteration 36 -- +string(26) "@hello123456he \x234 \101 " + +-- Iteration 37 -- +string(26) "@hello123456he \x234 \101 " + +-- Iteration 38 -- +string(2) "1 " + +-- Iteration 39 -- +string(5) "\101 " + +-- Iteration 40 -- +string(44) "#%\o,()*+-./:;<=>?@hello123456he \x234 \101 " + +-- Iteration 41 -- +string(5) "\101 " + +-- Iteration 42 -- +bool(false) + +-- Iteration 43 -- +string(7) "4 \101 " + +-- Iteration 44 -- +string(37) "*+-./:;<=>?@hello123456he \x234 \101 " + +-- Iteration 45 -- +string(63) "Hello,\t\n\0\n $&!#%\o,()*+-./:;<=>?@hello123456he \x234 \101 " +*** Done *** diff --git a/ext/standard/tests/strings/strrchr_variation3.phpt b/ext/standard/tests/strings/strrchr_variation3.phpt new file mode 100644 index 0000000000..1d0aa30091 --- /dev/null +++ b/ext/standard/tests/strings/strrchr_variation3.phpt @@ -0,0 +1,43 @@ +--TEST-- +Test strrchr() function : usage variations - multi line heredoc string for 'haystack' +--FILE-- + +--EXPECTF-- +*** Testing strrchr() function: with heredoc strings *** +string(19) "ing heredoc syntax." +bool(false) +string(8) " syntax." +string(63) "Example of string +spanning multiple lines +using heredoc syntax." +*** Done *** diff --git a/ext/standard/tests/strings/strrchr_variation4.phpt b/ext/standard/tests/strings/strrchr_variation4.phpt new file mode 100644 index 0000000000..8b2c10bf25 --- /dev/null +++ b/ext/standard/tests/strings/strrchr_variation4.phpt @@ -0,0 +1,58 @@ +--TEST-- +Test strrchr() function : usage variations - heredoc string containing special chars for 'haystack' +--FILE-- + +--EXPECTF-- +*** Testing strrchr() function: with heredoc strings *** +string(24) "!$#$^^&*(special) +chars." +string(31) "_")!#@@!$#$^^&*(special) +chars." +string(16) "(special) +chars." +string(21) "$^^&*(special) +chars." +string(16) "(special) +chars." +string(19) "^&*(special) +chars." +string(76) "Example of heredoc string contains +$#%^*&*_("_")!#@@!$#$^^&*(special) +chars." +*** Done *** diff --git a/ext/standard/tests/strings/strrchr_variation5.phpt b/ext/standard/tests/strings/strrchr_variation5.phpt new file mode 100644 index 0000000000..fe9b91f1d7 --- /dev/null +++ b/ext/standard/tests/strings/strrchr_variation5.phpt @@ -0,0 +1,57 @@ +--TEST-- +Test strrchr() function : usage variations - heredoc string containing escape sequences for 'haystack' +--FILE-- + +--EXPECTF-- +*** Testing strrchr() function: with heredoc strings *** +string(33) " st + +ch + using +\escape \seque +ce" +string(9) "\seque +ce" +string(25) " + using +\escape \seque +ce" +string(9) "\seque +ce" +string(33) " st + +ch + using +\escape \seque +ce" +*** Done *** diff --git a/ext/standard/tests/strings/strrchr_variation6.phpt b/ext/standard/tests/strings/strrchr_variation6.phpt new file mode 100644 index 0000000000..ba0ffadbd7 --- /dev/null +++ b/ext/standard/tests/strings/strrchr_variation6.phpt @@ -0,0 +1,45 @@ +--TEST-- +Test strrchr() function : usage variations - heredoc string containing quote chars for 'haystack' +--FILE-- + +--EXPECTF-- +*** Testing strrchr() function: with heredoc strings *** +string(3) "te'" +string(32) "" +'things' 'in' 'single' 'quote'" +bool(false) +string(14) "ingle' 'quote'" +string(6) "quote'" +string(32) "" +'things' 'in' 'single' 'quote'" +*** Done *** diff --git a/ext/standard/tests/strings/strrchr_variation7.phpt b/ext/standard/tests/strings/strrchr_variation7.phpt new file mode 100644 index 0000000000..210ce81329 --- /dev/null +++ b/ext/standard/tests/strings/strrchr_variation7.phpt @@ -0,0 +1,47 @@ +--TEST-- +Test strrchr() function : usage variations - heredoc string containing blank line for 'haystack' +--FILE-- + +--EXPECTF-- +*** Testing strrchr() function: with heredoc strings *** +string(1) " +" +bool(false) +bool(false) +string(1) " +" +bool(false) +bool(false) +string(1) " +" +*** Done *** diff --git a/ext/standard/tests/strings/strrchr_variation8.phpt b/ext/standard/tests/strings/strrchr_variation8.phpt new file mode 100644 index 0000000000..3e298a0b3a --- /dev/null +++ b/ext/standard/tests/strings/strrchr_variation8.phpt @@ -0,0 +1,41 @@ +--TEST-- +Test strrchr() function : usage variations - empty heredoc string for 'haystack' +--FILE-- + +--EXPECTF-- +*** Testing strrchr() function: with heredoc strings *** +bool(false) +bool(false) +bool(false) +bool(false) +bool(false) +bool(false) +*** Done *** diff --git a/ext/standard/tests/strings/strrchr_variation9.phpt b/ext/standard/tests/strings/strrchr_variation9.phpt new file mode 100644 index 0000000000..cd4c5b2c32 --- /dev/null +++ b/ext/standard/tests/strings/strrchr_variation9.phpt @@ -0,0 +1,196 @@ +--TEST-- +Test strrchr() function : usage variations - unexpected inputs for haystack +--FILE-- + 'red', 'item' => 'pen'), + + // boolean values + true, + false, + TRUE, + FALSE, + + // null vlaues + NULL, + null, + + // objects + new sample(), + + // empty string + "", + '', + + // resource + $file_handle, + + // undefined variable + @$undefined_var, + + // unset variable + @$unset_var +); + +$needles = array ( + //integer numeric strings + "0", + "1", + "2", + "-2", + + //float numeric strings + "10.5", + "-10.5", + "10.5e10", + "10.6E-10", + ".5", + + //regular strings + "array", + "a", + "r", + "y", + "ay", + "true", + "false", + "TRUE", + "FALSE", + "NULL", + "null", + "object", + + //empty string + "", + '', + + //resource variable in string form + "\$file_handle", + + //undefined variable in string form + @"$undefined_var", + @"$unset_var" +); + +// loop through each element of the array and check the working of strrchr() +$count = 1; +for($index = 0; $index < count($haystacks); $index++) { + echo "-- Iteration $count --\n"; + var_dump( strrchr($haystacks[$index], $needles[$index]) ); + $count ++; +} + +fclose($file_handle); //closing the file handle + +echo "*** Done ***"; +?> +--EXPECTF-- +*** Testing strrchr() function: with unexpected inputs for haystack *** +-- Iteration 1 -- +string(1) "0" +-- Iteration 2 -- +string(1) "1" +-- Iteration 3 -- +string(4) "2345" +-- Iteration 4 -- +string(5) "-2345" +-- Iteration 5 -- +string(4) "10.5" +-- Iteration 6 -- +string(5) "-10.5" +-- Iteration 7 -- +string(12) "105000000000" +-- Iteration 8 -- +string(7) "1.06E-9" +-- Iteration 9 -- +string(2) ".5" +-- Iteration 10 -- + +Notice: Array to string conversion in %s on line %d +string(2) "ay" +-- Iteration 11 -- + +Notice: Array to string conversion in %s on line %d +string(2) "ay" +-- Iteration 12 -- + +Notice: Array to string conversion in %s on line %d +string(3) "ray" +-- Iteration 13 -- + +Notice: Array to string conversion in %s on line %d +string(1) "y" +-- Iteration 14 -- + +Notice: Array to string conversion in %s on line %d +string(2) "ay" +-- Iteration 15 -- +bool(false) +-- Iteration 16 -- +bool(false) +-- Iteration 17 -- +bool(false) +-- Iteration 18 -- +bool(false) +-- Iteration 19 -- +bool(false) +-- Iteration 20 -- +bool(false) +-- Iteration 21 -- +string(6) "object" +-- Iteration 22 -- +bool(false) +-- Iteration 23 -- +bool(false) +-- Iteration 24 -- +bool(false) +-- Iteration 25 -- +bool(false) +-- Iteration 26 -- +bool(false) +*** Done *** -- 2.50.1