Return to gettype_settype_variation4.phpt CVS log | Up to [ELWIX - Embedded LightWeight unIX -] / embedaddon / php / ext / standard / tests / general_functions |
1.1 misho 1: --TEST-- 2: Test gettype() & settype() functions : usage variations 3: --SKIPIF-- 4: <?php 5: if (PHP_INT_SIZE != 4) die("skip this test is for 32bit platform only"); 6: ?> 7: --INI-- 8: precision=14 9: --FILE-- 10: <?php 11: /* Prototype: string gettype ( mixed $var ); 12: Description: Returns the type of the PHP variable var 13: 14: Prototype: bool settype ( mixed &$var, string $type ); 15: Description: Set the type of variable var to type 16: */ 17: 18: /* Test usage variation of gettype() and settype() functions: 19: settype() to bool/boolean type. 20: Set type of the data to "bool"/"boolean" and verify using gettype 21: Following are performed in the listed sequence: 22: get the current type of the variable 23: set the type of the variable to bool/boolean type 24: dump the variable to see its new data 25: get the new type of the variable 26: */ 27: 28: /* function to handle catchable errors */ 29: function foo($errno, $errstr, $errfile, $errline) { 30: // var_dump($errstr); 31: // print error no and error string 32: echo "$errno: $errstr\n"; 33: } 34: //set the error handler, this is required as 35: // settype() would fail with catachable fatal error 36: set_error_handler("foo"); 37: 38: $var1 = "another string"; 39: $var2 = array(2,3,4); 40: 41: // a variable which is unset 42: $unset_var = 10.5; 43: unset( $unset_var ); 44: 45: class point 46: { 47: var $x; 48: var $y; 49: 50: function point($x, $y) { 51: $this->x = $x; 52: $this->y = $y; 53: } 54: 55: function __toString() { 56: return "ObjectPoint"; 57: } 58: } 59: 60: class class_with_no_member { 61: // no member(s) 62: } 63: 64: $var_values = array ( 65: /* nulls */ 66: null, 67: 68: /* boolean */ 69: FALSE, 70: TRUE, 71: true, 72: 73: /* strings */ 74: "\xFF", 75: "\x66", 76: "\0123", 77: "", 78: '', 79: " ", 80: ' ', 81: "0", 82: '0', 83: 84: /* numerics in the form of string */ 85: '10', 86: "10", 87: "10string", 88: '10string', 89: "1", 90: "-1", 91: "1e2", 92: " 1", 93: "2974394749328742328432", 94: "-1e-2", 95: '1', 96: '-1', 97: '1e2', 98: ' 1', 99: '2974394749328742328432', 100: '-1e-2', 101: "0xff", 102: '0x55', 103: '0XA55', 104: '0X123', 105: "0123", 106: '0123', 107: "-0123", 108: "+0123", 109: '-0123', 110: '+0123', 111: "-0x80001", // invalid numerics as its prefix with sign or have decimal points 112: "+0x80001", 113: "-0x80001.5", 114: "0x80001.5", 115: "@$%#$%^$%^&^", 116: 117: /* arrays */ 118: array(), 119: array(NULL), 120: array(1,2,3,4), 121: array(1 => "one", 2 => "two", "3" => "three", "four" => 4), 122: array(1.5, 2.4, 6.5e6), 123: 124: /* integers */ 125: 0, 126: -2147483648, // max -ne int value 127: 2147483647, 128: 2147483649, 129: 1232147483649, 130: 0x55, 131: 0xF674593039, // a hex value > than max int 132: -0X558F, 133: 0555, 134: -0555, 135: 02224242434343152, // an octal value > than max int 136: 137: /* floats */ 138: 0.0, 139: 1e5, 140: -1e5, 141: 1E5, 142: -1E5, 143: -1.5, 144: .5, 145: -.5, 146: .5e6, 147: -.5e6, 148: -.5e-6, 149: .5e+6, 150: -.5e+6, 151: .512E6, 152: -.512E6, 153: .512E-6, 154: +.512E-6, 155: .512E+6, 156: -.512E+6, 157: 158: new point(NULL, NULL), 159: new point(2.5, 40.5), 160: new point(0, 0), 161: new class_with_no_member, 162: 163: /* undefined/unset vars */ 164: $unset_var, 165: $undef_var, 166: 167: /* binary strings */ 168: b"0", 169: b'0', 170: b"10string", 171: b'10string', 172: b"+0123", 173: b'-0123', 174: b"0xff", 175: b'0x55', 176: b'1e2', 177: b'2974394749328742328432', 178: b"1e2", 179: b'10string', 180: b"10string" 181: ); 182: 183: // test conversion to these types 184: $types = array( 185: "boolean", 186: "bool" 187: ); 188: 189: echo "\n*** Testing settype() & gettype() : usage variations ***\n"; 190: foreach ($types as $type) { 191: echo "\n-- Setting type of data to $type --\n"; 192: $inner_loop_count = 1; 193: foreach ($var_values as $var) { 194: echo "-- Iteration $inner_loop_count --\n"; $inner_loop_count++; 195: 196: // get the current data type 197: var_dump( gettype($var) ); 198: 199: // convert it to new type 200: var_dump( settype($var, $type) ); 201: 202: // dump the converted $var 203: var_dump( $var ); 204: 205: // get the new type of the $var 206: var_dump( gettype($var) ); 207: } 208: } 209: 210: echo "Done\n"; 211: ?> 212: --EXPECTF-- 213: 8: Undefined variable: unset_var 214: 8: Undefined variable: undef_var 215: 216: *** Testing settype() & gettype() : usage variations *** 217: 218: -- Setting type of data to boolean -- 219: -- Iteration 1 -- 220: string(4) "NULL" 221: bool(true) 222: bool(false) 223: string(7) "boolean" 224: -- Iteration 2 -- 225: string(7) "boolean" 226: bool(true) 227: bool(false) 228: string(7) "boolean" 229: -- Iteration 3 -- 230: string(7) "boolean" 231: bool(true) 232: bool(true) 233: string(7) "boolean" 234: -- Iteration 4 -- 235: string(7) "boolean" 236: bool(true) 237: bool(true) 238: string(7) "boolean" 239: -- Iteration 5 -- 240: string(6) "string" 241: bool(true) 242: bool(true) 243: string(7) "boolean" 244: -- Iteration 6 -- 245: string(6) "string" 246: bool(true) 247: bool(true) 248: string(7) "boolean" 249: -- Iteration 7 -- 250: string(6) "string" 251: bool(true) 252: bool(true) 253: string(7) "boolean" 254: -- Iteration 8 -- 255: string(6) "string" 256: bool(true) 257: bool(false) 258: string(7) "boolean" 259: -- Iteration 9 -- 260: string(6) "string" 261: bool(true) 262: bool(false) 263: string(7) "boolean" 264: -- Iteration 10 -- 265: string(6) "string" 266: bool(true) 267: bool(true) 268: string(7) "boolean" 269: -- Iteration 11 -- 270: string(6) "string" 271: bool(true) 272: bool(true) 273: string(7) "boolean" 274: -- Iteration 12 -- 275: string(6) "string" 276: bool(true) 277: bool(false) 278: string(7) "boolean" 279: -- Iteration 13 -- 280: string(6) "string" 281: bool(true) 282: bool(false) 283: string(7) "boolean" 284: -- Iteration 14 -- 285: string(6) "string" 286: bool(true) 287: bool(true) 288: string(7) "boolean" 289: -- Iteration 15 -- 290: string(6) "string" 291: bool(true) 292: bool(true) 293: string(7) "boolean" 294: -- Iteration 16 -- 295: string(6) "string" 296: bool(true) 297: bool(true) 298: string(7) "boolean" 299: -- Iteration 17 -- 300: string(6) "string" 301: bool(true) 302: bool(true) 303: string(7) "boolean" 304: -- Iteration 18 -- 305: string(6) "string" 306: bool(true) 307: bool(true) 308: string(7) "boolean" 309: -- Iteration 19 -- 310: string(6) "string" 311: bool(true) 312: bool(true) 313: string(7) "boolean" 314: -- Iteration 20 -- 315: string(6) "string" 316: bool(true) 317: bool(true) 318: string(7) "boolean" 319: -- Iteration 21 -- 320: string(6) "string" 321: bool(true) 322: bool(true) 323: string(7) "boolean" 324: -- Iteration 22 -- 325: string(6) "string" 326: bool(true) 327: bool(true) 328: string(7) "boolean" 329: -- Iteration 23 -- 330: string(6) "string" 331: bool(true) 332: bool(true) 333: string(7) "boolean" 334: -- Iteration 24 -- 335: string(6) "string" 336: bool(true) 337: bool(true) 338: string(7) "boolean" 339: -- Iteration 25 -- 340: string(6) "string" 341: bool(true) 342: bool(true) 343: string(7) "boolean" 344: -- Iteration 26 -- 345: string(6) "string" 346: bool(true) 347: bool(true) 348: string(7) "boolean" 349: -- Iteration 27 -- 350: string(6) "string" 351: bool(true) 352: bool(true) 353: string(7) "boolean" 354: -- Iteration 28 -- 355: string(6) "string" 356: bool(true) 357: bool(true) 358: string(7) "boolean" 359: -- Iteration 29 -- 360: string(6) "string" 361: bool(true) 362: bool(true) 363: string(7) "boolean" 364: -- Iteration 30 -- 365: string(6) "string" 366: bool(true) 367: bool(true) 368: string(7) "boolean" 369: -- Iteration 31 -- 370: string(6) "string" 371: bool(true) 372: bool(true) 373: string(7) "boolean" 374: -- Iteration 32 -- 375: string(6) "string" 376: bool(true) 377: bool(true) 378: string(7) "boolean" 379: -- Iteration 33 -- 380: string(6) "string" 381: bool(true) 382: bool(true) 383: string(7) "boolean" 384: -- Iteration 34 -- 385: string(6) "string" 386: bool(true) 387: bool(true) 388: string(7) "boolean" 389: -- Iteration 35 -- 390: string(6) "string" 391: bool(true) 392: bool(true) 393: string(7) "boolean" 394: -- Iteration 36 -- 395: string(6) "string" 396: bool(true) 397: bool(true) 398: string(7) "boolean" 399: -- Iteration 37 -- 400: string(6) "string" 401: bool(true) 402: bool(true) 403: string(7) "boolean" 404: -- Iteration 38 -- 405: string(6) "string" 406: bool(true) 407: bool(true) 408: string(7) "boolean" 409: -- Iteration 39 -- 410: string(6) "string" 411: bool(true) 412: bool(true) 413: string(7) "boolean" 414: -- Iteration 40 -- 415: string(6) "string" 416: bool(true) 417: bool(true) 418: string(7) "boolean" 419: -- Iteration 41 -- 420: string(6) "string" 421: bool(true) 422: bool(true) 423: string(7) "boolean" 424: -- Iteration 42 -- 425: string(6) "string" 426: bool(true) 427: bool(true) 428: string(7) "boolean" 429: -- Iteration 43 -- 430: string(6) "string" 431: bool(true) 432: bool(true) 433: string(7) "boolean" 434: -- Iteration 44 -- 435: string(6) "string" 436: bool(true) 437: bool(true) 438: string(7) "boolean" 439: -- Iteration 45 -- 440: string(5) "array" 441: bool(true) 442: bool(false) 443: string(7) "boolean" 444: -- Iteration 46 -- 445: string(5) "array" 446: bool(true) 447: bool(true) 448: string(7) "boolean" 449: -- Iteration 47 -- 450: string(5) "array" 451: bool(true) 452: bool(true) 453: string(7) "boolean" 454: -- Iteration 48 -- 455: string(5) "array" 456: bool(true) 457: bool(true) 458: string(7) "boolean" 459: -- Iteration 49 -- 460: string(5) "array" 461: bool(true) 462: bool(true) 463: string(7) "boolean" 464: -- Iteration 50 -- 465: string(7) "integer" 466: bool(true) 467: bool(false) 468: string(7) "boolean" 469: -- Iteration 51 -- 470: string(6) "double" 471: bool(true) 472: bool(true) 473: string(7) "boolean" 474: -- Iteration 52 -- 475: string(7) "integer" 476: bool(true) 477: bool(true) 478: string(7) "boolean" 479: -- Iteration 53 -- 480: string(6) "double" 481: bool(true) 482: bool(true) 483: string(7) "boolean" 484: -- Iteration 54 -- 485: string(6) "double" 486: bool(true) 487: bool(true) 488: string(7) "boolean" 489: -- Iteration 55 -- 490: string(7) "integer" 491: bool(true) 492: bool(true) 493: string(7) "boolean" 494: -- Iteration 56 -- 495: string(6) "double" 496: bool(true) 497: bool(true) 498: string(7) "boolean" 499: -- Iteration 57 -- 500: string(7) "integer" 501: bool(true) 502: bool(true) 503: string(7) "boolean" 504: -- Iteration 58 -- 505: string(7) "integer" 506: bool(true) 507: bool(true) 508: string(7) "boolean" 509: -- Iteration 59 -- 510: string(7) "integer" 511: bool(true) 512: bool(true) 513: string(7) "boolean" 514: -- Iteration 60 -- 515: string(6) "double" 516: bool(true) 517: bool(true) 518: string(7) "boolean" 519: -- Iteration 61 -- 520: string(6) "double" 521: bool(true) 522: bool(false) 523: string(7) "boolean" 524: -- Iteration 62 -- 525: string(6) "double" 526: bool(true) 527: bool(true) 528: string(7) "boolean" 529: -- Iteration 63 -- 530: string(6) "double" 531: bool(true) 532: bool(true) 533: string(7) "boolean" 534: -- Iteration 64 -- 535: string(6) "double" 536: bool(true) 537: bool(true) 538: string(7) "boolean" 539: -- Iteration 65 -- 540: string(6) "double" 541: bool(true) 542: bool(true) 543: string(7) "boolean" 544: -- Iteration 66 -- 545: string(6) "double" 546: bool(true) 547: bool(true) 548: string(7) "boolean" 549: -- Iteration 67 -- 550: string(6) "double" 551: bool(true) 552: bool(true) 553: string(7) "boolean" 554: -- Iteration 68 -- 555: string(6) "double" 556: bool(true) 557: bool(true) 558: string(7) "boolean" 559: -- Iteration 69 -- 560: string(6) "double" 561: bool(true) 562: bool(true) 563: string(7) "boolean" 564: -- Iteration 70 -- 565: string(6) "double" 566: bool(true) 567: bool(true) 568: string(7) "boolean" 569: -- Iteration 71 -- 570: string(6) "double" 571: bool(true) 572: bool(true) 573: string(7) "boolean" 574: -- Iteration 72 -- 575: string(6) "double" 576: bool(true) 577: bool(true) 578: string(7) "boolean" 579: -- Iteration 73 -- 580: string(6) "double" 581: bool(true) 582: bool(true) 583: string(7) "boolean" 584: -- Iteration 74 -- 585: string(6) "double" 586: bool(true) 587: bool(true) 588: string(7) "boolean" 589: -- Iteration 75 -- 590: string(6) "double" 591: bool(true) 592: bool(true) 593: string(7) "boolean" 594: -- Iteration 76 -- 595: string(6) "double" 596: bool(true) 597: bool(true) 598: string(7) "boolean" 599: -- Iteration 77 -- 600: string(6) "double" 601: bool(true) 602: bool(true) 603: string(7) "boolean" 604: -- Iteration 78 -- 605: string(6) "double" 606: bool(true) 607: bool(true) 608: string(7) "boolean" 609: -- Iteration 79 -- 610: string(6) "double" 611: bool(true) 612: bool(true) 613: string(7) "boolean" 614: -- Iteration 80 -- 615: string(6) "object" 616: bool(true) 617: bool(true) 618: string(7) "boolean" 619: -- Iteration 81 -- 620: string(6) "object" 621: bool(true) 622: bool(true) 623: string(7) "boolean" 624: -- Iteration 82 -- 625: string(6) "object" 626: bool(true) 627: bool(true) 628: string(7) "boolean" 629: -- Iteration 83 -- 630: string(6) "object" 631: bool(true) 632: bool(true) 633: string(7) "boolean" 634: -- Iteration 84 -- 635: string(4) "NULL" 636: bool(true) 637: bool(false) 638: string(7) "boolean" 639: -- Iteration 85 -- 640: string(4) "NULL" 641: bool(true) 642: bool(false) 643: string(7) "boolean" 644: -- Iteration 86 -- 645: string(6) "string" 646: bool(true) 647: bool(false) 648: string(7) "boolean" 649: -- Iteration 87 -- 650: string(6) "string" 651: bool(true) 652: bool(false) 653: string(7) "boolean" 654: -- Iteration 88 -- 655: string(6) "string" 656: bool(true) 657: bool(true) 658: string(7) "boolean" 659: -- Iteration 89 -- 660: string(6) "string" 661: bool(true) 662: bool(true) 663: string(7) "boolean" 664: -- Iteration 90 -- 665: string(6) "string" 666: bool(true) 667: bool(true) 668: string(7) "boolean" 669: -- Iteration 91 -- 670: string(6) "string" 671: bool(true) 672: bool(true) 673: string(7) "boolean" 674: -- Iteration 92 -- 675: string(6) "string" 676: bool(true) 677: bool(true) 678: string(7) "boolean" 679: -- Iteration 93 -- 680: string(6) "string" 681: bool(true) 682: bool(true) 683: string(7) "boolean" 684: -- Iteration 94 -- 685: string(6) "string" 686: bool(true) 687: bool(true) 688: string(7) "boolean" 689: -- Iteration 95 -- 690: string(6) "string" 691: bool(true) 692: bool(true) 693: string(7) "boolean" 694: -- Iteration 96 -- 695: string(6) "string" 696: bool(true) 697: bool(true) 698: string(7) "boolean" 699: -- Iteration 97 -- 700: string(6) "string" 701: bool(true) 702: bool(true) 703: string(7) "boolean" 704: -- Iteration 98 -- 705: string(6) "string" 706: bool(true) 707: bool(true) 708: string(7) "boolean" 709: 710: -- Setting type of data to bool -- 711: -- Iteration 1 -- 712: string(4) "NULL" 713: bool(true) 714: bool(false) 715: string(7) "boolean" 716: -- Iteration 2 -- 717: string(7) "boolean" 718: bool(true) 719: bool(false) 720: string(7) "boolean" 721: -- Iteration 3 -- 722: string(7) "boolean" 723: bool(true) 724: bool(true) 725: string(7) "boolean" 726: -- Iteration 4 -- 727: string(7) "boolean" 728: bool(true) 729: bool(true) 730: string(7) "boolean" 731: -- Iteration 5 -- 732: string(6) "string" 733: bool(true) 734: bool(true) 735: string(7) "boolean" 736: -- Iteration 6 -- 737: string(6) "string" 738: bool(true) 739: bool(true) 740: string(7) "boolean" 741: -- Iteration 7 -- 742: string(6) "string" 743: bool(true) 744: bool(true) 745: string(7) "boolean" 746: -- Iteration 8 -- 747: string(6) "string" 748: bool(true) 749: bool(false) 750: string(7) "boolean" 751: -- Iteration 9 -- 752: string(6) "string" 753: bool(true) 754: bool(false) 755: string(7) "boolean" 756: -- Iteration 10 -- 757: string(6) "string" 758: bool(true) 759: bool(true) 760: string(7) "boolean" 761: -- Iteration 11 -- 762: string(6) "string" 763: bool(true) 764: bool(true) 765: string(7) "boolean" 766: -- Iteration 12 -- 767: string(6) "string" 768: bool(true) 769: bool(false) 770: string(7) "boolean" 771: -- Iteration 13 -- 772: string(6) "string" 773: bool(true) 774: bool(false) 775: string(7) "boolean" 776: -- Iteration 14 -- 777: string(6) "string" 778: bool(true) 779: bool(true) 780: string(7) "boolean" 781: -- Iteration 15 -- 782: string(6) "string" 783: bool(true) 784: bool(true) 785: string(7) "boolean" 786: -- Iteration 16 -- 787: string(6) "string" 788: bool(true) 789: bool(true) 790: string(7) "boolean" 791: -- Iteration 17 -- 792: string(6) "string" 793: bool(true) 794: bool(true) 795: string(7) "boolean" 796: -- Iteration 18 -- 797: string(6) "string" 798: bool(true) 799: bool(true) 800: string(7) "boolean" 801: -- Iteration 19 -- 802: string(6) "string" 803: bool(true) 804: bool(true) 805: string(7) "boolean" 806: -- Iteration 20 -- 807: string(6) "string" 808: bool(true) 809: bool(true) 810: string(7) "boolean" 811: -- Iteration 21 -- 812: string(6) "string" 813: bool(true) 814: bool(true) 815: string(7) "boolean" 816: -- Iteration 22 -- 817: string(6) "string" 818: bool(true) 819: bool(true) 820: string(7) "boolean" 821: -- Iteration 23 -- 822: string(6) "string" 823: bool(true) 824: bool(true) 825: string(7) "boolean" 826: -- Iteration 24 -- 827: string(6) "string" 828: bool(true) 829: bool(true) 830: string(7) "boolean" 831: -- Iteration 25 -- 832: string(6) "string" 833: bool(true) 834: bool(true) 835: string(7) "boolean" 836: -- Iteration 26 -- 837: string(6) "string" 838: bool(true) 839: bool(true) 840: string(7) "boolean" 841: -- Iteration 27 -- 842: string(6) "string" 843: bool(true) 844: bool(true) 845: string(7) "boolean" 846: -- Iteration 28 -- 847: string(6) "string" 848: bool(true) 849: bool(true) 850: string(7) "boolean" 851: -- Iteration 29 -- 852: string(6) "string" 853: bool(true) 854: bool(true) 855: string(7) "boolean" 856: -- Iteration 30 -- 857: string(6) "string" 858: bool(true) 859: bool(true) 860: string(7) "boolean" 861: -- Iteration 31 -- 862: string(6) "string" 863: bool(true) 864: bool(true) 865: string(7) "boolean" 866: -- Iteration 32 -- 867: string(6) "string" 868: bool(true) 869: bool(true) 870: string(7) "boolean" 871: -- Iteration 33 -- 872: string(6) "string" 873: bool(true) 874: bool(true) 875: string(7) "boolean" 876: -- Iteration 34 -- 877: string(6) "string" 878: bool(true) 879: bool(true) 880: string(7) "boolean" 881: -- Iteration 35 -- 882: string(6) "string" 883: bool(true) 884: bool(true) 885: string(7) "boolean" 886: -- Iteration 36 -- 887: string(6) "string" 888: bool(true) 889: bool(true) 890: string(7) "boolean" 891: -- Iteration 37 -- 892: string(6) "string" 893: bool(true) 894: bool(true) 895: string(7) "boolean" 896: -- Iteration 38 -- 897: string(6) "string" 898: bool(true) 899: bool(true) 900: string(7) "boolean" 901: -- Iteration 39 -- 902: string(6) "string" 903: bool(true) 904: bool(true) 905: string(7) "boolean" 906: -- Iteration 40 -- 907: string(6) "string" 908: bool(true) 909: bool(true) 910: string(7) "boolean" 911: -- Iteration 41 -- 912: string(6) "string" 913: bool(true) 914: bool(true) 915: string(7) "boolean" 916: -- Iteration 42 -- 917: string(6) "string" 918: bool(true) 919: bool(true) 920: string(7) "boolean" 921: -- Iteration 43 -- 922: string(6) "string" 923: bool(true) 924: bool(true) 925: string(7) "boolean" 926: -- Iteration 44 -- 927: string(6) "string" 928: bool(true) 929: bool(true) 930: string(7) "boolean" 931: -- Iteration 45 -- 932: string(5) "array" 933: bool(true) 934: bool(false) 935: string(7) "boolean" 936: -- Iteration 46 -- 937: string(5) "array" 938: bool(true) 939: bool(true) 940: string(7) "boolean" 941: -- Iteration 47 -- 942: string(5) "array" 943: bool(true) 944: bool(true) 945: string(7) "boolean" 946: -- Iteration 48 -- 947: string(5) "array" 948: bool(true) 949: bool(true) 950: string(7) "boolean" 951: -- Iteration 49 -- 952: string(5) "array" 953: bool(true) 954: bool(true) 955: string(7) "boolean" 956: -- Iteration 50 -- 957: string(7) "integer" 958: bool(true) 959: bool(false) 960: string(7) "boolean" 961: -- Iteration 51 -- 962: string(6) "double" 963: bool(true) 964: bool(true) 965: string(7) "boolean" 966: -- Iteration 52 -- 967: string(7) "integer" 968: bool(true) 969: bool(true) 970: string(7) "boolean" 971: -- Iteration 53 -- 972: string(6) "double" 973: bool(true) 974: bool(true) 975: string(7) "boolean" 976: -- Iteration 54 -- 977: string(6) "double" 978: bool(true) 979: bool(true) 980: string(7) "boolean" 981: -- Iteration 55 -- 982: string(7) "integer" 983: bool(true) 984: bool(true) 985: string(7) "boolean" 986: -- Iteration 56 -- 987: string(6) "double" 988: bool(true) 989: bool(true) 990: string(7) "boolean" 991: -- Iteration 57 -- 992: string(7) "integer" 993: bool(true) 994: bool(true) 995: string(7) "boolean" 996: -- Iteration 58 -- 997: string(7) "integer" 998: bool(true) 999: bool(true) 1000: string(7) "boolean" 1001: -- Iteration 59 -- 1002: string(7) "integer" 1003: bool(true) 1004: bool(true) 1005: string(7) "boolean" 1006: -- Iteration 60 -- 1007: string(6) "double" 1008: bool(true) 1009: bool(true) 1010: string(7) "boolean" 1011: -- Iteration 61 -- 1012: string(6) "double" 1013: bool(true) 1014: bool(false) 1015: string(7) "boolean" 1016: -- Iteration 62 -- 1017: string(6) "double" 1018: bool(true) 1019: bool(true) 1020: string(7) "boolean" 1021: -- Iteration 63 -- 1022: string(6) "double" 1023: bool(true) 1024: bool(true) 1025: string(7) "boolean" 1026: -- Iteration 64 -- 1027: string(6) "double" 1028: bool(true) 1029: bool(true) 1030: string(7) "boolean" 1031: -- Iteration 65 -- 1032: string(6) "double" 1033: bool(true) 1034: bool(true) 1035: string(7) "boolean" 1036: -- Iteration 66 -- 1037: string(6) "double" 1038: bool(true) 1039: bool(true) 1040: string(7) "boolean" 1041: -- Iteration 67 -- 1042: string(6) "double" 1043: bool(true) 1044: bool(true) 1045: string(7) "boolean" 1046: -- Iteration 68 -- 1047: string(6) "double" 1048: bool(true) 1049: bool(true) 1050: string(7) "boolean" 1051: -- Iteration 69 -- 1052: string(6) "double" 1053: bool(true) 1054: bool(true) 1055: string(7) "boolean" 1056: -- Iteration 70 -- 1057: string(6) "double" 1058: bool(true) 1059: bool(true) 1060: string(7) "boolean" 1061: -- Iteration 71 -- 1062: string(6) "double" 1063: bool(true) 1064: bool(true) 1065: string(7) "boolean" 1066: -- Iteration 72 -- 1067: string(6) "double" 1068: bool(true) 1069: bool(true) 1070: string(7) "boolean" 1071: -- Iteration 73 -- 1072: string(6) "double" 1073: bool(true) 1074: bool(true) 1075: string(7) "boolean" 1076: -- Iteration 74 -- 1077: string(6) "double" 1078: bool(true) 1079: bool(true) 1080: string(7) "boolean" 1081: -- Iteration 75 -- 1082: string(6) "double" 1083: bool(true) 1084: bool(true) 1085: string(7) "boolean" 1086: -- Iteration 76 -- 1087: string(6) "double" 1088: bool(true) 1089: bool(true) 1090: string(7) "boolean" 1091: -- Iteration 77 -- 1092: string(6) "double" 1093: bool(true) 1094: bool(true) 1095: string(7) "boolean" 1096: -- Iteration 78 -- 1097: string(6) "double" 1098: bool(true) 1099: bool(true) 1100: string(7) "boolean" 1101: -- Iteration 79 -- 1102: string(6) "double" 1103: bool(true) 1104: bool(true) 1105: string(7) "boolean" 1106: -- Iteration 80 -- 1107: string(6) "object" 1108: bool(true) 1109: bool(true) 1110: string(7) "boolean" 1111: -- Iteration 81 -- 1112: string(6) "object" 1113: bool(true) 1114: bool(true) 1115: string(7) "boolean" 1116: -- Iteration 82 -- 1117: string(6) "object" 1118: bool(true) 1119: bool(true) 1120: string(7) "boolean" 1121: -- Iteration 83 -- 1122: string(6) "object" 1123: bool(true) 1124: bool(true) 1125: string(7) "boolean" 1126: -- Iteration 84 -- 1127: string(4) "NULL" 1128: bool(true) 1129: bool(false) 1130: string(7) "boolean" 1131: -- Iteration 85 -- 1132: string(4) "NULL" 1133: bool(true) 1134: bool(false) 1135: string(7) "boolean" 1136: -- Iteration 86 -- 1137: string(6) "string" 1138: bool(true) 1139: bool(false) 1140: string(7) "boolean" 1141: -- Iteration 87 -- 1142: string(6) "string" 1143: bool(true) 1144: bool(false) 1145: string(7) "boolean" 1146: -- Iteration 88 -- 1147: string(6) "string" 1148: bool(true) 1149: bool(true) 1150: string(7) "boolean" 1151: -- Iteration 89 -- 1152: string(6) "string" 1153: bool(true) 1154: bool(true) 1155: string(7) "boolean" 1156: -- Iteration 90 -- 1157: string(6) "string" 1158: bool(true) 1159: bool(true) 1160: string(7) "boolean" 1161: -- Iteration 91 -- 1162: string(6) "string" 1163: bool(true) 1164: bool(true) 1165: string(7) "boolean" 1166: -- Iteration 92 -- 1167: string(6) "string" 1168: bool(true) 1169: bool(true) 1170: string(7) "boolean" 1171: -- Iteration 93 -- 1172: string(6) "string" 1173: bool(true) 1174: bool(true) 1175: string(7) "boolean" 1176: -- Iteration 94 -- 1177: string(6) "string" 1178: bool(true) 1179: bool(true) 1180: string(7) "boolean" 1181: -- Iteration 95 -- 1182: string(6) "string" 1183: bool(true) 1184: bool(true) 1185: string(7) "boolean" 1186: -- Iteration 96 -- 1187: string(6) "string" 1188: bool(true) 1189: bool(true) 1190: string(7) "boolean" 1191: -- Iteration 97 -- 1192: string(6) "string" 1193: bool(true) 1194: bool(true) 1195: string(7) "boolean" 1196: -- Iteration 98 -- 1197: string(6) "string" 1198: bool(true) 1199: bool(true) 1200: string(7) "boolean" 1201: Done