Annotation of embedaddon/php/tests/lang/024.phpt, revision 1.1
1.1 ! misho 1: --TEST--
! 2: Looped regression test (may take a while)
! 3: --FILE--
! 4: <?php
! 5: for ($jdk=0; $jdk<50; $jdk++) {
! 6: ?><html>
! 7: <head>
! 8: <?php /* the point of this file is to intensively test various aspects of the parser.
! 9: * right now, each test focuses in one aspect only (e.g. variable aliasing, arithemtic operator,
! 10: * various control structures), while trying to combine code from other parts of the parser as well.
! 11: */
! 12: ?>
! 13: *** Testing assignments and variable aliasing: ***
! 14: <?php
! 15: /* This test tests assignments to variables using other variables as variable-names */
! 16: $a = "b";
! 17: $$a = "test";
! 18: $$$a = "blah";
! 19: ${$$$a}["associative arrays work too"] = "this is nifty";
! 20: ?>
! 21: This should read "blah": <?php echo "$test\n"; ?>
! 22: This should read "this is nifty": <?php echo $blah[$test="associative arrays work too"]."\n"; ?>
! 23: *************************************************
! 24:
! 25: *** Testing integer operators ***
! 26: <?php
! 27: /* test just about any operator possible on $i and $j (ints) */
! 28: $i = 5;
! 29: $j = 3;
! 30: ?>
! 31: Correct result - 8: <?php echo $i+$j; ?>
! 32:
! 33: Correct result - 8: <?php echo $i+$j; ?>
! 34:
! 35: Correct result - 2: <?php echo $i-$j; ?>
! 36:
! 37: Correct result - -2: <?php echo $j-$i; ?>
! 38:
! 39: Correct result - 15: <?php echo $i*$j; ?>
! 40:
! 41: Correct result - 15: <?php echo $j*$i; ?>
! 42:
! 43: Correct result - 2: <?php echo $i%$j; ?>
! 44:
! 45: Correct result - 3: <?php echo $j%$i; ?>
! 46:
! 47: *********************************
! 48:
! 49: *** Testing real operators ***
! 50: <?php
! 51: /* test just about any operator possible on $i and $j (floats) */
! 52: $i = 5.0;
! 53: $j = 3.0;
! 54: ?>
! 55: Correct result - 8: <?php echo $i+$j; ?>
! 56:
! 57: Correct result - 8: <?php echo $i+$j; ?>
! 58:
! 59: Correct result - 2: <?php echo $i-$j; ?>
! 60:
! 61: Correct result - -2: <?php echo $j-$i; ?>
! 62:
! 63: Correct result - 15: <?php echo $i*$j; ?>
! 64:
! 65: Correct result - 15: <?php echo $j*$i; ?>
! 66:
! 67: Correct result - 2: <?php echo $i%$j; ?>
! 68:
! 69: Correct result - 3: <?php echo $j%$i; ?>
! 70:
! 71: *********************************
! 72:
! 73: *** Testing if/elseif/else control ***
! 74:
! 75: <?php
! 76: /* sick if/elseif/else test by Andi :) */
! 77: $a = 5;
! 78: if ($a == "4") {
! 79: echo "This "." does "." not "." work\n";
! 80: } elseif ($a == "5") {
! 81: echo "This "." works\n";
! 82: $a = 6;
! 83: if ("andi" == ($test = "andi")) {
! 84: echo "this_still_works\n";
! 85: } elseif (1) {
! 86: echo "should_not_print\n";
! 87: } else {
! 88: echo "should_not_print\n";
! 89: }
! 90: if (44 == 43) {
! 91: echo "should_not_print\n";
! 92: } else {
! 93: echo "should_print\n";
! 94: }
! 95: } elseif ($a == 6) {
! 96: echo "this "."broken\n";
! 97: if (0) {
! 98: echo "this_should_not_print\n";
! 99: } else {
! 100: echo "TestingDanglingElse_This_Should_not_print\n";
! 101: }
! 102: } else {
! 103: echo "This "."does "." not"." work\n";
! 104: }
! 105: ?>
! 106:
! 107:
! 108: *** Seriously nested if's test ***
! 109: ** spelling correction by kluzz **
! 110: <?php
! 111: /* yet another sick if/elseif/else test by Zeev */
! 112: $i=$j=0;
! 113: echo "Only two lines of text should follow:\n";
! 114: if (0) { /* this code is not supposed to be executed */
! 115: echo "hmm, this shouldn't be displayed #1\n";
! 116: $j++;
! 117: if (1) {
! 118: $i += $j;
! 119: if (0) {
! 120: $j = ++$i;
! 121: if (1) {
! 122: $j *= $i;
! 123: echo "damn, this shouldn't be displayed\n";
! 124: } else {
! 125: $j /= $i;
! 126: ++$j;
! 127: echo "this shouldn't be displayed either\n";
! 128: }
! 129: } elseif (1) {
! 130: $i++; $j++;
! 131: echo "this isn't supposed to be displayed\n";
! 132: }
! 133: } elseif (0) {
! 134: $i++;
! 135: echo "this definitely shouldn't be displayed\n";
! 136: } else {
! 137: --$j;
! 138: echo "and this too shouldn't be displayed\n";
! 139: while ($j>0) {
! 140: $j--;
! 141: }
! 142: }
! 143: } elseif (2-2) { /* as long as 2-2==0, this isn't supposed to be executed either */
! 144: $i = ++$j;
! 145: echo "hmm, this shouldn't be displayed #2\n";
! 146: if (1) {
! 147: $j = ++$i;
! 148: if (0) {
! 149: $j = $i*2+$j*($i++);
! 150: if (1) {
! 151: $i++;
! 152: echo "damn, this shouldn't be displayed\n";
! 153: } else {
! 154: $j++;
! 155: echo "this shouldn't be displayed either\n";
! 156: }
! 157: } else if (1) {
! 158: ++$j;
! 159: echo "this isn't supposed to be displayed\n";
! 160: }
! 161: } elseif (0) {
! 162: $j++;
! 163: echo "this definitely shouldn't be displayed\n";
! 164: } else {
! 165: $i++;
! 166: echo "and this too shouldn't be displayed\n";
! 167: }
! 168: } else {
! 169: $j=$i++; /* this should set $i to 1, but shouldn't change $j (it's assigned $i's previous values, zero) */
! 170: echo "this should be displayed. should be: \$i=1, \$j=0. is: \$i=$i, \$j=$j\n";
! 171: if (1) {
! 172: $j += ++$i; /* ++$i --> $i==2, $j += 2 --> $j==2 */
! 173: if (0) {
! 174: $j += 40;
! 175: if (1) {
! 176: $i += 50;
! 177: echo "damn, this shouldn't be displayed\n";
! 178: } else {
! 179: $j += 20;
! 180: echo "this shouldn't be displayed either\n";
! 181: }
! 182: } else if (1) {
! 183: $j *= $i; /* $j *= 2 --> $j == 4 */
! 184: echo "this is supposed to be displayed. should be: \$i=2, \$j=4. is: \$i=$i, \$j=$j\n";
! 185: echo "3 loop iterations should follow:\n";
! 186: while ($i<=$j) {
! 187: echo $i++." $j\n";
! 188: }
! 189: }
! 190: } elseif (0) {
! 191: echo "this definitely shouldn't be displayed\n";
! 192: } else {
! 193: echo "and this too shouldn't be displayed\n";
! 194: }
! 195: echo "**********************************\n";
! 196: }
! 197: ?>
! 198:
! 199: *** C-style else-if's ***
! 200: <?php
! 201: /* looks like without we even tried, C-style else-if structure works fine! */
! 202: if ($a=0) {
! 203: echo "This shouldn't be displayed\n";
! 204: } else if ($a++) {
! 205: echo "This shouldn't be displayed either\n";
! 206: } else if (--$a) {
! 207: echo "No, this neither\n";
! 208: } else if (++$a) {
! 209: echo "This should be displayed\n";
! 210: } else {
! 211: echo "This shouldn't be displayed at all\n";
! 212: }
! 213: ?>
! 214: *************************
! 215:
! 216: *** WHILE tests ***
! 217: <?php
! 218: $i=0;
! 219: $j=20;
! 220: while ($i<(2*$j)) {
! 221: if ($i>$j) {
! 222: echo "$i is greater than $j\n";
! 223: } else if ($i==$j) {
! 224: echo "$i equals $j\n";
! 225: } else {
! 226: echo "$i is smaller than $j\n";
! 227: }
! 228: $i++;
! 229: }
! 230: ?>
! 231: *******************
! 232:
! 233:
! 234: *** Nested WHILEs ***
! 235: <?php
! 236: $arr_len=3;
! 237:
! 238: $i=0;
! 239: while ($i<$arr_len) {
! 240: $j=0;
! 241: while ($j<$arr_len) {
! 242: $k=0;
! 243: while ($k<$arr_len) {
! 244: ${"test$i$j"}[$k] = $i+$j+$k;
! 245: $k++;
! 246: }
! 247: $j++;
! 248: }
! 249: $i++;
! 250: }
! 251:
! 252: echo "Each array variable should be equal to the sum of its indices:\n";
! 253:
! 254: $i=0;
! 255: while ($i<$arr_len) {
! 256: $j=0;
! 257: while ($j<$arr_len) {
! 258: $k=0;
! 259: while ($k<$arr_len) {
! 260: echo "\${test$i$j}[$k] = ".${"test$i$j"}[$k]."\n";
! 261: $k++;
! 262: }
! 263: $j++;
! 264: }
! 265: $i++;
! 266: }
! 267: ?>
! 268: *********************
! 269:
! 270: *** hash test... ***
! 271: <?php
! 272: /*
! 273: $i=0;
! 274:
! 275: while ($i<10000) {
! 276: $arr[$i]=$i;
! 277: $i++;
! 278: }
! 279:
! 280: $i=0;
! 281: while ($i<10000) {
! 282: echo $arr[$i++]."\n";
! 283: }
! 284: */
! 285: echo "commented out...";
! 286: ?>
! 287:
! 288: **************************
! 289:
! 290: *** Hash resizing test ***
! 291: <?php
! 292: $i = 10;
! 293: $a = "b";
! 294: while ($i > 0) {
! 295: $a = $a . "a";
! 296: echo "$a\n";
! 297: $resize[$a] = $i;
! 298: $i--;
! 299: }
! 300: $i = 10;
! 301: $a = "b";
! 302: while ($i > 0) {
! 303: $a = $a . "a";
! 304: echo "$a\n";
! 305: echo $resize[$a]."\n";
! 306: $i--;
! 307: }
! 308: ?>
! 309: **************************
! 310:
! 311:
! 312: *** break/continue test ***
! 313: <?php
! 314: $i=0;
! 315:
! 316: echo "\$i should go from 0 to 2\n";
! 317: while ($i<5) {
! 318: if ($i>2) {
! 319: break;
! 320: }
! 321: $j=0;
! 322: echo "\$j should go from 3 to 4, and \$q should go from 3 to 4\n";
! 323: while ($j<5) {
! 324: if ($j<=2) {
! 325: $j++;
! 326: continue;
! 327: }
! 328: echo " \$j=$j\n";
! 329: for ($q=0; $q<=10; $q++) {
! 330: if ($q<3) {
! 331: continue;
! 332: }
! 333: if ($q>4) {
! 334: break;
! 335: }
! 336: echo " \$q=$q\n";
! 337: }
! 338: $j++;
! 339: }
! 340: $j=0;
! 341: echo "\$j should go from 0 to 2\n";
! 342: while ($j<5) {
! 343: if ($j>2) {
! 344: $k=0;
! 345: echo "\$k should go from 0 to 2\n";
! 346: while ($k<5) {
! 347: if ($k>2) {
! 348: break 2;
! 349: }
! 350: echo " \$k=$k\n";
! 351: $k++;
! 352: }
! 353: }
! 354: echo " \$j=$j\n";
! 355: $j++;
! 356: }
! 357: echo "\$i=$i\n";
! 358: $i++;
! 359: }
! 360: ?>
! 361: ***********************
! 362:
! 363: *** Nested file include test ***
! 364: <?php include("023-2.inc"); ?>
! 365: ********************************
! 366:
! 367: <?php
! 368: {
! 369: echo "Tests completed.\n"; # testing some PHP style comment...
! 370: }
! 371:
! 372: } ?>
! 373: --EXPECT--
! 374: <html>
! 375: <head>
! 376: *** Testing assignments and variable aliasing: ***
! 377: This should read "blah": blah
! 378: This should read "this is nifty": this is nifty
! 379: *************************************************
! 380:
! 381: *** Testing integer operators ***
! 382: Correct result - 8: 8
! 383: Correct result - 8: 8
! 384: Correct result - 2: 2
! 385: Correct result - -2: -2
! 386: Correct result - 15: 15
! 387: Correct result - 15: 15
! 388: Correct result - 2: 2
! 389: Correct result - 3: 3
! 390: *********************************
! 391:
! 392: *** Testing real operators ***
! 393: Correct result - 8: 8
! 394: Correct result - 8: 8
! 395: Correct result - 2: 2
! 396: Correct result - -2: -2
! 397: Correct result - 15: 15
! 398: Correct result - 15: 15
! 399: Correct result - 2: 2
! 400: Correct result - 3: 3
! 401: *********************************
! 402:
! 403: *** Testing if/elseif/else control ***
! 404:
! 405: This works
! 406: this_still_works
! 407: should_print
! 408:
! 409:
! 410: *** Seriously nested if's test ***
! 411: ** spelling correction by kluzz **
! 412: Only two lines of text should follow:
! 413: this should be displayed. should be: $i=1, $j=0. is: $i=1, $j=0
! 414: this is supposed to be displayed. should be: $i=2, $j=4. is: $i=2, $j=4
! 415: 3 loop iterations should follow:
! 416: 2 4
! 417: 3 4
! 418: 4 4
! 419: **********************************
! 420:
! 421: *** C-style else-if's ***
! 422: This should be displayed
! 423: *************************
! 424:
! 425: *** WHILE tests ***
! 426: 0 is smaller than 20
! 427: 1 is smaller than 20
! 428: 2 is smaller than 20
! 429: 3 is smaller than 20
! 430: 4 is smaller than 20
! 431: 5 is smaller than 20
! 432: 6 is smaller than 20
! 433: 7 is smaller than 20
! 434: 8 is smaller than 20
! 435: 9 is smaller than 20
! 436: 10 is smaller than 20
! 437: 11 is smaller than 20
! 438: 12 is smaller than 20
! 439: 13 is smaller than 20
! 440: 14 is smaller than 20
! 441: 15 is smaller than 20
! 442: 16 is smaller than 20
! 443: 17 is smaller than 20
! 444: 18 is smaller than 20
! 445: 19 is smaller than 20
! 446: 20 equals 20
! 447: 21 is greater than 20
! 448: 22 is greater than 20
! 449: 23 is greater than 20
! 450: 24 is greater than 20
! 451: 25 is greater than 20
! 452: 26 is greater than 20
! 453: 27 is greater than 20
! 454: 28 is greater than 20
! 455: 29 is greater than 20
! 456: 30 is greater than 20
! 457: 31 is greater than 20
! 458: 32 is greater than 20
! 459: 33 is greater than 20
! 460: 34 is greater than 20
! 461: 35 is greater than 20
! 462: 36 is greater than 20
! 463: 37 is greater than 20
! 464: 38 is greater than 20
! 465: 39 is greater than 20
! 466: *******************
! 467:
! 468:
! 469: *** Nested WHILEs ***
! 470: Each array variable should be equal to the sum of its indices:
! 471: ${test00}[0] = 0
! 472: ${test00}[1] = 1
! 473: ${test00}[2] = 2
! 474: ${test01}[0] = 1
! 475: ${test01}[1] = 2
! 476: ${test01}[2] = 3
! 477: ${test02}[0] = 2
! 478: ${test02}[1] = 3
! 479: ${test02}[2] = 4
! 480: ${test10}[0] = 1
! 481: ${test10}[1] = 2
! 482: ${test10}[2] = 3
! 483: ${test11}[0] = 2
! 484: ${test11}[1] = 3
! 485: ${test11}[2] = 4
! 486: ${test12}[0] = 3
! 487: ${test12}[1] = 4
! 488: ${test12}[2] = 5
! 489: ${test20}[0] = 2
! 490: ${test20}[1] = 3
! 491: ${test20}[2] = 4
! 492: ${test21}[0] = 3
! 493: ${test21}[1] = 4
! 494: ${test21}[2] = 5
! 495: ${test22}[0] = 4
! 496: ${test22}[1] = 5
! 497: ${test22}[2] = 6
! 498: *********************
! 499:
! 500: *** hash test... ***
! 501: commented out...
! 502: **************************
! 503:
! 504: *** Hash resizing test ***
! 505: ba
! 506: baa
! 507: baaa
! 508: baaaa
! 509: baaaaa
! 510: baaaaaa
! 511: baaaaaaa
! 512: baaaaaaaa
! 513: baaaaaaaaa
! 514: baaaaaaaaaa
! 515: ba
! 516: 10
! 517: baa
! 518: 9
! 519: baaa
! 520: 8
! 521: baaaa
! 522: 7
! 523: baaaaa
! 524: 6
! 525: baaaaaa
! 526: 5
! 527: baaaaaaa
! 528: 4
! 529: baaaaaaaa
! 530: 3
! 531: baaaaaaaaa
! 532: 2
! 533: baaaaaaaaaa
! 534: 1
! 535: **************************
! 536:
! 537:
! 538: *** break/continue test ***
! 539: $i should go from 0 to 2
! 540: $j should go from 3 to 4, and $q should go from 3 to 4
! 541: $j=3
! 542: $q=3
! 543: $q=4
! 544: $j=4
! 545: $q=3
! 546: $q=4
! 547: $j should go from 0 to 2
! 548: $j=0
! 549: $j=1
! 550: $j=2
! 551: $k should go from 0 to 2
! 552: $k=0
! 553: $k=1
! 554: $k=2
! 555: $i=0
! 556: $j should go from 3 to 4, and $q should go from 3 to 4
! 557: $j=3
! 558: $q=3
! 559: $q=4
! 560: $j=4
! 561: $q=3
! 562: $q=4
! 563: $j should go from 0 to 2
! 564: $j=0
! 565: $j=1
! 566: $j=2
! 567: $k should go from 0 to 2
! 568: $k=0
! 569: $k=1
! 570: $k=2
! 571: $i=1
! 572: $j should go from 3 to 4, and $q should go from 3 to 4
! 573: $j=3
! 574: $q=3
! 575: $q=4
! 576: $j=4
! 577: $q=3
! 578: $q=4
! 579: $j should go from 0 to 2
! 580: $j=0
! 581: $j=1
! 582: $j=2
! 583: $k should go from 0 to 2
! 584: $k=0
! 585: $k=1
! 586: $k=2
! 587: $i=2
! 588: ***********************
! 589:
! 590: *** Nested file include test ***
! 591: <html>
! 592: This is Finish.phtml. This file is supposed to be included
! 593: from regression_test.phtml. This is normal HTML.
! 594: and this is PHP code, 2+2=4
! 595: </html>
! 596: ********************************
! 597:
! 598: Tests completed.
! 599: <html>
! 600: <head>
! 601: *** Testing assignments and variable aliasing: ***
! 602: This should read "blah": blah
! 603: This should read "this is nifty": this is nifty
! 604: *************************************************
! 605:
! 606: *** Testing integer operators ***
! 607: Correct result - 8: 8
! 608: Correct result - 8: 8
! 609: Correct result - 2: 2
! 610: Correct result - -2: -2
! 611: Correct result - 15: 15
! 612: Correct result - 15: 15
! 613: Correct result - 2: 2
! 614: Correct result - 3: 3
! 615: *********************************
! 616:
! 617: *** Testing real operators ***
! 618: Correct result - 8: 8
! 619: Correct result - 8: 8
! 620: Correct result - 2: 2
! 621: Correct result - -2: -2
! 622: Correct result - 15: 15
! 623: Correct result - 15: 15
! 624: Correct result - 2: 2
! 625: Correct result - 3: 3
! 626: *********************************
! 627:
! 628: *** Testing if/elseif/else control ***
! 629:
! 630: This works
! 631: this_still_works
! 632: should_print
! 633:
! 634:
! 635: *** Seriously nested if's test ***
! 636: ** spelling correction by kluzz **
! 637: Only two lines of text should follow:
! 638: this should be displayed. should be: $i=1, $j=0. is: $i=1, $j=0
! 639: this is supposed to be displayed. should be: $i=2, $j=4. is: $i=2, $j=4
! 640: 3 loop iterations should follow:
! 641: 2 4
! 642: 3 4
! 643: 4 4
! 644: **********************************
! 645:
! 646: *** C-style else-if's ***
! 647: This should be displayed
! 648: *************************
! 649:
! 650: *** WHILE tests ***
! 651: 0 is smaller than 20
! 652: 1 is smaller than 20
! 653: 2 is smaller than 20
! 654: 3 is smaller than 20
! 655: 4 is smaller than 20
! 656: 5 is smaller than 20
! 657: 6 is smaller than 20
! 658: 7 is smaller than 20
! 659: 8 is smaller than 20
! 660: 9 is smaller than 20
! 661: 10 is smaller than 20
! 662: 11 is smaller than 20
! 663: 12 is smaller than 20
! 664: 13 is smaller than 20
! 665: 14 is smaller than 20
! 666: 15 is smaller than 20
! 667: 16 is smaller than 20
! 668: 17 is smaller than 20
! 669: 18 is smaller than 20
! 670: 19 is smaller than 20
! 671: 20 equals 20
! 672: 21 is greater than 20
! 673: 22 is greater than 20
! 674: 23 is greater than 20
! 675: 24 is greater than 20
! 676: 25 is greater than 20
! 677: 26 is greater than 20
! 678: 27 is greater than 20
! 679: 28 is greater than 20
! 680: 29 is greater than 20
! 681: 30 is greater than 20
! 682: 31 is greater than 20
! 683: 32 is greater than 20
! 684: 33 is greater than 20
! 685: 34 is greater than 20
! 686: 35 is greater than 20
! 687: 36 is greater than 20
! 688: 37 is greater than 20
! 689: 38 is greater than 20
! 690: 39 is greater than 20
! 691: *******************
! 692:
! 693:
! 694: *** Nested WHILEs ***
! 695: Each array variable should be equal to the sum of its indices:
! 696: ${test00}[0] = 0
! 697: ${test00}[1] = 1
! 698: ${test00}[2] = 2
! 699: ${test01}[0] = 1
! 700: ${test01}[1] = 2
! 701: ${test01}[2] = 3
! 702: ${test02}[0] = 2
! 703: ${test02}[1] = 3
! 704: ${test02}[2] = 4
! 705: ${test10}[0] = 1
! 706: ${test10}[1] = 2
! 707: ${test10}[2] = 3
! 708: ${test11}[0] = 2
! 709: ${test11}[1] = 3
! 710: ${test11}[2] = 4
! 711: ${test12}[0] = 3
! 712: ${test12}[1] = 4
! 713: ${test12}[2] = 5
! 714: ${test20}[0] = 2
! 715: ${test20}[1] = 3
! 716: ${test20}[2] = 4
! 717: ${test21}[0] = 3
! 718: ${test21}[1] = 4
! 719: ${test21}[2] = 5
! 720: ${test22}[0] = 4
! 721: ${test22}[1] = 5
! 722: ${test22}[2] = 6
! 723: *********************
! 724:
! 725: *** hash test... ***
! 726: commented out...
! 727: **************************
! 728:
! 729: *** Hash resizing test ***
! 730: ba
! 731: baa
! 732: baaa
! 733: baaaa
! 734: baaaaa
! 735: baaaaaa
! 736: baaaaaaa
! 737: baaaaaaaa
! 738: baaaaaaaaa
! 739: baaaaaaaaaa
! 740: ba
! 741: 10
! 742: baa
! 743: 9
! 744: baaa
! 745: 8
! 746: baaaa
! 747: 7
! 748: baaaaa
! 749: 6
! 750: baaaaaa
! 751: 5
! 752: baaaaaaa
! 753: 4
! 754: baaaaaaaa
! 755: 3
! 756: baaaaaaaaa
! 757: 2
! 758: baaaaaaaaaa
! 759: 1
! 760: **************************
! 761:
! 762:
! 763: *** break/continue test ***
! 764: $i should go from 0 to 2
! 765: $j should go from 3 to 4, and $q should go from 3 to 4
! 766: $j=3
! 767: $q=3
! 768: $q=4
! 769: $j=4
! 770: $q=3
! 771: $q=4
! 772: $j should go from 0 to 2
! 773: $j=0
! 774: $j=1
! 775: $j=2
! 776: $k should go from 0 to 2
! 777: $k=0
! 778: $k=1
! 779: $k=2
! 780: $i=0
! 781: $j should go from 3 to 4, and $q should go from 3 to 4
! 782: $j=3
! 783: $q=3
! 784: $q=4
! 785: $j=4
! 786: $q=3
! 787: $q=4
! 788: $j should go from 0 to 2
! 789: $j=0
! 790: $j=1
! 791: $j=2
! 792: $k should go from 0 to 2
! 793: $k=0
! 794: $k=1
! 795: $k=2
! 796: $i=1
! 797: $j should go from 3 to 4, and $q should go from 3 to 4
! 798: $j=3
! 799: $q=3
! 800: $q=4
! 801: $j=4
! 802: $q=3
! 803: $q=4
! 804: $j should go from 0 to 2
! 805: $j=0
! 806: $j=1
! 807: $j=2
! 808: $k should go from 0 to 2
! 809: $k=0
! 810: $k=1
! 811: $k=2
! 812: $i=2
! 813: ***********************
! 814:
! 815: *** Nested file include test ***
! 816: <html>
! 817: This is Finish.phtml. This file is supposed to be included
! 818: from regression_test.phtml. This is normal HTML.
! 819: and this is PHP code, 2+2=4
! 820: </html>
! 821: ********************************
! 822:
! 823: Tests completed.
! 824: <html>
! 825: <head>
! 826: *** Testing assignments and variable aliasing: ***
! 827: This should read "blah": blah
! 828: This should read "this is nifty": this is nifty
! 829: *************************************************
! 830:
! 831: *** Testing integer operators ***
! 832: Correct result - 8: 8
! 833: Correct result - 8: 8
! 834: Correct result - 2: 2
! 835: Correct result - -2: -2
! 836: Correct result - 15: 15
! 837: Correct result - 15: 15
! 838: Correct result - 2: 2
! 839: Correct result - 3: 3
! 840: *********************************
! 841:
! 842: *** Testing real operators ***
! 843: Correct result - 8: 8
! 844: Correct result - 8: 8
! 845: Correct result - 2: 2
! 846: Correct result - -2: -2
! 847: Correct result - 15: 15
! 848: Correct result - 15: 15
! 849: Correct result - 2: 2
! 850: Correct result - 3: 3
! 851: *********************************
! 852:
! 853: *** Testing if/elseif/else control ***
! 854:
! 855: This works
! 856: this_still_works
! 857: should_print
! 858:
! 859:
! 860: *** Seriously nested if's test ***
! 861: ** spelling correction by kluzz **
! 862: Only two lines of text should follow:
! 863: this should be displayed. should be: $i=1, $j=0. is: $i=1, $j=0
! 864: this is supposed to be displayed. should be: $i=2, $j=4. is: $i=2, $j=4
! 865: 3 loop iterations should follow:
! 866: 2 4
! 867: 3 4
! 868: 4 4
! 869: **********************************
! 870:
! 871: *** C-style else-if's ***
! 872: This should be displayed
! 873: *************************
! 874:
! 875: *** WHILE tests ***
! 876: 0 is smaller than 20
! 877: 1 is smaller than 20
! 878: 2 is smaller than 20
! 879: 3 is smaller than 20
! 880: 4 is smaller than 20
! 881: 5 is smaller than 20
! 882: 6 is smaller than 20
! 883: 7 is smaller than 20
! 884: 8 is smaller than 20
! 885: 9 is smaller than 20
! 886: 10 is smaller than 20
! 887: 11 is smaller than 20
! 888: 12 is smaller than 20
! 889: 13 is smaller than 20
! 890: 14 is smaller than 20
! 891: 15 is smaller than 20
! 892: 16 is smaller than 20
! 893: 17 is smaller than 20
! 894: 18 is smaller than 20
! 895: 19 is smaller than 20
! 896: 20 equals 20
! 897: 21 is greater than 20
! 898: 22 is greater than 20
! 899: 23 is greater than 20
! 900: 24 is greater than 20
! 901: 25 is greater than 20
! 902: 26 is greater than 20
! 903: 27 is greater than 20
! 904: 28 is greater than 20
! 905: 29 is greater than 20
! 906: 30 is greater than 20
! 907: 31 is greater than 20
! 908: 32 is greater than 20
! 909: 33 is greater than 20
! 910: 34 is greater than 20
! 911: 35 is greater than 20
! 912: 36 is greater than 20
! 913: 37 is greater than 20
! 914: 38 is greater than 20
! 915: 39 is greater than 20
! 916: *******************
! 917:
! 918:
! 919: *** Nested WHILEs ***
! 920: Each array variable should be equal to the sum of its indices:
! 921: ${test00}[0] = 0
! 922: ${test00}[1] = 1
! 923: ${test00}[2] = 2
! 924: ${test01}[0] = 1
! 925: ${test01}[1] = 2
! 926: ${test01}[2] = 3
! 927: ${test02}[0] = 2
! 928: ${test02}[1] = 3
! 929: ${test02}[2] = 4
! 930: ${test10}[0] = 1
! 931: ${test10}[1] = 2
! 932: ${test10}[2] = 3
! 933: ${test11}[0] = 2
! 934: ${test11}[1] = 3
! 935: ${test11}[2] = 4
! 936: ${test12}[0] = 3
! 937: ${test12}[1] = 4
! 938: ${test12}[2] = 5
! 939: ${test20}[0] = 2
! 940: ${test20}[1] = 3
! 941: ${test20}[2] = 4
! 942: ${test21}[0] = 3
! 943: ${test21}[1] = 4
! 944: ${test21}[2] = 5
! 945: ${test22}[0] = 4
! 946: ${test22}[1] = 5
! 947: ${test22}[2] = 6
! 948: *********************
! 949:
! 950: *** hash test... ***
! 951: commented out...
! 952: **************************
! 953:
! 954: *** Hash resizing test ***
! 955: ba
! 956: baa
! 957: baaa
! 958: baaaa
! 959: baaaaa
! 960: baaaaaa
! 961: baaaaaaa
! 962: baaaaaaaa
! 963: baaaaaaaaa
! 964: baaaaaaaaaa
! 965: ba
! 966: 10
! 967: baa
! 968: 9
! 969: baaa
! 970: 8
! 971: baaaa
! 972: 7
! 973: baaaaa
! 974: 6
! 975: baaaaaa
! 976: 5
! 977: baaaaaaa
! 978: 4
! 979: baaaaaaaa
! 980: 3
! 981: baaaaaaaaa
! 982: 2
! 983: baaaaaaaaaa
! 984: 1
! 985: **************************
! 986:
! 987:
! 988: *** break/continue test ***
! 989: $i should go from 0 to 2
! 990: $j should go from 3 to 4, and $q should go from 3 to 4
! 991: $j=3
! 992: $q=3
! 993: $q=4
! 994: $j=4
! 995: $q=3
! 996: $q=4
! 997: $j should go from 0 to 2
! 998: $j=0
! 999: $j=1
! 1000: $j=2
! 1001: $k should go from 0 to 2
! 1002: $k=0
! 1003: $k=1
! 1004: $k=2
! 1005: $i=0
! 1006: $j should go from 3 to 4, and $q should go from 3 to 4
! 1007: $j=3
! 1008: $q=3
! 1009: $q=4
! 1010: $j=4
! 1011: $q=3
! 1012: $q=4
! 1013: $j should go from 0 to 2
! 1014: $j=0
! 1015: $j=1
! 1016: $j=2
! 1017: $k should go from 0 to 2
! 1018: $k=0
! 1019: $k=1
! 1020: $k=2
! 1021: $i=1
! 1022: $j should go from 3 to 4, and $q should go from 3 to 4
! 1023: $j=3
! 1024: $q=3
! 1025: $q=4
! 1026: $j=4
! 1027: $q=3
! 1028: $q=4
! 1029: $j should go from 0 to 2
! 1030: $j=0
! 1031: $j=1
! 1032: $j=2
! 1033: $k should go from 0 to 2
! 1034: $k=0
! 1035: $k=1
! 1036: $k=2
! 1037: $i=2
! 1038: ***********************
! 1039:
! 1040: *** Nested file include test ***
! 1041: <html>
! 1042: This is Finish.phtml. This file is supposed to be included
! 1043: from regression_test.phtml. This is normal HTML.
! 1044: and this is PHP code, 2+2=4
! 1045: </html>
! 1046: ********************************
! 1047:
! 1048: Tests completed.
! 1049: <html>
! 1050: <head>
! 1051: *** Testing assignments and variable aliasing: ***
! 1052: This should read "blah": blah
! 1053: This should read "this is nifty": this is nifty
! 1054: *************************************************
! 1055:
! 1056: *** Testing integer operators ***
! 1057: Correct result - 8: 8
! 1058: Correct result - 8: 8
! 1059: Correct result - 2: 2
! 1060: Correct result - -2: -2
! 1061: Correct result - 15: 15
! 1062: Correct result - 15: 15
! 1063: Correct result - 2: 2
! 1064: Correct result - 3: 3
! 1065: *********************************
! 1066:
! 1067: *** Testing real operators ***
! 1068: Correct result - 8: 8
! 1069: Correct result - 8: 8
! 1070: Correct result - 2: 2
! 1071: Correct result - -2: -2
! 1072: Correct result - 15: 15
! 1073: Correct result - 15: 15
! 1074: Correct result - 2: 2
! 1075: Correct result - 3: 3
! 1076: *********************************
! 1077:
! 1078: *** Testing if/elseif/else control ***
! 1079:
! 1080: This works
! 1081: this_still_works
! 1082: should_print
! 1083:
! 1084:
! 1085: *** Seriously nested if's test ***
! 1086: ** spelling correction by kluzz **
! 1087: Only two lines of text should follow:
! 1088: this should be displayed. should be: $i=1, $j=0. is: $i=1, $j=0
! 1089: this is supposed to be displayed. should be: $i=2, $j=4. is: $i=2, $j=4
! 1090: 3 loop iterations should follow:
! 1091: 2 4
! 1092: 3 4
! 1093: 4 4
! 1094: **********************************
! 1095:
! 1096: *** C-style else-if's ***
! 1097: This should be displayed
! 1098: *************************
! 1099:
! 1100: *** WHILE tests ***
! 1101: 0 is smaller than 20
! 1102: 1 is smaller than 20
! 1103: 2 is smaller than 20
! 1104: 3 is smaller than 20
! 1105: 4 is smaller than 20
! 1106: 5 is smaller than 20
! 1107: 6 is smaller than 20
! 1108: 7 is smaller than 20
! 1109: 8 is smaller than 20
! 1110: 9 is smaller than 20
! 1111: 10 is smaller than 20
! 1112: 11 is smaller than 20
! 1113: 12 is smaller than 20
! 1114: 13 is smaller than 20
! 1115: 14 is smaller than 20
! 1116: 15 is smaller than 20
! 1117: 16 is smaller than 20
! 1118: 17 is smaller than 20
! 1119: 18 is smaller than 20
! 1120: 19 is smaller than 20
! 1121: 20 equals 20
! 1122: 21 is greater than 20
! 1123: 22 is greater than 20
! 1124: 23 is greater than 20
! 1125: 24 is greater than 20
! 1126: 25 is greater than 20
! 1127: 26 is greater than 20
! 1128: 27 is greater than 20
! 1129: 28 is greater than 20
! 1130: 29 is greater than 20
! 1131: 30 is greater than 20
! 1132: 31 is greater than 20
! 1133: 32 is greater than 20
! 1134: 33 is greater than 20
! 1135: 34 is greater than 20
! 1136: 35 is greater than 20
! 1137: 36 is greater than 20
! 1138: 37 is greater than 20
! 1139: 38 is greater than 20
! 1140: 39 is greater than 20
! 1141: *******************
! 1142:
! 1143:
! 1144: *** Nested WHILEs ***
! 1145: Each array variable should be equal to the sum of its indices:
! 1146: ${test00}[0] = 0
! 1147: ${test00}[1] = 1
! 1148: ${test00}[2] = 2
! 1149: ${test01}[0] = 1
! 1150: ${test01}[1] = 2
! 1151: ${test01}[2] = 3
! 1152: ${test02}[0] = 2
! 1153: ${test02}[1] = 3
! 1154: ${test02}[2] = 4
! 1155: ${test10}[0] = 1
! 1156: ${test10}[1] = 2
! 1157: ${test10}[2] = 3
! 1158: ${test11}[0] = 2
! 1159: ${test11}[1] = 3
! 1160: ${test11}[2] = 4
! 1161: ${test12}[0] = 3
! 1162: ${test12}[1] = 4
! 1163: ${test12}[2] = 5
! 1164: ${test20}[0] = 2
! 1165: ${test20}[1] = 3
! 1166: ${test20}[2] = 4
! 1167: ${test21}[0] = 3
! 1168: ${test21}[1] = 4
! 1169: ${test21}[2] = 5
! 1170: ${test22}[0] = 4
! 1171: ${test22}[1] = 5
! 1172: ${test22}[2] = 6
! 1173: *********************
! 1174:
! 1175: *** hash test... ***
! 1176: commented out...
! 1177: **************************
! 1178:
! 1179: *** Hash resizing test ***
! 1180: ba
! 1181: baa
! 1182: baaa
! 1183: baaaa
! 1184: baaaaa
! 1185: baaaaaa
! 1186: baaaaaaa
! 1187: baaaaaaaa
! 1188: baaaaaaaaa
! 1189: baaaaaaaaaa
! 1190: ba
! 1191: 10
! 1192: baa
! 1193: 9
! 1194: baaa
! 1195: 8
! 1196: baaaa
! 1197: 7
! 1198: baaaaa
! 1199: 6
! 1200: baaaaaa
! 1201: 5
! 1202: baaaaaaa
! 1203: 4
! 1204: baaaaaaaa
! 1205: 3
! 1206: baaaaaaaaa
! 1207: 2
! 1208: baaaaaaaaaa
! 1209: 1
! 1210: **************************
! 1211:
! 1212:
! 1213: *** break/continue test ***
! 1214: $i should go from 0 to 2
! 1215: $j should go from 3 to 4, and $q should go from 3 to 4
! 1216: $j=3
! 1217: $q=3
! 1218: $q=4
! 1219: $j=4
! 1220: $q=3
! 1221: $q=4
! 1222: $j should go from 0 to 2
! 1223: $j=0
! 1224: $j=1
! 1225: $j=2
! 1226: $k should go from 0 to 2
! 1227: $k=0
! 1228: $k=1
! 1229: $k=2
! 1230: $i=0
! 1231: $j should go from 3 to 4, and $q should go from 3 to 4
! 1232: $j=3
! 1233: $q=3
! 1234: $q=4
! 1235: $j=4
! 1236: $q=3
! 1237: $q=4
! 1238: $j should go from 0 to 2
! 1239: $j=0
! 1240: $j=1
! 1241: $j=2
! 1242: $k should go from 0 to 2
! 1243: $k=0
! 1244: $k=1
! 1245: $k=2
! 1246: $i=1
! 1247: $j should go from 3 to 4, and $q should go from 3 to 4
! 1248: $j=3
! 1249: $q=3
! 1250: $q=4
! 1251: $j=4
! 1252: $q=3
! 1253: $q=4
! 1254: $j should go from 0 to 2
! 1255: $j=0
! 1256: $j=1
! 1257: $j=2
! 1258: $k should go from 0 to 2
! 1259: $k=0
! 1260: $k=1
! 1261: $k=2
! 1262: $i=2
! 1263: ***********************
! 1264:
! 1265: *** Nested file include test ***
! 1266: <html>
! 1267: This is Finish.phtml. This file is supposed to be included
! 1268: from regression_test.phtml. This is normal HTML.
! 1269: and this is PHP code, 2+2=4
! 1270: </html>
! 1271: ********************************
! 1272:
! 1273: Tests completed.
! 1274: <html>
! 1275: <head>
! 1276: *** Testing assignments and variable aliasing: ***
! 1277: This should read "blah": blah
! 1278: This should read "this is nifty": this is nifty
! 1279: *************************************************
! 1280:
! 1281: *** Testing integer operators ***
! 1282: Correct result - 8: 8
! 1283: Correct result - 8: 8
! 1284: Correct result - 2: 2
! 1285: Correct result - -2: -2
! 1286: Correct result - 15: 15
! 1287: Correct result - 15: 15
! 1288: Correct result - 2: 2
! 1289: Correct result - 3: 3
! 1290: *********************************
! 1291:
! 1292: *** Testing real operators ***
! 1293: Correct result - 8: 8
! 1294: Correct result - 8: 8
! 1295: Correct result - 2: 2
! 1296: Correct result - -2: -2
! 1297: Correct result - 15: 15
! 1298: Correct result - 15: 15
! 1299: Correct result - 2: 2
! 1300: Correct result - 3: 3
! 1301: *********************************
! 1302:
! 1303: *** Testing if/elseif/else control ***
! 1304:
! 1305: This works
! 1306: this_still_works
! 1307: should_print
! 1308:
! 1309:
! 1310: *** Seriously nested if's test ***
! 1311: ** spelling correction by kluzz **
! 1312: Only two lines of text should follow:
! 1313: this should be displayed. should be: $i=1, $j=0. is: $i=1, $j=0
! 1314: this is supposed to be displayed. should be: $i=2, $j=4. is: $i=2, $j=4
! 1315: 3 loop iterations should follow:
! 1316: 2 4
! 1317: 3 4
! 1318: 4 4
! 1319: **********************************
! 1320:
! 1321: *** C-style else-if's ***
! 1322: This should be displayed
! 1323: *************************
! 1324:
! 1325: *** WHILE tests ***
! 1326: 0 is smaller than 20
! 1327: 1 is smaller than 20
! 1328: 2 is smaller than 20
! 1329: 3 is smaller than 20
! 1330: 4 is smaller than 20
! 1331: 5 is smaller than 20
! 1332: 6 is smaller than 20
! 1333: 7 is smaller than 20
! 1334: 8 is smaller than 20
! 1335: 9 is smaller than 20
! 1336: 10 is smaller than 20
! 1337: 11 is smaller than 20
! 1338: 12 is smaller than 20
! 1339: 13 is smaller than 20
! 1340: 14 is smaller than 20
! 1341: 15 is smaller than 20
! 1342: 16 is smaller than 20
! 1343: 17 is smaller than 20
! 1344: 18 is smaller than 20
! 1345: 19 is smaller than 20
! 1346: 20 equals 20
! 1347: 21 is greater than 20
! 1348: 22 is greater than 20
! 1349: 23 is greater than 20
! 1350: 24 is greater than 20
! 1351: 25 is greater than 20
! 1352: 26 is greater than 20
! 1353: 27 is greater than 20
! 1354: 28 is greater than 20
! 1355: 29 is greater than 20
! 1356: 30 is greater than 20
! 1357: 31 is greater than 20
! 1358: 32 is greater than 20
! 1359: 33 is greater than 20
! 1360: 34 is greater than 20
! 1361: 35 is greater than 20
! 1362: 36 is greater than 20
! 1363: 37 is greater than 20
! 1364: 38 is greater than 20
! 1365: 39 is greater than 20
! 1366: *******************
! 1367:
! 1368:
! 1369: *** Nested WHILEs ***
! 1370: Each array variable should be equal to the sum of its indices:
! 1371: ${test00}[0] = 0
! 1372: ${test00}[1] = 1
! 1373: ${test00}[2] = 2
! 1374: ${test01}[0] = 1
! 1375: ${test01}[1] = 2
! 1376: ${test01}[2] = 3
! 1377: ${test02}[0] = 2
! 1378: ${test02}[1] = 3
! 1379: ${test02}[2] = 4
! 1380: ${test10}[0] = 1
! 1381: ${test10}[1] = 2
! 1382: ${test10}[2] = 3
! 1383: ${test11}[0] = 2
! 1384: ${test11}[1] = 3
! 1385: ${test11}[2] = 4
! 1386: ${test12}[0] = 3
! 1387: ${test12}[1] = 4
! 1388: ${test12}[2] = 5
! 1389: ${test20}[0] = 2
! 1390: ${test20}[1] = 3
! 1391: ${test20}[2] = 4
! 1392: ${test21}[0] = 3
! 1393: ${test21}[1] = 4
! 1394: ${test21}[2] = 5
! 1395: ${test22}[0] = 4
! 1396: ${test22}[1] = 5
! 1397: ${test22}[2] = 6
! 1398: *********************
! 1399:
! 1400: *** hash test... ***
! 1401: commented out...
! 1402: **************************
! 1403:
! 1404: *** Hash resizing test ***
! 1405: ba
! 1406: baa
! 1407: baaa
! 1408: baaaa
! 1409: baaaaa
! 1410: baaaaaa
! 1411: baaaaaaa
! 1412: baaaaaaaa
! 1413: baaaaaaaaa
! 1414: baaaaaaaaaa
! 1415: ba
! 1416: 10
! 1417: baa
! 1418: 9
! 1419: baaa
! 1420: 8
! 1421: baaaa
! 1422: 7
! 1423: baaaaa
! 1424: 6
! 1425: baaaaaa
! 1426: 5
! 1427: baaaaaaa
! 1428: 4
! 1429: baaaaaaaa
! 1430: 3
! 1431: baaaaaaaaa
! 1432: 2
! 1433: baaaaaaaaaa
! 1434: 1
! 1435: **************************
! 1436:
! 1437:
! 1438: *** break/continue test ***
! 1439: $i should go from 0 to 2
! 1440: $j should go from 3 to 4, and $q should go from 3 to 4
! 1441: $j=3
! 1442: $q=3
! 1443: $q=4
! 1444: $j=4
! 1445: $q=3
! 1446: $q=4
! 1447: $j should go from 0 to 2
! 1448: $j=0
! 1449: $j=1
! 1450: $j=2
! 1451: $k should go from 0 to 2
! 1452: $k=0
! 1453: $k=1
! 1454: $k=2
! 1455: $i=0
! 1456: $j should go from 3 to 4, and $q should go from 3 to 4
! 1457: $j=3
! 1458: $q=3
! 1459: $q=4
! 1460: $j=4
! 1461: $q=3
! 1462: $q=4
! 1463: $j should go from 0 to 2
! 1464: $j=0
! 1465: $j=1
! 1466: $j=2
! 1467: $k should go from 0 to 2
! 1468: $k=0
! 1469: $k=1
! 1470: $k=2
! 1471: $i=1
! 1472: $j should go from 3 to 4, and $q should go from 3 to 4
! 1473: $j=3
! 1474: $q=3
! 1475: $q=4
! 1476: $j=4
! 1477: $q=3
! 1478: $q=4
! 1479: $j should go from 0 to 2
! 1480: $j=0
! 1481: $j=1
! 1482: $j=2
! 1483: $k should go from 0 to 2
! 1484: $k=0
! 1485: $k=1
! 1486: $k=2
! 1487: $i=2
! 1488: ***********************
! 1489:
! 1490: *** Nested file include test ***
! 1491: <html>
! 1492: This is Finish.phtml. This file is supposed to be included
! 1493: from regression_test.phtml. This is normal HTML.
! 1494: and this is PHP code, 2+2=4
! 1495: </html>
! 1496: ********************************
! 1497:
! 1498: Tests completed.
! 1499: <html>
! 1500: <head>
! 1501: *** Testing assignments and variable aliasing: ***
! 1502: This should read "blah": blah
! 1503: This should read "this is nifty": this is nifty
! 1504: *************************************************
! 1505:
! 1506: *** Testing integer operators ***
! 1507: Correct result - 8: 8
! 1508: Correct result - 8: 8
! 1509: Correct result - 2: 2
! 1510: Correct result - -2: -2
! 1511: Correct result - 15: 15
! 1512: Correct result - 15: 15
! 1513: Correct result - 2: 2
! 1514: Correct result - 3: 3
! 1515: *********************************
! 1516:
! 1517: *** Testing real operators ***
! 1518: Correct result - 8: 8
! 1519: Correct result - 8: 8
! 1520: Correct result - 2: 2
! 1521: Correct result - -2: -2
! 1522: Correct result - 15: 15
! 1523: Correct result - 15: 15
! 1524: Correct result - 2: 2
! 1525: Correct result - 3: 3
! 1526: *********************************
! 1527:
! 1528: *** Testing if/elseif/else control ***
! 1529:
! 1530: This works
! 1531: this_still_works
! 1532: should_print
! 1533:
! 1534:
! 1535: *** Seriously nested if's test ***
! 1536: ** spelling correction by kluzz **
! 1537: Only two lines of text should follow:
! 1538: this should be displayed. should be: $i=1, $j=0. is: $i=1, $j=0
! 1539: this is supposed to be displayed. should be: $i=2, $j=4. is: $i=2, $j=4
! 1540: 3 loop iterations should follow:
! 1541: 2 4
! 1542: 3 4
! 1543: 4 4
! 1544: **********************************
! 1545:
! 1546: *** C-style else-if's ***
! 1547: This should be displayed
! 1548: *************************
! 1549:
! 1550: *** WHILE tests ***
! 1551: 0 is smaller than 20
! 1552: 1 is smaller than 20
! 1553: 2 is smaller than 20
! 1554: 3 is smaller than 20
! 1555: 4 is smaller than 20
! 1556: 5 is smaller than 20
! 1557: 6 is smaller than 20
! 1558: 7 is smaller than 20
! 1559: 8 is smaller than 20
! 1560: 9 is smaller than 20
! 1561: 10 is smaller than 20
! 1562: 11 is smaller than 20
! 1563: 12 is smaller than 20
! 1564: 13 is smaller than 20
! 1565: 14 is smaller than 20
! 1566: 15 is smaller than 20
! 1567: 16 is smaller than 20
! 1568: 17 is smaller than 20
! 1569: 18 is smaller than 20
! 1570: 19 is smaller than 20
! 1571: 20 equals 20
! 1572: 21 is greater than 20
! 1573: 22 is greater than 20
! 1574: 23 is greater than 20
! 1575: 24 is greater than 20
! 1576: 25 is greater than 20
! 1577: 26 is greater than 20
! 1578: 27 is greater than 20
! 1579: 28 is greater than 20
! 1580: 29 is greater than 20
! 1581: 30 is greater than 20
! 1582: 31 is greater than 20
! 1583: 32 is greater than 20
! 1584: 33 is greater than 20
! 1585: 34 is greater than 20
! 1586: 35 is greater than 20
! 1587: 36 is greater than 20
! 1588: 37 is greater than 20
! 1589: 38 is greater than 20
! 1590: 39 is greater than 20
! 1591: *******************
! 1592:
! 1593:
! 1594: *** Nested WHILEs ***
! 1595: Each array variable should be equal to the sum of its indices:
! 1596: ${test00}[0] = 0
! 1597: ${test00}[1] = 1
! 1598: ${test00}[2] = 2
! 1599: ${test01}[0] = 1
! 1600: ${test01}[1] = 2
! 1601: ${test01}[2] = 3
! 1602: ${test02}[0] = 2
! 1603: ${test02}[1] = 3
! 1604: ${test02}[2] = 4
! 1605: ${test10}[0] = 1
! 1606: ${test10}[1] = 2
! 1607: ${test10}[2] = 3
! 1608: ${test11}[0] = 2
! 1609: ${test11}[1] = 3
! 1610: ${test11}[2] = 4
! 1611: ${test12}[0] = 3
! 1612: ${test12}[1] = 4
! 1613: ${test12}[2] = 5
! 1614: ${test20}[0] = 2
! 1615: ${test20}[1] = 3
! 1616: ${test20}[2] = 4
! 1617: ${test21}[0] = 3
! 1618: ${test21}[1] = 4
! 1619: ${test21}[2] = 5
! 1620: ${test22}[0] = 4
! 1621: ${test22}[1] = 5
! 1622: ${test22}[2] = 6
! 1623: *********************
! 1624:
! 1625: *** hash test... ***
! 1626: commented out...
! 1627: **************************
! 1628:
! 1629: *** Hash resizing test ***
! 1630: ba
! 1631: baa
! 1632: baaa
! 1633: baaaa
! 1634: baaaaa
! 1635: baaaaaa
! 1636: baaaaaaa
! 1637: baaaaaaaa
! 1638: baaaaaaaaa
! 1639: baaaaaaaaaa
! 1640: ba
! 1641: 10
! 1642: baa
! 1643: 9
! 1644: baaa
! 1645: 8
! 1646: baaaa
! 1647: 7
! 1648: baaaaa
! 1649: 6
! 1650: baaaaaa
! 1651: 5
! 1652: baaaaaaa
! 1653: 4
! 1654: baaaaaaaa
! 1655: 3
! 1656: baaaaaaaaa
! 1657: 2
! 1658: baaaaaaaaaa
! 1659: 1
! 1660: **************************
! 1661:
! 1662:
! 1663: *** break/continue test ***
! 1664: $i should go from 0 to 2
! 1665: $j should go from 3 to 4, and $q should go from 3 to 4
! 1666: $j=3
! 1667: $q=3
! 1668: $q=4
! 1669: $j=4
! 1670: $q=3
! 1671: $q=4
! 1672: $j should go from 0 to 2
! 1673: $j=0
! 1674: $j=1
! 1675: $j=2
! 1676: $k should go from 0 to 2
! 1677: $k=0
! 1678: $k=1
! 1679: $k=2
! 1680: $i=0
! 1681: $j should go from 3 to 4, and $q should go from 3 to 4
! 1682: $j=3
! 1683: $q=3
! 1684: $q=4
! 1685: $j=4
! 1686: $q=3
! 1687: $q=4
! 1688: $j should go from 0 to 2
! 1689: $j=0
! 1690: $j=1
! 1691: $j=2
! 1692: $k should go from 0 to 2
! 1693: $k=0
! 1694: $k=1
! 1695: $k=2
! 1696: $i=1
! 1697: $j should go from 3 to 4, and $q should go from 3 to 4
! 1698: $j=3
! 1699: $q=3
! 1700: $q=4
! 1701: $j=4
! 1702: $q=3
! 1703: $q=4
! 1704: $j should go from 0 to 2
! 1705: $j=0
! 1706: $j=1
! 1707: $j=2
! 1708: $k should go from 0 to 2
! 1709: $k=0
! 1710: $k=1
! 1711: $k=2
! 1712: $i=2
! 1713: ***********************
! 1714:
! 1715: *** Nested file include test ***
! 1716: <html>
! 1717: This is Finish.phtml. This file is supposed to be included
! 1718: from regression_test.phtml. This is normal HTML.
! 1719: and this is PHP code, 2+2=4
! 1720: </html>
! 1721: ********************************
! 1722:
! 1723: Tests completed.
! 1724: <html>
! 1725: <head>
! 1726: *** Testing assignments and variable aliasing: ***
! 1727: This should read "blah": blah
! 1728: This should read "this is nifty": this is nifty
! 1729: *************************************************
! 1730:
! 1731: *** Testing integer operators ***
! 1732: Correct result - 8: 8
! 1733: Correct result - 8: 8
! 1734: Correct result - 2: 2
! 1735: Correct result - -2: -2
! 1736: Correct result - 15: 15
! 1737: Correct result - 15: 15
! 1738: Correct result - 2: 2
! 1739: Correct result - 3: 3
! 1740: *********************************
! 1741:
! 1742: *** Testing real operators ***
! 1743: Correct result - 8: 8
! 1744: Correct result - 8: 8
! 1745: Correct result - 2: 2
! 1746: Correct result - -2: -2
! 1747: Correct result - 15: 15
! 1748: Correct result - 15: 15
! 1749: Correct result - 2: 2
! 1750: Correct result - 3: 3
! 1751: *********************************
! 1752:
! 1753: *** Testing if/elseif/else control ***
! 1754:
! 1755: This works
! 1756: this_still_works
! 1757: should_print
! 1758:
! 1759:
! 1760: *** Seriously nested if's test ***
! 1761: ** spelling correction by kluzz **
! 1762: Only two lines of text should follow:
! 1763: this should be displayed. should be: $i=1, $j=0. is: $i=1, $j=0
! 1764: this is supposed to be displayed. should be: $i=2, $j=4. is: $i=2, $j=4
! 1765: 3 loop iterations should follow:
! 1766: 2 4
! 1767: 3 4
! 1768: 4 4
! 1769: **********************************
! 1770:
! 1771: *** C-style else-if's ***
! 1772: This should be displayed
! 1773: *************************
! 1774:
! 1775: *** WHILE tests ***
! 1776: 0 is smaller than 20
! 1777: 1 is smaller than 20
! 1778: 2 is smaller than 20
! 1779: 3 is smaller than 20
! 1780: 4 is smaller than 20
! 1781: 5 is smaller than 20
! 1782: 6 is smaller than 20
! 1783: 7 is smaller than 20
! 1784: 8 is smaller than 20
! 1785: 9 is smaller than 20
! 1786: 10 is smaller than 20
! 1787: 11 is smaller than 20
! 1788: 12 is smaller than 20
! 1789: 13 is smaller than 20
! 1790: 14 is smaller than 20
! 1791: 15 is smaller than 20
! 1792: 16 is smaller than 20
! 1793: 17 is smaller than 20
! 1794: 18 is smaller than 20
! 1795: 19 is smaller than 20
! 1796: 20 equals 20
! 1797: 21 is greater than 20
! 1798: 22 is greater than 20
! 1799: 23 is greater than 20
! 1800: 24 is greater than 20
! 1801: 25 is greater than 20
! 1802: 26 is greater than 20
! 1803: 27 is greater than 20
! 1804: 28 is greater than 20
! 1805: 29 is greater than 20
! 1806: 30 is greater than 20
! 1807: 31 is greater than 20
! 1808: 32 is greater than 20
! 1809: 33 is greater than 20
! 1810: 34 is greater than 20
! 1811: 35 is greater than 20
! 1812: 36 is greater than 20
! 1813: 37 is greater than 20
! 1814: 38 is greater than 20
! 1815: 39 is greater than 20
! 1816: *******************
! 1817:
! 1818:
! 1819: *** Nested WHILEs ***
! 1820: Each array variable should be equal to the sum of its indices:
! 1821: ${test00}[0] = 0
! 1822: ${test00}[1] = 1
! 1823: ${test00}[2] = 2
! 1824: ${test01}[0] = 1
! 1825: ${test01}[1] = 2
! 1826: ${test01}[2] = 3
! 1827: ${test02}[0] = 2
! 1828: ${test02}[1] = 3
! 1829: ${test02}[2] = 4
! 1830: ${test10}[0] = 1
! 1831: ${test10}[1] = 2
! 1832: ${test10}[2] = 3
! 1833: ${test11}[0] = 2
! 1834: ${test11}[1] = 3
! 1835: ${test11}[2] = 4
! 1836: ${test12}[0] = 3
! 1837: ${test12}[1] = 4
! 1838: ${test12}[2] = 5
! 1839: ${test20}[0] = 2
! 1840: ${test20}[1] = 3
! 1841: ${test20}[2] = 4
! 1842: ${test21}[0] = 3
! 1843: ${test21}[1] = 4
! 1844: ${test21}[2] = 5
! 1845: ${test22}[0] = 4
! 1846: ${test22}[1] = 5
! 1847: ${test22}[2] = 6
! 1848: *********************
! 1849:
! 1850: *** hash test... ***
! 1851: commented out...
! 1852: **************************
! 1853:
! 1854: *** Hash resizing test ***
! 1855: ba
! 1856: baa
! 1857: baaa
! 1858: baaaa
! 1859: baaaaa
! 1860: baaaaaa
! 1861: baaaaaaa
! 1862: baaaaaaaa
! 1863: baaaaaaaaa
! 1864: baaaaaaaaaa
! 1865: ba
! 1866: 10
! 1867: baa
! 1868: 9
! 1869: baaa
! 1870: 8
! 1871: baaaa
! 1872: 7
! 1873: baaaaa
! 1874: 6
! 1875: baaaaaa
! 1876: 5
! 1877: baaaaaaa
! 1878: 4
! 1879: baaaaaaaa
! 1880: 3
! 1881: baaaaaaaaa
! 1882: 2
! 1883: baaaaaaaaaa
! 1884: 1
! 1885: **************************
! 1886:
! 1887:
! 1888: *** break/continue test ***
! 1889: $i should go from 0 to 2
! 1890: $j should go from 3 to 4, and $q should go from 3 to 4
! 1891: $j=3
! 1892: $q=3
! 1893: $q=4
! 1894: $j=4
! 1895: $q=3
! 1896: $q=4
! 1897: $j should go from 0 to 2
! 1898: $j=0
! 1899: $j=1
! 1900: $j=2
! 1901: $k should go from 0 to 2
! 1902: $k=0
! 1903: $k=1
! 1904: $k=2
! 1905: $i=0
! 1906: $j should go from 3 to 4, and $q should go from 3 to 4
! 1907: $j=3
! 1908: $q=3
! 1909: $q=4
! 1910: $j=4
! 1911: $q=3
! 1912: $q=4
! 1913: $j should go from 0 to 2
! 1914: $j=0
! 1915: $j=1
! 1916: $j=2
! 1917: $k should go from 0 to 2
! 1918: $k=0
! 1919: $k=1
! 1920: $k=2
! 1921: $i=1
! 1922: $j should go from 3 to 4, and $q should go from 3 to 4
! 1923: $j=3
! 1924: $q=3
! 1925: $q=4
! 1926: $j=4
! 1927: $q=3
! 1928: $q=4
! 1929: $j should go from 0 to 2
! 1930: $j=0
! 1931: $j=1
! 1932: $j=2
! 1933: $k should go from 0 to 2
! 1934: $k=0
! 1935: $k=1
! 1936: $k=2
! 1937: $i=2
! 1938: ***********************
! 1939:
! 1940: *** Nested file include test ***
! 1941: <html>
! 1942: This is Finish.phtml. This file is supposed to be included
! 1943: from regression_test.phtml. This is normal HTML.
! 1944: and this is PHP code, 2+2=4
! 1945: </html>
! 1946: ********************************
! 1947:
! 1948: Tests completed.
! 1949: <html>
! 1950: <head>
! 1951: *** Testing assignments and variable aliasing: ***
! 1952: This should read "blah": blah
! 1953: This should read "this is nifty": this is nifty
! 1954: *************************************************
! 1955:
! 1956: *** Testing integer operators ***
! 1957: Correct result - 8: 8
! 1958: Correct result - 8: 8
! 1959: Correct result - 2: 2
! 1960: Correct result - -2: -2
! 1961: Correct result - 15: 15
! 1962: Correct result - 15: 15
! 1963: Correct result - 2: 2
! 1964: Correct result - 3: 3
! 1965: *********************************
! 1966:
! 1967: *** Testing real operators ***
! 1968: Correct result - 8: 8
! 1969: Correct result - 8: 8
! 1970: Correct result - 2: 2
! 1971: Correct result - -2: -2
! 1972: Correct result - 15: 15
! 1973: Correct result - 15: 15
! 1974: Correct result - 2: 2
! 1975: Correct result - 3: 3
! 1976: *********************************
! 1977:
! 1978: *** Testing if/elseif/else control ***
! 1979:
! 1980: This works
! 1981: this_still_works
! 1982: should_print
! 1983:
! 1984:
! 1985: *** Seriously nested if's test ***
! 1986: ** spelling correction by kluzz **
! 1987: Only two lines of text should follow:
! 1988: this should be displayed. should be: $i=1, $j=0. is: $i=1, $j=0
! 1989: this is supposed to be displayed. should be: $i=2, $j=4. is: $i=2, $j=4
! 1990: 3 loop iterations should follow:
! 1991: 2 4
! 1992: 3 4
! 1993: 4 4
! 1994: **********************************
! 1995:
! 1996: *** C-style else-if's ***
! 1997: This should be displayed
! 1998: *************************
! 1999:
! 2000: *** WHILE tests ***
! 2001: 0 is smaller than 20
! 2002: 1 is smaller than 20
! 2003: 2 is smaller than 20
! 2004: 3 is smaller than 20
! 2005: 4 is smaller than 20
! 2006: 5 is smaller than 20
! 2007: 6 is smaller than 20
! 2008: 7 is smaller than 20
! 2009: 8 is smaller than 20
! 2010: 9 is smaller than 20
! 2011: 10 is smaller than 20
! 2012: 11 is smaller than 20
! 2013: 12 is smaller than 20
! 2014: 13 is smaller than 20
! 2015: 14 is smaller than 20
! 2016: 15 is smaller than 20
! 2017: 16 is smaller than 20
! 2018: 17 is smaller than 20
! 2019: 18 is smaller than 20
! 2020: 19 is smaller than 20
! 2021: 20 equals 20
! 2022: 21 is greater than 20
! 2023: 22 is greater than 20
! 2024: 23 is greater than 20
! 2025: 24 is greater than 20
! 2026: 25 is greater than 20
! 2027: 26 is greater than 20
! 2028: 27 is greater than 20
! 2029: 28 is greater than 20
! 2030: 29 is greater than 20
! 2031: 30 is greater than 20
! 2032: 31 is greater than 20
! 2033: 32 is greater than 20
! 2034: 33 is greater than 20
! 2035: 34 is greater than 20
! 2036: 35 is greater than 20
! 2037: 36 is greater than 20
! 2038: 37 is greater than 20
! 2039: 38 is greater than 20
! 2040: 39 is greater than 20
! 2041: *******************
! 2042:
! 2043:
! 2044: *** Nested WHILEs ***
! 2045: Each array variable should be equal to the sum of its indices:
! 2046: ${test00}[0] = 0
! 2047: ${test00}[1] = 1
! 2048: ${test00}[2] = 2
! 2049: ${test01}[0] = 1
! 2050: ${test01}[1] = 2
! 2051: ${test01}[2] = 3
! 2052: ${test02}[0] = 2
! 2053: ${test02}[1] = 3
! 2054: ${test02}[2] = 4
! 2055: ${test10}[0] = 1
! 2056: ${test10}[1] = 2
! 2057: ${test10}[2] = 3
! 2058: ${test11}[0] = 2
! 2059: ${test11}[1] = 3
! 2060: ${test11}[2] = 4
! 2061: ${test12}[0] = 3
! 2062: ${test12}[1] = 4
! 2063: ${test12}[2] = 5
! 2064: ${test20}[0] = 2
! 2065: ${test20}[1] = 3
! 2066: ${test20}[2] = 4
! 2067: ${test21}[0] = 3
! 2068: ${test21}[1] = 4
! 2069: ${test21}[2] = 5
! 2070: ${test22}[0] = 4
! 2071: ${test22}[1] = 5
! 2072: ${test22}[2] = 6
! 2073: *********************
! 2074:
! 2075: *** hash test... ***
! 2076: commented out...
! 2077: **************************
! 2078:
! 2079: *** Hash resizing test ***
! 2080: ba
! 2081: baa
! 2082: baaa
! 2083: baaaa
! 2084: baaaaa
! 2085: baaaaaa
! 2086: baaaaaaa
! 2087: baaaaaaaa
! 2088: baaaaaaaaa
! 2089: baaaaaaaaaa
! 2090: ba
! 2091: 10
! 2092: baa
! 2093: 9
! 2094: baaa
! 2095: 8
! 2096: baaaa
! 2097: 7
! 2098: baaaaa
! 2099: 6
! 2100: baaaaaa
! 2101: 5
! 2102: baaaaaaa
! 2103: 4
! 2104: baaaaaaaa
! 2105: 3
! 2106: baaaaaaaaa
! 2107: 2
! 2108: baaaaaaaaaa
! 2109: 1
! 2110: **************************
! 2111:
! 2112:
! 2113: *** break/continue test ***
! 2114: $i should go from 0 to 2
! 2115: $j should go from 3 to 4, and $q should go from 3 to 4
! 2116: $j=3
! 2117: $q=3
! 2118: $q=4
! 2119: $j=4
! 2120: $q=3
! 2121: $q=4
! 2122: $j should go from 0 to 2
! 2123: $j=0
! 2124: $j=1
! 2125: $j=2
! 2126: $k should go from 0 to 2
! 2127: $k=0
! 2128: $k=1
! 2129: $k=2
! 2130: $i=0
! 2131: $j should go from 3 to 4, and $q should go from 3 to 4
! 2132: $j=3
! 2133: $q=3
! 2134: $q=4
! 2135: $j=4
! 2136: $q=3
! 2137: $q=4
! 2138: $j should go from 0 to 2
! 2139: $j=0
! 2140: $j=1
! 2141: $j=2
! 2142: $k should go from 0 to 2
! 2143: $k=0
! 2144: $k=1
! 2145: $k=2
! 2146: $i=1
! 2147: $j should go from 3 to 4, and $q should go from 3 to 4
! 2148: $j=3
! 2149: $q=3
! 2150: $q=4
! 2151: $j=4
! 2152: $q=3
! 2153: $q=4
! 2154: $j should go from 0 to 2
! 2155: $j=0
! 2156: $j=1
! 2157: $j=2
! 2158: $k should go from 0 to 2
! 2159: $k=0
! 2160: $k=1
! 2161: $k=2
! 2162: $i=2
! 2163: ***********************
! 2164:
! 2165: *** Nested file include test ***
! 2166: <html>
! 2167: This is Finish.phtml. This file is supposed to be included
! 2168: from regression_test.phtml. This is normal HTML.
! 2169: and this is PHP code, 2+2=4
! 2170: </html>
! 2171: ********************************
! 2172:
! 2173: Tests completed.
! 2174: <html>
! 2175: <head>
! 2176: *** Testing assignments and variable aliasing: ***
! 2177: This should read "blah": blah
! 2178: This should read "this is nifty": this is nifty
! 2179: *************************************************
! 2180:
! 2181: *** Testing integer operators ***
! 2182: Correct result - 8: 8
! 2183: Correct result - 8: 8
! 2184: Correct result - 2: 2
! 2185: Correct result - -2: -2
! 2186: Correct result - 15: 15
! 2187: Correct result - 15: 15
! 2188: Correct result - 2: 2
! 2189: Correct result - 3: 3
! 2190: *********************************
! 2191:
! 2192: *** Testing real operators ***
! 2193: Correct result - 8: 8
! 2194: Correct result - 8: 8
! 2195: Correct result - 2: 2
! 2196: Correct result - -2: -2
! 2197: Correct result - 15: 15
! 2198: Correct result - 15: 15
! 2199: Correct result - 2: 2
! 2200: Correct result - 3: 3
! 2201: *********************************
! 2202:
! 2203: *** Testing if/elseif/else control ***
! 2204:
! 2205: This works
! 2206: this_still_works
! 2207: should_print
! 2208:
! 2209:
! 2210: *** Seriously nested if's test ***
! 2211: ** spelling correction by kluzz **
! 2212: Only two lines of text should follow:
! 2213: this should be displayed. should be: $i=1, $j=0. is: $i=1, $j=0
! 2214: this is supposed to be displayed. should be: $i=2, $j=4. is: $i=2, $j=4
! 2215: 3 loop iterations should follow:
! 2216: 2 4
! 2217: 3 4
! 2218: 4 4
! 2219: **********************************
! 2220:
! 2221: *** C-style else-if's ***
! 2222: This should be displayed
! 2223: *************************
! 2224:
! 2225: *** WHILE tests ***
! 2226: 0 is smaller than 20
! 2227: 1 is smaller than 20
! 2228: 2 is smaller than 20
! 2229: 3 is smaller than 20
! 2230: 4 is smaller than 20
! 2231: 5 is smaller than 20
! 2232: 6 is smaller than 20
! 2233: 7 is smaller than 20
! 2234: 8 is smaller than 20
! 2235: 9 is smaller than 20
! 2236: 10 is smaller than 20
! 2237: 11 is smaller than 20
! 2238: 12 is smaller than 20
! 2239: 13 is smaller than 20
! 2240: 14 is smaller than 20
! 2241: 15 is smaller than 20
! 2242: 16 is smaller than 20
! 2243: 17 is smaller than 20
! 2244: 18 is smaller than 20
! 2245: 19 is smaller than 20
! 2246: 20 equals 20
! 2247: 21 is greater than 20
! 2248: 22 is greater than 20
! 2249: 23 is greater than 20
! 2250: 24 is greater than 20
! 2251: 25 is greater than 20
! 2252: 26 is greater than 20
! 2253: 27 is greater than 20
! 2254: 28 is greater than 20
! 2255: 29 is greater than 20
! 2256: 30 is greater than 20
! 2257: 31 is greater than 20
! 2258: 32 is greater than 20
! 2259: 33 is greater than 20
! 2260: 34 is greater than 20
! 2261: 35 is greater than 20
! 2262: 36 is greater than 20
! 2263: 37 is greater than 20
! 2264: 38 is greater than 20
! 2265: 39 is greater than 20
! 2266: *******************
! 2267:
! 2268:
! 2269: *** Nested WHILEs ***
! 2270: Each array variable should be equal to the sum of its indices:
! 2271: ${test00}[0] = 0
! 2272: ${test00}[1] = 1
! 2273: ${test00}[2] = 2
! 2274: ${test01}[0] = 1
! 2275: ${test01}[1] = 2
! 2276: ${test01}[2] = 3
! 2277: ${test02}[0] = 2
! 2278: ${test02}[1] = 3
! 2279: ${test02}[2] = 4
! 2280: ${test10}[0] = 1
! 2281: ${test10}[1] = 2
! 2282: ${test10}[2] = 3
! 2283: ${test11}[0] = 2
! 2284: ${test11}[1] = 3
! 2285: ${test11}[2] = 4
! 2286: ${test12}[0] = 3
! 2287: ${test12}[1] = 4
! 2288: ${test12}[2] = 5
! 2289: ${test20}[0] = 2
! 2290: ${test20}[1] = 3
! 2291: ${test20}[2] = 4
! 2292: ${test21}[0] = 3
! 2293: ${test21}[1] = 4
! 2294: ${test21}[2] = 5
! 2295: ${test22}[0] = 4
! 2296: ${test22}[1] = 5
! 2297: ${test22}[2] = 6
! 2298: *********************
! 2299:
! 2300: *** hash test... ***
! 2301: commented out...
! 2302: **************************
! 2303:
! 2304: *** Hash resizing test ***
! 2305: ba
! 2306: baa
! 2307: baaa
! 2308: baaaa
! 2309: baaaaa
! 2310: baaaaaa
! 2311: baaaaaaa
! 2312: baaaaaaaa
! 2313: baaaaaaaaa
! 2314: baaaaaaaaaa
! 2315: ba
! 2316: 10
! 2317: baa
! 2318: 9
! 2319: baaa
! 2320: 8
! 2321: baaaa
! 2322: 7
! 2323: baaaaa
! 2324: 6
! 2325: baaaaaa
! 2326: 5
! 2327: baaaaaaa
! 2328: 4
! 2329: baaaaaaaa
! 2330: 3
! 2331: baaaaaaaaa
! 2332: 2
! 2333: baaaaaaaaaa
! 2334: 1
! 2335: **************************
! 2336:
! 2337:
! 2338: *** break/continue test ***
! 2339: $i should go from 0 to 2
! 2340: $j should go from 3 to 4, and $q should go from 3 to 4
! 2341: $j=3
! 2342: $q=3
! 2343: $q=4
! 2344: $j=4
! 2345: $q=3
! 2346: $q=4
! 2347: $j should go from 0 to 2
! 2348: $j=0
! 2349: $j=1
! 2350: $j=2
! 2351: $k should go from 0 to 2
! 2352: $k=0
! 2353: $k=1
! 2354: $k=2
! 2355: $i=0
! 2356: $j should go from 3 to 4, and $q should go from 3 to 4
! 2357: $j=3
! 2358: $q=3
! 2359: $q=4
! 2360: $j=4
! 2361: $q=3
! 2362: $q=4
! 2363: $j should go from 0 to 2
! 2364: $j=0
! 2365: $j=1
! 2366: $j=2
! 2367: $k should go from 0 to 2
! 2368: $k=0
! 2369: $k=1
! 2370: $k=2
! 2371: $i=1
! 2372: $j should go from 3 to 4, and $q should go from 3 to 4
! 2373: $j=3
! 2374: $q=3
! 2375: $q=4
! 2376: $j=4
! 2377: $q=3
! 2378: $q=4
! 2379: $j should go from 0 to 2
! 2380: $j=0
! 2381: $j=1
! 2382: $j=2
! 2383: $k should go from 0 to 2
! 2384: $k=0
! 2385: $k=1
! 2386: $k=2
! 2387: $i=2
! 2388: ***********************
! 2389:
! 2390: *** Nested file include test ***
! 2391: <html>
! 2392: This is Finish.phtml. This file is supposed to be included
! 2393: from regression_test.phtml. This is normal HTML.
! 2394: and this is PHP code, 2+2=4
! 2395: </html>
! 2396: ********************************
! 2397:
! 2398: Tests completed.
! 2399: <html>
! 2400: <head>
! 2401: *** Testing assignments and variable aliasing: ***
! 2402: This should read "blah": blah
! 2403: This should read "this is nifty": this is nifty
! 2404: *************************************************
! 2405:
! 2406: *** Testing integer operators ***
! 2407: Correct result - 8: 8
! 2408: Correct result - 8: 8
! 2409: Correct result - 2: 2
! 2410: Correct result - -2: -2
! 2411: Correct result - 15: 15
! 2412: Correct result - 15: 15
! 2413: Correct result - 2: 2
! 2414: Correct result - 3: 3
! 2415: *********************************
! 2416:
! 2417: *** Testing real operators ***
! 2418: Correct result - 8: 8
! 2419: Correct result - 8: 8
! 2420: Correct result - 2: 2
! 2421: Correct result - -2: -2
! 2422: Correct result - 15: 15
! 2423: Correct result - 15: 15
! 2424: Correct result - 2: 2
! 2425: Correct result - 3: 3
! 2426: *********************************
! 2427:
! 2428: *** Testing if/elseif/else control ***
! 2429:
! 2430: This works
! 2431: this_still_works
! 2432: should_print
! 2433:
! 2434:
! 2435: *** Seriously nested if's test ***
! 2436: ** spelling correction by kluzz **
! 2437: Only two lines of text should follow:
! 2438: this should be displayed. should be: $i=1, $j=0. is: $i=1, $j=0
! 2439: this is supposed to be displayed. should be: $i=2, $j=4. is: $i=2, $j=4
! 2440: 3 loop iterations should follow:
! 2441: 2 4
! 2442: 3 4
! 2443: 4 4
! 2444: **********************************
! 2445:
! 2446: *** C-style else-if's ***
! 2447: This should be displayed
! 2448: *************************
! 2449:
! 2450: *** WHILE tests ***
! 2451: 0 is smaller than 20
! 2452: 1 is smaller than 20
! 2453: 2 is smaller than 20
! 2454: 3 is smaller than 20
! 2455: 4 is smaller than 20
! 2456: 5 is smaller than 20
! 2457: 6 is smaller than 20
! 2458: 7 is smaller than 20
! 2459: 8 is smaller than 20
! 2460: 9 is smaller than 20
! 2461: 10 is smaller than 20
! 2462: 11 is smaller than 20
! 2463: 12 is smaller than 20
! 2464: 13 is smaller than 20
! 2465: 14 is smaller than 20
! 2466: 15 is smaller than 20
! 2467: 16 is smaller than 20
! 2468: 17 is smaller than 20
! 2469: 18 is smaller than 20
! 2470: 19 is smaller than 20
! 2471: 20 equals 20
! 2472: 21 is greater than 20
! 2473: 22 is greater than 20
! 2474: 23 is greater than 20
! 2475: 24 is greater than 20
! 2476: 25 is greater than 20
! 2477: 26 is greater than 20
! 2478: 27 is greater than 20
! 2479: 28 is greater than 20
! 2480: 29 is greater than 20
! 2481: 30 is greater than 20
! 2482: 31 is greater than 20
! 2483: 32 is greater than 20
! 2484: 33 is greater than 20
! 2485: 34 is greater than 20
! 2486: 35 is greater than 20
! 2487: 36 is greater than 20
! 2488: 37 is greater than 20
! 2489: 38 is greater than 20
! 2490: 39 is greater than 20
! 2491: *******************
! 2492:
! 2493:
! 2494: *** Nested WHILEs ***
! 2495: Each array variable should be equal to the sum of its indices:
! 2496: ${test00}[0] = 0
! 2497: ${test00}[1] = 1
! 2498: ${test00}[2] = 2
! 2499: ${test01}[0] = 1
! 2500: ${test01}[1] = 2
! 2501: ${test01}[2] = 3
! 2502: ${test02}[0] = 2
! 2503: ${test02}[1] = 3
! 2504: ${test02}[2] = 4
! 2505: ${test10}[0] = 1
! 2506: ${test10}[1] = 2
! 2507: ${test10}[2] = 3
! 2508: ${test11}[0] = 2
! 2509: ${test11}[1] = 3
! 2510: ${test11}[2] = 4
! 2511: ${test12}[0] = 3
! 2512: ${test12}[1] = 4
! 2513: ${test12}[2] = 5
! 2514: ${test20}[0] = 2
! 2515: ${test20}[1] = 3
! 2516: ${test20}[2] = 4
! 2517: ${test21}[0] = 3
! 2518: ${test21}[1] = 4
! 2519: ${test21}[2] = 5
! 2520: ${test22}[0] = 4
! 2521: ${test22}[1] = 5
! 2522: ${test22}[2] = 6
! 2523: *********************
! 2524:
! 2525: *** hash test... ***
! 2526: commented out...
! 2527: **************************
! 2528:
! 2529: *** Hash resizing test ***
! 2530: ba
! 2531: baa
! 2532: baaa
! 2533: baaaa
! 2534: baaaaa
! 2535: baaaaaa
! 2536: baaaaaaa
! 2537: baaaaaaaa
! 2538: baaaaaaaaa
! 2539: baaaaaaaaaa
! 2540: ba
! 2541: 10
! 2542: baa
! 2543: 9
! 2544: baaa
! 2545: 8
! 2546: baaaa
! 2547: 7
! 2548: baaaaa
! 2549: 6
! 2550: baaaaaa
! 2551: 5
! 2552: baaaaaaa
! 2553: 4
! 2554: baaaaaaaa
! 2555: 3
! 2556: baaaaaaaaa
! 2557: 2
! 2558: baaaaaaaaaa
! 2559: 1
! 2560: **************************
! 2561:
! 2562:
! 2563: *** break/continue test ***
! 2564: $i should go from 0 to 2
! 2565: $j should go from 3 to 4, and $q should go from 3 to 4
! 2566: $j=3
! 2567: $q=3
! 2568: $q=4
! 2569: $j=4
! 2570: $q=3
! 2571: $q=4
! 2572: $j should go from 0 to 2
! 2573: $j=0
! 2574: $j=1
! 2575: $j=2
! 2576: $k should go from 0 to 2
! 2577: $k=0
! 2578: $k=1
! 2579: $k=2
! 2580: $i=0
! 2581: $j should go from 3 to 4, and $q should go from 3 to 4
! 2582: $j=3
! 2583: $q=3
! 2584: $q=4
! 2585: $j=4
! 2586: $q=3
! 2587: $q=4
! 2588: $j should go from 0 to 2
! 2589: $j=0
! 2590: $j=1
! 2591: $j=2
! 2592: $k should go from 0 to 2
! 2593: $k=0
! 2594: $k=1
! 2595: $k=2
! 2596: $i=1
! 2597: $j should go from 3 to 4, and $q should go from 3 to 4
! 2598: $j=3
! 2599: $q=3
! 2600: $q=4
! 2601: $j=4
! 2602: $q=3
! 2603: $q=4
! 2604: $j should go from 0 to 2
! 2605: $j=0
! 2606: $j=1
! 2607: $j=2
! 2608: $k should go from 0 to 2
! 2609: $k=0
! 2610: $k=1
! 2611: $k=2
! 2612: $i=2
! 2613: ***********************
! 2614:
! 2615: *** Nested file include test ***
! 2616: <html>
! 2617: This is Finish.phtml. This file is supposed to be included
! 2618: from regression_test.phtml. This is normal HTML.
! 2619: and this is PHP code, 2+2=4
! 2620: </html>
! 2621: ********************************
! 2622:
! 2623: Tests completed.
! 2624: <html>
! 2625: <head>
! 2626: *** Testing assignments and variable aliasing: ***
! 2627: This should read "blah": blah
! 2628: This should read "this is nifty": this is nifty
! 2629: *************************************************
! 2630:
! 2631: *** Testing integer operators ***
! 2632: Correct result - 8: 8
! 2633: Correct result - 8: 8
! 2634: Correct result - 2: 2
! 2635: Correct result - -2: -2
! 2636: Correct result - 15: 15
! 2637: Correct result - 15: 15
! 2638: Correct result - 2: 2
! 2639: Correct result - 3: 3
! 2640: *********************************
! 2641:
! 2642: *** Testing real operators ***
! 2643: Correct result - 8: 8
! 2644: Correct result - 8: 8
! 2645: Correct result - 2: 2
! 2646: Correct result - -2: -2
! 2647: Correct result - 15: 15
! 2648: Correct result - 15: 15
! 2649: Correct result - 2: 2
! 2650: Correct result - 3: 3
! 2651: *********************************
! 2652:
! 2653: *** Testing if/elseif/else control ***
! 2654:
! 2655: This works
! 2656: this_still_works
! 2657: should_print
! 2658:
! 2659:
! 2660: *** Seriously nested if's test ***
! 2661: ** spelling correction by kluzz **
! 2662: Only two lines of text should follow:
! 2663: this should be displayed. should be: $i=1, $j=0. is: $i=1, $j=0
! 2664: this is supposed to be displayed. should be: $i=2, $j=4. is: $i=2, $j=4
! 2665: 3 loop iterations should follow:
! 2666: 2 4
! 2667: 3 4
! 2668: 4 4
! 2669: **********************************
! 2670:
! 2671: *** C-style else-if's ***
! 2672: This should be displayed
! 2673: *************************
! 2674:
! 2675: *** WHILE tests ***
! 2676: 0 is smaller than 20
! 2677: 1 is smaller than 20
! 2678: 2 is smaller than 20
! 2679: 3 is smaller than 20
! 2680: 4 is smaller than 20
! 2681: 5 is smaller than 20
! 2682: 6 is smaller than 20
! 2683: 7 is smaller than 20
! 2684: 8 is smaller than 20
! 2685: 9 is smaller than 20
! 2686: 10 is smaller than 20
! 2687: 11 is smaller than 20
! 2688: 12 is smaller than 20
! 2689: 13 is smaller than 20
! 2690: 14 is smaller than 20
! 2691: 15 is smaller than 20
! 2692: 16 is smaller than 20
! 2693: 17 is smaller than 20
! 2694: 18 is smaller than 20
! 2695: 19 is smaller than 20
! 2696: 20 equals 20
! 2697: 21 is greater than 20
! 2698: 22 is greater than 20
! 2699: 23 is greater than 20
! 2700: 24 is greater than 20
! 2701: 25 is greater than 20
! 2702: 26 is greater than 20
! 2703: 27 is greater than 20
! 2704: 28 is greater than 20
! 2705: 29 is greater than 20
! 2706: 30 is greater than 20
! 2707: 31 is greater than 20
! 2708: 32 is greater than 20
! 2709: 33 is greater than 20
! 2710: 34 is greater than 20
! 2711: 35 is greater than 20
! 2712: 36 is greater than 20
! 2713: 37 is greater than 20
! 2714: 38 is greater than 20
! 2715: 39 is greater than 20
! 2716: *******************
! 2717:
! 2718:
! 2719: *** Nested WHILEs ***
! 2720: Each array variable should be equal to the sum of its indices:
! 2721: ${test00}[0] = 0
! 2722: ${test00}[1] = 1
! 2723: ${test00}[2] = 2
! 2724: ${test01}[0] = 1
! 2725: ${test01}[1] = 2
! 2726: ${test01}[2] = 3
! 2727: ${test02}[0] = 2
! 2728: ${test02}[1] = 3
! 2729: ${test02}[2] = 4
! 2730: ${test10}[0] = 1
! 2731: ${test10}[1] = 2
! 2732: ${test10}[2] = 3
! 2733: ${test11}[0] = 2
! 2734: ${test11}[1] = 3
! 2735: ${test11}[2] = 4
! 2736: ${test12}[0] = 3
! 2737: ${test12}[1] = 4
! 2738: ${test12}[2] = 5
! 2739: ${test20}[0] = 2
! 2740: ${test20}[1] = 3
! 2741: ${test20}[2] = 4
! 2742: ${test21}[0] = 3
! 2743: ${test21}[1] = 4
! 2744: ${test21}[2] = 5
! 2745: ${test22}[0] = 4
! 2746: ${test22}[1] = 5
! 2747: ${test22}[2] = 6
! 2748: *********************
! 2749:
! 2750: *** hash test... ***
! 2751: commented out...
! 2752: **************************
! 2753:
! 2754: *** Hash resizing test ***
! 2755: ba
! 2756: baa
! 2757: baaa
! 2758: baaaa
! 2759: baaaaa
! 2760: baaaaaa
! 2761: baaaaaaa
! 2762: baaaaaaaa
! 2763: baaaaaaaaa
! 2764: baaaaaaaaaa
! 2765: ba
! 2766: 10
! 2767: baa
! 2768: 9
! 2769: baaa
! 2770: 8
! 2771: baaaa
! 2772: 7
! 2773: baaaaa
! 2774: 6
! 2775: baaaaaa
! 2776: 5
! 2777: baaaaaaa
! 2778: 4
! 2779: baaaaaaaa
! 2780: 3
! 2781: baaaaaaaaa
! 2782: 2
! 2783: baaaaaaaaaa
! 2784: 1
! 2785: **************************
! 2786:
! 2787:
! 2788: *** break/continue test ***
! 2789: $i should go from 0 to 2
! 2790: $j should go from 3 to 4, and $q should go from 3 to 4
! 2791: $j=3
! 2792: $q=3
! 2793: $q=4
! 2794: $j=4
! 2795: $q=3
! 2796: $q=4
! 2797: $j should go from 0 to 2
! 2798: $j=0
! 2799: $j=1
! 2800: $j=2
! 2801: $k should go from 0 to 2
! 2802: $k=0
! 2803: $k=1
! 2804: $k=2
! 2805: $i=0
! 2806: $j should go from 3 to 4, and $q should go from 3 to 4
! 2807: $j=3
! 2808: $q=3
! 2809: $q=4
! 2810: $j=4
! 2811: $q=3
! 2812: $q=4
! 2813: $j should go from 0 to 2
! 2814: $j=0
! 2815: $j=1
! 2816: $j=2
! 2817: $k should go from 0 to 2
! 2818: $k=0
! 2819: $k=1
! 2820: $k=2
! 2821: $i=1
! 2822: $j should go from 3 to 4, and $q should go from 3 to 4
! 2823: $j=3
! 2824: $q=3
! 2825: $q=4
! 2826: $j=4
! 2827: $q=3
! 2828: $q=4
! 2829: $j should go from 0 to 2
! 2830: $j=0
! 2831: $j=1
! 2832: $j=2
! 2833: $k should go from 0 to 2
! 2834: $k=0
! 2835: $k=1
! 2836: $k=2
! 2837: $i=2
! 2838: ***********************
! 2839:
! 2840: *** Nested file include test ***
! 2841: <html>
! 2842: This is Finish.phtml. This file is supposed to be included
! 2843: from regression_test.phtml. This is normal HTML.
! 2844: and this is PHP code, 2+2=4
! 2845: </html>
! 2846: ********************************
! 2847:
! 2848: Tests completed.
! 2849: <html>
! 2850: <head>
! 2851: *** Testing assignments and variable aliasing: ***
! 2852: This should read "blah": blah
! 2853: This should read "this is nifty": this is nifty
! 2854: *************************************************
! 2855:
! 2856: *** Testing integer operators ***
! 2857: Correct result - 8: 8
! 2858: Correct result - 8: 8
! 2859: Correct result - 2: 2
! 2860: Correct result - -2: -2
! 2861: Correct result - 15: 15
! 2862: Correct result - 15: 15
! 2863: Correct result - 2: 2
! 2864: Correct result - 3: 3
! 2865: *********************************
! 2866:
! 2867: *** Testing real operators ***
! 2868: Correct result - 8: 8
! 2869: Correct result - 8: 8
! 2870: Correct result - 2: 2
! 2871: Correct result - -2: -2
! 2872: Correct result - 15: 15
! 2873: Correct result - 15: 15
! 2874: Correct result - 2: 2
! 2875: Correct result - 3: 3
! 2876: *********************************
! 2877:
! 2878: *** Testing if/elseif/else control ***
! 2879:
! 2880: This works
! 2881: this_still_works
! 2882: should_print
! 2883:
! 2884:
! 2885: *** Seriously nested if's test ***
! 2886: ** spelling correction by kluzz **
! 2887: Only two lines of text should follow:
! 2888: this should be displayed. should be: $i=1, $j=0. is: $i=1, $j=0
! 2889: this is supposed to be displayed. should be: $i=2, $j=4. is: $i=2, $j=4
! 2890: 3 loop iterations should follow:
! 2891: 2 4
! 2892: 3 4
! 2893: 4 4
! 2894: **********************************
! 2895:
! 2896: *** C-style else-if's ***
! 2897: This should be displayed
! 2898: *************************
! 2899:
! 2900: *** WHILE tests ***
! 2901: 0 is smaller than 20
! 2902: 1 is smaller than 20
! 2903: 2 is smaller than 20
! 2904: 3 is smaller than 20
! 2905: 4 is smaller than 20
! 2906: 5 is smaller than 20
! 2907: 6 is smaller than 20
! 2908: 7 is smaller than 20
! 2909: 8 is smaller than 20
! 2910: 9 is smaller than 20
! 2911: 10 is smaller than 20
! 2912: 11 is smaller than 20
! 2913: 12 is smaller than 20
! 2914: 13 is smaller than 20
! 2915: 14 is smaller than 20
! 2916: 15 is smaller than 20
! 2917: 16 is smaller than 20
! 2918: 17 is smaller than 20
! 2919: 18 is smaller than 20
! 2920: 19 is smaller than 20
! 2921: 20 equals 20
! 2922: 21 is greater than 20
! 2923: 22 is greater than 20
! 2924: 23 is greater than 20
! 2925: 24 is greater than 20
! 2926: 25 is greater than 20
! 2927: 26 is greater than 20
! 2928: 27 is greater than 20
! 2929: 28 is greater than 20
! 2930: 29 is greater than 20
! 2931: 30 is greater than 20
! 2932: 31 is greater than 20
! 2933: 32 is greater than 20
! 2934: 33 is greater than 20
! 2935: 34 is greater than 20
! 2936: 35 is greater than 20
! 2937: 36 is greater than 20
! 2938: 37 is greater than 20
! 2939: 38 is greater than 20
! 2940: 39 is greater than 20
! 2941: *******************
! 2942:
! 2943:
! 2944: *** Nested WHILEs ***
! 2945: Each array variable should be equal to the sum of its indices:
! 2946: ${test00}[0] = 0
! 2947: ${test00}[1] = 1
! 2948: ${test00}[2] = 2
! 2949: ${test01}[0] = 1
! 2950: ${test01}[1] = 2
! 2951: ${test01}[2] = 3
! 2952: ${test02}[0] = 2
! 2953: ${test02}[1] = 3
! 2954: ${test02}[2] = 4
! 2955: ${test10}[0] = 1
! 2956: ${test10}[1] = 2
! 2957: ${test10}[2] = 3
! 2958: ${test11}[0] = 2
! 2959: ${test11}[1] = 3
! 2960: ${test11}[2] = 4
! 2961: ${test12}[0] = 3
! 2962: ${test12}[1] = 4
! 2963: ${test12}[2] = 5
! 2964: ${test20}[0] = 2
! 2965: ${test20}[1] = 3
! 2966: ${test20}[2] = 4
! 2967: ${test21}[0] = 3
! 2968: ${test21}[1] = 4
! 2969: ${test21}[2] = 5
! 2970: ${test22}[0] = 4
! 2971: ${test22}[1] = 5
! 2972: ${test22}[2] = 6
! 2973: *********************
! 2974:
! 2975: *** hash test... ***
! 2976: commented out...
! 2977: **************************
! 2978:
! 2979: *** Hash resizing test ***
! 2980: ba
! 2981: baa
! 2982: baaa
! 2983: baaaa
! 2984: baaaaa
! 2985: baaaaaa
! 2986: baaaaaaa
! 2987: baaaaaaaa
! 2988: baaaaaaaaa
! 2989: baaaaaaaaaa
! 2990: ba
! 2991: 10
! 2992: baa
! 2993: 9
! 2994: baaa
! 2995: 8
! 2996: baaaa
! 2997: 7
! 2998: baaaaa
! 2999: 6
! 3000: baaaaaa
! 3001: 5
! 3002: baaaaaaa
! 3003: 4
! 3004: baaaaaaaa
! 3005: 3
! 3006: baaaaaaaaa
! 3007: 2
! 3008: baaaaaaaaaa
! 3009: 1
! 3010: **************************
! 3011:
! 3012:
! 3013: *** break/continue test ***
! 3014: $i should go from 0 to 2
! 3015: $j should go from 3 to 4, and $q should go from 3 to 4
! 3016: $j=3
! 3017: $q=3
! 3018: $q=4
! 3019: $j=4
! 3020: $q=3
! 3021: $q=4
! 3022: $j should go from 0 to 2
! 3023: $j=0
! 3024: $j=1
! 3025: $j=2
! 3026: $k should go from 0 to 2
! 3027: $k=0
! 3028: $k=1
! 3029: $k=2
! 3030: $i=0
! 3031: $j should go from 3 to 4, and $q should go from 3 to 4
! 3032: $j=3
! 3033: $q=3
! 3034: $q=4
! 3035: $j=4
! 3036: $q=3
! 3037: $q=4
! 3038: $j should go from 0 to 2
! 3039: $j=0
! 3040: $j=1
! 3041: $j=2
! 3042: $k should go from 0 to 2
! 3043: $k=0
! 3044: $k=1
! 3045: $k=2
! 3046: $i=1
! 3047: $j should go from 3 to 4, and $q should go from 3 to 4
! 3048: $j=3
! 3049: $q=3
! 3050: $q=4
! 3051: $j=4
! 3052: $q=3
! 3053: $q=4
! 3054: $j should go from 0 to 2
! 3055: $j=0
! 3056: $j=1
! 3057: $j=2
! 3058: $k should go from 0 to 2
! 3059: $k=0
! 3060: $k=1
! 3061: $k=2
! 3062: $i=2
! 3063: ***********************
! 3064:
! 3065: *** Nested file include test ***
! 3066: <html>
! 3067: This is Finish.phtml. This file is supposed to be included
! 3068: from regression_test.phtml. This is normal HTML.
! 3069: and this is PHP code, 2+2=4
! 3070: </html>
! 3071: ********************************
! 3072:
! 3073: Tests completed.
! 3074: <html>
! 3075: <head>
! 3076: *** Testing assignments and variable aliasing: ***
! 3077: This should read "blah": blah
! 3078: This should read "this is nifty": this is nifty
! 3079: *************************************************
! 3080:
! 3081: *** Testing integer operators ***
! 3082: Correct result - 8: 8
! 3083: Correct result - 8: 8
! 3084: Correct result - 2: 2
! 3085: Correct result - -2: -2
! 3086: Correct result - 15: 15
! 3087: Correct result - 15: 15
! 3088: Correct result - 2: 2
! 3089: Correct result - 3: 3
! 3090: *********************************
! 3091:
! 3092: *** Testing real operators ***
! 3093: Correct result - 8: 8
! 3094: Correct result - 8: 8
! 3095: Correct result - 2: 2
! 3096: Correct result - -2: -2
! 3097: Correct result - 15: 15
! 3098: Correct result - 15: 15
! 3099: Correct result - 2: 2
! 3100: Correct result - 3: 3
! 3101: *********************************
! 3102:
! 3103: *** Testing if/elseif/else control ***
! 3104:
! 3105: This works
! 3106: this_still_works
! 3107: should_print
! 3108:
! 3109:
! 3110: *** Seriously nested if's test ***
! 3111: ** spelling correction by kluzz **
! 3112: Only two lines of text should follow:
! 3113: this should be displayed. should be: $i=1, $j=0. is: $i=1, $j=0
! 3114: this is supposed to be displayed. should be: $i=2, $j=4. is: $i=2, $j=4
! 3115: 3 loop iterations should follow:
! 3116: 2 4
! 3117: 3 4
! 3118: 4 4
! 3119: **********************************
! 3120:
! 3121: *** C-style else-if's ***
! 3122: This should be displayed
! 3123: *************************
! 3124:
! 3125: *** WHILE tests ***
! 3126: 0 is smaller than 20
! 3127: 1 is smaller than 20
! 3128: 2 is smaller than 20
! 3129: 3 is smaller than 20
! 3130: 4 is smaller than 20
! 3131: 5 is smaller than 20
! 3132: 6 is smaller than 20
! 3133: 7 is smaller than 20
! 3134: 8 is smaller than 20
! 3135: 9 is smaller than 20
! 3136: 10 is smaller than 20
! 3137: 11 is smaller than 20
! 3138: 12 is smaller than 20
! 3139: 13 is smaller than 20
! 3140: 14 is smaller than 20
! 3141: 15 is smaller than 20
! 3142: 16 is smaller than 20
! 3143: 17 is smaller than 20
! 3144: 18 is smaller than 20
! 3145: 19 is smaller than 20
! 3146: 20 equals 20
! 3147: 21 is greater than 20
! 3148: 22 is greater than 20
! 3149: 23 is greater than 20
! 3150: 24 is greater than 20
! 3151: 25 is greater than 20
! 3152: 26 is greater than 20
! 3153: 27 is greater than 20
! 3154: 28 is greater than 20
! 3155: 29 is greater than 20
! 3156: 30 is greater than 20
! 3157: 31 is greater than 20
! 3158: 32 is greater than 20
! 3159: 33 is greater than 20
! 3160: 34 is greater than 20
! 3161: 35 is greater than 20
! 3162: 36 is greater than 20
! 3163: 37 is greater than 20
! 3164: 38 is greater than 20
! 3165: 39 is greater than 20
! 3166: *******************
! 3167:
! 3168:
! 3169: *** Nested WHILEs ***
! 3170: Each array variable should be equal to the sum of its indices:
! 3171: ${test00}[0] = 0
! 3172: ${test00}[1] = 1
! 3173: ${test00}[2] = 2
! 3174: ${test01}[0] = 1
! 3175: ${test01}[1] = 2
! 3176: ${test01}[2] = 3
! 3177: ${test02}[0] = 2
! 3178: ${test02}[1] = 3
! 3179: ${test02}[2] = 4
! 3180: ${test10}[0] = 1
! 3181: ${test10}[1] = 2
! 3182: ${test10}[2] = 3
! 3183: ${test11}[0] = 2
! 3184: ${test11}[1] = 3
! 3185: ${test11}[2] = 4
! 3186: ${test12}[0] = 3
! 3187: ${test12}[1] = 4
! 3188: ${test12}[2] = 5
! 3189: ${test20}[0] = 2
! 3190: ${test20}[1] = 3
! 3191: ${test20}[2] = 4
! 3192: ${test21}[0] = 3
! 3193: ${test21}[1] = 4
! 3194: ${test21}[2] = 5
! 3195: ${test22}[0] = 4
! 3196: ${test22}[1] = 5
! 3197: ${test22}[2] = 6
! 3198: *********************
! 3199:
! 3200: *** hash test... ***
! 3201: commented out...
! 3202: **************************
! 3203:
! 3204: *** Hash resizing test ***
! 3205: ba
! 3206: baa
! 3207: baaa
! 3208: baaaa
! 3209: baaaaa
! 3210: baaaaaa
! 3211: baaaaaaa
! 3212: baaaaaaaa
! 3213: baaaaaaaaa
! 3214: baaaaaaaaaa
! 3215: ba
! 3216: 10
! 3217: baa
! 3218: 9
! 3219: baaa
! 3220: 8
! 3221: baaaa
! 3222: 7
! 3223: baaaaa
! 3224: 6
! 3225: baaaaaa
! 3226: 5
! 3227: baaaaaaa
! 3228: 4
! 3229: baaaaaaaa
! 3230: 3
! 3231: baaaaaaaaa
! 3232: 2
! 3233: baaaaaaaaaa
! 3234: 1
! 3235: **************************
! 3236:
! 3237:
! 3238: *** break/continue test ***
! 3239: $i should go from 0 to 2
! 3240: $j should go from 3 to 4, and $q should go from 3 to 4
! 3241: $j=3
! 3242: $q=3
! 3243: $q=4
! 3244: $j=4
! 3245: $q=3
! 3246: $q=4
! 3247: $j should go from 0 to 2
! 3248: $j=0
! 3249: $j=1
! 3250: $j=2
! 3251: $k should go from 0 to 2
! 3252: $k=0
! 3253: $k=1
! 3254: $k=2
! 3255: $i=0
! 3256: $j should go from 3 to 4, and $q should go from 3 to 4
! 3257: $j=3
! 3258: $q=3
! 3259: $q=4
! 3260: $j=4
! 3261: $q=3
! 3262: $q=4
! 3263: $j should go from 0 to 2
! 3264: $j=0
! 3265: $j=1
! 3266: $j=2
! 3267: $k should go from 0 to 2
! 3268: $k=0
! 3269: $k=1
! 3270: $k=2
! 3271: $i=1
! 3272: $j should go from 3 to 4, and $q should go from 3 to 4
! 3273: $j=3
! 3274: $q=3
! 3275: $q=4
! 3276: $j=4
! 3277: $q=3
! 3278: $q=4
! 3279: $j should go from 0 to 2
! 3280: $j=0
! 3281: $j=1
! 3282: $j=2
! 3283: $k should go from 0 to 2
! 3284: $k=0
! 3285: $k=1
! 3286: $k=2
! 3287: $i=2
! 3288: ***********************
! 3289:
! 3290: *** Nested file include test ***
! 3291: <html>
! 3292: This is Finish.phtml. This file is supposed to be included
! 3293: from regression_test.phtml. This is normal HTML.
! 3294: and this is PHP code, 2+2=4
! 3295: </html>
! 3296: ********************************
! 3297:
! 3298: Tests completed.
! 3299: <html>
! 3300: <head>
! 3301: *** Testing assignments and variable aliasing: ***
! 3302: This should read "blah": blah
! 3303: This should read "this is nifty": this is nifty
! 3304: *************************************************
! 3305:
! 3306: *** Testing integer operators ***
! 3307: Correct result - 8: 8
! 3308: Correct result - 8: 8
! 3309: Correct result - 2: 2
! 3310: Correct result - -2: -2
! 3311: Correct result - 15: 15
! 3312: Correct result - 15: 15
! 3313: Correct result - 2: 2
! 3314: Correct result - 3: 3
! 3315: *********************************
! 3316:
! 3317: *** Testing real operators ***
! 3318: Correct result - 8: 8
! 3319: Correct result - 8: 8
! 3320: Correct result - 2: 2
! 3321: Correct result - -2: -2
! 3322: Correct result - 15: 15
! 3323: Correct result - 15: 15
! 3324: Correct result - 2: 2
! 3325: Correct result - 3: 3
! 3326: *********************************
! 3327:
! 3328: *** Testing if/elseif/else control ***
! 3329:
! 3330: This works
! 3331: this_still_works
! 3332: should_print
! 3333:
! 3334:
! 3335: *** Seriously nested if's test ***
! 3336: ** spelling correction by kluzz **
! 3337: Only two lines of text should follow:
! 3338: this should be displayed. should be: $i=1, $j=0. is: $i=1, $j=0
! 3339: this is supposed to be displayed. should be: $i=2, $j=4. is: $i=2, $j=4
! 3340: 3 loop iterations should follow:
! 3341: 2 4
! 3342: 3 4
! 3343: 4 4
! 3344: **********************************
! 3345:
! 3346: *** C-style else-if's ***
! 3347: This should be displayed
! 3348: *************************
! 3349:
! 3350: *** WHILE tests ***
! 3351: 0 is smaller than 20
! 3352: 1 is smaller than 20
! 3353: 2 is smaller than 20
! 3354: 3 is smaller than 20
! 3355: 4 is smaller than 20
! 3356: 5 is smaller than 20
! 3357: 6 is smaller than 20
! 3358: 7 is smaller than 20
! 3359: 8 is smaller than 20
! 3360: 9 is smaller than 20
! 3361: 10 is smaller than 20
! 3362: 11 is smaller than 20
! 3363: 12 is smaller than 20
! 3364: 13 is smaller than 20
! 3365: 14 is smaller than 20
! 3366: 15 is smaller than 20
! 3367: 16 is smaller than 20
! 3368: 17 is smaller than 20
! 3369: 18 is smaller than 20
! 3370: 19 is smaller than 20
! 3371: 20 equals 20
! 3372: 21 is greater than 20
! 3373: 22 is greater than 20
! 3374: 23 is greater than 20
! 3375: 24 is greater than 20
! 3376: 25 is greater than 20
! 3377: 26 is greater than 20
! 3378: 27 is greater than 20
! 3379: 28 is greater than 20
! 3380: 29 is greater than 20
! 3381: 30 is greater than 20
! 3382: 31 is greater than 20
! 3383: 32 is greater than 20
! 3384: 33 is greater than 20
! 3385: 34 is greater than 20
! 3386: 35 is greater than 20
! 3387: 36 is greater than 20
! 3388: 37 is greater than 20
! 3389: 38 is greater than 20
! 3390: 39 is greater than 20
! 3391: *******************
! 3392:
! 3393:
! 3394: *** Nested WHILEs ***
! 3395: Each array variable should be equal to the sum of its indices:
! 3396: ${test00}[0] = 0
! 3397: ${test00}[1] = 1
! 3398: ${test00}[2] = 2
! 3399: ${test01}[0] = 1
! 3400: ${test01}[1] = 2
! 3401: ${test01}[2] = 3
! 3402: ${test02}[0] = 2
! 3403: ${test02}[1] = 3
! 3404: ${test02}[2] = 4
! 3405: ${test10}[0] = 1
! 3406: ${test10}[1] = 2
! 3407: ${test10}[2] = 3
! 3408: ${test11}[0] = 2
! 3409: ${test11}[1] = 3
! 3410: ${test11}[2] = 4
! 3411: ${test12}[0] = 3
! 3412: ${test12}[1] = 4
! 3413: ${test12}[2] = 5
! 3414: ${test20}[0] = 2
! 3415: ${test20}[1] = 3
! 3416: ${test20}[2] = 4
! 3417: ${test21}[0] = 3
! 3418: ${test21}[1] = 4
! 3419: ${test21}[2] = 5
! 3420: ${test22}[0] = 4
! 3421: ${test22}[1] = 5
! 3422: ${test22}[2] = 6
! 3423: *********************
! 3424:
! 3425: *** hash test... ***
! 3426: commented out...
! 3427: **************************
! 3428:
! 3429: *** Hash resizing test ***
! 3430: ba
! 3431: baa
! 3432: baaa
! 3433: baaaa
! 3434: baaaaa
! 3435: baaaaaa
! 3436: baaaaaaa
! 3437: baaaaaaaa
! 3438: baaaaaaaaa
! 3439: baaaaaaaaaa
! 3440: ba
! 3441: 10
! 3442: baa
! 3443: 9
! 3444: baaa
! 3445: 8
! 3446: baaaa
! 3447: 7
! 3448: baaaaa
! 3449: 6
! 3450: baaaaaa
! 3451: 5
! 3452: baaaaaaa
! 3453: 4
! 3454: baaaaaaaa
! 3455: 3
! 3456: baaaaaaaaa
! 3457: 2
! 3458: baaaaaaaaaa
! 3459: 1
! 3460: **************************
! 3461:
! 3462:
! 3463: *** break/continue test ***
! 3464: $i should go from 0 to 2
! 3465: $j should go from 3 to 4, and $q should go from 3 to 4
! 3466: $j=3
! 3467: $q=3
! 3468: $q=4
! 3469: $j=4
! 3470: $q=3
! 3471: $q=4
! 3472: $j should go from 0 to 2
! 3473: $j=0
! 3474: $j=1
! 3475: $j=2
! 3476: $k should go from 0 to 2
! 3477: $k=0
! 3478: $k=1
! 3479: $k=2
! 3480: $i=0
! 3481: $j should go from 3 to 4, and $q should go from 3 to 4
! 3482: $j=3
! 3483: $q=3
! 3484: $q=4
! 3485: $j=4
! 3486: $q=3
! 3487: $q=4
! 3488: $j should go from 0 to 2
! 3489: $j=0
! 3490: $j=1
! 3491: $j=2
! 3492: $k should go from 0 to 2
! 3493: $k=0
! 3494: $k=1
! 3495: $k=2
! 3496: $i=1
! 3497: $j should go from 3 to 4, and $q should go from 3 to 4
! 3498: $j=3
! 3499: $q=3
! 3500: $q=4
! 3501: $j=4
! 3502: $q=3
! 3503: $q=4
! 3504: $j should go from 0 to 2
! 3505: $j=0
! 3506: $j=1
! 3507: $j=2
! 3508: $k should go from 0 to 2
! 3509: $k=0
! 3510: $k=1
! 3511: $k=2
! 3512: $i=2
! 3513: ***********************
! 3514:
! 3515: *** Nested file include test ***
! 3516: <html>
! 3517: This is Finish.phtml. This file is supposed to be included
! 3518: from regression_test.phtml. This is normal HTML.
! 3519: and this is PHP code, 2+2=4
! 3520: </html>
! 3521: ********************************
! 3522:
! 3523: Tests completed.
! 3524: <html>
! 3525: <head>
! 3526: *** Testing assignments and variable aliasing: ***
! 3527: This should read "blah": blah
! 3528: This should read "this is nifty": this is nifty
! 3529: *************************************************
! 3530:
! 3531: *** Testing integer operators ***
! 3532: Correct result - 8: 8
! 3533: Correct result - 8: 8
! 3534: Correct result - 2: 2
! 3535: Correct result - -2: -2
! 3536: Correct result - 15: 15
! 3537: Correct result - 15: 15
! 3538: Correct result - 2: 2
! 3539: Correct result - 3: 3
! 3540: *********************************
! 3541:
! 3542: *** Testing real operators ***
! 3543: Correct result - 8: 8
! 3544: Correct result - 8: 8
! 3545: Correct result - 2: 2
! 3546: Correct result - -2: -2
! 3547: Correct result - 15: 15
! 3548: Correct result - 15: 15
! 3549: Correct result - 2: 2
! 3550: Correct result - 3: 3
! 3551: *********************************
! 3552:
! 3553: *** Testing if/elseif/else control ***
! 3554:
! 3555: This works
! 3556: this_still_works
! 3557: should_print
! 3558:
! 3559:
! 3560: *** Seriously nested if's test ***
! 3561: ** spelling correction by kluzz **
! 3562: Only two lines of text should follow:
! 3563: this should be displayed. should be: $i=1, $j=0. is: $i=1, $j=0
! 3564: this is supposed to be displayed. should be: $i=2, $j=4. is: $i=2, $j=4
! 3565: 3 loop iterations should follow:
! 3566: 2 4
! 3567: 3 4
! 3568: 4 4
! 3569: **********************************
! 3570:
! 3571: *** C-style else-if's ***
! 3572: This should be displayed
! 3573: *************************
! 3574:
! 3575: *** WHILE tests ***
! 3576: 0 is smaller than 20
! 3577: 1 is smaller than 20
! 3578: 2 is smaller than 20
! 3579: 3 is smaller than 20
! 3580: 4 is smaller than 20
! 3581: 5 is smaller than 20
! 3582: 6 is smaller than 20
! 3583: 7 is smaller than 20
! 3584: 8 is smaller than 20
! 3585: 9 is smaller than 20
! 3586: 10 is smaller than 20
! 3587: 11 is smaller than 20
! 3588: 12 is smaller than 20
! 3589: 13 is smaller than 20
! 3590: 14 is smaller than 20
! 3591: 15 is smaller than 20
! 3592: 16 is smaller than 20
! 3593: 17 is smaller than 20
! 3594: 18 is smaller than 20
! 3595: 19 is smaller than 20
! 3596: 20 equals 20
! 3597: 21 is greater than 20
! 3598: 22 is greater than 20
! 3599: 23 is greater than 20
! 3600: 24 is greater than 20
! 3601: 25 is greater than 20
! 3602: 26 is greater than 20
! 3603: 27 is greater than 20
! 3604: 28 is greater than 20
! 3605: 29 is greater than 20
! 3606: 30 is greater than 20
! 3607: 31 is greater than 20
! 3608: 32 is greater than 20
! 3609: 33 is greater than 20
! 3610: 34 is greater than 20
! 3611: 35 is greater than 20
! 3612: 36 is greater than 20
! 3613: 37 is greater than 20
! 3614: 38 is greater than 20
! 3615: 39 is greater than 20
! 3616: *******************
! 3617:
! 3618:
! 3619: *** Nested WHILEs ***
! 3620: Each array variable should be equal to the sum of its indices:
! 3621: ${test00}[0] = 0
! 3622: ${test00}[1] = 1
! 3623: ${test00}[2] = 2
! 3624: ${test01}[0] = 1
! 3625: ${test01}[1] = 2
! 3626: ${test01}[2] = 3
! 3627: ${test02}[0] = 2
! 3628: ${test02}[1] = 3
! 3629: ${test02}[2] = 4
! 3630: ${test10}[0] = 1
! 3631: ${test10}[1] = 2
! 3632: ${test10}[2] = 3
! 3633: ${test11}[0] = 2
! 3634: ${test11}[1] = 3
! 3635: ${test11}[2] = 4
! 3636: ${test12}[0] = 3
! 3637: ${test12}[1] = 4
! 3638: ${test12}[2] = 5
! 3639: ${test20}[0] = 2
! 3640: ${test20}[1] = 3
! 3641: ${test20}[2] = 4
! 3642: ${test21}[0] = 3
! 3643: ${test21}[1] = 4
! 3644: ${test21}[2] = 5
! 3645: ${test22}[0] = 4
! 3646: ${test22}[1] = 5
! 3647: ${test22}[2] = 6
! 3648: *********************
! 3649:
! 3650: *** hash test... ***
! 3651: commented out...
! 3652: **************************
! 3653:
! 3654: *** Hash resizing test ***
! 3655: ba
! 3656: baa
! 3657: baaa
! 3658: baaaa
! 3659: baaaaa
! 3660: baaaaaa
! 3661: baaaaaaa
! 3662: baaaaaaaa
! 3663: baaaaaaaaa
! 3664: baaaaaaaaaa
! 3665: ba
! 3666: 10
! 3667: baa
! 3668: 9
! 3669: baaa
! 3670: 8
! 3671: baaaa
! 3672: 7
! 3673: baaaaa
! 3674: 6
! 3675: baaaaaa
! 3676: 5
! 3677: baaaaaaa
! 3678: 4
! 3679: baaaaaaaa
! 3680: 3
! 3681: baaaaaaaaa
! 3682: 2
! 3683: baaaaaaaaaa
! 3684: 1
! 3685: **************************
! 3686:
! 3687:
! 3688: *** break/continue test ***
! 3689: $i should go from 0 to 2
! 3690: $j should go from 3 to 4, and $q should go from 3 to 4
! 3691: $j=3
! 3692: $q=3
! 3693: $q=4
! 3694: $j=4
! 3695: $q=3
! 3696: $q=4
! 3697: $j should go from 0 to 2
! 3698: $j=0
! 3699: $j=1
! 3700: $j=2
! 3701: $k should go from 0 to 2
! 3702: $k=0
! 3703: $k=1
! 3704: $k=2
! 3705: $i=0
! 3706: $j should go from 3 to 4, and $q should go from 3 to 4
! 3707: $j=3
! 3708: $q=3
! 3709: $q=4
! 3710: $j=4
! 3711: $q=3
! 3712: $q=4
! 3713: $j should go from 0 to 2
! 3714: $j=0
! 3715: $j=1
! 3716: $j=2
! 3717: $k should go from 0 to 2
! 3718: $k=0
! 3719: $k=1
! 3720: $k=2
! 3721: $i=1
! 3722: $j should go from 3 to 4, and $q should go from 3 to 4
! 3723: $j=3
! 3724: $q=3
! 3725: $q=4
! 3726: $j=4
! 3727: $q=3
! 3728: $q=4
! 3729: $j should go from 0 to 2
! 3730: $j=0
! 3731: $j=1
! 3732: $j=2
! 3733: $k should go from 0 to 2
! 3734: $k=0
! 3735: $k=1
! 3736: $k=2
! 3737: $i=2
! 3738: ***********************
! 3739:
! 3740: *** Nested file include test ***
! 3741: <html>
! 3742: This is Finish.phtml. This file is supposed to be included
! 3743: from regression_test.phtml. This is normal HTML.
! 3744: and this is PHP code, 2+2=4
! 3745: </html>
! 3746: ********************************
! 3747:
! 3748: Tests completed.
! 3749: <html>
! 3750: <head>
! 3751: *** Testing assignments and variable aliasing: ***
! 3752: This should read "blah": blah
! 3753: This should read "this is nifty": this is nifty
! 3754: *************************************************
! 3755:
! 3756: *** Testing integer operators ***
! 3757: Correct result - 8: 8
! 3758: Correct result - 8: 8
! 3759: Correct result - 2: 2
! 3760: Correct result - -2: -2
! 3761: Correct result - 15: 15
! 3762: Correct result - 15: 15
! 3763: Correct result - 2: 2
! 3764: Correct result - 3: 3
! 3765: *********************************
! 3766:
! 3767: *** Testing real operators ***
! 3768: Correct result - 8: 8
! 3769: Correct result - 8: 8
! 3770: Correct result - 2: 2
! 3771: Correct result - -2: -2
! 3772: Correct result - 15: 15
! 3773: Correct result - 15: 15
! 3774: Correct result - 2: 2
! 3775: Correct result - 3: 3
! 3776: *********************************
! 3777:
! 3778: *** Testing if/elseif/else control ***
! 3779:
! 3780: This works
! 3781: this_still_works
! 3782: should_print
! 3783:
! 3784:
! 3785: *** Seriously nested if's test ***
! 3786: ** spelling correction by kluzz **
! 3787: Only two lines of text should follow:
! 3788: this should be displayed. should be: $i=1, $j=0. is: $i=1, $j=0
! 3789: this is supposed to be displayed. should be: $i=2, $j=4. is: $i=2, $j=4
! 3790: 3 loop iterations should follow:
! 3791: 2 4
! 3792: 3 4
! 3793: 4 4
! 3794: **********************************
! 3795:
! 3796: *** C-style else-if's ***
! 3797: This should be displayed
! 3798: *************************
! 3799:
! 3800: *** WHILE tests ***
! 3801: 0 is smaller than 20
! 3802: 1 is smaller than 20
! 3803: 2 is smaller than 20
! 3804: 3 is smaller than 20
! 3805: 4 is smaller than 20
! 3806: 5 is smaller than 20
! 3807: 6 is smaller than 20
! 3808: 7 is smaller than 20
! 3809: 8 is smaller than 20
! 3810: 9 is smaller than 20
! 3811: 10 is smaller than 20
! 3812: 11 is smaller than 20
! 3813: 12 is smaller than 20
! 3814: 13 is smaller than 20
! 3815: 14 is smaller than 20
! 3816: 15 is smaller than 20
! 3817: 16 is smaller than 20
! 3818: 17 is smaller than 20
! 3819: 18 is smaller than 20
! 3820: 19 is smaller than 20
! 3821: 20 equals 20
! 3822: 21 is greater than 20
! 3823: 22 is greater than 20
! 3824: 23 is greater than 20
! 3825: 24 is greater than 20
! 3826: 25 is greater than 20
! 3827: 26 is greater than 20
! 3828: 27 is greater than 20
! 3829: 28 is greater than 20
! 3830: 29 is greater than 20
! 3831: 30 is greater than 20
! 3832: 31 is greater than 20
! 3833: 32 is greater than 20
! 3834: 33 is greater than 20
! 3835: 34 is greater than 20
! 3836: 35 is greater than 20
! 3837: 36 is greater than 20
! 3838: 37 is greater than 20
! 3839: 38 is greater than 20
! 3840: 39 is greater than 20
! 3841: *******************
! 3842:
! 3843:
! 3844: *** Nested WHILEs ***
! 3845: Each array variable should be equal to the sum of its indices:
! 3846: ${test00}[0] = 0
! 3847: ${test00}[1] = 1
! 3848: ${test00}[2] = 2
! 3849: ${test01}[0] = 1
! 3850: ${test01}[1] = 2
! 3851: ${test01}[2] = 3
! 3852: ${test02}[0] = 2
! 3853: ${test02}[1] = 3
! 3854: ${test02}[2] = 4
! 3855: ${test10}[0] = 1
! 3856: ${test10}[1] = 2
! 3857: ${test10}[2] = 3
! 3858: ${test11}[0] = 2
! 3859: ${test11}[1] = 3
! 3860: ${test11}[2] = 4
! 3861: ${test12}[0] = 3
! 3862: ${test12}[1] = 4
! 3863: ${test12}[2] = 5
! 3864: ${test20}[0] = 2
! 3865: ${test20}[1] = 3
! 3866: ${test20}[2] = 4
! 3867: ${test21}[0] = 3
! 3868: ${test21}[1] = 4
! 3869: ${test21}[2] = 5
! 3870: ${test22}[0] = 4
! 3871: ${test22}[1] = 5
! 3872: ${test22}[2] = 6
! 3873: *********************
! 3874:
! 3875: *** hash test... ***
! 3876: commented out...
! 3877: **************************
! 3878:
! 3879: *** Hash resizing test ***
! 3880: ba
! 3881: baa
! 3882: baaa
! 3883: baaaa
! 3884: baaaaa
! 3885: baaaaaa
! 3886: baaaaaaa
! 3887: baaaaaaaa
! 3888: baaaaaaaaa
! 3889: baaaaaaaaaa
! 3890: ba
! 3891: 10
! 3892: baa
! 3893: 9
! 3894: baaa
! 3895: 8
! 3896: baaaa
! 3897: 7
! 3898: baaaaa
! 3899: 6
! 3900: baaaaaa
! 3901: 5
! 3902: baaaaaaa
! 3903: 4
! 3904: baaaaaaaa
! 3905: 3
! 3906: baaaaaaaaa
! 3907: 2
! 3908: baaaaaaaaaa
! 3909: 1
! 3910: **************************
! 3911:
! 3912:
! 3913: *** break/continue test ***
! 3914: $i should go from 0 to 2
! 3915: $j should go from 3 to 4, and $q should go from 3 to 4
! 3916: $j=3
! 3917: $q=3
! 3918: $q=4
! 3919: $j=4
! 3920: $q=3
! 3921: $q=4
! 3922: $j should go from 0 to 2
! 3923: $j=0
! 3924: $j=1
! 3925: $j=2
! 3926: $k should go from 0 to 2
! 3927: $k=0
! 3928: $k=1
! 3929: $k=2
! 3930: $i=0
! 3931: $j should go from 3 to 4, and $q should go from 3 to 4
! 3932: $j=3
! 3933: $q=3
! 3934: $q=4
! 3935: $j=4
! 3936: $q=3
! 3937: $q=4
! 3938: $j should go from 0 to 2
! 3939: $j=0
! 3940: $j=1
! 3941: $j=2
! 3942: $k should go from 0 to 2
! 3943: $k=0
! 3944: $k=1
! 3945: $k=2
! 3946: $i=1
! 3947: $j should go from 3 to 4, and $q should go from 3 to 4
! 3948: $j=3
! 3949: $q=3
! 3950: $q=4
! 3951: $j=4
! 3952: $q=3
! 3953: $q=4
! 3954: $j should go from 0 to 2
! 3955: $j=0
! 3956: $j=1
! 3957: $j=2
! 3958: $k should go from 0 to 2
! 3959: $k=0
! 3960: $k=1
! 3961: $k=2
! 3962: $i=2
! 3963: ***********************
! 3964:
! 3965: *** Nested file include test ***
! 3966: <html>
! 3967: This is Finish.phtml. This file is supposed to be included
! 3968: from regression_test.phtml. This is normal HTML.
! 3969: and this is PHP code, 2+2=4
! 3970: </html>
! 3971: ********************************
! 3972:
! 3973: Tests completed.
! 3974: <html>
! 3975: <head>
! 3976: *** Testing assignments and variable aliasing: ***
! 3977: This should read "blah": blah
! 3978: This should read "this is nifty": this is nifty
! 3979: *************************************************
! 3980:
! 3981: *** Testing integer operators ***
! 3982: Correct result - 8: 8
! 3983: Correct result - 8: 8
! 3984: Correct result - 2: 2
! 3985: Correct result - -2: -2
! 3986: Correct result - 15: 15
! 3987: Correct result - 15: 15
! 3988: Correct result - 2: 2
! 3989: Correct result - 3: 3
! 3990: *********************************
! 3991:
! 3992: *** Testing real operators ***
! 3993: Correct result - 8: 8
! 3994: Correct result - 8: 8
! 3995: Correct result - 2: 2
! 3996: Correct result - -2: -2
! 3997: Correct result - 15: 15
! 3998: Correct result - 15: 15
! 3999: Correct result - 2: 2
! 4000: Correct result - 3: 3
! 4001: *********************************
! 4002:
! 4003: *** Testing if/elseif/else control ***
! 4004:
! 4005: This works
! 4006: this_still_works
! 4007: should_print
! 4008:
! 4009:
! 4010: *** Seriously nested if's test ***
! 4011: ** spelling correction by kluzz **
! 4012: Only two lines of text should follow:
! 4013: this should be displayed. should be: $i=1, $j=0. is: $i=1, $j=0
! 4014: this is supposed to be displayed. should be: $i=2, $j=4. is: $i=2, $j=4
! 4015: 3 loop iterations should follow:
! 4016: 2 4
! 4017: 3 4
! 4018: 4 4
! 4019: **********************************
! 4020:
! 4021: *** C-style else-if's ***
! 4022: This should be displayed
! 4023: *************************
! 4024:
! 4025: *** WHILE tests ***
! 4026: 0 is smaller than 20
! 4027: 1 is smaller than 20
! 4028: 2 is smaller than 20
! 4029: 3 is smaller than 20
! 4030: 4 is smaller than 20
! 4031: 5 is smaller than 20
! 4032: 6 is smaller than 20
! 4033: 7 is smaller than 20
! 4034: 8 is smaller than 20
! 4035: 9 is smaller than 20
! 4036: 10 is smaller than 20
! 4037: 11 is smaller than 20
! 4038: 12 is smaller than 20
! 4039: 13 is smaller than 20
! 4040: 14 is smaller than 20
! 4041: 15 is smaller than 20
! 4042: 16 is smaller than 20
! 4043: 17 is smaller than 20
! 4044: 18 is smaller than 20
! 4045: 19 is smaller than 20
! 4046: 20 equals 20
! 4047: 21 is greater than 20
! 4048: 22 is greater than 20
! 4049: 23 is greater than 20
! 4050: 24 is greater than 20
! 4051: 25 is greater than 20
! 4052: 26 is greater than 20
! 4053: 27 is greater than 20
! 4054: 28 is greater than 20
! 4055: 29 is greater than 20
! 4056: 30 is greater than 20
! 4057: 31 is greater than 20
! 4058: 32 is greater than 20
! 4059: 33 is greater than 20
! 4060: 34 is greater than 20
! 4061: 35 is greater than 20
! 4062: 36 is greater than 20
! 4063: 37 is greater than 20
! 4064: 38 is greater than 20
! 4065: 39 is greater than 20
! 4066: *******************
! 4067:
! 4068:
! 4069: *** Nested WHILEs ***
! 4070: Each array variable should be equal to the sum of its indices:
! 4071: ${test00}[0] = 0
! 4072: ${test00}[1] = 1
! 4073: ${test00}[2] = 2
! 4074: ${test01}[0] = 1
! 4075: ${test01}[1] = 2
! 4076: ${test01}[2] = 3
! 4077: ${test02}[0] = 2
! 4078: ${test02}[1] = 3
! 4079: ${test02}[2] = 4
! 4080: ${test10}[0] = 1
! 4081: ${test10}[1] = 2
! 4082: ${test10}[2] = 3
! 4083: ${test11}[0] = 2
! 4084: ${test11}[1] = 3
! 4085: ${test11}[2] = 4
! 4086: ${test12}[0] = 3
! 4087: ${test12}[1] = 4
! 4088: ${test12}[2] = 5
! 4089: ${test20}[0] = 2
! 4090: ${test20}[1] = 3
! 4091: ${test20}[2] = 4
! 4092: ${test21}[0] = 3
! 4093: ${test21}[1] = 4
! 4094: ${test21}[2] = 5
! 4095: ${test22}[0] = 4
! 4096: ${test22}[1] = 5
! 4097: ${test22}[2] = 6
! 4098: *********************
! 4099:
! 4100: *** hash test... ***
! 4101: commented out...
! 4102: **************************
! 4103:
! 4104: *** Hash resizing test ***
! 4105: ba
! 4106: baa
! 4107: baaa
! 4108: baaaa
! 4109: baaaaa
! 4110: baaaaaa
! 4111: baaaaaaa
! 4112: baaaaaaaa
! 4113: baaaaaaaaa
! 4114: baaaaaaaaaa
! 4115: ba
! 4116: 10
! 4117: baa
! 4118: 9
! 4119: baaa
! 4120: 8
! 4121: baaaa
! 4122: 7
! 4123: baaaaa
! 4124: 6
! 4125: baaaaaa
! 4126: 5
! 4127: baaaaaaa
! 4128: 4
! 4129: baaaaaaaa
! 4130: 3
! 4131: baaaaaaaaa
! 4132: 2
! 4133: baaaaaaaaaa
! 4134: 1
! 4135: **************************
! 4136:
! 4137:
! 4138: *** break/continue test ***
! 4139: $i should go from 0 to 2
! 4140: $j should go from 3 to 4, and $q should go from 3 to 4
! 4141: $j=3
! 4142: $q=3
! 4143: $q=4
! 4144: $j=4
! 4145: $q=3
! 4146: $q=4
! 4147: $j should go from 0 to 2
! 4148: $j=0
! 4149: $j=1
! 4150: $j=2
! 4151: $k should go from 0 to 2
! 4152: $k=0
! 4153: $k=1
! 4154: $k=2
! 4155: $i=0
! 4156: $j should go from 3 to 4, and $q should go from 3 to 4
! 4157: $j=3
! 4158: $q=3
! 4159: $q=4
! 4160: $j=4
! 4161: $q=3
! 4162: $q=4
! 4163: $j should go from 0 to 2
! 4164: $j=0
! 4165: $j=1
! 4166: $j=2
! 4167: $k should go from 0 to 2
! 4168: $k=0
! 4169: $k=1
! 4170: $k=2
! 4171: $i=1
! 4172: $j should go from 3 to 4, and $q should go from 3 to 4
! 4173: $j=3
! 4174: $q=3
! 4175: $q=4
! 4176: $j=4
! 4177: $q=3
! 4178: $q=4
! 4179: $j should go from 0 to 2
! 4180: $j=0
! 4181: $j=1
! 4182: $j=2
! 4183: $k should go from 0 to 2
! 4184: $k=0
! 4185: $k=1
! 4186: $k=2
! 4187: $i=2
! 4188: ***********************
! 4189:
! 4190: *** Nested file include test ***
! 4191: <html>
! 4192: This is Finish.phtml. This file is supposed to be included
! 4193: from regression_test.phtml. This is normal HTML.
! 4194: and this is PHP code, 2+2=4
! 4195: </html>
! 4196: ********************************
! 4197:
! 4198: Tests completed.
! 4199: <html>
! 4200: <head>
! 4201: *** Testing assignments and variable aliasing: ***
! 4202: This should read "blah": blah
! 4203: This should read "this is nifty": this is nifty
! 4204: *************************************************
! 4205:
! 4206: *** Testing integer operators ***
! 4207: Correct result - 8: 8
! 4208: Correct result - 8: 8
! 4209: Correct result - 2: 2
! 4210: Correct result - -2: -2
! 4211: Correct result - 15: 15
! 4212: Correct result - 15: 15
! 4213: Correct result - 2: 2
! 4214: Correct result - 3: 3
! 4215: *********************************
! 4216:
! 4217: *** Testing real operators ***
! 4218: Correct result - 8: 8
! 4219: Correct result - 8: 8
! 4220: Correct result - 2: 2
! 4221: Correct result - -2: -2
! 4222: Correct result - 15: 15
! 4223: Correct result - 15: 15
! 4224: Correct result - 2: 2
! 4225: Correct result - 3: 3
! 4226: *********************************
! 4227:
! 4228: *** Testing if/elseif/else control ***
! 4229:
! 4230: This works
! 4231: this_still_works
! 4232: should_print
! 4233:
! 4234:
! 4235: *** Seriously nested if's test ***
! 4236: ** spelling correction by kluzz **
! 4237: Only two lines of text should follow:
! 4238: this should be displayed. should be: $i=1, $j=0. is: $i=1, $j=0
! 4239: this is supposed to be displayed. should be: $i=2, $j=4. is: $i=2, $j=4
! 4240: 3 loop iterations should follow:
! 4241: 2 4
! 4242: 3 4
! 4243: 4 4
! 4244: **********************************
! 4245:
! 4246: *** C-style else-if's ***
! 4247: This should be displayed
! 4248: *************************
! 4249:
! 4250: *** WHILE tests ***
! 4251: 0 is smaller than 20
! 4252: 1 is smaller than 20
! 4253: 2 is smaller than 20
! 4254: 3 is smaller than 20
! 4255: 4 is smaller than 20
! 4256: 5 is smaller than 20
! 4257: 6 is smaller than 20
! 4258: 7 is smaller than 20
! 4259: 8 is smaller than 20
! 4260: 9 is smaller than 20
! 4261: 10 is smaller than 20
! 4262: 11 is smaller than 20
! 4263: 12 is smaller than 20
! 4264: 13 is smaller than 20
! 4265: 14 is smaller than 20
! 4266: 15 is smaller than 20
! 4267: 16 is smaller than 20
! 4268: 17 is smaller than 20
! 4269: 18 is smaller than 20
! 4270: 19 is smaller than 20
! 4271: 20 equals 20
! 4272: 21 is greater than 20
! 4273: 22 is greater than 20
! 4274: 23 is greater than 20
! 4275: 24 is greater than 20
! 4276: 25 is greater than 20
! 4277: 26 is greater than 20
! 4278: 27 is greater than 20
! 4279: 28 is greater than 20
! 4280: 29 is greater than 20
! 4281: 30 is greater than 20
! 4282: 31 is greater than 20
! 4283: 32 is greater than 20
! 4284: 33 is greater than 20
! 4285: 34 is greater than 20
! 4286: 35 is greater than 20
! 4287: 36 is greater than 20
! 4288: 37 is greater than 20
! 4289: 38 is greater than 20
! 4290: 39 is greater than 20
! 4291: *******************
! 4292:
! 4293:
! 4294: *** Nested WHILEs ***
! 4295: Each array variable should be equal to the sum of its indices:
! 4296: ${test00}[0] = 0
! 4297: ${test00}[1] = 1
! 4298: ${test00}[2] = 2
! 4299: ${test01}[0] = 1
! 4300: ${test01}[1] = 2
! 4301: ${test01}[2] = 3
! 4302: ${test02}[0] = 2
! 4303: ${test02}[1] = 3
! 4304: ${test02}[2] = 4
! 4305: ${test10}[0] = 1
! 4306: ${test10}[1] = 2
! 4307: ${test10}[2] = 3
! 4308: ${test11}[0] = 2
! 4309: ${test11}[1] = 3
! 4310: ${test11}[2] = 4
! 4311: ${test12}[0] = 3
! 4312: ${test12}[1] = 4
! 4313: ${test12}[2] = 5
! 4314: ${test20}[0] = 2
! 4315: ${test20}[1] = 3
! 4316: ${test20}[2] = 4
! 4317: ${test21}[0] = 3
! 4318: ${test21}[1] = 4
! 4319: ${test21}[2] = 5
! 4320: ${test22}[0] = 4
! 4321: ${test22}[1] = 5
! 4322: ${test22}[2] = 6
! 4323: *********************
! 4324:
! 4325: *** hash test... ***
! 4326: commented out...
! 4327: **************************
! 4328:
! 4329: *** Hash resizing test ***
! 4330: ba
! 4331: baa
! 4332: baaa
! 4333: baaaa
! 4334: baaaaa
! 4335: baaaaaa
! 4336: baaaaaaa
! 4337: baaaaaaaa
! 4338: baaaaaaaaa
! 4339: baaaaaaaaaa
! 4340: ba
! 4341: 10
! 4342: baa
! 4343: 9
! 4344: baaa
! 4345: 8
! 4346: baaaa
! 4347: 7
! 4348: baaaaa
! 4349: 6
! 4350: baaaaaa
! 4351: 5
! 4352: baaaaaaa
! 4353: 4
! 4354: baaaaaaaa
! 4355: 3
! 4356: baaaaaaaaa
! 4357: 2
! 4358: baaaaaaaaaa
! 4359: 1
! 4360: **************************
! 4361:
! 4362:
! 4363: *** break/continue test ***
! 4364: $i should go from 0 to 2
! 4365: $j should go from 3 to 4, and $q should go from 3 to 4
! 4366: $j=3
! 4367: $q=3
! 4368: $q=4
! 4369: $j=4
! 4370: $q=3
! 4371: $q=4
! 4372: $j should go from 0 to 2
! 4373: $j=0
! 4374: $j=1
! 4375: $j=2
! 4376: $k should go from 0 to 2
! 4377: $k=0
! 4378: $k=1
! 4379: $k=2
! 4380: $i=0
! 4381: $j should go from 3 to 4, and $q should go from 3 to 4
! 4382: $j=3
! 4383: $q=3
! 4384: $q=4
! 4385: $j=4
! 4386: $q=3
! 4387: $q=4
! 4388: $j should go from 0 to 2
! 4389: $j=0
! 4390: $j=1
! 4391: $j=2
! 4392: $k should go from 0 to 2
! 4393: $k=0
! 4394: $k=1
! 4395: $k=2
! 4396: $i=1
! 4397: $j should go from 3 to 4, and $q should go from 3 to 4
! 4398: $j=3
! 4399: $q=3
! 4400: $q=4
! 4401: $j=4
! 4402: $q=3
! 4403: $q=4
! 4404: $j should go from 0 to 2
! 4405: $j=0
! 4406: $j=1
! 4407: $j=2
! 4408: $k should go from 0 to 2
! 4409: $k=0
! 4410: $k=1
! 4411: $k=2
! 4412: $i=2
! 4413: ***********************
! 4414:
! 4415: *** Nested file include test ***
! 4416: <html>
! 4417: This is Finish.phtml. This file is supposed to be included
! 4418: from regression_test.phtml. This is normal HTML.
! 4419: and this is PHP code, 2+2=4
! 4420: </html>
! 4421: ********************************
! 4422:
! 4423: Tests completed.
! 4424: <html>
! 4425: <head>
! 4426: *** Testing assignments and variable aliasing: ***
! 4427: This should read "blah": blah
! 4428: This should read "this is nifty": this is nifty
! 4429: *************************************************
! 4430:
! 4431: *** Testing integer operators ***
! 4432: Correct result - 8: 8
! 4433: Correct result - 8: 8
! 4434: Correct result - 2: 2
! 4435: Correct result - -2: -2
! 4436: Correct result - 15: 15
! 4437: Correct result - 15: 15
! 4438: Correct result - 2: 2
! 4439: Correct result - 3: 3
! 4440: *********************************
! 4441:
! 4442: *** Testing real operators ***
! 4443: Correct result - 8: 8
! 4444: Correct result - 8: 8
! 4445: Correct result - 2: 2
! 4446: Correct result - -2: -2
! 4447: Correct result - 15: 15
! 4448: Correct result - 15: 15
! 4449: Correct result - 2: 2
! 4450: Correct result - 3: 3
! 4451: *********************************
! 4452:
! 4453: *** Testing if/elseif/else control ***
! 4454:
! 4455: This works
! 4456: this_still_works
! 4457: should_print
! 4458:
! 4459:
! 4460: *** Seriously nested if's test ***
! 4461: ** spelling correction by kluzz **
! 4462: Only two lines of text should follow:
! 4463: this should be displayed. should be: $i=1, $j=0. is: $i=1, $j=0
! 4464: this is supposed to be displayed. should be: $i=2, $j=4. is: $i=2, $j=4
! 4465: 3 loop iterations should follow:
! 4466: 2 4
! 4467: 3 4
! 4468: 4 4
! 4469: **********************************
! 4470:
! 4471: *** C-style else-if's ***
! 4472: This should be displayed
! 4473: *************************
! 4474:
! 4475: *** WHILE tests ***
! 4476: 0 is smaller than 20
! 4477: 1 is smaller than 20
! 4478: 2 is smaller than 20
! 4479: 3 is smaller than 20
! 4480: 4 is smaller than 20
! 4481: 5 is smaller than 20
! 4482: 6 is smaller than 20
! 4483: 7 is smaller than 20
! 4484: 8 is smaller than 20
! 4485: 9 is smaller than 20
! 4486: 10 is smaller than 20
! 4487: 11 is smaller than 20
! 4488: 12 is smaller than 20
! 4489: 13 is smaller than 20
! 4490: 14 is smaller than 20
! 4491: 15 is smaller than 20
! 4492: 16 is smaller than 20
! 4493: 17 is smaller than 20
! 4494: 18 is smaller than 20
! 4495: 19 is smaller than 20
! 4496: 20 equals 20
! 4497: 21 is greater than 20
! 4498: 22 is greater than 20
! 4499: 23 is greater than 20
! 4500: 24 is greater than 20
! 4501: 25 is greater than 20
! 4502: 26 is greater than 20
! 4503: 27 is greater than 20
! 4504: 28 is greater than 20
! 4505: 29 is greater than 20
! 4506: 30 is greater than 20
! 4507: 31 is greater than 20
! 4508: 32 is greater than 20
! 4509: 33 is greater than 20
! 4510: 34 is greater than 20
! 4511: 35 is greater than 20
! 4512: 36 is greater than 20
! 4513: 37 is greater than 20
! 4514: 38 is greater than 20
! 4515: 39 is greater than 20
! 4516: *******************
! 4517:
! 4518:
! 4519: *** Nested WHILEs ***
! 4520: Each array variable should be equal to the sum of its indices:
! 4521: ${test00}[0] = 0
! 4522: ${test00}[1] = 1
! 4523: ${test00}[2] = 2
! 4524: ${test01}[0] = 1
! 4525: ${test01}[1] = 2
! 4526: ${test01}[2] = 3
! 4527: ${test02}[0] = 2
! 4528: ${test02}[1] = 3
! 4529: ${test02}[2] = 4
! 4530: ${test10}[0] = 1
! 4531: ${test10}[1] = 2
! 4532: ${test10}[2] = 3
! 4533: ${test11}[0] = 2
! 4534: ${test11}[1] = 3
! 4535: ${test11}[2] = 4
! 4536: ${test12}[0] = 3
! 4537: ${test12}[1] = 4
! 4538: ${test12}[2] = 5
! 4539: ${test20}[0] = 2
! 4540: ${test20}[1] = 3
! 4541: ${test20}[2] = 4
! 4542: ${test21}[0] = 3
! 4543: ${test21}[1] = 4
! 4544: ${test21}[2] = 5
! 4545: ${test22}[0] = 4
! 4546: ${test22}[1] = 5
! 4547: ${test22}[2] = 6
! 4548: *********************
! 4549:
! 4550: *** hash test... ***
! 4551: commented out...
! 4552: **************************
! 4553:
! 4554: *** Hash resizing test ***
! 4555: ba
! 4556: baa
! 4557: baaa
! 4558: baaaa
! 4559: baaaaa
! 4560: baaaaaa
! 4561: baaaaaaa
! 4562: baaaaaaaa
! 4563: baaaaaaaaa
! 4564: baaaaaaaaaa
! 4565: ba
! 4566: 10
! 4567: baa
! 4568: 9
! 4569: baaa
! 4570: 8
! 4571: baaaa
! 4572: 7
! 4573: baaaaa
! 4574: 6
! 4575: baaaaaa
! 4576: 5
! 4577: baaaaaaa
! 4578: 4
! 4579: baaaaaaaa
! 4580: 3
! 4581: baaaaaaaaa
! 4582: 2
! 4583: baaaaaaaaaa
! 4584: 1
! 4585: **************************
! 4586:
! 4587:
! 4588: *** break/continue test ***
! 4589: $i should go from 0 to 2
! 4590: $j should go from 3 to 4, and $q should go from 3 to 4
! 4591: $j=3
! 4592: $q=3
! 4593: $q=4
! 4594: $j=4
! 4595: $q=3
! 4596: $q=4
! 4597: $j should go from 0 to 2
! 4598: $j=0
! 4599: $j=1
! 4600: $j=2
! 4601: $k should go from 0 to 2
! 4602: $k=0
! 4603: $k=1
! 4604: $k=2
! 4605: $i=0
! 4606: $j should go from 3 to 4, and $q should go from 3 to 4
! 4607: $j=3
! 4608: $q=3
! 4609: $q=4
! 4610: $j=4
! 4611: $q=3
! 4612: $q=4
! 4613: $j should go from 0 to 2
! 4614: $j=0
! 4615: $j=1
! 4616: $j=2
! 4617: $k should go from 0 to 2
! 4618: $k=0
! 4619: $k=1
! 4620: $k=2
! 4621: $i=1
! 4622: $j should go from 3 to 4, and $q should go from 3 to 4
! 4623: $j=3
! 4624: $q=3
! 4625: $q=4
! 4626: $j=4
! 4627: $q=3
! 4628: $q=4
! 4629: $j should go from 0 to 2
! 4630: $j=0
! 4631: $j=1
! 4632: $j=2
! 4633: $k should go from 0 to 2
! 4634: $k=0
! 4635: $k=1
! 4636: $k=2
! 4637: $i=2
! 4638: ***********************
! 4639:
! 4640: *** Nested file include test ***
! 4641: <html>
! 4642: This is Finish.phtml. This file is supposed to be included
! 4643: from regression_test.phtml. This is normal HTML.
! 4644: and this is PHP code, 2+2=4
! 4645: </html>
! 4646: ********************************
! 4647:
! 4648: Tests completed.
! 4649: <html>
! 4650: <head>
! 4651: *** Testing assignments and variable aliasing: ***
! 4652: This should read "blah": blah
! 4653: This should read "this is nifty": this is nifty
! 4654: *************************************************
! 4655:
! 4656: *** Testing integer operators ***
! 4657: Correct result - 8: 8
! 4658: Correct result - 8: 8
! 4659: Correct result - 2: 2
! 4660: Correct result - -2: -2
! 4661: Correct result - 15: 15
! 4662: Correct result - 15: 15
! 4663: Correct result - 2: 2
! 4664: Correct result - 3: 3
! 4665: *********************************
! 4666:
! 4667: *** Testing real operators ***
! 4668: Correct result - 8: 8
! 4669: Correct result - 8: 8
! 4670: Correct result - 2: 2
! 4671: Correct result - -2: -2
! 4672: Correct result - 15: 15
! 4673: Correct result - 15: 15
! 4674: Correct result - 2: 2
! 4675: Correct result - 3: 3
! 4676: *********************************
! 4677:
! 4678: *** Testing if/elseif/else control ***
! 4679:
! 4680: This works
! 4681: this_still_works
! 4682: should_print
! 4683:
! 4684:
! 4685: *** Seriously nested if's test ***
! 4686: ** spelling correction by kluzz **
! 4687: Only two lines of text should follow:
! 4688: this should be displayed. should be: $i=1, $j=0. is: $i=1, $j=0
! 4689: this is supposed to be displayed. should be: $i=2, $j=4. is: $i=2, $j=4
! 4690: 3 loop iterations should follow:
! 4691: 2 4
! 4692: 3 4
! 4693: 4 4
! 4694: **********************************
! 4695:
! 4696: *** C-style else-if's ***
! 4697: This should be displayed
! 4698: *************************
! 4699:
! 4700: *** WHILE tests ***
! 4701: 0 is smaller than 20
! 4702: 1 is smaller than 20
! 4703: 2 is smaller than 20
! 4704: 3 is smaller than 20
! 4705: 4 is smaller than 20
! 4706: 5 is smaller than 20
! 4707: 6 is smaller than 20
! 4708: 7 is smaller than 20
! 4709: 8 is smaller than 20
! 4710: 9 is smaller than 20
! 4711: 10 is smaller than 20
! 4712: 11 is smaller than 20
! 4713: 12 is smaller than 20
! 4714: 13 is smaller than 20
! 4715: 14 is smaller than 20
! 4716: 15 is smaller than 20
! 4717: 16 is smaller than 20
! 4718: 17 is smaller than 20
! 4719: 18 is smaller than 20
! 4720: 19 is smaller than 20
! 4721: 20 equals 20
! 4722: 21 is greater than 20
! 4723: 22 is greater than 20
! 4724: 23 is greater than 20
! 4725: 24 is greater than 20
! 4726: 25 is greater than 20
! 4727: 26 is greater than 20
! 4728: 27 is greater than 20
! 4729: 28 is greater than 20
! 4730: 29 is greater than 20
! 4731: 30 is greater than 20
! 4732: 31 is greater than 20
! 4733: 32 is greater than 20
! 4734: 33 is greater than 20
! 4735: 34 is greater than 20
! 4736: 35 is greater than 20
! 4737: 36 is greater than 20
! 4738: 37 is greater than 20
! 4739: 38 is greater than 20
! 4740: 39 is greater than 20
! 4741: *******************
! 4742:
! 4743:
! 4744: *** Nested WHILEs ***
! 4745: Each array variable should be equal to the sum of its indices:
! 4746: ${test00}[0] = 0
! 4747: ${test00}[1] = 1
! 4748: ${test00}[2] = 2
! 4749: ${test01}[0] = 1
! 4750: ${test01}[1] = 2
! 4751: ${test01}[2] = 3
! 4752: ${test02}[0] = 2
! 4753: ${test02}[1] = 3
! 4754: ${test02}[2] = 4
! 4755: ${test10}[0] = 1
! 4756: ${test10}[1] = 2
! 4757: ${test10}[2] = 3
! 4758: ${test11}[0] = 2
! 4759: ${test11}[1] = 3
! 4760: ${test11}[2] = 4
! 4761: ${test12}[0] = 3
! 4762: ${test12}[1] = 4
! 4763: ${test12}[2] = 5
! 4764: ${test20}[0] = 2
! 4765: ${test20}[1] = 3
! 4766: ${test20}[2] = 4
! 4767: ${test21}[0] = 3
! 4768: ${test21}[1] = 4
! 4769: ${test21}[2] = 5
! 4770: ${test22}[0] = 4
! 4771: ${test22}[1] = 5
! 4772: ${test22}[2] = 6
! 4773: *********************
! 4774:
! 4775: *** hash test... ***
! 4776: commented out...
! 4777: **************************
! 4778:
! 4779: *** Hash resizing test ***
! 4780: ba
! 4781: baa
! 4782: baaa
! 4783: baaaa
! 4784: baaaaa
! 4785: baaaaaa
! 4786: baaaaaaa
! 4787: baaaaaaaa
! 4788: baaaaaaaaa
! 4789: baaaaaaaaaa
! 4790: ba
! 4791: 10
! 4792: baa
! 4793: 9
! 4794: baaa
! 4795: 8
! 4796: baaaa
! 4797: 7
! 4798: baaaaa
! 4799: 6
! 4800: baaaaaa
! 4801: 5
! 4802: baaaaaaa
! 4803: 4
! 4804: baaaaaaaa
! 4805: 3
! 4806: baaaaaaaaa
! 4807: 2
! 4808: baaaaaaaaaa
! 4809: 1
! 4810: **************************
! 4811:
! 4812:
! 4813: *** break/continue test ***
! 4814: $i should go from 0 to 2
! 4815: $j should go from 3 to 4, and $q should go from 3 to 4
! 4816: $j=3
! 4817: $q=3
! 4818: $q=4
! 4819: $j=4
! 4820: $q=3
! 4821: $q=4
! 4822: $j should go from 0 to 2
! 4823: $j=0
! 4824: $j=1
! 4825: $j=2
! 4826: $k should go from 0 to 2
! 4827: $k=0
! 4828: $k=1
! 4829: $k=2
! 4830: $i=0
! 4831: $j should go from 3 to 4, and $q should go from 3 to 4
! 4832: $j=3
! 4833: $q=3
! 4834: $q=4
! 4835: $j=4
! 4836: $q=3
! 4837: $q=4
! 4838: $j should go from 0 to 2
! 4839: $j=0
! 4840: $j=1
! 4841: $j=2
! 4842: $k should go from 0 to 2
! 4843: $k=0
! 4844: $k=1
! 4845: $k=2
! 4846: $i=1
! 4847: $j should go from 3 to 4, and $q should go from 3 to 4
! 4848: $j=3
! 4849: $q=3
! 4850: $q=4
! 4851: $j=4
! 4852: $q=3
! 4853: $q=4
! 4854: $j should go from 0 to 2
! 4855: $j=0
! 4856: $j=1
! 4857: $j=2
! 4858: $k should go from 0 to 2
! 4859: $k=0
! 4860: $k=1
! 4861: $k=2
! 4862: $i=2
! 4863: ***********************
! 4864:
! 4865: *** Nested file include test ***
! 4866: <html>
! 4867: This is Finish.phtml. This file is supposed to be included
! 4868: from regression_test.phtml. This is normal HTML.
! 4869: and this is PHP code, 2+2=4
! 4870: </html>
! 4871: ********************************
! 4872:
! 4873: Tests completed.
! 4874: <html>
! 4875: <head>
! 4876: *** Testing assignments and variable aliasing: ***
! 4877: This should read "blah": blah
! 4878: This should read "this is nifty": this is nifty
! 4879: *************************************************
! 4880:
! 4881: *** Testing integer operators ***
! 4882: Correct result - 8: 8
! 4883: Correct result - 8: 8
! 4884: Correct result - 2: 2
! 4885: Correct result - -2: -2
! 4886: Correct result - 15: 15
! 4887: Correct result - 15: 15
! 4888: Correct result - 2: 2
! 4889: Correct result - 3: 3
! 4890: *********************************
! 4891:
! 4892: *** Testing real operators ***
! 4893: Correct result - 8: 8
! 4894: Correct result - 8: 8
! 4895: Correct result - 2: 2
! 4896: Correct result - -2: -2
! 4897: Correct result - 15: 15
! 4898: Correct result - 15: 15
! 4899: Correct result - 2: 2
! 4900: Correct result - 3: 3
! 4901: *********************************
! 4902:
! 4903: *** Testing if/elseif/else control ***
! 4904:
! 4905: This works
! 4906: this_still_works
! 4907: should_print
! 4908:
! 4909:
! 4910: *** Seriously nested if's test ***
! 4911: ** spelling correction by kluzz **
! 4912: Only two lines of text should follow:
! 4913: this should be displayed. should be: $i=1, $j=0. is: $i=1, $j=0
! 4914: this is supposed to be displayed. should be: $i=2, $j=4. is: $i=2, $j=4
! 4915: 3 loop iterations should follow:
! 4916: 2 4
! 4917: 3 4
! 4918: 4 4
! 4919: **********************************
! 4920:
! 4921: *** C-style else-if's ***
! 4922: This should be displayed
! 4923: *************************
! 4924:
! 4925: *** WHILE tests ***
! 4926: 0 is smaller than 20
! 4927: 1 is smaller than 20
! 4928: 2 is smaller than 20
! 4929: 3 is smaller than 20
! 4930: 4 is smaller than 20
! 4931: 5 is smaller than 20
! 4932: 6 is smaller than 20
! 4933: 7 is smaller than 20
! 4934: 8 is smaller than 20
! 4935: 9 is smaller than 20
! 4936: 10 is smaller than 20
! 4937: 11 is smaller than 20
! 4938: 12 is smaller than 20
! 4939: 13 is smaller than 20
! 4940: 14 is smaller than 20
! 4941: 15 is smaller than 20
! 4942: 16 is smaller than 20
! 4943: 17 is smaller than 20
! 4944: 18 is smaller than 20
! 4945: 19 is smaller than 20
! 4946: 20 equals 20
! 4947: 21 is greater than 20
! 4948: 22 is greater than 20
! 4949: 23 is greater than 20
! 4950: 24 is greater than 20
! 4951: 25 is greater than 20
! 4952: 26 is greater than 20
! 4953: 27 is greater than 20
! 4954: 28 is greater than 20
! 4955: 29 is greater than 20
! 4956: 30 is greater than 20
! 4957: 31 is greater than 20
! 4958: 32 is greater than 20
! 4959: 33 is greater than 20
! 4960: 34 is greater than 20
! 4961: 35 is greater than 20
! 4962: 36 is greater than 20
! 4963: 37 is greater than 20
! 4964: 38 is greater than 20
! 4965: 39 is greater than 20
! 4966: *******************
! 4967:
! 4968:
! 4969: *** Nested WHILEs ***
! 4970: Each array variable should be equal to the sum of its indices:
! 4971: ${test00}[0] = 0
! 4972: ${test00}[1] = 1
! 4973: ${test00}[2] = 2
! 4974: ${test01}[0] = 1
! 4975: ${test01}[1] = 2
! 4976: ${test01}[2] = 3
! 4977: ${test02}[0] = 2
! 4978: ${test02}[1] = 3
! 4979: ${test02}[2] = 4
! 4980: ${test10}[0] = 1
! 4981: ${test10}[1] = 2
! 4982: ${test10}[2] = 3
! 4983: ${test11}[0] = 2
! 4984: ${test11}[1] = 3
! 4985: ${test11}[2] = 4
! 4986: ${test12}[0] = 3
! 4987: ${test12}[1] = 4
! 4988: ${test12}[2] = 5
! 4989: ${test20}[0] = 2
! 4990: ${test20}[1] = 3
! 4991: ${test20}[2] = 4
! 4992: ${test21}[0] = 3
! 4993: ${test21}[1] = 4
! 4994: ${test21}[2] = 5
! 4995: ${test22}[0] = 4
! 4996: ${test22}[1] = 5
! 4997: ${test22}[2] = 6
! 4998: *********************
! 4999:
! 5000: *** hash test... ***
! 5001: commented out...
! 5002: **************************
! 5003:
! 5004: *** Hash resizing test ***
! 5005: ba
! 5006: baa
! 5007: baaa
! 5008: baaaa
! 5009: baaaaa
! 5010: baaaaaa
! 5011: baaaaaaa
! 5012: baaaaaaaa
! 5013: baaaaaaaaa
! 5014: baaaaaaaaaa
! 5015: ba
! 5016: 10
! 5017: baa
! 5018: 9
! 5019: baaa
! 5020: 8
! 5021: baaaa
! 5022: 7
! 5023: baaaaa
! 5024: 6
! 5025: baaaaaa
! 5026: 5
! 5027: baaaaaaa
! 5028: 4
! 5029: baaaaaaaa
! 5030: 3
! 5031: baaaaaaaaa
! 5032: 2
! 5033: baaaaaaaaaa
! 5034: 1
! 5035: **************************
! 5036:
! 5037:
! 5038: *** break/continue test ***
! 5039: $i should go from 0 to 2
! 5040: $j should go from 3 to 4, and $q should go from 3 to 4
! 5041: $j=3
! 5042: $q=3
! 5043: $q=4
! 5044: $j=4
! 5045: $q=3
! 5046: $q=4
! 5047: $j should go from 0 to 2
! 5048: $j=0
! 5049: $j=1
! 5050: $j=2
! 5051: $k should go from 0 to 2
! 5052: $k=0
! 5053: $k=1
! 5054: $k=2
! 5055: $i=0
! 5056: $j should go from 3 to 4, and $q should go from 3 to 4
! 5057: $j=3
! 5058: $q=3
! 5059: $q=4
! 5060: $j=4
! 5061: $q=3
! 5062: $q=4
! 5063: $j should go from 0 to 2
! 5064: $j=0
! 5065: $j=1
! 5066: $j=2
! 5067: $k should go from 0 to 2
! 5068: $k=0
! 5069: $k=1
! 5070: $k=2
! 5071: $i=1
! 5072: $j should go from 3 to 4, and $q should go from 3 to 4
! 5073: $j=3
! 5074: $q=3
! 5075: $q=4
! 5076: $j=4
! 5077: $q=3
! 5078: $q=4
! 5079: $j should go from 0 to 2
! 5080: $j=0
! 5081: $j=1
! 5082: $j=2
! 5083: $k should go from 0 to 2
! 5084: $k=0
! 5085: $k=1
! 5086: $k=2
! 5087: $i=2
! 5088: ***********************
! 5089:
! 5090: *** Nested file include test ***
! 5091: <html>
! 5092: This is Finish.phtml. This file is supposed to be included
! 5093: from regression_test.phtml. This is normal HTML.
! 5094: and this is PHP code, 2+2=4
! 5095: </html>
! 5096: ********************************
! 5097:
! 5098: Tests completed.
! 5099: <html>
! 5100: <head>
! 5101: *** Testing assignments and variable aliasing: ***
! 5102: This should read "blah": blah
! 5103: This should read "this is nifty": this is nifty
! 5104: *************************************************
! 5105:
! 5106: *** Testing integer operators ***
! 5107: Correct result - 8: 8
! 5108: Correct result - 8: 8
! 5109: Correct result - 2: 2
! 5110: Correct result - -2: -2
! 5111: Correct result - 15: 15
! 5112: Correct result - 15: 15
! 5113: Correct result - 2: 2
! 5114: Correct result - 3: 3
! 5115: *********************************
! 5116:
! 5117: *** Testing real operators ***
! 5118: Correct result - 8: 8
! 5119: Correct result - 8: 8
! 5120: Correct result - 2: 2
! 5121: Correct result - -2: -2
! 5122: Correct result - 15: 15
! 5123: Correct result - 15: 15
! 5124: Correct result - 2: 2
! 5125: Correct result - 3: 3
! 5126: *********************************
! 5127:
! 5128: *** Testing if/elseif/else control ***
! 5129:
! 5130: This works
! 5131: this_still_works
! 5132: should_print
! 5133:
! 5134:
! 5135: *** Seriously nested if's test ***
! 5136: ** spelling correction by kluzz **
! 5137: Only two lines of text should follow:
! 5138: this should be displayed. should be: $i=1, $j=0. is: $i=1, $j=0
! 5139: this is supposed to be displayed. should be: $i=2, $j=4. is: $i=2, $j=4
! 5140: 3 loop iterations should follow:
! 5141: 2 4
! 5142: 3 4
! 5143: 4 4
! 5144: **********************************
! 5145:
! 5146: *** C-style else-if's ***
! 5147: This should be displayed
! 5148: *************************
! 5149:
! 5150: *** WHILE tests ***
! 5151: 0 is smaller than 20
! 5152: 1 is smaller than 20
! 5153: 2 is smaller than 20
! 5154: 3 is smaller than 20
! 5155: 4 is smaller than 20
! 5156: 5 is smaller than 20
! 5157: 6 is smaller than 20
! 5158: 7 is smaller than 20
! 5159: 8 is smaller than 20
! 5160: 9 is smaller than 20
! 5161: 10 is smaller than 20
! 5162: 11 is smaller than 20
! 5163: 12 is smaller than 20
! 5164: 13 is smaller than 20
! 5165: 14 is smaller than 20
! 5166: 15 is smaller than 20
! 5167: 16 is smaller than 20
! 5168: 17 is smaller than 20
! 5169: 18 is smaller than 20
! 5170: 19 is smaller than 20
! 5171: 20 equals 20
! 5172: 21 is greater than 20
! 5173: 22 is greater than 20
! 5174: 23 is greater than 20
! 5175: 24 is greater than 20
! 5176: 25 is greater than 20
! 5177: 26 is greater than 20
! 5178: 27 is greater than 20
! 5179: 28 is greater than 20
! 5180: 29 is greater than 20
! 5181: 30 is greater than 20
! 5182: 31 is greater than 20
! 5183: 32 is greater than 20
! 5184: 33 is greater than 20
! 5185: 34 is greater than 20
! 5186: 35 is greater than 20
! 5187: 36 is greater than 20
! 5188: 37 is greater than 20
! 5189: 38 is greater than 20
! 5190: 39 is greater than 20
! 5191: *******************
! 5192:
! 5193:
! 5194: *** Nested WHILEs ***
! 5195: Each array variable should be equal to the sum of its indices:
! 5196: ${test00}[0] = 0
! 5197: ${test00}[1] = 1
! 5198: ${test00}[2] = 2
! 5199: ${test01}[0] = 1
! 5200: ${test01}[1] = 2
! 5201: ${test01}[2] = 3
! 5202: ${test02}[0] = 2
! 5203: ${test02}[1] = 3
! 5204: ${test02}[2] = 4
! 5205: ${test10}[0] = 1
! 5206: ${test10}[1] = 2
! 5207: ${test10}[2] = 3
! 5208: ${test11}[0] = 2
! 5209: ${test11}[1] = 3
! 5210: ${test11}[2] = 4
! 5211: ${test12}[0] = 3
! 5212: ${test12}[1] = 4
! 5213: ${test12}[2] = 5
! 5214: ${test20}[0] = 2
! 5215: ${test20}[1] = 3
! 5216: ${test20}[2] = 4
! 5217: ${test21}[0] = 3
! 5218: ${test21}[1] = 4
! 5219: ${test21}[2] = 5
! 5220: ${test22}[0] = 4
! 5221: ${test22}[1] = 5
! 5222: ${test22}[2] = 6
! 5223: *********************
! 5224:
! 5225: *** hash test... ***
! 5226: commented out...
! 5227: **************************
! 5228:
! 5229: *** Hash resizing test ***
! 5230: ba
! 5231: baa
! 5232: baaa
! 5233: baaaa
! 5234: baaaaa
! 5235: baaaaaa
! 5236: baaaaaaa
! 5237: baaaaaaaa
! 5238: baaaaaaaaa
! 5239: baaaaaaaaaa
! 5240: ba
! 5241: 10
! 5242: baa
! 5243: 9
! 5244: baaa
! 5245: 8
! 5246: baaaa
! 5247: 7
! 5248: baaaaa
! 5249: 6
! 5250: baaaaaa
! 5251: 5
! 5252: baaaaaaa
! 5253: 4
! 5254: baaaaaaaa
! 5255: 3
! 5256: baaaaaaaaa
! 5257: 2
! 5258: baaaaaaaaaa
! 5259: 1
! 5260: **************************
! 5261:
! 5262:
! 5263: *** break/continue test ***
! 5264: $i should go from 0 to 2
! 5265: $j should go from 3 to 4, and $q should go from 3 to 4
! 5266: $j=3
! 5267: $q=3
! 5268: $q=4
! 5269: $j=4
! 5270: $q=3
! 5271: $q=4
! 5272: $j should go from 0 to 2
! 5273: $j=0
! 5274: $j=1
! 5275: $j=2
! 5276: $k should go from 0 to 2
! 5277: $k=0
! 5278: $k=1
! 5279: $k=2
! 5280: $i=0
! 5281: $j should go from 3 to 4, and $q should go from 3 to 4
! 5282: $j=3
! 5283: $q=3
! 5284: $q=4
! 5285: $j=4
! 5286: $q=3
! 5287: $q=4
! 5288: $j should go from 0 to 2
! 5289: $j=0
! 5290: $j=1
! 5291: $j=2
! 5292: $k should go from 0 to 2
! 5293: $k=0
! 5294: $k=1
! 5295: $k=2
! 5296: $i=1
! 5297: $j should go from 3 to 4, and $q should go from 3 to 4
! 5298: $j=3
! 5299: $q=3
! 5300: $q=4
! 5301: $j=4
! 5302: $q=3
! 5303: $q=4
! 5304: $j should go from 0 to 2
! 5305: $j=0
! 5306: $j=1
! 5307: $j=2
! 5308: $k should go from 0 to 2
! 5309: $k=0
! 5310: $k=1
! 5311: $k=2
! 5312: $i=2
! 5313: ***********************
! 5314:
! 5315: *** Nested file include test ***
! 5316: <html>
! 5317: This is Finish.phtml. This file is supposed to be included
! 5318: from regression_test.phtml. This is normal HTML.
! 5319: and this is PHP code, 2+2=4
! 5320: </html>
! 5321: ********************************
! 5322:
! 5323: Tests completed.
! 5324: <html>
! 5325: <head>
! 5326: *** Testing assignments and variable aliasing: ***
! 5327: This should read "blah": blah
! 5328: This should read "this is nifty": this is nifty
! 5329: *************************************************
! 5330:
! 5331: *** Testing integer operators ***
! 5332: Correct result - 8: 8
! 5333: Correct result - 8: 8
! 5334: Correct result - 2: 2
! 5335: Correct result - -2: -2
! 5336: Correct result - 15: 15
! 5337: Correct result - 15: 15
! 5338: Correct result - 2: 2
! 5339: Correct result - 3: 3
! 5340: *********************************
! 5341:
! 5342: *** Testing real operators ***
! 5343: Correct result - 8: 8
! 5344: Correct result - 8: 8
! 5345: Correct result - 2: 2
! 5346: Correct result - -2: -2
! 5347: Correct result - 15: 15
! 5348: Correct result - 15: 15
! 5349: Correct result - 2: 2
! 5350: Correct result - 3: 3
! 5351: *********************************
! 5352:
! 5353: *** Testing if/elseif/else control ***
! 5354:
! 5355: This works
! 5356: this_still_works
! 5357: should_print
! 5358:
! 5359:
! 5360: *** Seriously nested if's test ***
! 5361: ** spelling correction by kluzz **
! 5362: Only two lines of text should follow:
! 5363: this should be displayed. should be: $i=1, $j=0. is: $i=1, $j=0
! 5364: this is supposed to be displayed. should be: $i=2, $j=4. is: $i=2, $j=4
! 5365: 3 loop iterations should follow:
! 5366: 2 4
! 5367: 3 4
! 5368: 4 4
! 5369: **********************************
! 5370:
! 5371: *** C-style else-if's ***
! 5372: This should be displayed
! 5373: *************************
! 5374:
! 5375: *** WHILE tests ***
! 5376: 0 is smaller than 20
! 5377: 1 is smaller than 20
! 5378: 2 is smaller than 20
! 5379: 3 is smaller than 20
! 5380: 4 is smaller than 20
! 5381: 5 is smaller than 20
! 5382: 6 is smaller than 20
! 5383: 7 is smaller than 20
! 5384: 8 is smaller than 20
! 5385: 9 is smaller than 20
! 5386: 10 is smaller than 20
! 5387: 11 is smaller than 20
! 5388: 12 is smaller than 20
! 5389: 13 is smaller than 20
! 5390: 14 is smaller than 20
! 5391: 15 is smaller than 20
! 5392: 16 is smaller than 20
! 5393: 17 is smaller than 20
! 5394: 18 is smaller than 20
! 5395: 19 is smaller than 20
! 5396: 20 equals 20
! 5397: 21 is greater than 20
! 5398: 22 is greater than 20
! 5399: 23 is greater than 20
! 5400: 24 is greater than 20
! 5401: 25 is greater than 20
! 5402: 26 is greater than 20
! 5403: 27 is greater than 20
! 5404: 28 is greater than 20
! 5405: 29 is greater than 20
! 5406: 30 is greater than 20
! 5407: 31 is greater than 20
! 5408: 32 is greater than 20
! 5409: 33 is greater than 20
! 5410: 34 is greater than 20
! 5411: 35 is greater than 20
! 5412: 36 is greater than 20
! 5413: 37 is greater than 20
! 5414: 38 is greater than 20
! 5415: 39 is greater than 20
! 5416: *******************
! 5417:
! 5418:
! 5419: *** Nested WHILEs ***
! 5420: Each array variable should be equal to the sum of its indices:
! 5421: ${test00}[0] = 0
! 5422: ${test00}[1] = 1
! 5423: ${test00}[2] = 2
! 5424: ${test01}[0] = 1
! 5425: ${test01}[1] = 2
! 5426: ${test01}[2] = 3
! 5427: ${test02}[0] = 2
! 5428: ${test02}[1] = 3
! 5429: ${test02}[2] = 4
! 5430: ${test10}[0] = 1
! 5431: ${test10}[1] = 2
! 5432: ${test10}[2] = 3
! 5433: ${test11}[0] = 2
! 5434: ${test11}[1] = 3
! 5435: ${test11}[2] = 4
! 5436: ${test12}[0] = 3
! 5437: ${test12}[1] = 4
! 5438: ${test12}[2] = 5
! 5439: ${test20}[0] = 2
! 5440: ${test20}[1] = 3
! 5441: ${test20}[2] = 4
! 5442: ${test21}[0] = 3
! 5443: ${test21}[1] = 4
! 5444: ${test21}[2] = 5
! 5445: ${test22}[0] = 4
! 5446: ${test22}[1] = 5
! 5447: ${test22}[2] = 6
! 5448: *********************
! 5449:
! 5450: *** hash test... ***
! 5451: commented out...
! 5452: **************************
! 5453:
! 5454: *** Hash resizing test ***
! 5455: ba
! 5456: baa
! 5457: baaa
! 5458: baaaa
! 5459: baaaaa
! 5460: baaaaaa
! 5461: baaaaaaa
! 5462: baaaaaaaa
! 5463: baaaaaaaaa
! 5464: baaaaaaaaaa
! 5465: ba
! 5466: 10
! 5467: baa
! 5468: 9
! 5469: baaa
! 5470: 8
! 5471: baaaa
! 5472: 7
! 5473: baaaaa
! 5474: 6
! 5475: baaaaaa
! 5476: 5
! 5477: baaaaaaa
! 5478: 4
! 5479: baaaaaaaa
! 5480: 3
! 5481: baaaaaaaaa
! 5482: 2
! 5483: baaaaaaaaaa
! 5484: 1
! 5485: **************************
! 5486:
! 5487:
! 5488: *** break/continue test ***
! 5489: $i should go from 0 to 2
! 5490: $j should go from 3 to 4, and $q should go from 3 to 4
! 5491: $j=3
! 5492: $q=3
! 5493: $q=4
! 5494: $j=4
! 5495: $q=3
! 5496: $q=4
! 5497: $j should go from 0 to 2
! 5498: $j=0
! 5499: $j=1
! 5500: $j=2
! 5501: $k should go from 0 to 2
! 5502: $k=0
! 5503: $k=1
! 5504: $k=2
! 5505: $i=0
! 5506: $j should go from 3 to 4, and $q should go from 3 to 4
! 5507: $j=3
! 5508: $q=3
! 5509: $q=4
! 5510: $j=4
! 5511: $q=3
! 5512: $q=4
! 5513: $j should go from 0 to 2
! 5514: $j=0
! 5515: $j=1
! 5516: $j=2
! 5517: $k should go from 0 to 2
! 5518: $k=0
! 5519: $k=1
! 5520: $k=2
! 5521: $i=1
! 5522: $j should go from 3 to 4, and $q should go from 3 to 4
! 5523: $j=3
! 5524: $q=3
! 5525: $q=4
! 5526: $j=4
! 5527: $q=3
! 5528: $q=4
! 5529: $j should go from 0 to 2
! 5530: $j=0
! 5531: $j=1
! 5532: $j=2
! 5533: $k should go from 0 to 2
! 5534: $k=0
! 5535: $k=1
! 5536: $k=2
! 5537: $i=2
! 5538: ***********************
! 5539:
! 5540: *** Nested file include test ***
! 5541: <html>
! 5542: This is Finish.phtml. This file is supposed to be included
! 5543: from regression_test.phtml. This is normal HTML.
! 5544: and this is PHP code, 2+2=4
! 5545: </html>
! 5546: ********************************
! 5547:
! 5548: Tests completed.
! 5549: <html>
! 5550: <head>
! 5551: *** Testing assignments and variable aliasing: ***
! 5552: This should read "blah": blah
! 5553: This should read "this is nifty": this is nifty
! 5554: *************************************************
! 5555:
! 5556: *** Testing integer operators ***
! 5557: Correct result - 8: 8
! 5558: Correct result - 8: 8
! 5559: Correct result - 2: 2
! 5560: Correct result - -2: -2
! 5561: Correct result - 15: 15
! 5562: Correct result - 15: 15
! 5563: Correct result - 2: 2
! 5564: Correct result - 3: 3
! 5565: *********************************
! 5566:
! 5567: *** Testing real operators ***
! 5568: Correct result - 8: 8
! 5569: Correct result - 8: 8
! 5570: Correct result - 2: 2
! 5571: Correct result - -2: -2
! 5572: Correct result - 15: 15
! 5573: Correct result - 15: 15
! 5574: Correct result - 2: 2
! 5575: Correct result - 3: 3
! 5576: *********************************
! 5577:
! 5578: *** Testing if/elseif/else control ***
! 5579:
! 5580: This works
! 5581: this_still_works
! 5582: should_print
! 5583:
! 5584:
! 5585: *** Seriously nested if's test ***
! 5586: ** spelling correction by kluzz **
! 5587: Only two lines of text should follow:
! 5588: this should be displayed. should be: $i=1, $j=0. is: $i=1, $j=0
! 5589: this is supposed to be displayed. should be: $i=2, $j=4. is: $i=2, $j=4
! 5590: 3 loop iterations should follow:
! 5591: 2 4
! 5592: 3 4
! 5593: 4 4
! 5594: **********************************
! 5595:
! 5596: *** C-style else-if's ***
! 5597: This should be displayed
! 5598: *************************
! 5599:
! 5600: *** WHILE tests ***
! 5601: 0 is smaller than 20
! 5602: 1 is smaller than 20
! 5603: 2 is smaller than 20
! 5604: 3 is smaller than 20
! 5605: 4 is smaller than 20
! 5606: 5 is smaller than 20
! 5607: 6 is smaller than 20
! 5608: 7 is smaller than 20
! 5609: 8 is smaller than 20
! 5610: 9 is smaller than 20
! 5611: 10 is smaller than 20
! 5612: 11 is smaller than 20
! 5613: 12 is smaller than 20
! 5614: 13 is smaller than 20
! 5615: 14 is smaller than 20
! 5616: 15 is smaller than 20
! 5617: 16 is smaller than 20
! 5618: 17 is smaller than 20
! 5619: 18 is smaller than 20
! 5620: 19 is smaller than 20
! 5621: 20 equals 20
! 5622: 21 is greater than 20
! 5623: 22 is greater than 20
! 5624: 23 is greater than 20
! 5625: 24 is greater than 20
! 5626: 25 is greater than 20
! 5627: 26 is greater than 20
! 5628: 27 is greater than 20
! 5629: 28 is greater than 20
! 5630: 29 is greater than 20
! 5631: 30 is greater than 20
! 5632: 31 is greater than 20
! 5633: 32 is greater than 20
! 5634: 33 is greater than 20
! 5635: 34 is greater than 20
! 5636: 35 is greater than 20
! 5637: 36 is greater than 20
! 5638: 37 is greater than 20
! 5639: 38 is greater than 20
! 5640: 39 is greater than 20
! 5641: *******************
! 5642:
! 5643:
! 5644: *** Nested WHILEs ***
! 5645: Each array variable should be equal to the sum of its indices:
! 5646: ${test00}[0] = 0
! 5647: ${test00}[1] = 1
! 5648: ${test00}[2] = 2
! 5649: ${test01}[0] = 1
! 5650: ${test01}[1] = 2
! 5651: ${test01}[2] = 3
! 5652: ${test02}[0] = 2
! 5653: ${test02}[1] = 3
! 5654: ${test02}[2] = 4
! 5655: ${test10}[0] = 1
! 5656: ${test10}[1] = 2
! 5657: ${test10}[2] = 3
! 5658: ${test11}[0] = 2
! 5659: ${test11}[1] = 3
! 5660: ${test11}[2] = 4
! 5661: ${test12}[0] = 3
! 5662: ${test12}[1] = 4
! 5663: ${test12}[2] = 5
! 5664: ${test20}[0] = 2
! 5665: ${test20}[1] = 3
! 5666: ${test20}[2] = 4
! 5667: ${test21}[0] = 3
! 5668: ${test21}[1] = 4
! 5669: ${test21}[2] = 5
! 5670: ${test22}[0] = 4
! 5671: ${test22}[1] = 5
! 5672: ${test22}[2] = 6
! 5673: *********************
! 5674:
! 5675: *** hash test... ***
! 5676: commented out...
! 5677: **************************
! 5678:
! 5679: *** Hash resizing test ***
! 5680: ba
! 5681: baa
! 5682: baaa
! 5683: baaaa
! 5684: baaaaa
! 5685: baaaaaa
! 5686: baaaaaaa
! 5687: baaaaaaaa
! 5688: baaaaaaaaa
! 5689: baaaaaaaaaa
! 5690: ba
! 5691: 10
! 5692: baa
! 5693: 9
! 5694: baaa
! 5695: 8
! 5696: baaaa
! 5697: 7
! 5698: baaaaa
! 5699: 6
! 5700: baaaaaa
! 5701: 5
! 5702: baaaaaaa
! 5703: 4
! 5704: baaaaaaaa
! 5705: 3
! 5706: baaaaaaaaa
! 5707: 2
! 5708: baaaaaaaaaa
! 5709: 1
! 5710: **************************
! 5711:
! 5712:
! 5713: *** break/continue test ***
! 5714: $i should go from 0 to 2
! 5715: $j should go from 3 to 4, and $q should go from 3 to 4
! 5716: $j=3
! 5717: $q=3
! 5718: $q=4
! 5719: $j=4
! 5720: $q=3
! 5721: $q=4
! 5722: $j should go from 0 to 2
! 5723: $j=0
! 5724: $j=1
! 5725: $j=2
! 5726: $k should go from 0 to 2
! 5727: $k=0
! 5728: $k=1
! 5729: $k=2
! 5730: $i=0
! 5731: $j should go from 3 to 4, and $q should go from 3 to 4
! 5732: $j=3
! 5733: $q=3
! 5734: $q=4
! 5735: $j=4
! 5736: $q=3
! 5737: $q=4
! 5738: $j should go from 0 to 2
! 5739: $j=0
! 5740: $j=1
! 5741: $j=2
! 5742: $k should go from 0 to 2
! 5743: $k=0
! 5744: $k=1
! 5745: $k=2
! 5746: $i=1
! 5747: $j should go from 3 to 4, and $q should go from 3 to 4
! 5748: $j=3
! 5749: $q=3
! 5750: $q=4
! 5751: $j=4
! 5752: $q=3
! 5753: $q=4
! 5754: $j should go from 0 to 2
! 5755: $j=0
! 5756: $j=1
! 5757: $j=2
! 5758: $k should go from 0 to 2
! 5759: $k=0
! 5760: $k=1
! 5761: $k=2
! 5762: $i=2
! 5763: ***********************
! 5764:
! 5765: *** Nested file include test ***
! 5766: <html>
! 5767: This is Finish.phtml. This file is supposed to be included
! 5768: from regression_test.phtml. This is normal HTML.
! 5769: and this is PHP code, 2+2=4
! 5770: </html>
! 5771: ********************************
! 5772:
! 5773: Tests completed.
! 5774: <html>
! 5775: <head>
! 5776: *** Testing assignments and variable aliasing: ***
! 5777: This should read "blah": blah
! 5778: This should read "this is nifty": this is nifty
! 5779: *************************************************
! 5780:
! 5781: *** Testing integer operators ***
! 5782: Correct result - 8: 8
! 5783: Correct result - 8: 8
! 5784: Correct result - 2: 2
! 5785: Correct result - -2: -2
! 5786: Correct result - 15: 15
! 5787: Correct result - 15: 15
! 5788: Correct result - 2: 2
! 5789: Correct result - 3: 3
! 5790: *********************************
! 5791:
! 5792: *** Testing real operators ***
! 5793: Correct result - 8: 8
! 5794: Correct result - 8: 8
! 5795: Correct result - 2: 2
! 5796: Correct result - -2: -2
! 5797: Correct result - 15: 15
! 5798: Correct result - 15: 15
! 5799: Correct result - 2: 2
! 5800: Correct result - 3: 3
! 5801: *********************************
! 5802:
! 5803: *** Testing if/elseif/else control ***
! 5804:
! 5805: This works
! 5806: this_still_works
! 5807: should_print
! 5808:
! 5809:
! 5810: *** Seriously nested if's test ***
! 5811: ** spelling correction by kluzz **
! 5812: Only two lines of text should follow:
! 5813: this should be displayed. should be: $i=1, $j=0. is: $i=1, $j=0
! 5814: this is supposed to be displayed. should be: $i=2, $j=4. is: $i=2, $j=4
! 5815: 3 loop iterations should follow:
! 5816: 2 4
! 5817: 3 4
! 5818: 4 4
! 5819: **********************************
! 5820:
! 5821: *** C-style else-if's ***
! 5822: This should be displayed
! 5823: *************************
! 5824:
! 5825: *** WHILE tests ***
! 5826: 0 is smaller than 20
! 5827: 1 is smaller than 20
! 5828: 2 is smaller than 20
! 5829: 3 is smaller than 20
! 5830: 4 is smaller than 20
! 5831: 5 is smaller than 20
! 5832: 6 is smaller than 20
! 5833: 7 is smaller than 20
! 5834: 8 is smaller than 20
! 5835: 9 is smaller than 20
! 5836: 10 is smaller than 20
! 5837: 11 is smaller than 20
! 5838: 12 is smaller than 20
! 5839: 13 is smaller than 20
! 5840: 14 is smaller than 20
! 5841: 15 is smaller than 20
! 5842: 16 is smaller than 20
! 5843: 17 is smaller than 20
! 5844: 18 is smaller than 20
! 5845: 19 is smaller than 20
! 5846: 20 equals 20
! 5847: 21 is greater than 20
! 5848: 22 is greater than 20
! 5849: 23 is greater than 20
! 5850: 24 is greater than 20
! 5851: 25 is greater than 20
! 5852: 26 is greater than 20
! 5853: 27 is greater than 20
! 5854: 28 is greater than 20
! 5855: 29 is greater than 20
! 5856: 30 is greater than 20
! 5857: 31 is greater than 20
! 5858: 32 is greater than 20
! 5859: 33 is greater than 20
! 5860: 34 is greater than 20
! 5861: 35 is greater than 20
! 5862: 36 is greater than 20
! 5863: 37 is greater than 20
! 5864: 38 is greater than 20
! 5865: 39 is greater than 20
! 5866: *******************
! 5867:
! 5868:
! 5869: *** Nested WHILEs ***
! 5870: Each array variable should be equal to the sum of its indices:
! 5871: ${test00}[0] = 0
! 5872: ${test00}[1] = 1
! 5873: ${test00}[2] = 2
! 5874: ${test01}[0] = 1
! 5875: ${test01}[1] = 2
! 5876: ${test01}[2] = 3
! 5877: ${test02}[0] = 2
! 5878: ${test02}[1] = 3
! 5879: ${test02}[2] = 4
! 5880: ${test10}[0] = 1
! 5881: ${test10}[1] = 2
! 5882: ${test10}[2] = 3
! 5883: ${test11}[0] = 2
! 5884: ${test11}[1] = 3
! 5885: ${test11}[2] = 4
! 5886: ${test12}[0] = 3
! 5887: ${test12}[1] = 4
! 5888: ${test12}[2] = 5
! 5889: ${test20}[0] = 2
! 5890: ${test20}[1] = 3
! 5891: ${test20}[2] = 4
! 5892: ${test21}[0] = 3
! 5893: ${test21}[1] = 4
! 5894: ${test21}[2] = 5
! 5895: ${test22}[0] = 4
! 5896: ${test22}[1] = 5
! 5897: ${test22}[2] = 6
! 5898: *********************
! 5899:
! 5900: *** hash test... ***
! 5901: commented out...
! 5902: **************************
! 5903:
! 5904: *** Hash resizing test ***
! 5905: ba
! 5906: baa
! 5907: baaa
! 5908: baaaa
! 5909: baaaaa
! 5910: baaaaaa
! 5911: baaaaaaa
! 5912: baaaaaaaa
! 5913: baaaaaaaaa
! 5914: baaaaaaaaaa
! 5915: ba
! 5916: 10
! 5917: baa
! 5918: 9
! 5919: baaa
! 5920: 8
! 5921: baaaa
! 5922: 7
! 5923: baaaaa
! 5924: 6
! 5925: baaaaaa
! 5926: 5
! 5927: baaaaaaa
! 5928: 4
! 5929: baaaaaaaa
! 5930: 3
! 5931: baaaaaaaaa
! 5932: 2
! 5933: baaaaaaaaaa
! 5934: 1
! 5935: **************************
! 5936:
! 5937:
! 5938: *** break/continue test ***
! 5939: $i should go from 0 to 2
! 5940: $j should go from 3 to 4, and $q should go from 3 to 4
! 5941: $j=3
! 5942: $q=3
! 5943: $q=4
! 5944: $j=4
! 5945: $q=3
! 5946: $q=4
! 5947: $j should go from 0 to 2
! 5948: $j=0
! 5949: $j=1
! 5950: $j=2
! 5951: $k should go from 0 to 2
! 5952: $k=0
! 5953: $k=1
! 5954: $k=2
! 5955: $i=0
! 5956: $j should go from 3 to 4, and $q should go from 3 to 4
! 5957: $j=3
! 5958: $q=3
! 5959: $q=4
! 5960: $j=4
! 5961: $q=3
! 5962: $q=4
! 5963: $j should go from 0 to 2
! 5964: $j=0
! 5965: $j=1
! 5966: $j=2
! 5967: $k should go from 0 to 2
! 5968: $k=0
! 5969: $k=1
! 5970: $k=2
! 5971: $i=1
! 5972: $j should go from 3 to 4, and $q should go from 3 to 4
! 5973: $j=3
! 5974: $q=3
! 5975: $q=4
! 5976: $j=4
! 5977: $q=3
! 5978: $q=4
! 5979: $j should go from 0 to 2
! 5980: $j=0
! 5981: $j=1
! 5982: $j=2
! 5983: $k should go from 0 to 2
! 5984: $k=0
! 5985: $k=1
! 5986: $k=2
! 5987: $i=2
! 5988: ***********************
! 5989:
! 5990: *** Nested file include test ***
! 5991: <html>
! 5992: This is Finish.phtml. This file is supposed to be included
! 5993: from regression_test.phtml. This is normal HTML.
! 5994: and this is PHP code, 2+2=4
! 5995: </html>
! 5996: ********************************
! 5997:
! 5998: Tests completed.
! 5999: <html>
! 6000: <head>
! 6001: *** Testing assignments and variable aliasing: ***
! 6002: This should read "blah": blah
! 6003: This should read "this is nifty": this is nifty
! 6004: *************************************************
! 6005:
! 6006: *** Testing integer operators ***
! 6007: Correct result - 8: 8
! 6008: Correct result - 8: 8
! 6009: Correct result - 2: 2
! 6010: Correct result - -2: -2
! 6011: Correct result - 15: 15
! 6012: Correct result - 15: 15
! 6013: Correct result - 2: 2
! 6014: Correct result - 3: 3
! 6015: *********************************
! 6016:
! 6017: *** Testing real operators ***
! 6018: Correct result - 8: 8
! 6019: Correct result - 8: 8
! 6020: Correct result - 2: 2
! 6021: Correct result - -2: -2
! 6022: Correct result - 15: 15
! 6023: Correct result - 15: 15
! 6024: Correct result - 2: 2
! 6025: Correct result - 3: 3
! 6026: *********************************
! 6027:
! 6028: *** Testing if/elseif/else control ***
! 6029:
! 6030: This works
! 6031: this_still_works
! 6032: should_print
! 6033:
! 6034:
! 6035: *** Seriously nested if's test ***
! 6036: ** spelling correction by kluzz **
! 6037: Only two lines of text should follow:
! 6038: this should be displayed. should be: $i=1, $j=0. is: $i=1, $j=0
! 6039: this is supposed to be displayed. should be: $i=2, $j=4. is: $i=2, $j=4
! 6040: 3 loop iterations should follow:
! 6041: 2 4
! 6042: 3 4
! 6043: 4 4
! 6044: **********************************
! 6045:
! 6046: *** C-style else-if's ***
! 6047: This should be displayed
! 6048: *************************
! 6049:
! 6050: *** WHILE tests ***
! 6051: 0 is smaller than 20
! 6052: 1 is smaller than 20
! 6053: 2 is smaller than 20
! 6054: 3 is smaller than 20
! 6055: 4 is smaller than 20
! 6056: 5 is smaller than 20
! 6057: 6 is smaller than 20
! 6058: 7 is smaller than 20
! 6059: 8 is smaller than 20
! 6060: 9 is smaller than 20
! 6061: 10 is smaller than 20
! 6062: 11 is smaller than 20
! 6063: 12 is smaller than 20
! 6064: 13 is smaller than 20
! 6065: 14 is smaller than 20
! 6066: 15 is smaller than 20
! 6067: 16 is smaller than 20
! 6068: 17 is smaller than 20
! 6069: 18 is smaller than 20
! 6070: 19 is smaller than 20
! 6071: 20 equals 20
! 6072: 21 is greater than 20
! 6073: 22 is greater than 20
! 6074: 23 is greater than 20
! 6075: 24 is greater than 20
! 6076: 25 is greater than 20
! 6077: 26 is greater than 20
! 6078: 27 is greater than 20
! 6079: 28 is greater than 20
! 6080: 29 is greater than 20
! 6081: 30 is greater than 20
! 6082: 31 is greater than 20
! 6083: 32 is greater than 20
! 6084: 33 is greater than 20
! 6085: 34 is greater than 20
! 6086: 35 is greater than 20
! 6087: 36 is greater than 20
! 6088: 37 is greater than 20
! 6089: 38 is greater than 20
! 6090: 39 is greater than 20
! 6091: *******************
! 6092:
! 6093:
! 6094: *** Nested WHILEs ***
! 6095: Each array variable should be equal to the sum of its indices:
! 6096: ${test00}[0] = 0
! 6097: ${test00}[1] = 1
! 6098: ${test00}[2] = 2
! 6099: ${test01}[0] = 1
! 6100: ${test01}[1] = 2
! 6101: ${test01}[2] = 3
! 6102: ${test02}[0] = 2
! 6103: ${test02}[1] = 3
! 6104: ${test02}[2] = 4
! 6105: ${test10}[0] = 1
! 6106: ${test10}[1] = 2
! 6107: ${test10}[2] = 3
! 6108: ${test11}[0] = 2
! 6109: ${test11}[1] = 3
! 6110: ${test11}[2] = 4
! 6111: ${test12}[0] = 3
! 6112: ${test12}[1] = 4
! 6113: ${test12}[2] = 5
! 6114: ${test20}[0] = 2
! 6115: ${test20}[1] = 3
! 6116: ${test20}[2] = 4
! 6117: ${test21}[0] = 3
! 6118: ${test21}[1] = 4
! 6119: ${test21}[2] = 5
! 6120: ${test22}[0] = 4
! 6121: ${test22}[1] = 5
! 6122: ${test22}[2] = 6
! 6123: *********************
! 6124:
! 6125: *** hash test... ***
! 6126: commented out...
! 6127: **************************
! 6128:
! 6129: *** Hash resizing test ***
! 6130: ba
! 6131: baa
! 6132: baaa
! 6133: baaaa
! 6134: baaaaa
! 6135: baaaaaa
! 6136: baaaaaaa
! 6137: baaaaaaaa
! 6138: baaaaaaaaa
! 6139: baaaaaaaaaa
! 6140: ba
! 6141: 10
! 6142: baa
! 6143: 9
! 6144: baaa
! 6145: 8
! 6146: baaaa
! 6147: 7
! 6148: baaaaa
! 6149: 6
! 6150: baaaaaa
! 6151: 5
! 6152: baaaaaaa
! 6153: 4
! 6154: baaaaaaaa
! 6155: 3
! 6156: baaaaaaaaa
! 6157: 2
! 6158: baaaaaaaaaa
! 6159: 1
! 6160: **************************
! 6161:
! 6162:
! 6163: *** break/continue test ***
! 6164: $i should go from 0 to 2
! 6165: $j should go from 3 to 4, and $q should go from 3 to 4
! 6166: $j=3
! 6167: $q=3
! 6168: $q=4
! 6169: $j=4
! 6170: $q=3
! 6171: $q=4
! 6172: $j should go from 0 to 2
! 6173: $j=0
! 6174: $j=1
! 6175: $j=2
! 6176: $k should go from 0 to 2
! 6177: $k=0
! 6178: $k=1
! 6179: $k=2
! 6180: $i=0
! 6181: $j should go from 3 to 4, and $q should go from 3 to 4
! 6182: $j=3
! 6183: $q=3
! 6184: $q=4
! 6185: $j=4
! 6186: $q=3
! 6187: $q=4
! 6188: $j should go from 0 to 2
! 6189: $j=0
! 6190: $j=1
! 6191: $j=2
! 6192: $k should go from 0 to 2
! 6193: $k=0
! 6194: $k=1
! 6195: $k=2
! 6196: $i=1
! 6197: $j should go from 3 to 4, and $q should go from 3 to 4
! 6198: $j=3
! 6199: $q=3
! 6200: $q=4
! 6201: $j=4
! 6202: $q=3
! 6203: $q=4
! 6204: $j should go from 0 to 2
! 6205: $j=0
! 6206: $j=1
! 6207: $j=2
! 6208: $k should go from 0 to 2
! 6209: $k=0
! 6210: $k=1
! 6211: $k=2
! 6212: $i=2
! 6213: ***********************
! 6214:
! 6215: *** Nested file include test ***
! 6216: <html>
! 6217: This is Finish.phtml. This file is supposed to be included
! 6218: from regression_test.phtml. This is normal HTML.
! 6219: and this is PHP code, 2+2=4
! 6220: </html>
! 6221: ********************************
! 6222:
! 6223: Tests completed.
! 6224: <html>
! 6225: <head>
! 6226: *** Testing assignments and variable aliasing: ***
! 6227: This should read "blah": blah
! 6228: This should read "this is nifty": this is nifty
! 6229: *************************************************
! 6230:
! 6231: *** Testing integer operators ***
! 6232: Correct result - 8: 8
! 6233: Correct result - 8: 8
! 6234: Correct result - 2: 2
! 6235: Correct result - -2: -2
! 6236: Correct result - 15: 15
! 6237: Correct result - 15: 15
! 6238: Correct result - 2: 2
! 6239: Correct result - 3: 3
! 6240: *********************************
! 6241:
! 6242: *** Testing real operators ***
! 6243: Correct result - 8: 8
! 6244: Correct result - 8: 8
! 6245: Correct result - 2: 2
! 6246: Correct result - -2: -2
! 6247: Correct result - 15: 15
! 6248: Correct result - 15: 15
! 6249: Correct result - 2: 2
! 6250: Correct result - 3: 3
! 6251: *********************************
! 6252:
! 6253: *** Testing if/elseif/else control ***
! 6254:
! 6255: This works
! 6256: this_still_works
! 6257: should_print
! 6258:
! 6259:
! 6260: *** Seriously nested if's test ***
! 6261: ** spelling correction by kluzz **
! 6262: Only two lines of text should follow:
! 6263: this should be displayed. should be: $i=1, $j=0. is: $i=1, $j=0
! 6264: this is supposed to be displayed. should be: $i=2, $j=4. is: $i=2, $j=4
! 6265: 3 loop iterations should follow:
! 6266: 2 4
! 6267: 3 4
! 6268: 4 4
! 6269: **********************************
! 6270:
! 6271: *** C-style else-if's ***
! 6272: This should be displayed
! 6273: *************************
! 6274:
! 6275: *** WHILE tests ***
! 6276: 0 is smaller than 20
! 6277: 1 is smaller than 20
! 6278: 2 is smaller than 20
! 6279: 3 is smaller than 20
! 6280: 4 is smaller than 20
! 6281: 5 is smaller than 20
! 6282: 6 is smaller than 20
! 6283: 7 is smaller than 20
! 6284: 8 is smaller than 20
! 6285: 9 is smaller than 20
! 6286: 10 is smaller than 20
! 6287: 11 is smaller than 20
! 6288: 12 is smaller than 20
! 6289: 13 is smaller than 20
! 6290: 14 is smaller than 20
! 6291: 15 is smaller than 20
! 6292: 16 is smaller than 20
! 6293: 17 is smaller than 20
! 6294: 18 is smaller than 20
! 6295: 19 is smaller than 20
! 6296: 20 equals 20
! 6297: 21 is greater than 20
! 6298: 22 is greater than 20
! 6299: 23 is greater than 20
! 6300: 24 is greater than 20
! 6301: 25 is greater than 20
! 6302: 26 is greater than 20
! 6303: 27 is greater than 20
! 6304: 28 is greater than 20
! 6305: 29 is greater than 20
! 6306: 30 is greater than 20
! 6307: 31 is greater than 20
! 6308: 32 is greater than 20
! 6309: 33 is greater than 20
! 6310: 34 is greater than 20
! 6311: 35 is greater than 20
! 6312: 36 is greater than 20
! 6313: 37 is greater than 20
! 6314: 38 is greater than 20
! 6315: 39 is greater than 20
! 6316: *******************
! 6317:
! 6318:
! 6319: *** Nested WHILEs ***
! 6320: Each array variable should be equal to the sum of its indices:
! 6321: ${test00}[0] = 0
! 6322: ${test00}[1] = 1
! 6323: ${test00}[2] = 2
! 6324: ${test01}[0] = 1
! 6325: ${test01}[1] = 2
! 6326: ${test01}[2] = 3
! 6327: ${test02}[0] = 2
! 6328: ${test02}[1] = 3
! 6329: ${test02}[2] = 4
! 6330: ${test10}[0] = 1
! 6331: ${test10}[1] = 2
! 6332: ${test10}[2] = 3
! 6333: ${test11}[0] = 2
! 6334: ${test11}[1] = 3
! 6335: ${test11}[2] = 4
! 6336: ${test12}[0] = 3
! 6337: ${test12}[1] = 4
! 6338: ${test12}[2] = 5
! 6339: ${test20}[0] = 2
! 6340: ${test20}[1] = 3
! 6341: ${test20}[2] = 4
! 6342: ${test21}[0] = 3
! 6343: ${test21}[1] = 4
! 6344: ${test21}[2] = 5
! 6345: ${test22}[0] = 4
! 6346: ${test22}[1] = 5
! 6347: ${test22}[2] = 6
! 6348: *********************
! 6349:
! 6350: *** hash test... ***
! 6351: commented out...
! 6352: **************************
! 6353:
! 6354: *** Hash resizing test ***
! 6355: ba
! 6356: baa
! 6357: baaa
! 6358: baaaa
! 6359: baaaaa
! 6360: baaaaaa
! 6361: baaaaaaa
! 6362: baaaaaaaa
! 6363: baaaaaaaaa
! 6364: baaaaaaaaaa
! 6365: ba
! 6366: 10
! 6367: baa
! 6368: 9
! 6369: baaa
! 6370: 8
! 6371: baaaa
! 6372: 7
! 6373: baaaaa
! 6374: 6
! 6375: baaaaaa
! 6376: 5
! 6377: baaaaaaa
! 6378: 4
! 6379: baaaaaaaa
! 6380: 3
! 6381: baaaaaaaaa
! 6382: 2
! 6383: baaaaaaaaaa
! 6384: 1
! 6385: **************************
! 6386:
! 6387:
! 6388: *** break/continue test ***
! 6389: $i should go from 0 to 2
! 6390: $j should go from 3 to 4, and $q should go from 3 to 4
! 6391: $j=3
! 6392: $q=3
! 6393: $q=4
! 6394: $j=4
! 6395: $q=3
! 6396: $q=4
! 6397: $j should go from 0 to 2
! 6398: $j=0
! 6399: $j=1
! 6400: $j=2
! 6401: $k should go from 0 to 2
! 6402: $k=0
! 6403: $k=1
! 6404: $k=2
! 6405: $i=0
! 6406: $j should go from 3 to 4, and $q should go from 3 to 4
! 6407: $j=3
! 6408: $q=3
! 6409: $q=4
! 6410: $j=4
! 6411: $q=3
! 6412: $q=4
! 6413: $j should go from 0 to 2
! 6414: $j=0
! 6415: $j=1
! 6416: $j=2
! 6417: $k should go from 0 to 2
! 6418: $k=0
! 6419: $k=1
! 6420: $k=2
! 6421: $i=1
! 6422: $j should go from 3 to 4, and $q should go from 3 to 4
! 6423: $j=3
! 6424: $q=3
! 6425: $q=4
! 6426: $j=4
! 6427: $q=3
! 6428: $q=4
! 6429: $j should go from 0 to 2
! 6430: $j=0
! 6431: $j=1
! 6432: $j=2
! 6433: $k should go from 0 to 2
! 6434: $k=0
! 6435: $k=1
! 6436: $k=2
! 6437: $i=2
! 6438: ***********************
! 6439:
! 6440: *** Nested file include test ***
! 6441: <html>
! 6442: This is Finish.phtml. This file is supposed to be included
! 6443: from regression_test.phtml. This is normal HTML.
! 6444: and this is PHP code, 2+2=4
! 6445: </html>
! 6446: ********************************
! 6447:
! 6448: Tests completed.
! 6449: <html>
! 6450: <head>
! 6451: *** Testing assignments and variable aliasing: ***
! 6452: This should read "blah": blah
! 6453: This should read "this is nifty": this is nifty
! 6454: *************************************************
! 6455:
! 6456: *** Testing integer operators ***
! 6457: Correct result - 8: 8
! 6458: Correct result - 8: 8
! 6459: Correct result - 2: 2
! 6460: Correct result - -2: -2
! 6461: Correct result - 15: 15
! 6462: Correct result - 15: 15
! 6463: Correct result - 2: 2
! 6464: Correct result - 3: 3
! 6465: *********************************
! 6466:
! 6467: *** Testing real operators ***
! 6468: Correct result - 8: 8
! 6469: Correct result - 8: 8
! 6470: Correct result - 2: 2
! 6471: Correct result - -2: -2
! 6472: Correct result - 15: 15
! 6473: Correct result - 15: 15
! 6474: Correct result - 2: 2
! 6475: Correct result - 3: 3
! 6476: *********************************
! 6477:
! 6478: *** Testing if/elseif/else control ***
! 6479:
! 6480: This works
! 6481: this_still_works
! 6482: should_print
! 6483:
! 6484:
! 6485: *** Seriously nested if's test ***
! 6486: ** spelling correction by kluzz **
! 6487: Only two lines of text should follow:
! 6488: this should be displayed. should be: $i=1, $j=0. is: $i=1, $j=0
! 6489: this is supposed to be displayed. should be: $i=2, $j=4. is: $i=2, $j=4
! 6490: 3 loop iterations should follow:
! 6491: 2 4
! 6492: 3 4
! 6493: 4 4
! 6494: **********************************
! 6495:
! 6496: *** C-style else-if's ***
! 6497: This should be displayed
! 6498: *************************
! 6499:
! 6500: *** WHILE tests ***
! 6501: 0 is smaller than 20
! 6502: 1 is smaller than 20
! 6503: 2 is smaller than 20
! 6504: 3 is smaller than 20
! 6505: 4 is smaller than 20
! 6506: 5 is smaller than 20
! 6507: 6 is smaller than 20
! 6508: 7 is smaller than 20
! 6509: 8 is smaller than 20
! 6510: 9 is smaller than 20
! 6511: 10 is smaller than 20
! 6512: 11 is smaller than 20
! 6513: 12 is smaller than 20
! 6514: 13 is smaller than 20
! 6515: 14 is smaller than 20
! 6516: 15 is smaller than 20
! 6517: 16 is smaller than 20
! 6518: 17 is smaller than 20
! 6519: 18 is smaller than 20
! 6520: 19 is smaller than 20
! 6521: 20 equals 20
! 6522: 21 is greater than 20
! 6523: 22 is greater than 20
! 6524: 23 is greater than 20
! 6525: 24 is greater than 20
! 6526: 25 is greater than 20
! 6527: 26 is greater than 20
! 6528: 27 is greater than 20
! 6529: 28 is greater than 20
! 6530: 29 is greater than 20
! 6531: 30 is greater than 20
! 6532: 31 is greater than 20
! 6533: 32 is greater than 20
! 6534: 33 is greater than 20
! 6535: 34 is greater than 20
! 6536: 35 is greater than 20
! 6537: 36 is greater than 20
! 6538: 37 is greater than 20
! 6539: 38 is greater than 20
! 6540: 39 is greater than 20
! 6541: *******************
! 6542:
! 6543:
! 6544: *** Nested WHILEs ***
! 6545: Each array variable should be equal to the sum of its indices:
! 6546: ${test00}[0] = 0
! 6547: ${test00}[1] = 1
! 6548: ${test00}[2] = 2
! 6549: ${test01}[0] = 1
! 6550: ${test01}[1] = 2
! 6551: ${test01}[2] = 3
! 6552: ${test02}[0] = 2
! 6553: ${test02}[1] = 3
! 6554: ${test02}[2] = 4
! 6555: ${test10}[0] = 1
! 6556: ${test10}[1] = 2
! 6557: ${test10}[2] = 3
! 6558: ${test11}[0] = 2
! 6559: ${test11}[1] = 3
! 6560: ${test11}[2] = 4
! 6561: ${test12}[0] = 3
! 6562: ${test12}[1] = 4
! 6563: ${test12}[2] = 5
! 6564: ${test20}[0] = 2
! 6565: ${test20}[1] = 3
! 6566: ${test20}[2] = 4
! 6567: ${test21}[0] = 3
! 6568: ${test21}[1] = 4
! 6569: ${test21}[2] = 5
! 6570: ${test22}[0] = 4
! 6571: ${test22}[1] = 5
! 6572: ${test22}[2] = 6
! 6573: *********************
! 6574:
! 6575: *** hash test... ***
! 6576: commented out...
! 6577: **************************
! 6578:
! 6579: *** Hash resizing test ***
! 6580: ba
! 6581: baa
! 6582: baaa
! 6583: baaaa
! 6584: baaaaa
! 6585: baaaaaa
! 6586: baaaaaaa
! 6587: baaaaaaaa
! 6588: baaaaaaaaa
! 6589: baaaaaaaaaa
! 6590: ba
! 6591: 10
! 6592: baa
! 6593: 9
! 6594: baaa
! 6595: 8
! 6596: baaaa
! 6597: 7
! 6598: baaaaa
! 6599: 6
! 6600: baaaaaa
! 6601: 5
! 6602: baaaaaaa
! 6603: 4
! 6604: baaaaaaaa
! 6605: 3
! 6606: baaaaaaaaa
! 6607: 2
! 6608: baaaaaaaaaa
! 6609: 1
! 6610: **************************
! 6611:
! 6612:
! 6613: *** break/continue test ***
! 6614: $i should go from 0 to 2
! 6615: $j should go from 3 to 4, and $q should go from 3 to 4
! 6616: $j=3
! 6617: $q=3
! 6618: $q=4
! 6619: $j=4
! 6620: $q=3
! 6621: $q=4
! 6622: $j should go from 0 to 2
! 6623: $j=0
! 6624: $j=1
! 6625: $j=2
! 6626: $k should go from 0 to 2
! 6627: $k=0
! 6628: $k=1
! 6629: $k=2
! 6630: $i=0
! 6631: $j should go from 3 to 4, and $q should go from 3 to 4
! 6632: $j=3
! 6633: $q=3
! 6634: $q=4
! 6635: $j=4
! 6636: $q=3
! 6637: $q=4
! 6638: $j should go from 0 to 2
! 6639: $j=0
! 6640: $j=1
! 6641: $j=2
! 6642: $k should go from 0 to 2
! 6643: $k=0
! 6644: $k=1
! 6645: $k=2
! 6646: $i=1
! 6647: $j should go from 3 to 4, and $q should go from 3 to 4
! 6648: $j=3
! 6649: $q=3
! 6650: $q=4
! 6651: $j=4
! 6652: $q=3
! 6653: $q=4
! 6654: $j should go from 0 to 2
! 6655: $j=0
! 6656: $j=1
! 6657: $j=2
! 6658: $k should go from 0 to 2
! 6659: $k=0
! 6660: $k=1
! 6661: $k=2
! 6662: $i=2
! 6663: ***********************
! 6664:
! 6665: *** Nested file include test ***
! 6666: <html>
! 6667: This is Finish.phtml. This file is supposed to be included
! 6668: from regression_test.phtml. This is normal HTML.
! 6669: and this is PHP code, 2+2=4
! 6670: </html>
! 6671: ********************************
! 6672:
! 6673: Tests completed.
! 6674: <html>
! 6675: <head>
! 6676: *** Testing assignments and variable aliasing: ***
! 6677: This should read "blah": blah
! 6678: This should read "this is nifty": this is nifty
! 6679: *************************************************
! 6680:
! 6681: *** Testing integer operators ***
! 6682: Correct result - 8: 8
! 6683: Correct result - 8: 8
! 6684: Correct result - 2: 2
! 6685: Correct result - -2: -2
! 6686: Correct result - 15: 15
! 6687: Correct result - 15: 15
! 6688: Correct result - 2: 2
! 6689: Correct result - 3: 3
! 6690: *********************************
! 6691:
! 6692: *** Testing real operators ***
! 6693: Correct result - 8: 8
! 6694: Correct result - 8: 8
! 6695: Correct result - 2: 2
! 6696: Correct result - -2: -2
! 6697: Correct result - 15: 15
! 6698: Correct result - 15: 15
! 6699: Correct result - 2: 2
! 6700: Correct result - 3: 3
! 6701: *********************************
! 6702:
! 6703: *** Testing if/elseif/else control ***
! 6704:
! 6705: This works
! 6706: this_still_works
! 6707: should_print
! 6708:
! 6709:
! 6710: *** Seriously nested if's test ***
! 6711: ** spelling correction by kluzz **
! 6712: Only two lines of text should follow:
! 6713: this should be displayed. should be: $i=1, $j=0. is: $i=1, $j=0
! 6714: this is supposed to be displayed. should be: $i=2, $j=4. is: $i=2, $j=4
! 6715: 3 loop iterations should follow:
! 6716: 2 4
! 6717: 3 4
! 6718: 4 4
! 6719: **********************************
! 6720:
! 6721: *** C-style else-if's ***
! 6722: This should be displayed
! 6723: *************************
! 6724:
! 6725: *** WHILE tests ***
! 6726: 0 is smaller than 20
! 6727: 1 is smaller than 20
! 6728: 2 is smaller than 20
! 6729: 3 is smaller than 20
! 6730: 4 is smaller than 20
! 6731: 5 is smaller than 20
! 6732: 6 is smaller than 20
! 6733: 7 is smaller than 20
! 6734: 8 is smaller than 20
! 6735: 9 is smaller than 20
! 6736: 10 is smaller than 20
! 6737: 11 is smaller than 20
! 6738: 12 is smaller than 20
! 6739: 13 is smaller than 20
! 6740: 14 is smaller than 20
! 6741: 15 is smaller than 20
! 6742: 16 is smaller than 20
! 6743: 17 is smaller than 20
! 6744: 18 is smaller than 20
! 6745: 19 is smaller than 20
! 6746: 20 equals 20
! 6747: 21 is greater than 20
! 6748: 22 is greater than 20
! 6749: 23 is greater than 20
! 6750: 24 is greater than 20
! 6751: 25 is greater than 20
! 6752: 26 is greater than 20
! 6753: 27 is greater than 20
! 6754: 28 is greater than 20
! 6755: 29 is greater than 20
! 6756: 30 is greater than 20
! 6757: 31 is greater than 20
! 6758: 32 is greater than 20
! 6759: 33 is greater than 20
! 6760: 34 is greater than 20
! 6761: 35 is greater than 20
! 6762: 36 is greater than 20
! 6763: 37 is greater than 20
! 6764: 38 is greater than 20
! 6765: 39 is greater than 20
! 6766: *******************
! 6767:
! 6768:
! 6769: *** Nested WHILEs ***
! 6770: Each array variable should be equal to the sum of its indices:
! 6771: ${test00}[0] = 0
! 6772: ${test00}[1] = 1
! 6773: ${test00}[2] = 2
! 6774: ${test01}[0] = 1
! 6775: ${test01}[1] = 2
! 6776: ${test01}[2] = 3
! 6777: ${test02}[0] = 2
! 6778: ${test02}[1] = 3
! 6779: ${test02}[2] = 4
! 6780: ${test10}[0] = 1
! 6781: ${test10}[1] = 2
! 6782: ${test10}[2] = 3
! 6783: ${test11}[0] = 2
! 6784: ${test11}[1] = 3
! 6785: ${test11}[2] = 4
! 6786: ${test12}[0] = 3
! 6787: ${test12}[1] = 4
! 6788: ${test12}[2] = 5
! 6789: ${test20}[0] = 2
! 6790: ${test20}[1] = 3
! 6791: ${test20}[2] = 4
! 6792: ${test21}[0] = 3
! 6793: ${test21}[1] = 4
! 6794: ${test21}[2] = 5
! 6795: ${test22}[0] = 4
! 6796: ${test22}[1] = 5
! 6797: ${test22}[2] = 6
! 6798: *********************
! 6799:
! 6800: *** hash test... ***
! 6801: commented out...
! 6802: **************************
! 6803:
! 6804: *** Hash resizing test ***
! 6805: ba
! 6806: baa
! 6807: baaa
! 6808: baaaa
! 6809: baaaaa
! 6810: baaaaaa
! 6811: baaaaaaa
! 6812: baaaaaaaa
! 6813: baaaaaaaaa
! 6814: baaaaaaaaaa
! 6815: ba
! 6816: 10
! 6817: baa
! 6818: 9
! 6819: baaa
! 6820: 8
! 6821: baaaa
! 6822: 7
! 6823: baaaaa
! 6824: 6
! 6825: baaaaaa
! 6826: 5
! 6827: baaaaaaa
! 6828: 4
! 6829: baaaaaaaa
! 6830: 3
! 6831: baaaaaaaaa
! 6832: 2
! 6833: baaaaaaaaaa
! 6834: 1
! 6835: **************************
! 6836:
! 6837:
! 6838: *** break/continue test ***
! 6839: $i should go from 0 to 2
! 6840: $j should go from 3 to 4, and $q should go from 3 to 4
! 6841: $j=3
! 6842: $q=3
! 6843: $q=4
! 6844: $j=4
! 6845: $q=3
! 6846: $q=4
! 6847: $j should go from 0 to 2
! 6848: $j=0
! 6849: $j=1
! 6850: $j=2
! 6851: $k should go from 0 to 2
! 6852: $k=0
! 6853: $k=1
! 6854: $k=2
! 6855: $i=0
! 6856: $j should go from 3 to 4, and $q should go from 3 to 4
! 6857: $j=3
! 6858: $q=3
! 6859: $q=4
! 6860: $j=4
! 6861: $q=3
! 6862: $q=4
! 6863: $j should go from 0 to 2
! 6864: $j=0
! 6865: $j=1
! 6866: $j=2
! 6867: $k should go from 0 to 2
! 6868: $k=0
! 6869: $k=1
! 6870: $k=2
! 6871: $i=1
! 6872: $j should go from 3 to 4, and $q should go from 3 to 4
! 6873: $j=3
! 6874: $q=3
! 6875: $q=4
! 6876: $j=4
! 6877: $q=3
! 6878: $q=4
! 6879: $j should go from 0 to 2
! 6880: $j=0
! 6881: $j=1
! 6882: $j=2
! 6883: $k should go from 0 to 2
! 6884: $k=0
! 6885: $k=1
! 6886: $k=2
! 6887: $i=2
! 6888: ***********************
! 6889:
! 6890: *** Nested file include test ***
! 6891: <html>
! 6892: This is Finish.phtml. This file is supposed to be included
! 6893: from regression_test.phtml. This is normal HTML.
! 6894: and this is PHP code, 2+2=4
! 6895: </html>
! 6896: ********************************
! 6897:
! 6898: Tests completed.
! 6899: <html>
! 6900: <head>
! 6901: *** Testing assignments and variable aliasing: ***
! 6902: This should read "blah": blah
! 6903: This should read "this is nifty": this is nifty
! 6904: *************************************************
! 6905:
! 6906: *** Testing integer operators ***
! 6907: Correct result - 8: 8
! 6908: Correct result - 8: 8
! 6909: Correct result - 2: 2
! 6910: Correct result - -2: -2
! 6911: Correct result - 15: 15
! 6912: Correct result - 15: 15
! 6913: Correct result - 2: 2
! 6914: Correct result - 3: 3
! 6915: *********************************
! 6916:
! 6917: *** Testing real operators ***
! 6918: Correct result - 8: 8
! 6919: Correct result - 8: 8
! 6920: Correct result - 2: 2
! 6921: Correct result - -2: -2
! 6922: Correct result - 15: 15
! 6923: Correct result - 15: 15
! 6924: Correct result - 2: 2
! 6925: Correct result - 3: 3
! 6926: *********************************
! 6927:
! 6928: *** Testing if/elseif/else control ***
! 6929:
! 6930: This works
! 6931: this_still_works
! 6932: should_print
! 6933:
! 6934:
! 6935: *** Seriously nested if's test ***
! 6936: ** spelling correction by kluzz **
! 6937: Only two lines of text should follow:
! 6938: this should be displayed. should be: $i=1, $j=0. is: $i=1, $j=0
! 6939: this is supposed to be displayed. should be: $i=2, $j=4. is: $i=2, $j=4
! 6940: 3 loop iterations should follow:
! 6941: 2 4
! 6942: 3 4
! 6943: 4 4
! 6944: **********************************
! 6945:
! 6946: *** C-style else-if's ***
! 6947: This should be displayed
! 6948: *************************
! 6949:
! 6950: *** WHILE tests ***
! 6951: 0 is smaller than 20
! 6952: 1 is smaller than 20
! 6953: 2 is smaller than 20
! 6954: 3 is smaller than 20
! 6955: 4 is smaller than 20
! 6956: 5 is smaller than 20
! 6957: 6 is smaller than 20
! 6958: 7 is smaller than 20
! 6959: 8 is smaller than 20
! 6960: 9 is smaller than 20
! 6961: 10 is smaller than 20
! 6962: 11 is smaller than 20
! 6963: 12 is smaller than 20
! 6964: 13 is smaller than 20
! 6965: 14 is smaller than 20
! 6966: 15 is smaller than 20
! 6967: 16 is smaller than 20
! 6968: 17 is smaller than 20
! 6969: 18 is smaller than 20
! 6970: 19 is smaller than 20
! 6971: 20 equals 20
! 6972: 21 is greater than 20
! 6973: 22 is greater than 20
! 6974: 23 is greater than 20
! 6975: 24 is greater than 20
! 6976: 25 is greater than 20
! 6977: 26 is greater than 20
! 6978: 27 is greater than 20
! 6979: 28 is greater than 20
! 6980: 29 is greater than 20
! 6981: 30 is greater than 20
! 6982: 31 is greater than 20
! 6983: 32 is greater than 20
! 6984: 33 is greater than 20
! 6985: 34 is greater than 20
! 6986: 35 is greater than 20
! 6987: 36 is greater than 20
! 6988: 37 is greater than 20
! 6989: 38 is greater than 20
! 6990: 39 is greater than 20
! 6991: *******************
! 6992:
! 6993:
! 6994: *** Nested WHILEs ***
! 6995: Each array variable should be equal to the sum of its indices:
! 6996: ${test00}[0] = 0
! 6997: ${test00}[1] = 1
! 6998: ${test00}[2] = 2
! 6999: ${test01}[0] = 1
! 7000: ${test01}[1] = 2
! 7001: ${test01}[2] = 3
! 7002: ${test02}[0] = 2
! 7003: ${test02}[1] = 3
! 7004: ${test02}[2] = 4
! 7005: ${test10}[0] = 1
! 7006: ${test10}[1] = 2
! 7007: ${test10}[2] = 3
! 7008: ${test11}[0] = 2
! 7009: ${test11}[1] = 3
! 7010: ${test11}[2] = 4
! 7011: ${test12}[0] = 3
! 7012: ${test12}[1] = 4
! 7013: ${test12}[2] = 5
! 7014: ${test20}[0] = 2
! 7015: ${test20}[1] = 3
! 7016: ${test20}[2] = 4
! 7017: ${test21}[0] = 3
! 7018: ${test21}[1] = 4
! 7019: ${test21}[2] = 5
! 7020: ${test22}[0] = 4
! 7021: ${test22}[1] = 5
! 7022: ${test22}[2] = 6
! 7023: *********************
! 7024:
! 7025: *** hash test... ***
! 7026: commented out...
! 7027: **************************
! 7028:
! 7029: *** Hash resizing test ***
! 7030: ba
! 7031: baa
! 7032: baaa
! 7033: baaaa
! 7034: baaaaa
! 7035: baaaaaa
! 7036: baaaaaaa
! 7037: baaaaaaaa
! 7038: baaaaaaaaa
! 7039: baaaaaaaaaa
! 7040: ba
! 7041: 10
! 7042: baa
! 7043: 9
! 7044: baaa
! 7045: 8
! 7046: baaaa
! 7047: 7
! 7048: baaaaa
! 7049: 6
! 7050: baaaaaa
! 7051: 5
! 7052: baaaaaaa
! 7053: 4
! 7054: baaaaaaaa
! 7055: 3
! 7056: baaaaaaaaa
! 7057: 2
! 7058: baaaaaaaaaa
! 7059: 1
! 7060: **************************
! 7061:
! 7062:
! 7063: *** break/continue test ***
! 7064: $i should go from 0 to 2
! 7065: $j should go from 3 to 4, and $q should go from 3 to 4
! 7066: $j=3
! 7067: $q=3
! 7068: $q=4
! 7069: $j=4
! 7070: $q=3
! 7071: $q=4
! 7072: $j should go from 0 to 2
! 7073: $j=0
! 7074: $j=1
! 7075: $j=2
! 7076: $k should go from 0 to 2
! 7077: $k=0
! 7078: $k=1
! 7079: $k=2
! 7080: $i=0
! 7081: $j should go from 3 to 4, and $q should go from 3 to 4
! 7082: $j=3
! 7083: $q=3
! 7084: $q=4
! 7085: $j=4
! 7086: $q=3
! 7087: $q=4
! 7088: $j should go from 0 to 2
! 7089: $j=0
! 7090: $j=1
! 7091: $j=2
! 7092: $k should go from 0 to 2
! 7093: $k=0
! 7094: $k=1
! 7095: $k=2
! 7096: $i=1
! 7097: $j should go from 3 to 4, and $q should go from 3 to 4
! 7098: $j=3
! 7099: $q=3
! 7100: $q=4
! 7101: $j=4
! 7102: $q=3
! 7103: $q=4
! 7104: $j should go from 0 to 2
! 7105: $j=0
! 7106: $j=1
! 7107: $j=2
! 7108: $k should go from 0 to 2
! 7109: $k=0
! 7110: $k=1
! 7111: $k=2
! 7112: $i=2
! 7113: ***********************
! 7114:
! 7115: *** Nested file include test ***
! 7116: <html>
! 7117: This is Finish.phtml. This file is supposed to be included
! 7118: from regression_test.phtml. This is normal HTML.
! 7119: and this is PHP code, 2+2=4
! 7120: </html>
! 7121: ********************************
! 7122:
! 7123: Tests completed.
! 7124: <html>
! 7125: <head>
! 7126: *** Testing assignments and variable aliasing: ***
! 7127: This should read "blah": blah
! 7128: This should read "this is nifty": this is nifty
! 7129: *************************************************
! 7130:
! 7131: *** Testing integer operators ***
! 7132: Correct result - 8: 8
! 7133: Correct result - 8: 8
! 7134: Correct result - 2: 2
! 7135: Correct result - -2: -2
! 7136: Correct result - 15: 15
! 7137: Correct result - 15: 15
! 7138: Correct result - 2: 2
! 7139: Correct result - 3: 3
! 7140: *********************************
! 7141:
! 7142: *** Testing real operators ***
! 7143: Correct result - 8: 8
! 7144: Correct result - 8: 8
! 7145: Correct result - 2: 2
! 7146: Correct result - -2: -2
! 7147: Correct result - 15: 15
! 7148: Correct result - 15: 15
! 7149: Correct result - 2: 2
! 7150: Correct result - 3: 3
! 7151: *********************************
! 7152:
! 7153: *** Testing if/elseif/else control ***
! 7154:
! 7155: This works
! 7156: this_still_works
! 7157: should_print
! 7158:
! 7159:
! 7160: *** Seriously nested if's test ***
! 7161: ** spelling correction by kluzz **
! 7162: Only two lines of text should follow:
! 7163: this should be displayed. should be: $i=1, $j=0. is: $i=1, $j=0
! 7164: this is supposed to be displayed. should be: $i=2, $j=4. is: $i=2, $j=4
! 7165: 3 loop iterations should follow:
! 7166: 2 4
! 7167: 3 4
! 7168: 4 4
! 7169: **********************************
! 7170:
! 7171: *** C-style else-if's ***
! 7172: This should be displayed
! 7173: *************************
! 7174:
! 7175: *** WHILE tests ***
! 7176: 0 is smaller than 20
! 7177: 1 is smaller than 20
! 7178: 2 is smaller than 20
! 7179: 3 is smaller than 20
! 7180: 4 is smaller than 20
! 7181: 5 is smaller than 20
! 7182: 6 is smaller than 20
! 7183: 7 is smaller than 20
! 7184: 8 is smaller than 20
! 7185: 9 is smaller than 20
! 7186: 10 is smaller than 20
! 7187: 11 is smaller than 20
! 7188: 12 is smaller than 20
! 7189: 13 is smaller than 20
! 7190: 14 is smaller than 20
! 7191: 15 is smaller than 20
! 7192: 16 is smaller than 20
! 7193: 17 is smaller than 20
! 7194: 18 is smaller than 20
! 7195: 19 is smaller than 20
! 7196: 20 equals 20
! 7197: 21 is greater than 20
! 7198: 22 is greater than 20
! 7199: 23 is greater than 20
! 7200: 24 is greater than 20
! 7201: 25 is greater than 20
! 7202: 26 is greater than 20
! 7203: 27 is greater than 20
! 7204: 28 is greater than 20
! 7205: 29 is greater than 20
! 7206: 30 is greater than 20
! 7207: 31 is greater than 20
! 7208: 32 is greater than 20
! 7209: 33 is greater than 20
! 7210: 34 is greater than 20
! 7211: 35 is greater than 20
! 7212: 36 is greater than 20
! 7213: 37 is greater than 20
! 7214: 38 is greater than 20
! 7215: 39 is greater than 20
! 7216: *******************
! 7217:
! 7218:
! 7219: *** Nested WHILEs ***
! 7220: Each array variable should be equal to the sum of its indices:
! 7221: ${test00}[0] = 0
! 7222: ${test00}[1] = 1
! 7223: ${test00}[2] = 2
! 7224: ${test01}[0] = 1
! 7225: ${test01}[1] = 2
! 7226: ${test01}[2] = 3
! 7227: ${test02}[0] = 2
! 7228: ${test02}[1] = 3
! 7229: ${test02}[2] = 4
! 7230: ${test10}[0] = 1
! 7231: ${test10}[1] = 2
! 7232: ${test10}[2] = 3
! 7233: ${test11}[0] = 2
! 7234: ${test11}[1] = 3
! 7235: ${test11}[2] = 4
! 7236: ${test12}[0] = 3
! 7237: ${test12}[1] = 4
! 7238: ${test12}[2] = 5
! 7239: ${test20}[0] = 2
! 7240: ${test20}[1] = 3
! 7241: ${test20}[2] = 4
! 7242: ${test21}[0] = 3
! 7243: ${test21}[1] = 4
! 7244: ${test21}[2] = 5
! 7245: ${test22}[0] = 4
! 7246: ${test22}[1] = 5
! 7247: ${test22}[2] = 6
! 7248: *********************
! 7249:
! 7250: *** hash test... ***
! 7251: commented out...
! 7252: **************************
! 7253:
! 7254: *** Hash resizing test ***
! 7255: ba
! 7256: baa
! 7257: baaa
! 7258: baaaa
! 7259: baaaaa
! 7260: baaaaaa
! 7261: baaaaaaa
! 7262: baaaaaaaa
! 7263: baaaaaaaaa
! 7264: baaaaaaaaaa
! 7265: ba
! 7266: 10
! 7267: baa
! 7268: 9
! 7269: baaa
! 7270: 8
! 7271: baaaa
! 7272: 7
! 7273: baaaaa
! 7274: 6
! 7275: baaaaaa
! 7276: 5
! 7277: baaaaaaa
! 7278: 4
! 7279: baaaaaaaa
! 7280: 3
! 7281: baaaaaaaaa
! 7282: 2
! 7283: baaaaaaaaaa
! 7284: 1
! 7285: **************************
! 7286:
! 7287:
! 7288: *** break/continue test ***
! 7289: $i should go from 0 to 2
! 7290: $j should go from 3 to 4, and $q should go from 3 to 4
! 7291: $j=3
! 7292: $q=3
! 7293: $q=4
! 7294: $j=4
! 7295: $q=3
! 7296: $q=4
! 7297: $j should go from 0 to 2
! 7298: $j=0
! 7299: $j=1
! 7300: $j=2
! 7301: $k should go from 0 to 2
! 7302: $k=0
! 7303: $k=1
! 7304: $k=2
! 7305: $i=0
! 7306: $j should go from 3 to 4, and $q should go from 3 to 4
! 7307: $j=3
! 7308: $q=3
! 7309: $q=4
! 7310: $j=4
! 7311: $q=3
! 7312: $q=4
! 7313: $j should go from 0 to 2
! 7314: $j=0
! 7315: $j=1
! 7316: $j=2
! 7317: $k should go from 0 to 2
! 7318: $k=0
! 7319: $k=1
! 7320: $k=2
! 7321: $i=1
! 7322: $j should go from 3 to 4, and $q should go from 3 to 4
! 7323: $j=3
! 7324: $q=3
! 7325: $q=4
! 7326: $j=4
! 7327: $q=3
! 7328: $q=4
! 7329: $j should go from 0 to 2
! 7330: $j=0
! 7331: $j=1
! 7332: $j=2
! 7333: $k should go from 0 to 2
! 7334: $k=0
! 7335: $k=1
! 7336: $k=2
! 7337: $i=2
! 7338: ***********************
! 7339:
! 7340: *** Nested file include test ***
! 7341: <html>
! 7342: This is Finish.phtml. This file is supposed to be included
! 7343: from regression_test.phtml. This is normal HTML.
! 7344: and this is PHP code, 2+2=4
! 7345: </html>
! 7346: ********************************
! 7347:
! 7348: Tests completed.
! 7349: <html>
! 7350: <head>
! 7351: *** Testing assignments and variable aliasing: ***
! 7352: This should read "blah": blah
! 7353: This should read "this is nifty": this is nifty
! 7354: *************************************************
! 7355:
! 7356: *** Testing integer operators ***
! 7357: Correct result - 8: 8
! 7358: Correct result - 8: 8
! 7359: Correct result - 2: 2
! 7360: Correct result - -2: -2
! 7361: Correct result - 15: 15
! 7362: Correct result - 15: 15
! 7363: Correct result - 2: 2
! 7364: Correct result - 3: 3
! 7365: *********************************
! 7366:
! 7367: *** Testing real operators ***
! 7368: Correct result - 8: 8
! 7369: Correct result - 8: 8
! 7370: Correct result - 2: 2
! 7371: Correct result - -2: -2
! 7372: Correct result - 15: 15
! 7373: Correct result - 15: 15
! 7374: Correct result - 2: 2
! 7375: Correct result - 3: 3
! 7376: *********************************
! 7377:
! 7378: *** Testing if/elseif/else control ***
! 7379:
! 7380: This works
! 7381: this_still_works
! 7382: should_print
! 7383:
! 7384:
! 7385: *** Seriously nested if's test ***
! 7386: ** spelling correction by kluzz **
! 7387: Only two lines of text should follow:
! 7388: this should be displayed. should be: $i=1, $j=0. is: $i=1, $j=0
! 7389: this is supposed to be displayed. should be: $i=2, $j=4. is: $i=2, $j=4
! 7390: 3 loop iterations should follow:
! 7391: 2 4
! 7392: 3 4
! 7393: 4 4
! 7394: **********************************
! 7395:
! 7396: *** C-style else-if's ***
! 7397: This should be displayed
! 7398: *************************
! 7399:
! 7400: *** WHILE tests ***
! 7401: 0 is smaller than 20
! 7402: 1 is smaller than 20
! 7403: 2 is smaller than 20
! 7404: 3 is smaller than 20
! 7405: 4 is smaller than 20
! 7406: 5 is smaller than 20
! 7407: 6 is smaller than 20
! 7408: 7 is smaller than 20
! 7409: 8 is smaller than 20
! 7410: 9 is smaller than 20
! 7411: 10 is smaller than 20
! 7412: 11 is smaller than 20
! 7413: 12 is smaller than 20
! 7414: 13 is smaller than 20
! 7415: 14 is smaller than 20
! 7416: 15 is smaller than 20
! 7417: 16 is smaller than 20
! 7418: 17 is smaller than 20
! 7419: 18 is smaller than 20
! 7420: 19 is smaller than 20
! 7421: 20 equals 20
! 7422: 21 is greater than 20
! 7423: 22 is greater than 20
! 7424: 23 is greater than 20
! 7425: 24 is greater than 20
! 7426: 25 is greater than 20
! 7427: 26 is greater than 20
! 7428: 27 is greater than 20
! 7429: 28 is greater than 20
! 7430: 29 is greater than 20
! 7431: 30 is greater than 20
! 7432: 31 is greater than 20
! 7433: 32 is greater than 20
! 7434: 33 is greater than 20
! 7435: 34 is greater than 20
! 7436: 35 is greater than 20
! 7437: 36 is greater than 20
! 7438: 37 is greater than 20
! 7439: 38 is greater than 20
! 7440: 39 is greater than 20
! 7441: *******************
! 7442:
! 7443:
! 7444: *** Nested WHILEs ***
! 7445: Each array variable should be equal to the sum of its indices:
! 7446: ${test00}[0] = 0
! 7447: ${test00}[1] = 1
! 7448: ${test00}[2] = 2
! 7449: ${test01}[0] = 1
! 7450: ${test01}[1] = 2
! 7451: ${test01}[2] = 3
! 7452: ${test02}[0] = 2
! 7453: ${test02}[1] = 3
! 7454: ${test02}[2] = 4
! 7455: ${test10}[0] = 1
! 7456: ${test10}[1] = 2
! 7457: ${test10}[2] = 3
! 7458: ${test11}[0] = 2
! 7459: ${test11}[1] = 3
! 7460: ${test11}[2] = 4
! 7461: ${test12}[0] = 3
! 7462: ${test12}[1] = 4
! 7463: ${test12}[2] = 5
! 7464: ${test20}[0] = 2
! 7465: ${test20}[1] = 3
! 7466: ${test20}[2] = 4
! 7467: ${test21}[0] = 3
! 7468: ${test21}[1] = 4
! 7469: ${test21}[2] = 5
! 7470: ${test22}[0] = 4
! 7471: ${test22}[1] = 5
! 7472: ${test22}[2] = 6
! 7473: *********************
! 7474:
! 7475: *** hash test... ***
! 7476: commented out...
! 7477: **************************
! 7478:
! 7479: *** Hash resizing test ***
! 7480: ba
! 7481: baa
! 7482: baaa
! 7483: baaaa
! 7484: baaaaa
! 7485: baaaaaa
! 7486: baaaaaaa
! 7487: baaaaaaaa
! 7488: baaaaaaaaa
! 7489: baaaaaaaaaa
! 7490: ba
! 7491: 10
! 7492: baa
! 7493: 9
! 7494: baaa
! 7495: 8
! 7496: baaaa
! 7497: 7
! 7498: baaaaa
! 7499: 6
! 7500: baaaaaa
! 7501: 5
! 7502: baaaaaaa
! 7503: 4
! 7504: baaaaaaaa
! 7505: 3
! 7506: baaaaaaaaa
! 7507: 2
! 7508: baaaaaaaaaa
! 7509: 1
! 7510: **************************
! 7511:
! 7512:
! 7513: *** break/continue test ***
! 7514: $i should go from 0 to 2
! 7515: $j should go from 3 to 4, and $q should go from 3 to 4
! 7516: $j=3
! 7517: $q=3
! 7518: $q=4
! 7519: $j=4
! 7520: $q=3
! 7521: $q=4
! 7522: $j should go from 0 to 2
! 7523: $j=0
! 7524: $j=1
! 7525: $j=2
! 7526: $k should go from 0 to 2
! 7527: $k=0
! 7528: $k=1
! 7529: $k=2
! 7530: $i=0
! 7531: $j should go from 3 to 4, and $q should go from 3 to 4
! 7532: $j=3
! 7533: $q=3
! 7534: $q=4
! 7535: $j=4
! 7536: $q=3
! 7537: $q=4
! 7538: $j should go from 0 to 2
! 7539: $j=0
! 7540: $j=1
! 7541: $j=2
! 7542: $k should go from 0 to 2
! 7543: $k=0
! 7544: $k=1
! 7545: $k=2
! 7546: $i=1
! 7547: $j should go from 3 to 4, and $q should go from 3 to 4
! 7548: $j=3
! 7549: $q=3
! 7550: $q=4
! 7551: $j=4
! 7552: $q=3
! 7553: $q=4
! 7554: $j should go from 0 to 2
! 7555: $j=0
! 7556: $j=1
! 7557: $j=2
! 7558: $k should go from 0 to 2
! 7559: $k=0
! 7560: $k=1
! 7561: $k=2
! 7562: $i=2
! 7563: ***********************
! 7564:
! 7565: *** Nested file include test ***
! 7566: <html>
! 7567: This is Finish.phtml. This file is supposed to be included
! 7568: from regression_test.phtml. This is normal HTML.
! 7569: and this is PHP code, 2+2=4
! 7570: </html>
! 7571: ********************************
! 7572:
! 7573: Tests completed.
! 7574: <html>
! 7575: <head>
! 7576: *** Testing assignments and variable aliasing: ***
! 7577: This should read "blah": blah
! 7578: This should read "this is nifty": this is nifty
! 7579: *************************************************
! 7580:
! 7581: *** Testing integer operators ***
! 7582: Correct result - 8: 8
! 7583: Correct result - 8: 8
! 7584: Correct result - 2: 2
! 7585: Correct result - -2: -2
! 7586: Correct result - 15: 15
! 7587: Correct result - 15: 15
! 7588: Correct result - 2: 2
! 7589: Correct result - 3: 3
! 7590: *********************************
! 7591:
! 7592: *** Testing real operators ***
! 7593: Correct result - 8: 8
! 7594: Correct result - 8: 8
! 7595: Correct result - 2: 2
! 7596: Correct result - -2: -2
! 7597: Correct result - 15: 15
! 7598: Correct result - 15: 15
! 7599: Correct result - 2: 2
! 7600: Correct result - 3: 3
! 7601: *********************************
! 7602:
! 7603: *** Testing if/elseif/else control ***
! 7604:
! 7605: This works
! 7606: this_still_works
! 7607: should_print
! 7608:
! 7609:
! 7610: *** Seriously nested if's test ***
! 7611: ** spelling correction by kluzz **
! 7612: Only two lines of text should follow:
! 7613: this should be displayed. should be: $i=1, $j=0. is: $i=1, $j=0
! 7614: this is supposed to be displayed. should be: $i=2, $j=4. is: $i=2, $j=4
! 7615: 3 loop iterations should follow:
! 7616: 2 4
! 7617: 3 4
! 7618: 4 4
! 7619: **********************************
! 7620:
! 7621: *** C-style else-if's ***
! 7622: This should be displayed
! 7623: *************************
! 7624:
! 7625: *** WHILE tests ***
! 7626: 0 is smaller than 20
! 7627: 1 is smaller than 20
! 7628: 2 is smaller than 20
! 7629: 3 is smaller than 20
! 7630: 4 is smaller than 20
! 7631: 5 is smaller than 20
! 7632: 6 is smaller than 20
! 7633: 7 is smaller than 20
! 7634: 8 is smaller than 20
! 7635: 9 is smaller than 20
! 7636: 10 is smaller than 20
! 7637: 11 is smaller than 20
! 7638: 12 is smaller than 20
! 7639: 13 is smaller than 20
! 7640: 14 is smaller than 20
! 7641: 15 is smaller than 20
! 7642: 16 is smaller than 20
! 7643: 17 is smaller than 20
! 7644: 18 is smaller than 20
! 7645: 19 is smaller than 20
! 7646: 20 equals 20
! 7647: 21 is greater than 20
! 7648: 22 is greater than 20
! 7649: 23 is greater than 20
! 7650: 24 is greater than 20
! 7651: 25 is greater than 20
! 7652: 26 is greater than 20
! 7653: 27 is greater than 20
! 7654: 28 is greater than 20
! 7655: 29 is greater than 20
! 7656: 30 is greater than 20
! 7657: 31 is greater than 20
! 7658: 32 is greater than 20
! 7659: 33 is greater than 20
! 7660: 34 is greater than 20
! 7661: 35 is greater than 20
! 7662: 36 is greater than 20
! 7663: 37 is greater than 20
! 7664: 38 is greater than 20
! 7665: 39 is greater than 20
! 7666: *******************
! 7667:
! 7668:
! 7669: *** Nested WHILEs ***
! 7670: Each array variable should be equal to the sum of its indices:
! 7671: ${test00}[0] = 0
! 7672: ${test00}[1] = 1
! 7673: ${test00}[2] = 2
! 7674: ${test01}[0] = 1
! 7675: ${test01}[1] = 2
! 7676: ${test01}[2] = 3
! 7677: ${test02}[0] = 2
! 7678: ${test02}[1] = 3
! 7679: ${test02}[2] = 4
! 7680: ${test10}[0] = 1
! 7681: ${test10}[1] = 2
! 7682: ${test10}[2] = 3
! 7683: ${test11}[0] = 2
! 7684: ${test11}[1] = 3
! 7685: ${test11}[2] = 4
! 7686: ${test12}[0] = 3
! 7687: ${test12}[1] = 4
! 7688: ${test12}[2] = 5
! 7689: ${test20}[0] = 2
! 7690: ${test20}[1] = 3
! 7691: ${test20}[2] = 4
! 7692: ${test21}[0] = 3
! 7693: ${test21}[1] = 4
! 7694: ${test21}[2] = 5
! 7695: ${test22}[0] = 4
! 7696: ${test22}[1] = 5
! 7697: ${test22}[2] = 6
! 7698: *********************
! 7699:
! 7700: *** hash test... ***
! 7701: commented out...
! 7702: **************************
! 7703:
! 7704: *** Hash resizing test ***
! 7705: ba
! 7706: baa
! 7707: baaa
! 7708: baaaa
! 7709: baaaaa
! 7710: baaaaaa
! 7711: baaaaaaa
! 7712: baaaaaaaa
! 7713: baaaaaaaaa
! 7714: baaaaaaaaaa
! 7715: ba
! 7716: 10
! 7717: baa
! 7718: 9
! 7719: baaa
! 7720: 8
! 7721: baaaa
! 7722: 7
! 7723: baaaaa
! 7724: 6
! 7725: baaaaaa
! 7726: 5
! 7727: baaaaaaa
! 7728: 4
! 7729: baaaaaaaa
! 7730: 3
! 7731: baaaaaaaaa
! 7732: 2
! 7733: baaaaaaaaaa
! 7734: 1
! 7735: **************************
! 7736:
! 7737:
! 7738: *** break/continue test ***
! 7739: $i should go from 0 to 2
! 7740: $j should go from 3 to 4, and $q should go from 3 to 4
! 7741: $j=3
! 7742: $q=3
! 7743: $q=4
! 7744: $j=4
! 7745: $q=3
! 7746: $q=4
! 7747: $j should go from 0 to 2
! 7748: $j=0
! 7749: $j=1
! 7750: $j=2
! 7751: $k should go from 0 to 2
! 7752: $k=0
! 7753: $k=1
! 7754: $k=2
! 7755: $i=0
! 7756: $j should go from 3 to 4, and $q should go from 3 to 4
! 7757: $j=3
! 7758: $q=3
! 7759: $q=4
! 7760: $j=4
! 7761: $q=3
! 7762: $q=4
! 7763: $j should go from 0 to 2
! 7764: $j=0
! 7765: $j=1
! 7766: $j=2
! 7767: $k should go from 0 to 2
! 7768: $k=0
! 7769: $k=1
! 7770: $k=2
! 7771: $i=1
! 7772: $j should go from 3 to 4, and $q should go from 3 to 4
! 7773: $j=3
! 7774: $q=3
! 7775: $q=4
! 7776: $j=4
! 7777: $q=3
! 7778: $q=4
! 7779: $j should go from 0 to 2
! 7780: $j=0
! 7781: $j=1
! 7782: $j=2
! 7783: $k should go from 0 to 2
! 7784: $k=0
! 7785: $k=1
! 7786: $k=2
! 7787: $i=2
! 7788: ***********************
! 7789:
! 7790: *** Nested file include test ***
! 7791: <html>
! 7792: This is Finish.phtml. This file is supposed to be included
! 7793: from regression_test.phtml. This is normal HTML.
! 7794: and this is PHP code, 2+2=4
! 7795: </html>
! 7796: ********************************
! 7797:
! 7798: Tests completed.
! 7799: <html>
! 7800: <head>
! 7801: *** Testing assignments and variable aliasing: ***
! 7802: This should read "blah": blah
! 7803: This should read "this is nifty": this is nifty
! 7804: *************************************************
! 7805:
! 7806: *** Testing integer operators ***
! 7807: Correct result - 8: 8
! 7808: Correct result - 8: 8
! 7809: Correct result - 2: 2
! 7810: Correct result - -2: -2
! 7811: Correct result - 15: 15
! 7812: Correct result - 15: 15
! 7813: Correct result - 2: 2
! 7814: Correct result - 3: 3
! 7815: *********************************
! 7816:
! 7817: *** Testing real operators ***
! 7818: Correct result - 8: 8
! 7819: Correct result - 8: 8
! 7820: Correct result - 2: 2
! 7821: Correct result - -2: -2
! 7822: Correct result - 15: 15
! 7823: Correct result - 15: 15
! 7824: Correct result - 2: 2
! 7825: Correct result - 3: 3
! 7826: *********************************
! 7827:
! 7828: *** Testing if/elseif/else control ***
! 7829:
! 7830: This works
! 7831: this_still_works
! 7832: should_print
! 7833:
! 7834:
! 7835: *** Seriously nested if's test ***
! 7836: ** spelling correction by kluzz **
! 7837: Only two lines of text should follow:
! 7838: this should be displayed. should be: $i=1, $j=0. is: $i=1, $j=0
! 7839: this is supposed to be displayed. should be: $i=2, $j=4. is: $i=2, $j=4
! 7840: 3 loop iterations should follow:
! 7841: 2 4
! 7842: 3 4
! 7843: 4 4
! 7844: **********************************
! 7845:
! 7846: *** C-style else-if's ***
! 7847: This should be displayed
! 7848: *************************
! 7849:
! 7850: *** WHILE tests ***
! 7851: 0 is smaller than 20
! 7852: 1 is smaller than 20
! 7853: 2 is smaller than 20
! 7854: 3 is smaller than 20
! 7855: 4 is smaller than 20
! 7856: 5 is smaller than 20
! 7857: 6 is smaller than 20
! 7858: 7 is smaller than 20
! 7859: 8 is smaller than 20
! 7860: 9 is smaller than 20
! 7861: 10 is smaller than 20
! 7862: 11 is smaller than 20
! 7863: 12 is smaller than 20
! 7864: 13 is smaller than 20
! 7865: 14 is smaller than 20
! 7866: 15 is smaller than 20
! 7867: 16 is smaller than 20
! 7868: 17 is smaller than 20
! 7869: 18 is smaller than 20
! 7870: 19 is smaller than 20
! 7871: 20 equals 20
! 7872: 21 is greater than 20
! 7873: 22 is greater than 20
! 7874: 23 is greater than 20
! 7875: 24 is greater than 20
! 7876: 25 is greater than 20
! 7877: 26 is greater than 20
! 7878: 27 is greater than 20
! 7879: 28 is greater than 20
! 7880: 29 is greater than 20
! 7881: 30 is greater than 20
! 7882: 31 is greater than 20
! 7883: 32 is greater than 20
! 7884: 33 is greater than 20
! 7885: 34 is greater than 20
! 7886: 35 is greater than 20
! 7887: 36 is greater than 20
! 7888: 37 is greater than 20
! 7889: 38 is greater than 20
! 7890: 39 is greater than 20
! 7891: *******************
! 7892:
! 7893:
! 7894: *** Nested WHILEs ***
! 7895: Each array variable should be equal to the sum of its indices:
! 7896: ${test00}[0] = 0
! 7897: ${test00}[1] = 1
! 7898: ${test00}[2] = 2
! 7899: ${test01}[0] = 1
! 7900: ${test01}[1] = 2
! 7901: ${test01}[2] = 3
! 7902: ${test02}[0] = 2
! 7903: ${test02}[1] = 3
! 7904: ${test02}[2] = 4
! 7905: ${test10}[0] = 1
! 7906: ${test10}[1] = 2
! 7907: ${test10}[2] = 3
! 7908: ${test11}[0] = 2
! 7909: ${test11}[1] = 3
! 7910: ${test11}[2] = 4
! 7911: ${test12}[0] = 3
! 7912: ${test12}[1] = 4
! 7913: ${test12}[2] = 5
! 7914: ${test20}[0] = 2
! 7915: ${test20}[1] = 3
! 7916: ${test20}[2] = 4
! 7917: ${test21}[0] = 3
! 7918: ${test21}[1] = 4
! 7919: ${test21}[2] = 5
! 7920: ${test22}[0] = 4
! 7921: ${test22}[1] = 5
! 7922: ${test22}[2] = 6
! 7923: *********************
! 7924:
! 7925: *** hash test... ***
! 7926: commented out...
! 7927: **************************
! 7928:
! 7929: *** Hash resizing test ***
! 7930: ba
! 7931: baa
! 7932: baaa
! 7933: baaaa
! 7934: baaaaa
! 7935: baaaaaa
! 7936: baaaaaaa
! 7937: baaaaaaaa
! 7938: baaaaaaaaa
! 7939: baaaaaaaaaa
! 7940: ba
! 7941: 10
! 7942: baa
! 7943: 9
! 7944: baaa
! 7945: 8
! 7946: baaaa
! 7947: 7
! 7948: baaaaa
! 7949: 6
! 7950: baaaaaa
! 7951: 5
! 7952: baaaaaaa
! 7953: 4
! 7954: baaaaaaaa
! 7955: 3
! 7956: baaaaaaaaa
! 7957: 2
! 7958: baaaaaaaaaa
! 7959: 1
! 7960: **************************
! 7961:
! 7962:
! 7963: *** break/continue test ***
! 7964: $i should go from 0 to 2
! 7965: $j should go from 3 to 4, and $q should go from 3 to 4
! 7966: $j=3
! 7967: $q=3
! 7968: $q=4
! 7969: $j=4
! 7970: $q=3
! 7971: $q=4
! 7972: $j should go from 0 to 2
! 7973: $j=0
! 7974: $j=1
! 7975: $j=2
! 7976: $k should go from 0 to 2
! 7977: $k=0
! 7978: $k=1
! 7979: $k=2
! 7980: $i=0
! 7981: $j should go from 3 to 4, and $q should go from 3 to 4
! 7982: $j=3
! 7983: $q=3
! 7984: $q=4
! 7985: $j=4
! 7986: $q=3
! 7987: $q=4
! 7988: $j should go from 0 to 2
! 7989: $j=0
! 7990: $j=1
! 7991: $j=2
! 7992: $k should go from 0 to 2
! 7993: $k=0
! 7994: $k=1
! 7995: $k=2
! 7996: $i=1
! 7997: $j should go from 3 to 4, and $q should go from 3 to 4
! 7998: $j=3
! 7999: $q=3
! 8000: $q=4
! 8001: $j=4
! 8002: $q=3
! 8003: $q=4
! 8004: $j should go from 0 to 2
! 8005: $j=0
! 8006: $j=1
! 8007: $j=2
! 8008: $k should go from 0 to 2
! 8009: $k=0
! 8010: $k=1
! 8011: $k=2
! 8012: $i=2
! 8013: ***********************
! 8014:
! 8015: *** Nested file include test ***
! 8016: <html>
! 8017: This is Finish.phtml. This file is supposed to be included
! 8018: from regression_test.phtml. This is normal HTML.
! 8019: and this is PHP code, 2+2=4
! 8020: </html>
! 8021: ********************************
! 8022:
! 8023: Tests completed.
! 8024: <html>
! 8025: <head>
! 8026: *** Testing assignments and variable aliasing: ***
! 8027: This should read "blah": blah
! 8028: This should read "this is nifty": this is nifty
! 8029: *************************************************
! 8030:
! 8031: *** Testing integer operators ***
! 8032: Correct result - 8: 8
! 8033: Correct result - 8: 8
! 8034: Correct result - 2: 2
! 8035: Correct result - -2: -2
! 8036: Correct result - 15: 15
! 8037: Correct result - 15: 15
! 8038: Correct result - 2: 2
! 8039: Correct result - 3: 3
! 8040: *********************************
! 8041:
! 8042: *** Testing real operators ***
! 8043: Correct result - 8: 8
! 8044: Correct result - 8: 8
! 8045: Correct result - 2: 2
! 8046: Correct result - -2: -2
! 8047: Correct result - 15: 15
! 8048: Correct result - 15: 15
! 8049: Correct result - 2: 2
! 8050: Correct result - 3: 3
! 8051: *********************************
! 8052:
! 8053: *** Testing if/elseif/else control ***
! 8054:
! 8055: This works
! 8056: this_still_works
! 8057: should_print
! 8058:
! 8059:
! 8060: *** Seriously nested if's test ***
! 8061: ** spelling correction by kluzz **
! 8062: Only two lines of text should follow:
! 8063: this should be displayed. should be: $i=1, $j=0. is: $i=1, $j=0
! 8064: this is supposed to be displayed. should be: $i=2, $j=4. is: $i=2, $j=4
! 8065: 3 loop iterations should follow:
! 8066: 2 4
! 8067: 3 4
! 8068: 4 4
! 8069: **********************************
! 8070:
! 8071: *** C-style else-if's ***
! 8072: This should be displayed
! 8073: *************************
! 8074:
! 8075: *** WHILE tests ***
! 8076: 0 is smaller than 20
! 8077: 1 is smaller than 20
! 8078: 2 is smaller than 20
! 8079: 3 is smaller than 20
! 8080: 4 is smaller than 20
! 8081: 5 is smaller than 20
! 8082: 6 is smaller than 20
! 8083: 7 is smaller than 20
! 8084: 8 is smaller than 20
! 8085: 9 is smaller than 20
! 8086: 10 is smaller than 20
! 8087: 11 is smaller than 20
! 8088: 12 is smaller than 20
! 8089: 13 is smaller than 20
! 8090: 14 is smaller than 20
! 8091: 15 is smaller than 20
! 8092: 16 is smaller than 20
! 8093: 17 is smaller than 20
! 8094: 18 is smaller than 20
! 8095: 19 is smaller than 20
! 8096: 20 equals 20
! 8097: 21 is greater than 20
! 8098: 22 is greater than 20
! 8099: 23 is greater than 20
! 8100: 24 is greater than 20
! 8101: 25 is greater than 20
! 8102: 26 is greater than 20
! 8103: 27 is greater than 20
! 8104: 28 is greater than 20
! 8105: 29 is greater than 20
! 8106: 30 is greater than 20
! 8107: 31 is greater than 20
! 8108: 32 is greater than 20
! 8109: 33 is greater than 20
! 8110: 34 is greater than 20
! 8111: 35 is greater than 20
! 8112: 36 is greater than 20
! 8113: 37 is greater than 20
! 8114: 38 is greater than 20
! 8115: 39 is greater than 20
! 8116: *******************
! 8117:
! 8118:
! 8119: *** Nested WHILEs ***
! 8120: Each array variable should be equal to the sum of its indices:
! 8121: ${test00}[0] = 0
! 8122: ${test00}[1] = 1
! 8123: ${test00}[2] = 2
! 8124: ${test01}[0] = 1
! 8125: ${test01}[1] = 2
! 8126: ${test01}[2] = 3
! 8127: ${test02}[0] = 2
! 8128: ${test02}[1] = 3
! 8129: ${test02}[2] = 4
! 8130: ${test10}[0] = 1
! 8131: ${test10}[1] = 2
! 8132: ${test10}[2] = 3
! 8133: ${test11}[0] = 2
! 8134: ${test11}[1] = 3
! 8135: ${test11}[2] = 4
! 8136: ${test12}[0] = 3
! 8137: ${test12}[1] = 4
! 8138: ${test12}[2] = 5
! 8139: ${test20}[0] = 2
! 8140: ${test20}[1] = 3
! 8141: ${test20}[2] = 4
! 8142: ${test21}[0] = 3
! 8143: ${test21}[1] = 4
! 8144: ${test21}[2] = 5
! 8145: ${test22}[0] = 4
! 8146: ${test22}[1] = 5
! 8147: ${test22}[2] = 6
! 8148: *********************
! 8149:
! 8150: *** hash test... ***
! 8151: commented out...
! 8152: **************************
! 8153:
! 8154: *** Hash resizing test ***
! 8155: ba
! 8156: baa
! 8157: baaa
! 8158: baaaa
! 8159: baaaaa
! 8160: baaaaaa
! 8161: baaaaaaa
! 8162: baaaaaaaa
! 8163: baaaaaaaaa
! 8164: baaaaaaaaaa
! 8165: ba
! 8166: 10
! 8167: baa
! 8168: 9
! 8169: baaa
! 8170: 8
! 8171: baaaa
! 8172: 7
! 8173: baaaaa
! 8174: 6
! 8175: baaaaaa
! 8176: 5
! 8177: baaaaaaa
! 8178: 4
! 8179: baaaaaaaa
! 8180: 3
! 8181: baaaaaaaaa
! 8182: 2
! 8183: baaaaaaaaaa
! 8184: 1
! 8185: **************************
! 8186:
! 8187:
! 8188: *** break/continue test ***
! 8189: $i should go from 0 to 2
! 8190: $j should go from 3 to 4, and $q should go from 3 to 4
! 8191: $j=3
! 8192: $q=3
! 8193: $q=4
! 8194: $j=4
! 8195: $q=3
! 8196: $q=4
! 8197: $j should go from 0 to 2
! 8198: $j=0
! 8199: $j=1
! 8200: $j=2
! 8201: $k should go from 0 to 2
! 8202: $k=0
! 8203: $k=1
! 8204: $k=2
! 8205: $i=0
! 8206: $j should go from 3 to 4, and $q should go from 3 to 4
! 8207: $j=3
! 8208: $q=3
! 8209: $q=4
! 8210: $j=4
! 8211: $q=3
! 8212: $q=4
! 8213: $j should go from 0 to 2
! 8214: $j=0
! 8215: $j=1
! 8216: $j=2
! 8217: $k should go from 0 to 2
! 8218: $k=0
! 8219: $k=1
! 8220: $k=2
! 8221: $i=1
! 8222: $j should go from 3 to 4, and $q should go from 3 to 4
! 8223: $j=3
! 8224: $q=3
! 8225: $q=4
! 8226: $j=4
! 8227: $q=3
! 8228: $q=4
! 8229: $j should go from 0 to 2
! 8230: $j=0
! 8231: $j=1
! 8232: $j=2
! 8233: $k should go from 0 to 2
! 8234: $k=0
! 8235: $k=1
! 8236: $k=2
! 8237: $i=2
! 8238: ***********************
! 8239:
! 8240: *** Nested file include test ***
! 8241: <html>
! 8242: This is Finish.phtml. This file is supposed to be included
! 8243: from regression_test.phtml. This is normal HTML.
! 8244: and this is PHP code, 2+2=4
! 8245: </html>
! 8246: ********************************
! 8247:
! 8248: Tests completed.
! 8249: <html>
! 8250: <head>
! 8251: *** Testing assignments and variable aliasing: ***
! 8252: This should read "blah": blah
! 8253: This should read "this is nifty": this is nifty
! 8254: *************************************************
! 8255:
! 8256: *** Testing integer operators ***
! 8257: Correct result - 8: 8
! 8258: Correct result - 8: 8
! 8259: Correct result - 2: 2
! 8260: Correct result - -2: -2
! 8261: Correct result - 15: 15
! 8262: Correct result - 15: 15
! 8263: Correct result - 2: 2
! 8264: Correct result - 3: 3
! 8265: *********************************
! 8266:
! 8267: *** Testing real operators ***
! 8268: Correct result - 8: 8
! 8269: Correct result - 8: 8
! 8270: Correct result - 2: 2
! 8271: Correct result - -2: -2
! 8272: Correct result - 15: 15
! 8273: Correct result - 15: 15
! 8274: Correct result - 2: 2
! 8275: Correct result - 3: 3
! 8276: *********************************
! 8277:
! 8278: *** Testing if/elseif/else control ***
! 8279:
! 8280: This works
! 8281: this_still_works
! 8282: should_print
! 8283:
! 8284:
! 8285: *** Seriously nested if's test ***
! 8286: ** spelling correction by kluzz **
! 8287: Only two lines of text should follow:
! 8288: this should be displayed. should be: $i=1, $j=0. is: $i=1, $j=0
! 8289: this is supposed to be displayed. should be: $i=2, $j=4. is: $i=2, $j=4
! 8290: 3 loop iterations should follow:
! 8291: 2 4
! 8292: 3 4
! 8293: 4 4
! 8294: **********************************
! 8295:
! 8296: *** C-style else-if's ***
! 8297: This should be displayed
! 8298: *************************
! 8299:
! 8300: *** WHILE tests ***
! 8301: 0 is smaller than 20
! 8302: 1 is smaller than 20
! 8303: 2 is smaller than 20
! 8304: 3 is smaller than 20
! 8305: 4 is smaller than 20
! 8306: 5 is smaller than 20
! 8307: 6 is smaller than 20
! 8308: 7 is smaller than 20
! 8309: 8 is smaller than 20
! 8310: 9 is smaller than 20
! 8311: 10 is smaller than 20
! 8312: 11 is smaller than 20
! 8313: 12 is smaller than 20
! 8314: 13 is smaller than 20
! 8315: 14 is smaller than 20
! 8316: 15 is smaller than 20
! 8317: 16 is smaller than 20
! 8318: 17 is smaller than 20
! 8319: 18 is smaller than 20
! 8320: 19 is smaller than 20
! 8321: 20 equals 20
! 8322: 21 is greater than 20
! 8323: 22 is greater than 20
! 8324: 23 is greater than 20
! 8325: 24 is greater than 20
! 8326: 25 is greater than 20
! 8327: 26 is greater than 20
! 8328: 27 is greater than 20
! 8329: 28 is greater than 20
! 8330: 29 is greater than 20
! 8331: 30 is greater than 20
! 8332: 31 is greater than 20
! 8333: 32 is greater than 20
! 8334: 33 is greater than 20
! 8335: 34 is greater than 20
! 8336: 35 is greater than 20
! 8337: 36 is greater than 20
! 8338: 37 is greater than 20
! 8339: 38 is greater than 20
! 8340: 39 is greater than 20
! 8341: *******************
! 8342:
! 8343:
! 8344: *** Nested WHILEs ***
! 8345: Each array variable should be equal to the sum of its indices:
! 8346: ${test00}[0] = 0
! 8347: ${test00}[1] = 1
! 8348: ${test00}[2] = 2
! 8349: ${test01}[0] = 1
! 8350: ${test01}[1] = 2
! 8351: ${test01}[2] = 3
! 8352: ${test02}[0] = 2
! 8353: ${test02}[1] = 3
! 8354: ${test02}[2] = 4
! 8355: ${test10}[0] = 1
! 8356: ${test10}[1] = 2
! 8357: ${test10}[2] = 3
! 8358: ${test11}[0] = 2
! 8359: ${test11}[1] = 3
! 8360: ${test11}[2] = 4
! 8361: ${test12}[0] = 3
! 8362: ${test12}[1] = 4
! 8363: ${test12}[2] = 5
! 8364: ${test20}[0] = 2
! 8365: ${test20}[1] = 3
! 8366: ${test20}[2] = 4
! 8367: ${test21}[0] = 3
! 8368: ${test21}[1] = 4
! 8369: ${test21}[2] = 5
! 8370: ${test22}[0] = 4
! 8371: ${test22}[1] = 5
! 8372: ${test22}[2] = 6
! 8373: *********************
! 8374:
! 8375: *** hash test... ***
! 8376: commented out...
! 8377: **************************
! 8378:
! 8379: *** Hash resizing test ***
! 8380: ba
! 8381: baa
! 8382: baaa
! 8383: baaaa
! 8384: baaaaa
! 8385: baaaaaa
! 8386: baaaaaaa
! 8387: baaaaaaaa
! 8388: baaaaaaaaa
! 8389: baaaaaaaaaa
! 8390: ba
! 8391: 10
! 8392: baa
! 8393: 9
! 8394: baaa
! 8395: 8
! 8396: baaaa
! 8397: 7
! 8398: baaaaa
! 8399: 6
! 8400: baaaaaa
! 8401: 5
! 8402: baaaaaaa
! 8403: 4
! 8404: baaaaaaaa
! 8405: 3
! 8406: baaaaaaaaa
! 8407: 2
! 8408: baaaaaaaaaa
! 8409: 1
! 8410: **************************
! 8411:
! 8412:
! 8413: *** break/continue test ***
! 8414: $i should go from 0 to 2
! 8415: $j should go from 3 to 4, and $q should go from 3 to 4
! 8416: $j=3
! 8417: $q=3
! 8418: $q=4
! 8419: $j=4
! 8420: $q=3
! 8421: $q=4
! 8422: $j should go from 0 to 2
! 8423: $j=0
! 8424: $j=1
! 8425: $j=2
! 8426: $k should go from 0 to 2
! 8427: $k=0
! 8428: $k=1
! 8429: $k=2
! 8430: $i=0
! 8431: $j should go from 3 to 4, and $q should go from 3 to 4
! 8432: $j=3
! 8433: $q=3
! 8434: $q=4
! 8435: $j=4
! 8436: $q=3
! 8437: $q=4
! 8438: $j should go from 0 to 2
! 8439: $j=0
! 8440: $j=1
! 8441: $j=2
! 8442: $k should go from 0 to 2
! 8443: $k=0
! 8444: $k=1
! 8445: $k=2
! 8446: $i=1
! 8447: $j should go from 3 to 4, and $q should go from 3 to 4
! 8448: $j=3
! 8449: $q=3
! 8450: $q=4
! 8451: $j=4
! 8452: $q=3
! 8453: $q=4
! 8454: $j should go from 0 to 2
! 8455: $j=0
! 8456: $j=1
! 8457: $j=2
! 8458: $k should go from 0 to 2
! 8459: $k=0
! 8460: $k=1
! 8461: $k=2
! 8462: $i=2
! 8463: ***********************
! 8464:
! 8465: *** Nested file include test ***
! 8466: <html>
! 8467: This is Finish.phtml. This file is supposed to be included
! 8468: from regression_test.phtml. This is normal HTML.
! 8469: and this is PHP code, 2+2=4
! 8470: </html>
! 8471: ********************************
! 8472:
! 8473: Tests completed.
! 8474: <html>
! 8475: <head>
! 8476: *** Testing assignments and variable aliasing: ***
! 8477: This should read "blah": blah
! 8478: This should read "this is nifty": this is nifty
! 8479: *************************************************
! 8480:
! 8481: *** Testing integer operators ***
! 8482: Correct result - 8: 8
! 8483: Correct result - 8: 8
! 8484: Correct result - 2: 2
! 8485: Correct result - -2: -2
! 8486: Correct result - 15: 15
! 8487: Correct result - 15: 15
! 8488: Correct result - 2: 2
! 8489: Correct result - 3: 3
! 8490: *********************************
! 8491:
! 8492: *** Testing real operators ***
! 8493: Correct result - 8: 8
! 8494: Correct result - 8: 8
! 8495: Correct result - 2: 2
! 8496: Correct result - -2: -2
! 8497: Correct result - 15: 15
! 8498: Correct result - 15: 15
! 8499: Correct result - 2: 2
! 8500: Correct result - 3: 3
! 8501: *********************************
! 8502:
! 8503: *** Testing if/elseif/else control ***
! 8504:
! 8505: This works
! 8506: this_still_works
! 8507: should_print
! 8508:
! 8509:
! 8510: *** Seriously nested if's test ***
! 8511: ** spelling correction by kluzz **
! 8512: Only two lines of text should follow:
! 8513: this should be displayed. should be: $i=1, $j=0. is: $i=1, $j=0
! 8514: this is supposed to be displayed. should be: $i=2, $j=4. is: $i=2, $j=4
! 8515: 3 loop iterations should follow:
! 8516: 2 4
! 8517: 3 4
! 8518: 4 4
! 8519: **********************************
! 8520:
! 8521: *** C-style else-if's ***
! 8522: This should be displayed
! 8523: *************************
! 8524:
! 8525: *** WHILE tests ***
! 8526: 0 is smaller than 20
! 8527: 1 is smaller than 20
! 8528: 2 is smaller than 20
! 8529: 3 is smaller than 20
! 8530: 4 is smaller than 20
! 8531: 5 is smaller than 20
! 8532: 6 is smaller than 20
! 8533: 7 is smaller than 20
! 8534: 8 is smaller than 20
! 8535: 9 is smaller than 20
! 8536: 10 is smaller than 20
! 8537: 11 is smaller than 20
! 8538: 12 is smaller than 20
! 8539: 13 is smaller than 20
! 8540: 14 is smaller than 20
! 8541: 15 is smaller than 20
! 8542: 16 is smaller than 20
! 8543: 17 is smaller than 20
! 8544: 18 is smaller than 20
! 8545: 19 is smaller than 20
! 8546: 20 equals 20
! 8547: 21 is greater than 20
! 8548: 22 is greater than 20
! 8549: 23 is greater than 20
! 8550: 24 is greater than 20
! 8551: 25 is greater than 20
! 8552: 26 is greater than 20
! 8553: 27 is greater than 20
! 8554: 28 is greater than 20
! 8555: 29 is greater than 20
! 8556: 30 is greater than 20
! 8557: 31 is greater than 20
! 8558: 32 is greater than 20
! 8559: 33 is greater than 20
! 8560: 34 is greater than 20
! 8561: 35 is greater than 20
! 8562: 36 is greater than 20
! 8563: 37 is greater than 20
! 8564: 38 is greater than 20
! 8565: 39 is greater than 20
! 8566: *******************
! 8567:
! 8568:
! 8569: *** Nested WHILEs ***
! 8570: Each array variable should be equal to the sum of its indices:
! 8571: ${test00}[0] = 0
! 8572: ${test00}[1] = 1
! 8573: ${test00}[2] = 2
! 8574: ${test01}[0] = 1
! 8575: ${test01}[1] = 2
! 8576: ${test01}[2] = 3
! 8577: ${test02}[0] = 2
! 8578: ${test02}[1] = 3
! 8579: ${test02}[2] = 4
! 8580: ${test10}[0] = 1
! 8581: ${test10}[1] = 2
! 8582: ${test10}[2] = 3
! 8583: ${test11}[0] = 2
! 8584: ${test11}[1] = 3
! 8585: ${test11}[2] = 4
! 8586: ${test12}[0] = 3
! 8587: ${test12}[1] = 4
! 8588: ${test12}[2] = 5
! 8589: ${test20}[0] = 2
! 8590: ${test20}[1] = 3
! 8591: ${test20}[2] = 4
! 8592: ${test21}[0] = 3
! 8593: ${test21}[1] = 4
! 8594: ${test21}[2] = 5
! 8595: ${test22}[0] = 4
! 8596: ${test22}[1] = 5
! 8597: ${test22}[2] = 6
! 8598: *********************
! 8599:
! 8600: *** hash test... ***
! 8601: commented out...
! 8602: **************************
! 8603:
! 8604: *** Hash resizing test ***
! 8605: ba
! 8606: baa
! 8607: baaa
! 8608: baaaa
! 8609: baaaaa
! 8610: baaaaaa
! 8611: baaaaaaa
! 8612: baaaaaaaa
! 8613: baaaaaaaaa
! 8614: baaaaaaaaaa
! 8615: ba
! 8616: 10
! 8617: baa
! 8618: 9
! 8619: baaa
! 8620: 8
! 8621: baaaa
! 8622: 7
! 8623: baaaaa
! 8624: 6
! 8625: baaaaaa
! 8626: 5
! 8627: baaaaaaa
! 8628: 4
! 8629: baaaaaaaa
! 8630: 3
! 8631: baaaaaaaaa
! 8632: 2
! 8633: baaaaaaaaaa
! 8634: 1
! 8635: **************************
! 8636:
! 8637:
! 8638: *** break/continue test ***
! 8639: $i should go from 0 to 2
! 8640: $j should go from 3 to 4, and $q should go from 3 to 4
! 8641: $j=3
! 8642: $q=3
! 8643: $q=4
! 8644: $j=4
! 8645: $q=3
! 8646: $q=4
! 8647: $j should go from 0 to 2
! 8648: $j=0
! 8649: $j=1
! 8650: $j=2
! 8651: $k should go from 0 to 2
! 8652: $k=0
! 8653: $k=1
! 8654: $k=2
! 8655: $i=0
! 8656: $j should go from 3 to 4, and $q should go from 3 to 4
! 8657: $j=3
! 8658: $q=3
! 8659: $q=4
! 8660: $j=4
! 8661: $q=3
! 8662: $q=4
! 8663: $j should go from 0 to 2
! 8664: $j=0
! 8665: $j=1
! 8666: $j=2
! 8667: $k should go from 0 to 2
! 8668: $k=0
! 8669: $k=1
! 8670: $k=2
! 8671: $i=1
! 8672: $j should go from 3 to 4, and $q should go from 3 to 4
! 8673: $j=3
! 8674: $q=3
! 8675: $q=4
! 8676: $j=4
! 8677: $q=3
! 8678: $q=4
! 8679: $j should go from 0 to 2
! 8680: $j=0
! 8681: $j=1
! 8682: $j=2
! 8683: $k should go from 0 to 2
! 8684: $k=0
! 8685: $k=1
! 8686: $k=2
! 8687: $i=2
! 8688: ***********************
! 8689:
! 8690: *** Nested file include test ***
! 8691: <html>
! 8692: This is Finish.phtml. This file is supposed to be included
! 8693: from regression_test.phtml. This is normal HTML.
! 8694: and this is PHP code, 2+2=4
! 8695: </html>
! 8696: ********************************
! 8697:
! 8698: Tests completed.
! 8699: <html>
! 8700: <head>
! 8701: *** Testing assignments and variable aliasing: ***
! 8702: This should read "blah": blah
! 8703: This should read "this is nifty": this is nifty
! 8704: *************************************************
! 8705:
! 8706: *** Testing integer operators ***
! 8707: Correct result - 8: 8
! 8708: Correct result - 8: 8
! 8709: Correct result - 2: 2
! 8710: Correct result - -2: -2
! 8711: Correct result - 15: 15
! 8712: Correct result - 15: 15
! 8713: Correct result - 2: 2
! 8714: Correct result - 3: 3
! 8715: *********************************
! 8716:
! 8717: *** Testing real operators ***
! 8718: Correct result - 8: 8
! 8719: Correct result - 8: 8
! 8720: Correct result - 2: 2
! 8721: Correct result - -2: -2
! 8722: Correct result - 15: 15
! 8723: Correct result - 15: 15
! 8724: Correct result - 2: 2
! 8725: Correct result - 3: 3
! 8726: *********************************
! 8727:
! 8728: *** Testing if/elseif/else control ***
! 8729:
! 8730: This works
! 8731: this_still_works
! 8732: should_print
! 8733:
! 8734:
! 8735: *** Seriously nested if's test ***
! 8736: ** spelling correction by kluzz **
! 8737: Only two lines of text should follow:
! 8738: this should be displayed. should be: $i=1, $j=0. is: $i=1, $j=0
! 8739: this is supposed to be displayed. should be: $i=2, $j=4. is: $i=2, $j=4
! 8740: 3 loop iterations should follow:
! 8741: 2 4
! 8742: 3 4
! 8743: 4 4
! 8744: **********************************
! 8745:
! 8746: *** C-style else-if's ***
! 8747: This should be displayed
! 8748: *************************
! 8749:
! 8750: *** WHILE tests ***
! 8751: 0 is smaller than 20
! 8752: 1 is smaller than 20
! 8753: 2 is smaller than 20
! 8754: 3 is smaller than 20
! 8755: 4 is smaller than 20
! 8756: 5 is smaller than 20
! 8757: 6 is smaller than 20
! 8758: 7 is smaller than 20
! 8759: 8 is smaller than 20
! 8760: 9 is smaller than 20
! 8761: 10 is smaller than 20
! 8762: 11 is smaller than 20
! 8763: 12 is smaller than 20
! 8764: 13 is smaller than 20
! 8765: 14 is smaller than 20
! 8766: 15 is smaller than 20
! 8767: 16 is smaller than 20
! 8768: 17 is smaller than 20
! 8769: 18 is smaller than 20
! 8770: 19 is smaller than 20
! 8771: 20 equals 20
! 8772: 21 is greater than 20
! 8773: 22 is greater than 20
! 8774: 23 is greater than 20
! 8775: 24 is greater than 20
! 8776: 25 is greater than 20
! 8777: 26 is greater than 20
! 8778: 27 is greater than 20
! 8779: 28 is greater than 20
! 8780: 29 is greater than 20
! 8781: 30 is greater than 20
! 8782: 31 is greater than 20
! 8783: 32 is greater than 20
! 8784: 33 is greater than 20
! 8785: 34 is greater than 20
! 8786: 35 is greater than 20
! 8787: 36 is greater than 20
! 8788: 37 is greater than 20
! 8789: 38 is greater than 20
! 8790: 39 is greater than 20
! 8791: *******************
! 8792:
! 8793:
! 8794: *** Nested WHILEs ***
! 8795: Each array variable should be equal to the sum of its indices:
! 8796: ${test00}[0] = 0
! 8797: ${test00}[1] = 1
! 8798: ${test00}[2] = 2
! 8799: ${test01}[0] = 1
! 8800: ${test01}[1] = 2
! 8801: ${test01}[2] = 3
! 8802: ${test02}[0] = 2
! 8803: ${test02}[1] = 3
! 8804: ${test02}[2] = 4
! 8805: ${test10}[0] = 1
! 8806: ${test10}[1] = 2
! 8807: ${test10}[2] = 3
! 8808: ${test11}[0] = 2
! 8809: ${test11}[1] = 3
! 8810: ${test11}[2] = 4
! 8811: ${test12}[0] = 3
! 8812: ${test12}[1] = 4
! 8813: ${test12}[2] = 5
! 8814: ${test20}[0] = 2
! 8815: ${test20}[1] = 3
! 8816: ${test20}[2] = 4
! 8817: ${test21}[0] = 3
! 8818: ${test21}[1] = 4
! 8819: ${test21}[2] = 5
! 8820: ${test22}[0] = 4
! 8821: ${test22}[1] = 5
! 8822: ${test22}[2] = 6
! 8823: *********************
! 8824:
! 8825: *** hash test... ***
! 8826: commented out...
! 8827: **************************
! 8828:
! 8829: *** Hash resizing test ***
! 8830: ba
! 8831: baa
! 8832: baaa
! 8833: baaaa
! 8834: baaaaa
! 8835: baaaaaa
! 8836: baaaaaaa
! 8837: baaaaaaaa
! 8838: baaaaaaaaa
! 8839: baaaaaaaaaa
! 8840: ba
! 8841: 10
! 8842: baa
! 8843: 9
! 8844: baaa
! 8845: 8
! 8846: baaaa
! 8847: 7
! 8848: baaaaa
! 8849: 6
! 8850: baaaaaa
! 8851: 5
! 8852: baaaaaaa
! 8853: 4
! 8854: baaaaaaaa
! 8855: 3
! 8856: baaaaaaaaa
! 8857: 2
! 8858: baaaaaaaaaa
! 8859: 1
! 8860: **************************
! 8861:
! 8862:
! 8863: *** break/continue test ***
! 8864: $i should go from 0 to 2
! 8865: $j should go from 3 to 4, and $q should go from 3 to 4
! 8866: $j=3
! 8867: $q=3
! 8868: $q=4
! 8869: $j=4
! 8870: $q=3
! 8871: $q=4
! 8872: $j should go from 0 to 2
! 8873: $j=0
! 8874: $j=1
! 8875: $j=2
! 8876: $k should go from 0 to 2
! 8877: $k=0
! 8878: $k=1
! 8879: $k=2
! 8880: $i=0
! 8881: $j should go from 3 to 4, and $q should go from 3 to 4
! 8882: $j=3
! 8883: $q=3
! 8884: $q=4
! 8885: $j=4
! 8886: $q=3
! 8887: $q=4
! 8888: $j should go from 0 to 2
! 8889: $j=0
! 8890: $j=1
! 8891: $j=2
! 8892: $k should go from 0 to 2
! 8893: $k=0
! 8894: $k=1
! 8895: $k=2
! 8896: $i=1
! 8897: $j should go from 3 to 4, and $q should go from 3 to 4
! 8898: $j=3
! 8899: $q=3
! 8900: $q=4
! 8901: $j=4
! 8902: $q=3
! 8903: $q=4
! 8904: $j should go from 0 to 2
! 8905: $j=0
! 8906: $j=1
! 8907: $j=2
! 8908: $k should go from 0 to 2
! 8909: $k=0
! 8910: $k=1
! 8911: $k=2
! 8912: $i=2
! 8913: ***********************
! 8914:
! 8915: *** Nested file include test ***
! 8916: <html>
! 8917: This is Finish.phtml. This file is supposed to be included
! 8918: from regression_test.phtml. This is normal HTML.
! 8919: and this is PHP code, 2+2=4
! 8920: </html>
! 8921: ********************************
! 8922:
! 8923: Tests completed.
! 8924: <html>
! 8925: <head>
! 8926: *** Testing assignments and variable aliasing: ***
! 8927: This should read "blah": blah
! 8928: This should read "this is nifty": this is nifty
! 8929: *************************************************
! 8930:
! 8931: *** Testing integer operators ***
! 8932: Correct result - 8: 8
! 8933: Correct result - 8: 8
! 8934: Correct result - 2: 2
! 8935: Correct result - -2: -2
! 8936: Correct result - 15: 15
! 8937: Correct result - 15: 15
! 8938: Correct result - 2: 2
! 8939: Correct result - 3: 3
! 8940: *********************************
! 8941:
! 8942: *** Testing real operators ***
! 8943: Correct result - 8: 8
! 8944: Correct result - 8: 8
! 8945: Correct result - 2: 2
! 8946: Correct result - -2: -2
! 8947: Correct result - 15: 15
! 8948: Correct result - 15: 15
! 8949: Correct result - 2: 2
! 8950: Correct result - 3: 3
! 8951: *********************************
! 8952:
! 8953: *** Testing if/elseif/else control ***
! 8954:
! 8955: This works
! 8956: this_still_works
! 8957: should_print
! 8958:
! 8959:
! 8960: *** Seriously nested if's test ***
! 8961: ** spelling correction by kluzz **
! 8962: Only two lines of text should follow:
! 8963: this should be displayed. should be: $i=1, $j=0. is: $i=1, $j=0
! 8964: this is supposed to be displayed. should be: $i=2, $j=4. is: $i=2, $j=4
! 8965: 3 loop iterations should follow:
! 8966: 2 4
! 8967: 3 4
! 8968: 4 4
! 8969: **********************************
! 8970:
! 8971: *** C-style else-if's ***
! 8972: This should be displayed
! 8973: *************************
! 8974:
! 8975: *** WHILE tests ***
! 8976: 0 is smaller than 20
! 8977: 1 is smaller than 20
! 8978: 2 is smaller than 20
! 8979: 3 is smaller than 20
! 8980: 4 is smaller than 20
! 8981: 5 is smaller than 20
! 8982: 6 is smaller than 20
! 8983: 7 is smaller than 20
! 8984: 8 is smaller than 20
! 8985: 9 is smaller than 20
! 8986: 10 is smaller than 20
! 8987: 11 is smaller than 20
! 8988: 12 is smaller than 20
! 8989: 13 is smaller than 20
! 8990: 14 is smaller than 20
! 8991: 15 is smaller than 20
! 8992: 16 is smaller than 20
! 8993: 17 is smaller than 20
! 8994: 18 is smaller than 20
! 8995: 19 is smaller than 20
! 8996: 20 equals 20
! 8997: 21 is greater than 20
! 8998: 22 is greater than 20
! 8999: 23 is greater than 20
! 9000: 24 is greater than 20
! 9001: 25 is greater than 20
! 9002: 26 is greater than 20
! 9003: 27 is greater than 20
! 9004: 28 is greater than 20
! 9005: 29 is greater than 20
! 9006: 30 is greater than 20
! 9007: 31 is greater than 20
! 9008: 32 is greater than 20
! 9009: 33 is greater than 20
! 9010: 34 is greater than 20
! 9011: 35 is greater than 20
! 9012: 36 is greater than 20
! 9013: 37 is greater than 20
! 9014: 38 is greater than 20
! 9015: 39 is greater than 20
! 9016: *******************
! 9017:
! 9018:
! 9019: *** Nested WHILEs ***
! 9020: Each array variable should be equal to the sum of its indices:
! 9021: ${test00}[0] = 0
! 9022: ${test00}[1] = 1
! 9023: ${test00}[2] = 2
! 9024: ${test01}[0] = 1
! 9025: ${test01}[1] = 2
! 9026: ${test01}[2] = 3
! 9027: ${test02}[0] = 2
! 9028: ${test02}[1] = 3
! 9029: ${test02}[2] = 4
! 9030: ${test10}[0] = 1
! 9031: ${test10}[1] = 2
! 9032: ${test10}[2] = 3
! 9033: ${test11}[0] = 2
! 9034: ${test11}[1] = 3
! 9035: ${test11}[2] = 4
! 9036: ${test12}[0] = 3
! 9037: ${test12}[1] = 4
! 9038: ${test12}[2] = 5
! 9039: ${test20}[0] = 2
! 9040: ${test20}[1] = 3
! 9041: ${test20}[2] = 4
! 9042: ${test21}[0] = 3
! 9043: ${test21}[1] = 4
! 9044: ${test21}[2] = 5
! 9045: ${test22}[0] = 4
! 9046: ${test22}[1] = 5
! 9047: ${test22}[2] = 6
! 9048: *********************
! 9049:
! 9050: *** hash test... ***
! 9051: commented out...
! 9052: **************************
! 9053:
! 9054: *** Hash resizing test ***
! 9055: ba
! 9056: baa
! 9057: baaa
! 9058: baaaa
! 9059: baaaaa
! 9060: baaaaaa
! 9061: baaaaaaa
! 9062: baaaaaaaa
! 9063: baaaaaaaaa
! 9064: baaaaaaaaaa
! 9065: ba
! 9066: 10
! 9067: baa
! 9068: 9
! 9069: baaa
! 9070: 8
! 9071: baaaa
! 9072: 7
! 9073: baaaaa
! 9074: 6
! 9075: baaaaaa
! 9076: 5
! 9077: baaaaaaa
! 9078: 4
! 9079: baaaaaaaa
! 9080: 3
! 9081: baaaaaaaaa
! 9082: 2
! 9083: baaaaaaaaaa
! 9084: 1
! 9085: **************************
! 9086:
! 9087:
! 9088: *** break/continue test ***
! 9089: $i should go from 0 to 2
! 9090: $j should go from 3 to 4, and $q should go from 3 to 4
! 9091: $j=3
! 9092: $q=3
! 9093: $q=4
! 9094: $j=4
! 9095: $q=3
! 9096: $q=4
! 9097: $j should go from 0 to 2
! 9098: $j=0
! 9099: $j=1
! 9100: $j=2
! 9101: $k should go from 0 to 2
! 9102: $k=0
! 9103: $k=1
! 9104: $k=2
! 9105: $i=0
! 9106: $j should go from 3 to 4, and $q should go from 3 to 4
! 9107: $j=3
! 9108: $q=3
! 9109: $q=4
! 9110: $j=4
! 9111: $q=3
! 9112: $q=4
! 9113: $j should go from 0 to 2
! 9114: $j=0
! 9115: $j=1
! 9116: $j=2
! 9117: $k should go from 0 to 2
! 9118: $k=0
! 9119: $k=1
! 9120: $k=2
! 9121: $i=1
! 9122: $j should go from 3 to 4, and $q should go from 3 to 4
! 9123: $j=3
! 9124: $q=3
! 9125: $q=4
! 9126: $j=4
! 9127: $q=3
! 9128: $q=4
! 9129: $j should go from 0 to 2
! 9130: $j=0
! 9131: $j=1
! 9132: $j=2
! 9133: $k should go from 0 to 2
! 9134: $k=0
! 9135: $k=1
! 9136: $k=2
! 9137: $i=2
! 9138: ***********************
! 9139:
! 9140: *** Nested file include test ***
! 9141: <html>
! 9142: This is Finish.phtml. This file is supposed to be included
! 9143: from regression_test.phtml. This is normal HTML.
! 9144: and this is PHP code, 2+2=4
! 9145: </html>
! 9146: ********************************
! 9147:
! 9148: Tests completed.
! 9149: <html>
! 9150: <head>
! 9151: *** Testing assignments and variable aliasing: ***
! 9152: This should read "blah": blah
! 9153: This should read "this is nifty": this is nifty
! 9154: *************************************************
! 9155:
! 9156: *** Testing integer operators ***
! 9157: Correct result - 8: 8
! 9158: Correct result - 8: 8
! 9159: Correct result - 2: 2
! 9160: Correct result - -2: -2
! 9161: Correct result - 15: 15
! 9162: Correct result - 15: 15
! 9163: Correct result - 2: 2
! 9164: Correct result - 3: 3
! 9165: *********************************
! 9166:
! 9167: *** Testing real operators ***
! 9168: Correct result - 8: 8
! 9169: Correct result - 8: 8
! 9170: Correct result - 2: 2
! 9171: Correct result - -2: -2
! 9172: Correct result - 15: 15
! 9173: Correct result - 15: 15
! 9174: Correct result - 2: 2
! 9175: Correct result - 3: 3
! 9176: *********************************
! 9177:
! 9178: *** Testing if/elseif/else control ***
! 9179:
! 9180: This works
! 9181: this_still_works
! 9182: should_print
! 9183:
! 9184:
! 9185: *** Seriously nested if's test ***
! 9186: ** spelling correction by kluzz **
! 9187: Only two lines of text should follow:
! 9188: this should be displayed. should be: $i=1, $j=0. is: $i=1, $j=0
! 9189: this is supposed to be displayed. should be: $i=2, $j=4. is: $i=2, $j=4
! 9190: 3 loop iterations should follow:
! 9191: 2 4
! 9192: 3 4
! 9193: 4 4
! 9194: **********************************
! 9195:
! 9196: *** C-style else-if's ***
! 9197: This should be displayed
! 9198: *************************
! 9199:
! 9200: *** WHILE tests ***
! 9201: 0 is smaller than 20
! 9202: 1 is smaller than 20
! 9203: 2 is smaller than 20
! 9204: 3 is smaller than 20
! 9205: 4 is smaller than 20
! 9206: 5 is smaller than 20
! 9207: 6 is smaller than 20
! 9208: 7 is smaller than 20
! 9209: 8 is smaller than 20
! 9210: 9 is smaller than 20
! 9211: 10 is smaller than 20
! 9212: 11 is smaller than 20
! 9213: 12 is smaller than 20
! 9214: 13 is smaller than 20
! 9215: 14 is smaller than 20
! 9216: 15 is smaller than 20
! 9217: 16 is smaller than 20
! 9218: 17 is smaller than 20
! 9219: 18 is smaller than 20
! 9220: 19 is smaller than 20
! 9221: 20 equals 20
! 9222: 21 is greater than 20
! 9223: 22 is greater than 20
! 9224: 23 is greater than 20
! 9225: 24 is greater than 20
! 9226: 25 is greater than 20
! 9227: 26 is greater than 20
! 9228: 27 is greater than 20
! 9229: 28 is greater than 20
! 9230: 29 is greater than 20
! 9231: 30 is greater than 20
! 9232: 31 is greater than 20
! 9233: 32 is greater than 20
! 9234: 33 is greater than 20
! 9235: 34 is greater than 20
! 9236: 35 is greater than 20
! 9237: 36 is greater than 20
! 9238: 37 is greater than 20
! 9239: 38 is greater than 20
! 9240: 39 is greater than 20
! 9241: *******************
! 9242:
! 9243:
! 9244: *** Nested WHILEs ***
! 9245: Each array variable should be equal to the sum of its indices:
! 9246: ${test00}[0] = 0
! 9247: ${test00}[1] = 1
! 9248: ${test00}[2] = 2
! 9249: ${test01}[0] = 1
! 9250: ${test01}[1] = 2
! 9251: ${test01}[2] = 3
! 9252: ${test02}[0] = 2
! 9253: ${test02}[1] = 3
! 9254: ${test02}[2] = 4
! 9255: ${test10}[0] = 1
! 9256: ${test10}[1] = 2
! 9257: ${test10}[2] = 3
! 9258: ${test11}[0] = 2
! 9259: ${test11}[1] = 3
! 9260: ${test11}[2] = 4
! 9261: ${test12}[0] = 3
! 9262: ${test12}[1] = 4
! 9263: ${test12}[2] = 5
! 9264: ${test20}[0] = 2
! 9265: ${test20}[1] = 3
! 9266: ${test20}[2] = 4
! 9267: ${test21}[0] = 3
! 9268: ${test21}[1] = 4
! 9269: ${test21}[2] = 5
! 9270: ${test22}[0] = 4
! 9271: ${test22}[1] = 5
! 9272: ${test22}[2] = 6
! 9273: *********************
! 9274:
! 9275: *** hash test... ***
! 9276: commented out...
! 9277: **************************
! 9278:
! 9279: *** Hash resizing test ***
! 9280: ba
! 9281: baa
! 9282: baaa
! 9283: baaaa
! 9284: baaaaa
! 9285: baaaaaa
! 9286: baaaaaaa
! 9287: baaaaaaaa
! 9288: baaaaaaaaa
! 9289: baaaaaaaaaa
! 9290: ba
! 9291: 10
! 9292: baa
! 9293: 9
! 9294: baaa
! 9295: 8
! 9296: baaaa
! 9297: 7
! 9298: baaaaa
! 9299: 6
! 9300: baaaaaa
! 9301: 5
! 9302: baaaaaaa
! 9303: 4
! 9304: baaaaaaaa
! 9305: 3
! 9306: baaaaaaaaa
! 9307: 2
! 9308: baaaaaaaaaa
! 9309: 1
! 9310: **************************
! 9311:
! 9312:
! 9313: *** break/continue test ***
! 9314: $i should go from 0 to 2
! 9315: $j should go from 3 to 4, and $q should go from 3 to 4
! 9316: $j=3
! 9317: $q=3
! 9318: $q=4
! 9319: $j=4
! 9320: $q=3
! 9321: $q=4
! 9322: $j should go from 0 to 2
! 9323: $j=0
! 9324: $j=1
! 9325: $j=2
! 9326: $k should go from 0 to 2
! 9327: $k=0
! 9328: $k=1
! 9329: $k=2
! 9330: $i=0
! 9331: $j should go from 3 to 4, and $q should go from 3 to 4
! 9332: $j=3
! 9333: $q=3
! 9334: $q=4
! 9335: $j=4
! 9336: $q=3
! 9337: $q=4
! 9338: $j should go from 0 to 2
! 9339: $j=0
! 9340: $j=1
! 9341: $j=2
! 9342: $k should go from 0 to 2
! 9343: $k=0
! 9344: $k=1
! 9345: $k=2
! 9346: $i=1
! 9347: $j should go from 3 to 4, and $q should go from 3 to 4
! 9348: $j=3
! 9349: $q=3
! 9350: $q=4
! 9351: $j=4
! 9352: $q=3
! 9353: $q=4
! 9354: $j should go from 0 to 2
! 9355: $j=0
! 9356: $j=1
! 9357: $j=2
! 9358: $k should go from 0 to 2
! 9359: $k=0
! 9360: $k=1
! 9361: $k=2
! 9362: $i=2
! 9363: ***********************
! 9364:
! 9365: *** Nested file include test ***
! 9366: <html>
! 9367: This is Finish.phtml. This file is supposed to be included
! 9368: from regression_test.phtml. This is normal HTML.
! 9369: and this is PHP code, 2+2=4
! 9370: </html>
! 9371: ********************************
! 9372:
! 9373: Tests completed.
! 9374: <html>
! 9375: <head>
! 9376: *** Testing assignments and variable aliasing: ***
! 9377: This should read "blah": blah
! 9378: This should read "this is nifty": this is nifty
! 9379: *************************************************
! 9380:
! 9381: *** Testing integer operators ***
! 9382: Correct result - 8: 8
! 9383: Correct result - 8: 8
! 9384: Correct result - 2: 2
! 9385: Correct result - -2: -2
! 9386: Correct result - 15: 15
! 9387: Correct result - 15: 15
! 9388: Correct result - 2: 2
! 9389: Correct result - 3: 3
! 9390: *********************************
! 9391:
! 9392: *** Testing real operators ***
! 9393: Correct result - 8: 8
! 9394: Correct result - 8: 8
! 9395: Correct result - 2: 2
! 9396: Correct result - -2: -2
! 9397: Correct result - 15: 15
! 9398: Correct result - 15: 15
! 9399: Correct result - 2: 2
! 9400: Correct result - 3: 3
! 9401: *********************************
! 9402:
! 9403: *** Testing if/elseif/else control ***
! 9404:
! 9405: This works
! 9406: this_still_works
! 9407: should_print
! 9408:
! 9409:
! 9410: *** Seriously nested if's test ***
! 9411: ** spelling correction by kluzz **
! 9412: Only two lines of text should follow:
! 9413: this should be displayed. should be: $i=1, $j=0. is: $i=1, $j=0
! 9414: this is supposed to be displayed. should be: $i=2, $j=4. is: $i=2, $j=4
! 9415: 3 loop iterations should follow:
! 9416: 2 4
! 9417: 3 4
! 9418: 4 4
! 9419: **********************************
! 9420:
! 9421: *** C-style else-if's ***
! 9422: This should be displayed
! 9423: *************************
! 9424:
! 9425: *** WHILE tests ***
! 9426: 0 is smaller than 20
! 9427: 1 is smaller than 20
! 9428: 2 is smaller than 20
! 9429: 3 is smaller than 20
! 9430: 4 is smaller than 20
! 9431: 5 is smaller than 20
! 9432: 6 is smaller than 20
! 9433: 7 is smaller than 20
! 9434: 8 is smaller than 20
! 9435: 9 is smaller than 20
! 9436: 10 is smaller than 20
! 9437: 11 is smaller than 20
! 9438: 12 is smaller than 20
! 9439: 13 is smaller than 20
! 9440: 14 is smaller than 20
! 9441: 15 is smaller than 20
! 9442: 16 is smaller than 20
! 9443: 17 is smaller than 20
! 9444: 18 is smaller than 20
! 9445: 19 is smaller than 20
! 9446: 20 equals 20
! 9447: 21 is greater than 20
! 9448: 22 is greater than 20
! 9449: 23 is greater than 20
! 9450: 24 is greater than 20
! 9451: 25 is greater than 20
! 9452: 26 is greater than 20
! 9453: 27 is greater than 20
! 9454: 28 is greater than 20
! 9455: 29 is greater than 20
! 9456: 30 is greater than 20
! 9457: 31 is greater than 20
! 9458: 32 is greater than 20
! 9459: 33 is greater than 20
! 9460: 34 is greater than 20
! 9461: 35 is greater than 20
! 9462: 36 is greater than 20
! 9463: 37 is greater than 20
! 9464: 38 is greater than 20
! 9465: 39 is greater than 20
! 9466: *******************
! 9467:
! 9468:
! 9469: *** Nested WHILEs ***
! 9470: Each array variable should be equal to the sum of its indices:
! 9471: ${test00}[0] = 0
! 9472: ${test00}[1] = 1
! 9473: ${test00}[2] = 2
! 9474: ${test01}[0] = 1
! 9475: ${test01}[1] = 2
! 9476: ${test01}[2] = 3
! 9477: ${test02}[0] = 2
! 9478: ${test02}[1] = 3
! 9479: ${test02}[2] = 4
! 9480: ${test10}[0] = 1
! 9481: ${test10}[1] = 2
! 9482: ${test10}[2] = 3
! 9483: ${test11}[0] = 2
! 9484: ${test11}[1] = 3
! 9485: ${test11}[2] = 4
! 9486: ${test12}[0] = 3
! 9487: ${test12}[1] = 4
! 9488: ${test12}[2] = 5
! 9489: ${test20}[0] = 2
! 9490: ${test20}[1] = 3
! 9491: ${test20}[2] = 4
! 9492: ${test21}[0] = 3
! 9493: ${test21}[1] = 4
! 9494: ${test21}[2] = 5
! 9495: ${test22}[0] = 4
! 9496: ${test22}[1] = 5
! 9497: ${test22}[2] = 6
! 9498: *********************
! 9499:
! 9500: *** hash test... ***
! 9501: commented out...
! 9502: **************************
! 9503:
! 9504: *** Hash resizing test ***
! 9505: ba
! 9506: baa
! 9507: baaa
! 9508: baaaa
! 9509: baaaaa
! 9510: baaaaaa
! 9511: baaaaaaa
! 9512: baaaaaaaa
! 9513: baaaaaaaaa
! 9514: baaaaaaaaaa
! 9515: ba
! 9516: 10
! 9517: baa
! 9518: 9
! 9519: baaa
! 9520: 8
! 9521: baaaa
! 9522: 7
! 9523: baaaaa
! 9524: 6
! 9525: baaaaaa
! 9526: 5
! 9527: baaaaaaa
! 9528: 4
! 9529: baaaaaaaa
! 9530: 3
! 9531: baaaaaaaaa
! 9532: 2
! 9533: baaaaaaaaaa
! 9534: 1
! 9535: **************************
! 9536:
! 9537:
! 9538: *** break/continue test ***
! 9539: $i should go from 0 to 2
! 9540: $j should go from 3 to 4, and $q should go from 3 to 4
! 9541: $j=3
! 9542: $q=3
! 9543: $q=4
! 9544: $j=4
! 9545: $q=3
! 9546: $q=4
! 9547: $j should go from 0 to 2
! 9548: $j=0
! 9549: $j=1
! 9550: $j=2
! 9551: $k should go from 0 to 2
! 9552: $k=0
! 9553: $k=1
! 9554: $k=2
! 9555: $i=0
! 9556: $j should go from 3 to 4, and $q should go from 3 to 4
! 9557: $j=3
! 9558: $q=3
! 9559: $q=4
! 9560: $j=4
! 9561: $q=3
! 9562: $q=4
! 9563: $j should go from 0 to 2
! 9564: $j=0
! 9565: $j=1
! 9566: $j=2
! 9567: $k should go from 0 to 2
! 9568: $k=0
! 9569: $k=1
! 9570: $k=2
! 9571: $i=1
! 9572: $j should go from 3 to 4, and $q should go from 3 to 4
! 9573: $j=3
! 9574: $q=3
! 9575: $q=4
! 9576: $j=4
! 9577: $q=3
! 9578: $q=4
! 9579: $j should go from 0 to 2
! 9580: $j=0
! 9581: $j=1
! 9582: $j=2
! 9583: $k should go from 0 to 2
! 9584: $k=0
! 9585: $k=1
! 9586: $k=2
! 9587: $i=2
! 9588: ***********************
! 9589:
! 9590: *** Nested file include test ***
! 9591: <html>
! 9592: This is Finish.phtml. This file is supposed to be included
! 9593: from regression_test.phtml. This is normal HTML.
! 9594: and this is PHP code, 2+2=4
! 9595: </html>
! 9596: ********************************
! 9597:
! 9598: Tests completed.
! 9599: <html>
! 9600: <head>
! 9601: *** Testing assignments and variable aliasing: ***
! 9602: This should read "blah": blah
! 9603: This should read "this is nifty": this is nifty
! 9604: *************************************************
! 9605:
! 9606: *** Testing integer operators ***
! 9607: Correct result - 8: 8
! 9608: Correct result - 8: 8
! 9609: Correct result - 2: 2
! 9610: Correct result - -2: -2
! 9611: Correct result - 15: 15
! 9612: Correct result - 15: 15
! 9613: Correct result - 2: 2
! 9614: Correct result - 3: 3
! 9615: *********************************
! 9616:
! 9617: *** Testing real operators ***
! 9618: Correct result - 8: 8
! 9619: Correct result - 8: 8
! 9620: Correct result - 2: 2
! 9621: Correct result - -2: -2
! 9622: Correct result - 15: 15
! 9623: Correct result - 15: 15
! 9624: Correct result - 2: 2
! 9625: Correct result - 3: 3
! 9626: *********************************
! 9627:
! 9628: *** Testing if/elseif/else control ***
! 9629:
! 9630: This works
! 9631: this_still_works
! 9632: should_print
! 9633:
! 9634:
! 9635: *** Seriously nested if's test ***
! 9636: ** spelling correction by kluzz **
! 9637: Only two lines of text should follow:
! 9638: this should be displayed. should be: $i=1, $j=0. is: $i=1, $j=0
! 9639: this is supposed to be displayed. should be: $i=2, $j=4. is: $i=2, $j=4
! 9640: 3 loop iterations should follow:
! 9641: 2 4
! 9642: 3 4
! 9643: 4 4
! 9644: **********************************
! 9645:
! 9646: *** C-style else-if's ***
! 9647: This should be displayed
! 9648: *************************
! 9649:
! 9650: *** WHILE tests ***
! 9651: 0 is smaller than 20
! 9652: 1 is smaller than 20
! 9653: 2 is smaller than 20
! 9654: 3 is smaller than 20
! 9655: 4 is smaller than 20
! 9656: 5 is smaller than 20
! 9657: 6 is smaller than 20
! 9658: 7 is smaller than 20
! 9659: 8 is smaller than 20
! 9660: 9 is smaller than 20
! 9661: 10 is smaller than 20
! 9662: 11 is smaller than 20
! 9663: 12 is smaller than 20
! 9664: 13 is smaller than 20
! 9665: 14 is smaller than 20
! 9666: 15 is smaller than 20
! 9667: 16 is smaller than 20
! 9668: 17 is smaller than 20
! 9669: 18 is smaller than 20
! 9670: 19 is smaller than 20
! 9671: 20 equals 20
! 9672: 21 is greater than 20
! 9673: 22 is greater than 20
! 9674: 23 is greater than 20
! 9675: 24 is greater than 20
! 9676: 25 is greater than 20
! 9677: 26 is greater than 20
! 9678: 27 is greater than 20
! 9679: 28 is greater than 20
! 9680: 29 is greater than 20
! 9681: 30 is greater than 20
! 9682: 31 is greater than 20
! 9683: 32 is greater than 20
! 9684: 33 is greater than 20
! 9685: 34 is greater than 20
! 9686: 35 is greater than 20
! 9687: 36 is greater than 20
! 9688: 37 is greater than 20
! 9689: 38 is greater than 20
! 9690: 39 is greater than 20
! 9691: *******************
! 9692:
! 9693:
! 9694: *** Nested WHILEs ***
! 9695: Each array variable should be equal to the sum of its indices:
! 9696: ${test00}[0] = 0
! 9697: ${test00}[1] = 1
! 9698: ${test00}[2] = 2
! 9699: ${test01}[0] = 1
! 9700: ${test01}[1] = 2
! 9701: ${test01}[2] = 3
! 9702: ${test02}[0] = 2
! 9703: ${test02}[1] = 3
! 9704: ${test02}[2] = 4
! 9705: ${test10}[0] = 1
! 9706: ${test10}[1] = 2
! 9707: ${test10}[2] = 3
! 9708: ${test11}[0] = 2
! 9709: ${test11}[1] = 3
! 9710: ${test11}[2] = 4
! 9711: ${test12}[0] = 3
! 9712: ${test12}[1] = 4
! 9713: ${test12}[2] = 5
! 9714: ${test20}[0] = 2
! 9715: ${test20}[1] = 3
! 9716: ${test20}[2] = 4
! 9717: ${test21}[0] = 3
! 9718: ${test21}[1] = 4
! 9719: ${test21}[2] = 5
! 9720: ${test22}[0] = 4
! 9721: ${test22}[1] = 5
! 9722: ${test22}[2] = 6
! 9723: *********************
! 9724:
! 9725: *** hash test... ***
! 9726: commented out...
! 9727: **************************
! 9728:
! 9729: *** Hash resizing test ***
! 9730: ba
! 9731: baa
! 9732: baaa
! 9733: baaaa
! 9734: baaaaa
! 9735: baaaaaa
! 9736: baaaaaaa
! 9737: baaaaaaaa
! 9738: baaaaaaaaa
! 9739: baaaaaaaaaa
! 9740: ba
! 9741: 10
! 9742: baa
! 9743: 9
! 9744: baaa
! 9745: 8
! 9746: baaaa
! 9747: 7
! 9748: baaaaa
! 9749: 6
! 9750: baaaaaa
! 9751: 5
! 9752: baaaaaaa
! 9753: 4
! 9754: baaaaaaaa
! 9755: 3
! 9756: baaaaaaaaa
! 9757: 2
! 9758: baaaaaaaaaa
! 9759: 1
! 9760: **************************
! 9761:
! 9762:
! 9763: *** break/continue test ***
! 9764: $i should go from 0 to 2
! 9765: $j should go from 3 to 4, and $q should go from 3 to 4
! 9766: $j=3
! 9767: $q=3
! 9768: $q=4
! 9769: $j=4
! 9770: $q=3
! 9771: $q=4
! 9772: $j should go from 0 to 2
! 9773: $j=0
! 9774: $j=1
! 9775: $j=2
! 9776: $k should go from 0 to 2
! 9777: $k=0
! 9778: $k=1
! 9779: $k=2
! 9780: $i=0
! 9781: $j should go from 3 to 4, and $q should go from 3 to 4
! 9782: $j=3
! 9783: $q=3
! 9784: $q=4
! 9785: $j=4
! 9786: $q=3
! 9787: $q=4
! 9788: $j should go from 0 to 2
! 9789: $j=0
! 9790: $j=1
! 9791: $j=2
! 9792: $k should go from 0 to 2
! 9793: $k=0
! 9794: $k=1
! 9795: $k=2
! 9796: $i=1
! 9797: $j should go from 3 to 4, and $q should go from 3 to 4
! 9798: $j=3
! 9799: $q=3
! 9800: $q=4
! 9801: $j=4
! 9802: $q=3
! 9803: $q=4
! 9804: $j should go from 0 to 2
! 9805: $j=0
! 9806: $j=1
! 9807: $j=2
! 9808: $k should go from 0 to 2
! 9809: $k=0
! 9810: $k=1
! 9811: $k=2
! 9812: $i=2
! 9813: ***********************
! 9814:
! 9815: *** Nested file include test ***
! 9816: <html>
! 9817: This is Finish.phtml. This file is supposed to be included
! 9818: from regression_test.phtml. This is normal HTML.
! 9819: and this is PHP code, 2+2=4
! 9820: </html>
! 9821: ********************************
! 9822:
! 9823: Tests completed.
! 9824: <html>
! 9825: <head>
! 9826: *** Testing assignments and variable aliasing: ***
! 9827: This should read "blah": blah
! 9828: This should read "this is nifty": this is nifty
! 9829: *************************************************
! 9830:
! 9831: *** Testing integer operators ***
! 9832: Correct result - 8: 8
! 9833: Correct result - 8: 8
! 9834: Correct result - 2: 2
! 9835: Correct result - -2: -2
! 9836: Correct result - 15: 15
! 9837: Correct result - 15: 15
! 9838: Correct result - 2: 2
! 9839: Correct result - 3: 3
! 9840: *********************************
! 9841:
! 9842: *** Testing real operators ***
! 9843: Correct result - 8: 8
! 9844: Correct result - 8: 8
! 9845: Correct result - 2: 2
! 9846: Correct result - -2: -2
! 9847: Correct result - 15: 15
! 9848: Correct result - 15: 15
! 9849: Correct result - 2: 2
! 9850: Correct result - 3: 3
! 9851: *********************************
! 9852:
! 9853: *** Testing if/elseif/else control ***
! 9854:
! 9855: This works
! 9856: this_still_works
! 9857: should_print
! 9858:
! 9859:
! 9860: *** Seriously nested if's test ***
! 9861: ** spelling correction by kluzz **
! 9862: Only two lines of text should follow:
! 9863: this should be displayed. should be: $i=1, $j=0. is: $i=1, $j=0
! 9864: this is supposed to be displayed. should be: $i=2, $j=4. is: $i=2, $j=4
! 9865: 3 loop iterations should follow:
! 9866: 2 4
! 9867: 3 4
! 9868: 4 4
! 9869: **********************************
! 9870:
! 9871: *** C-style else-if's ***
! 9872: This should be displayed
! 9873: *************************
! 9874:
! 9875: *** WHILE tests ***
! 9876: 0 is smaller than 20
! 9877: 1 is smaller than 20
! 9878: 2 is smaller than 20
! 9879: 3 is smaller than 20
! 9880: 4 is smaller than 20
! 9881: 5 is smaller than 20
! 9882: 6 is smaller than 20
! 9883: 7 is smaller than 20
! 9884: 8 is smaller than 20
! 9885: 9 is smaller than 20
! 9886: 10 is smaller than 20
! 9887: 11 is smaller than 20
! 9888: 12 is smaller than 20
! 9889: 13 is smaller than 20
! 9890: 14 is smaller than 20
! 9891: 15 is smaller than 20
! 9892: 16 is smaller than 20
! 9893: 17 is smaller than 20
! 9894: 18 is smaller than 20
! 9895: 19 is smaller than 20
! 9896: 20 equals 20
! 9897: 21 is greater than 20
! 9898: 22 is greater than 20
! 9899: 23 is greater than 20
! 9900: 24 is greater than 20
! 9901: 25 is greater than 20
! 9902: 26 is greater than 20
! 9903: 27 is greater than 20
! 9904: 28 is greater than 20
! 9905: 29 is greater than 20
! 9906: 30 is greater than 20
! 9907: 31 is greater than 20
! 9908: 32 is greater than 20
! 9909: 33 is greater than 20
! 9910: 34 is greater than 20
! 9911: 35 is greater than 20
! 9912: 36 is greater than 20
! 9913: 37 is greater than 20
! 9914: 38 is greater than 20
! 9915: 39 is greater than 20
! 9916: *******************
! 9917:
! 9918:
! 9919: *** Nested WHILEs ***
! 9920: Each array variable should be equal to the sum of its indices:
! 9921: ${test00}[0] = 0
! 9922: ${test00}[1] = 1
! 9923: ${test00}[2] = 2
! 9924: ${test01}[0] = 1
! 9925: ${test01}[1] = 2
! 9926: ${test01}[2] = 3
! 9927: ${test02}[0] = 2
! 9928: ${test02}[1] = 3
! 9929: ${test02}[2] = 4
! 9930: ${test10}[0] = 1
! 9931: ${test10}[1] = 2
! 9932: ${test10}[2] = 3
! 9933: ${test11}[0] = 2
! 9934: ${test11}[1] = 3
! 9935: ${test11}[2] = 4
! 9936: ${test12}[0] = 3
! 9937: ${test12}[1] = 4
! 9938: ${test12}[2] = 5
! 9939: ${test20}[0] = 2
! 9940: ${test20}[1] = 3
! 9941: ${test20}[2] = 4
! 9942: ${test21}[0] = 3
! 9943: ${test21}[1] = 4
! 9944: ${test21}[2] = 5
! 9945: ${test22}[0] = 4
! 9946: ${test22}[1] = 5
! 9947: ${test22}[2] = 6
! 9948: *********************
! 9949:
! 9950: *** hash test... ***
! 9951: commented out...
! 9952: **************************
! 9953:
! 9954: *** Hash resizing test ***
! 9955: ba
! 9956: baa
! 9957: baaa
! 9958: baaaa
! 9959: baaaaa
! 9960: baaaaaa
! 9961: baaaaaaa
! 9962: baaaaaaaa
! 9963: baaaaaaaaa
! 9964: baaaaaaaaaa
! 9965: ba
! 9966: 10
! 9967: baa
! 9968: 9
! 9969: baaa
! 9970: 8
! 9971: baaaa
! 9972: 7
! 9973: baaaaa
! 9974: 6
! 9975: baaaaaa
! 9976: 5
! 9977: baaaaaaa
! 9978: 4
! 9979: baaaaaaaa
! 9980: 3
! 9981: baaaaaaaaa
! 9982: 2
! 9983: baaaaaaaaaa
! 9984: 1
! 9985: **************************
! 9986:
! 9987:
! 9988: *** break/continue test ***
! 9989: $i should go from 0 to 2
! 9990: $j should go from 3 to 4, and $q should go from 3 to 4
! 9991: $j=3
! 9992: $q=3
! 9993: $q=4
! 9994: $j=4
! 9995: $q=3
! 9996: $q=4
! 9997: $j should go from 0 to 2
! 9998: $j=0
! 9999: $j=1
! 10000: $j=2
! 10001: $k should go from 0 to 2
! 10002: $k=0
! 10003: $k=1
! 10004: $k=2
! 10005: $i=0
! 10006: $j should go from 3 to 4, and $q should go from 3 to 4
! 10007: $j=3
! 10008: $q=3
! 10009: $q=4
! 10010: $j=4
! 10011: $q=3
! 10012: $q=4
! 10013: $j should go from 0 to 2
! 10014: $j=0
! 10015: $j=1
! 10016: $j=2
! 10017: $k should go from 0 to 2
! 10018: $k=0
! 10019: $k=1
! 10020: $k=2
! 10021: $i=1
! 10022: $j should go from 3 to 4, and $q should go from 3 to 4
! 10023: $j=3
! 10024: $q=3
! 10025: $q=4
! 10026: $j=4
! 10027: $q=3
! 10028: $q=4
! 10029: $j should go from 0 to 2
! 10030: $j=0
! 10031: $j=1
! 10032: $j=2
! 10033: $k should go from 0 to 2
! 10034: $k=0
! 10035: $k=1
! 10036: $k=2
! 10037: $i=2
! 10038: ***********************
! 10039:
! 10040: *** Nested file include test ***
! 10041: <html>
! 10042: This is Finish.phtml. This file is supposed to be included
! 10043: from regression_test.phtml. This is normal HTML.
! 10044: and this is PHP code, 2+2=4
! 10045: </html>
! 10046: ********************************
! 10047:
! 10048: Tests completed.
! 10049: <html>
! 10050: <head>
! 10051: *** Testing assignments and variable aliasing: ***
! 10052: This should read "blah": blah
! 10053: This should read "this is nifty": this is nifty
! 10054: *************************************************
! 10055:
! 10056: *** Testing integer operators ***
! 10057: Correct result - 8: 8
! 10058: Correct result - 8: 8
! 10059: Correct result - 2: 2
! 10060: Correct result - -2: -2
! 10061: Correct result - 15: 15
! 10062: Correct result - 15: 15
! 10063: Correct result - 2: 2
! 10064: Correct result - 3: 3
! 10065: *********************************
! 10066:
! 10067: *** Testing real operators ***
! 10068: Correct result - 8: 8
! 10069: Correct result - 8: 8
! 10070: Correct result - 2: 2
! 10071: Correct result - -2: -2
! 10072: Correct result - 15: 15
! 10073: Correct result - 15: 15
! 10074: Correct result - 2: 2
! 10075: Correct result - 3: 3
! 10076: *********************************
! 10077:
! 10078: *** Testing if/elseif/else control ***
! 10079:
! 10080: This works
! 10081: this_still_works
! 10082: should_print
! 10083:
! 10084:
! 10085: *** Seriously nested if's test ***
! 10086: ** spelling correction by kluzz **
! 10087: Only two lines of text should follow:
! 10088: this should be displayed. should be: $i=1, $j=0. is: $i=1, $j=0
! 10089: this is supposed to be displayed. should be: $i=2, $j=4. is: $i=2, $j=4
! 10090: 3 loop iterations should follow:
! 10091: 2 4
! 10092: 3 4
! 10093: 4 4
! 10094: **********************************
! 10095:
! 10096: *** C-style else-if's ***
! 10097: This should be displayed
! 10098: *************************
! 10099:
! 10100: *** WHILE tests ***
! 10101: 0 is smaller than 20
! 10102: 1 is smaller than 20
! 10103: 2 is smaller than 20
! 10104: 3 is smaller than 20
! 10105: 4 is smaller than 20
! 10106: 5 is smaller than 20
! 10107: 6 is smaller than 20
! 10108: 7 is smaller than 20
! 10109: 8 is smaller than 20
! 10110: 9 is smaller than 20
! 10111: 10 is smaller than 20
! 10112: 11 is smaller than 20
! 10113: 12 is smaller than 20
! 10114: 13 is smaller than 20
! 10115: 14 is smaller than 20
! 10116: 15 is smaller than 20
! 10117: 16 is smaller than 20
! 10118: 17 is smaller than 20
! 10119: 18 is smaller than 20
! 10120: 19 is smaller than 20
! 10121: 20 equals 20
! 10122: 21 is greater than 20
! 10123: 22 is greater than 20
! 10124: 23 is greater than 20
! 10125: 24 is greater than 20
! 10126: 25 is greater than 20
! 10127: 26 is greater than 20
! 10128: 27 is greater than 20
! 10129: 28 is greater than 20
! 10130: 29 is greater than 20
! 10131: 30 is greater than 20
! 10132: 31 is greater than 20
! 10133: 32 is greater than 20
! 10134: 33 is greater than 20
! 10135: 34 is greater than 20
! 10136: 35 is greater than 20
! 10137: 36 is greater than 20
! 10138: 37 is greater than 20
! 10139: 38 is greater than 20
! 10140: 39 is greater than 20
! 10141: *******************
! 10142:
! 10143:
! 10144: *** Nested WHILEs ***
! 10145: Each array variable should be equal to the sum of its indices:
! 10146: ${test00}[0] = 0
! 10147: ${test00}[1] = 1
! 10148: ${test00}[2] = 2
! 10149: ${test01}[0] = 1
! 10150: ${test01}[1] = 2
! 10151: ${test01}[2] = 3
! 10152: ${test02}[0] = 2
! 10153: ${test02}[1] = 3
! 10154: ${test02}[2] = 4
! 10155: ${test10}[0] = 1
! 10156: ${test10}[1] = 2
! 10157: ${test10}[2] = 3
! 10158: ${test11}[0] = 2
! 10159: ${test11}[1] = 3
! 10160: ${test11}[2] = 4
! 10161: ${test12}[0] = 3
! 10162: ${test12}[1] = 4
! 10163: ${test12}[2] = 5
! 10164: ${test20}[0] = 2
! 10165: ${test20}[1] = 3
! 10166: ${test20}[2] = 4
! 10167: ${test21}[0] = 3
! 10168: ${test21}[1] = 4
! 10169: ${test21}[2] = 5
! 10170: ${test22}[0] = 4
! 10171: ${test22}[1] = 5
! 10172: ${test22}[2] = 6
! 10173: *********************
! 10174:
! 10175: *** hash test... ***
! 10176: commented out...
! 10177: **************************
! 10178:
! 10179: *** Hash resizing test ***
! 10180: ba
! 10181: baa
! 10182: baaa
! 10183: baaaa
! 10184: baaaaa
! 10185: baaaaaa
! 10186: baaaaaaa
! 10187: baaaaaaaa
! 10188: baaaaaaaaa
! 10189: baaaaaaaaaa
! 10190: ba
! 10191: 10
! 10192: baa
! 10193: 9
! 10194: baaa
! 10195: 8
! 10196: baaaa
! 10197: 7
! 10198: baaaaa
! 10199: 6
! 10200: baaaaaa
! 10201: 5
! 10202: baaaaaaa
! 10203: 4
! 10204: baaaaaaaa
! 10205: 3
! 10206: baaaaaaaaa
! 10207: 2
! 10208: baaaaaaaaaa
! 10209: 1
! 10210: **************************
! 10211:
! 10212:
! 10213: *** break/continue test ***
! 10214: $i should go from 0 to 2
! 10215: $j should go from 3 to 4, and $q should go from 3 to 4
! 10216: $j=3
! 10217: $q=3
! 10218: $q=4
! 10219: $j=4
! 10220: $q=3
! 10221: $q=4
! 10222: $j should go from 0 to 2
! 10223: $j=0
! 10224: $j=1
! 10225: $j=2
! 10226: $k should go from 0 to 2
! 10227: $k=0
! 10228: $k=1
! 10229: $k=2
! 10230: $i=0
! 10231: $j should go from 3 to 4, and $q should go from 3 to 4
! 10232: $j=3
! 10233: $q=3
! 10234: $q=4
! 10235: $j=4
! 10236: $q=3
! 10237: $q=4
! 10238: $j should go from 0 to 2
! 10239: $j=0
! 10240: $j=1
! 10241: $j=2
! 10242: $k should go from 0 to 2
! 10243: $k=0
! 10244: $k=1
! 10245: $k=2
! 10246: $i=1
! 10247: $j should go from 3 to 4, and $q should go from 3 to 4
! 10248: $j=3
! 10249: $q=3
! 10250: $q=4
! 10251: $j=4
! 10252: $q=3
! 10253: $q=4
! 10254: $j should go from 0 to 2
! 10255: $j=0
! 10256: $j=1
! 10257: $j=2
! 10258: $k should go from 0 to 2
! 10259: $k=0
! 10260: $k=1
! 10261: $k=2
! 10262: $i=2
! 10263: ***********************
! 10264:
! 10265: *** Nested file include test ***
! 10266: <html>
! 10267: This is Finish.phtml. This file is supposed to be included
! 10268: from regression_test.phtml. This is normal HTML.
! 10269: and this is PHP code, 2+2=4
! 10270: </html>
! 10271: ********************************
! 10272:
! 10273: Tests completed.
! 10274: <html>
! 10275: <head>
! 10276: *** Testing assignments and variable aliasing: ***
! 10277: This should read "blah": blah
! 10278: This should read "this is nifty": this is nifty
! 10279: *************************************************
! 10280:
! 10281: *** Testing integer operators ***
! 10282: Correct result - 8: 8
! 10283: Correct result - 8: 8
! 10284: Correct result - 2: 2
! 10285: Correct result - -2: -2
! 10286: Correct result - 15: 15
! 10287: Correct result - 15: 15
! 10288: Correct result - 2: 2
! 10289: Correct result - 3: 3
! 10290: *********************************
! 10291:
! 10292: *** Testing real operators ***
! 10293: Correct result - 8: 8
! 10294: Correct result - 8: 8
! 10295: Correct result - 2: 2
! 10296: Correct result - -2: -2
! 10297: Correct result - 15: 15
! 10298: Correct result - 15: 15
! 10299: Correct result - 2: 2
! 10300: Correct result - 3: 3
! 10301: *********************************
! 10302:
! 10303: *** Testing if/elseif/else control ***
! 10304:
! 10305: This works
! 10306: this_still_works
! 10307: should_print
! 10308:
! 10309:
! 10310: *** Seriously nested if's test ***
! 10311: ** spelling correction by kluzz **
! 10312: Only two lines of text should follow:
! 10313: this should be displayed. should be: $i=1, $j=0. is: $i=1, $j=0
! 10314: this is supposed to be displayed. should be: $i=2, $j=4. is: $i=2, $j=4
! 10315: 3 loop iterations should follow:
! 10316: 2 4
! 10317: 3 4
! 10318: 4 4
! 10319: **********************************
! 10320:
! 10321: *** C-style else-if's ***
! 10322: This should be displayed
! 10323: *************************
! 10324:
! 10325: *** WHILE tests ***
! 10326: 0 is smaller than 20
! 10327: 1 is smaller than 20
! 10328: 2 is smaller than 20
! 10329: 3 is smaller than 20
! 10330: 4 is smaller than 20
! 10331: 5 is smaller than 20
! 10332: 6 is smaller than 20
! 10333: 7 is smaller than 20
! 10334: 8 is smaller than 20
! 10335: 9 is smaller than 20
! 10336: 10 is smaller than 20
! 10337: 11 is smaller than 20
! 10338: 12 is smaller than 20
! 10339: 13 is smaller than 20
! 10340: 14 is smaller than 20
! 10341: 15 is smaller than 20
! 10342: 16 is smaller than 20
! 10343: 17 is smaller than 20
! 10344: 18 is smaller than 20
! 10345: 19 is smaller than 20
! 10346: 20 equals 20
! 10347: 21 is greater than 20
! 10348: 22 is greater than 20
! 10349: 23 is greater than 20
! 10350: 24 is greater than 20
! 10351: 25 is greater than 20
! 10352: 26 is greater than 20
! 10353: 27 is greater than 20
! 10354: 28 is greater than 20
! 10355: 29 is greater than 20
! 10356: 30 is greater than 20
! 10357: 31 is greater than 20
! 10358: 32 is greater than 20
! 10359: 33 is greater than 20
! 10360: 34 is greater than 20
! 10361: 35 is greater than 20
! 10362: 36 is greater than 20
! 10363: 37 is greater than 20
! 10364: 38 is greater than 20
! 10365: 39 is greater than 20
! 10366: *******************
! 10367:
! 10368:
! 10369: *** Nested WHILEs ***
! 10370: Each array variable should be equal to the sum of its indices:
! 10371: ${test00}[0] = 0
! 10372: ${test00}[1] = 1
! 10373: ${test00}[2] = 2
! 10374: ${test01}[0] = 1
! 10375: ${test01}[1] = 2
! 10376: ${test01}[2] = 3
! 10377: ${test02}[0] = 2
! 10378: ${test02}[1] = 3
! 10379: ${test02}[2] = 4
! 10380: ${test10}[0] = 1
! 10381: ${test10}[1] = 2
! 10382: ${test10}[2] = 3
! 10383: ${test11}[0] = 2
! 10384: ${test11}[1] = 3
! 10385: ${test11}[2] = 4
! 10386: ${test12}[0] = 3
! 10387: ${test12}[1] = 4
! 10388: ${test12}[2] = 5
! 10389: ${test20}[0] = 2
! 10390: ${test20}[1] = 3
! 10391: ${test20}[2] = 4
! 10392: ${test21}[0] = 3
! 10393: ${test21}[1] = 4
! 10394: ${test21}[2] = 5
! 10395: ${test22}[0] = 4
! 10396: ${test22}[1] = 5
! 10397: ${test22}[2] = 6
! 10398: *********************
! 10399:
! 10400: *** hash test... ***
! 10401: commented out...
! 10402: **************************
! 10403:
! 10404: *** Hash resizing test ***
! 10405: ba
! 10406: baa
! 10407: baaa
! 10408: baaaa
! 10409: baaaaa
! 10410: baaaaaa
! 10411: baaaaaaa
! 10412: baaaaaaaa
! 10413: baaaaaaaaa
! 10414: baaaaaaaaaa
! 10415: ba
! 10416: 10
! 10417: baa
! 10418: 9
! 10419: baaa
! 10420: 8
! 10421: baaaa
! 10422: 7
! 10423: baaaaa
! 10424: 6
! 10425: baaaaaa
! 10426: 5
! 10427: baaaaaaa
! 10428: 4
! 10429: baaaaaaaa
! 10430: 3
! 10431: baaaaaaaaa
! 10432: 2
! 10433: baaaaaaaaaa
! 10434: 1
! 10435: **************************
! 10436:
! 10437:
! 10438: *** break/continue test ***
! 10439: $i should go from 0 to 2
! 10440: $j should go from 3 to 4, and $q should go from 3 to 4
! 10441: $j=3
! 10442: $q=3
! 10443: $q=4
! 10444: $j=4
! 10445: $q=3
! 10446: $q=4
! 10447: $j should go from 0 to 2
! 10448: $j=0
! 10449: $j=1
! 10450: $j=2
! 10451: $k should go from 0 to 2
! 10452: $k=0
! 10453: $k=1
! 10454: $k=2
! 10455: $i=0
! 10456: $j should go from 3 to 4, and $q should go from 3 to 4
! 10457: $j=3
! 10458: $q=3
! 10459: $q=4
! 10460: $j=4
! 10461: $q=3
! 10462: $q=4
! 10463: $j should go from 0 to 2
! 10464: $j=0
! 10465: $j=1
! 10466: $j=2
! 10467: $k should go from 0 to 2
! 10468: $k=0
! 10469: $k=1
! 10470: $k=2
! 10471: $i=1
! 10472: $j should go from 3 to 4, and $q should go from 3 to 4
! 10473: $j=3
! 10474: $q=3
! 10475: $q=4
! 10476: $j=4
! 10477: $q=3
! 10478: $q=4
! 10479: $j should go from 0 to 2
! 10480: $j=0
! 10481: $j=1
! 10482: $j=2
! 10483: $k should go from 0 to 2
! 10484: $k=0
! 10485: $k=1
! 10486: $k=2
! 10487: $i=2
! 10488: ***********************
! 10489:
! 10490: *** Nested file include test ***
! 10491: <html>
! 10492: This is Finish.phtml. This file is supposed to be included
! 10493: from regression_test.phtml. This is normal HTML.
! 10494: and this is PHP code, 2+2=4
! 10495: </html>
! 10496: ********************************
! 10497:
! 10498: Tests completed.
! 10499: <html>
! 10500: <head>
! 10501: *** Testing assignments and variable aliasing: ***
! 10502: This should read "blah": blah
! 10503: This should read "this is nifty": this is nifty
! 10504: *************************************************
! 10505:
! 10506: *** Testing integer operators ***
! 10507: Correct result - 8: 8
! 10508: Correct result - 8: 8
! 10509: Correct result - 2: 2
! 10510: Correct result - -2: -2
! 10511: Correct result - 15: 15
! 10512: Correct result - 15: 15
! 10513: Correct result - 2: 2
! 10514: Correct result - 3: 3
! 10515: *********************************
! 10516:
! 10517: *** Testing real operators ***
! 10518: Correct result - 8: 8
! 10519: Correct result - 8: 8
! 10520: Correct result - 2: 2
! 10521: Correct result - -2: -2
! 10522: Correct result - 15: 15
! 10523: Correct result - 15: 15
! 10524: Correct result - 2: 2
! 10525: Correct result - 3: 3
! 10526: *********************************
! 10527:
! 10528: *** Testing if/elseif/else control ***
! 10529:
! 10530: This works
! 10531: this_still_works
! 10532: should_print
! 10533:
! 10534:
! 10535: *** Seriously nested if's test ***
! 10536: ** spelling correction by kluzz **
! 10537: Only two lines of text should follow:
! 10538: this should be displayed. should be: $i=1, $j=0. is: $i=1, $j=0
! 10539: this is supposed to be displayed. should be: $i=2, $j=4. is: $i=2, $j=4
! 10540: 3 loop iterations should follow:
! 10541: 2 4
! 10542: 3 4
! 10543: 4 4
! 10544: **********************************
! 10545:
! 10546: *** C-style else-if's ***
! 10547: This should be displayed
! 10548: *************************
! 10549:
! 10550: *** WHILE tests ***
! 10551: 0 is smaller than 20
! 10552: 1 is smaller than 20
! 10553: 2 is smaller than 20
! 10554: 3 is smaller than 20
! 10555: 4 is smaller than 20
! 10556: 5 is smaller than 20
! 10557: 6 is smaller than 20
! 10558: 7 is smaller than 20
! 10559: 8 is smaller than 20
! 10560: 9 is smaller than 20
! 10561: 10 is smaller than 20
! 10562: 11 is smaller than 20
! 10563: 12 is smaller than 20
! 10564: 13 is smaller than 20
! 10565: 14 is smaller than 20
! 10566: 15 is smaller than 20
! 10567: 16 is smaller than 20
! 10568: 17 is smaller than 20
! 10569: 18 is smaller than 20
! 10570: 19 is smaller than 20
! 10571: 20 equals 20
! 10572: 21 is greater than 20
! 10573: 22 is greater than 20
! 10574: 23 is greater than 20
! 10575: 24 is greater than 20
! 10576: 25 is greater than 20
! 10577: 26 is greater than 20
! 10578: 27 is greater than 20
! 10579: 28 is greater than 20
! 10580: 29 is greater than 20
! 10581: 30 is greater than 20
! 10582: 31 is greater than 20
! 10583: 32 is greater than 20
! 10584: 33 is greater than 20
! 10585: 34 is greater than 20
! 10586: 35 is greater than 20
! 10587: 36 is greater than 20
! 10588: 37 is greater than 20
! 10589: 38 is greater than 20
! 10590: 39 is greater than 20
! 10591: *******************
! 10592:
! 10593:
! 10594: *** Nested WHILEs ***
! 10595: Each array variable should be equal to the sum of its indices:
! 10596: ${test00}[0] = 0
! 10597: ${test00}[1] = 1
! 10598: ${test00}[2] = 2
! 10599: ${test01}[0] = 1
! 10600: ${test01}[1] = 2
! 10601: ${test01}[2] = 3
! 10602: ${test02}[0] = 2
! 10603: ${test02}[1] = 3
! 10604: ${test02}[2] = 4
! 10605: ${test10}[0] = 1
! 10606: ${test10}[1] = 2
! 10607: ${test10}[2] = 3
! 10608: ${test11}[0] = 2
! 10609: ${test11}[1] = 3
! 10610: ${test11}[2] = 4
! 10611: ${test12}[0] = 3
! 10612: ${test12}[1] = 4
! 10613: ${test12}[2] = 5
! 10614: ${test20}[0] = 2
! 10615: ${test20}[1] = 3
! 10616: ${test20}[2] = 4
! 10617: ${test21}[0] = 3
! 10618: ${test21}[1] = 4
! 10619: ${test21}[2] = 5
! 10620: ${test22}[0] = 4
! 10621: ${test22}[1] = 5
! 10622: ${test22}[2] = 6
! 10623: *********************
! 10624:
! 10625: *** hash test... ***
! 10626: commented out...
! 10627: **************************
! 10628:
! 10629: *** Hash resizing test ***
! 10630: ba
! 10631: baa
! 10632: baaa
! 10633: baaaa
! 10634: baaaaa
! 10635: baaaaaa
! 10636: baaaaaaa
! 10637: baaaaaaaa
! 10638: baaaaaaaaa
! 10639: baaaaaaaaaa
! 10640: ba
! 10641: 10
! 10642: baa
! 10643: 9
! 10644: baaa
! 10645: 8
! 10646: baaaa
! 10647: 7
! 10648: baaaaa
! 10649: 6
! 10650: baaaaaa
! 10651: 5
! 10652: baaaaaaa
! 10653: 4
! 10654: baaaaaaaa
! 10655: 3
! 10656: baaaaaaaaa
! 10657: 2
! 10658: baaaaaaaaaa
! 10659: 1
! 10660: **************************
! 10661:
! 10662:
! 10663: *** break/continue test ***
! 10664: $i should go from 0 to 2
! 10665: $j should go from 3 to 4, and $q should go from 3 to 4
! 10666: $j=3
! 10667: $q=3
! 10668: $q=4
! 10669: $j=4
! 10670: $q=3
! 10671: $q=4
! 10672: $j should go from 0 to 2
! 10673: $j=0
! 10674: $j=1
! 10675: $j=2
! 10676: $k should go from 0 to 2
! 10677: $k=0
! 10678: $k=1
! 10679: $k=2
! 10680: $i=0
! 10681: $j should go from 3 to 4, and $q should go from 3 to 4
! 10682: $j=3
! 10683: $q=3
! 10684: $q=4
! 10685: $j=4
! 10686: $q=3
! 10687: $q=4
! 10688: $j should go from 0 to 2
! 10689: $j=0
! 10690: $j=1
! 10691: $j=2
! 10692: $k should go from 0 to 2
! 10693: $k=0
! 10694: $k=1
! 10695: $k=2
! 10696: $i=1
! 10697: $j should go from 3 to 4, and $q should go from 3 to 4
! 10698: $j=3
! 10699: $q=3
! 10700: $q=4
! 10701: $j=4
! 10702: $q=3
! 10703: $q=4
! 10704: $j should go from 0 to 2
! 10705: $j=0
! 10706: $j=1
! 10707: $j=2
! 10708: $k should go from 0 to 2
! 10709: $k=0
! 10710: $k=1
! 10711: $k=2
! 10712: $i=2
! 10713: ***********************
! 10714:
! 10715: *** Nested file include test ***
! 10716: <html>
! 10717: This is Finish.phtml. This file is supposed to be included
! 10718: from regression_test.phtml. This is normal HTML.
! 10719: and this is PHP code, 2+2=4
! 10720: </html>
! 10721: ********************************
! 10722:
! 10723: Tests completed.
! 10724: <html>
! 10725: <head>
! 10726: *** Testing assignments and variable aliasing: ***
! 10727: This should read "blah": blah
! 10728: This should read "this is nifty": this is nifty
! 10729: *************************************************
! 10730:
! 10731: *** Testing integer operators ***
! 10732: Correct result - 8: 8
! 10733: Correct result - 8: 8
! 10734: Correct result - 2: 2
! 10735: Correct result - -2: -2
! 10736: Correct result - 15: 15
! 10737: Correct result - 15: 15
! 10738: Correct result - 2: 2
! 10739: Correct result - 3: 3
! 10740: *********************************
! 10741:
! 10742: *** Testing real operators ***
! 10743: Correct result - 8: 8
! 10744: Correct result - 8: 8
! 10745: Correct result - 2: 2
! 10746: Correct result - -2: -2
! 10747: Correct result - 15: 15
! 10748: Correct result - 15: 15
! 10749: Correct result - 2: 2
! 10750: Correct result - 3: 3
! 10751: *********************************
! 10752:
! 10753: *** Testing if/elseif/else control ***
! 10754:
! 10755: This works
! 10756: this_still_works
! 10757: should_print
! 10758:
! 10759:
! 10760: *** Seriously nested if's test ***
! 10761: ** spelling correction by kluzz **
! 10762: Only two lines of text should follow:
! 10763: this should be displayed. should be: $i=1, $j=0. is: $i=1, $j=0
! 10764: this is supposed to be displayed. should be: $i=2, $j=4. is: $i=2, $j=4
! 10765: 3 loop iterations should follow:
! 10766: 2 4
! 10767: 3 4
! 10768: 4 4
! 10769: **********************************
! 10770:
! 10771: *** C-style else-if's ***
! 10772: This should be displayed
! 10773: *************************
! 10774:
! 10775: *** WHILE tests ***
! 10776: 0 is smaller than 20
! 10777: 1 is smaller than 20
! 10778: 2 is smaller than 20
! 10779: 3 is smaller than 20
! 10780: 4 is smaller than 20
! 10781: 5 is smaller than 20
! 10782: 6 is smaller than 20
! 10783: 7 is smaller than 20
! 10784: 8 is smaller than 20
! 10785: 9 is smaller than 20
! 10786: 10 is smaller than 20
! 10787: 11 is smaller than 20
! 10788: 12 is smaller than 20
! 10789: 13 is smaller than 20
! 10790: 14 is smaller than 20
! 10791: 15 is smaller than 20
! 10792: 16 is smaller than 20
! 10793: 17 is smaller than 20
! 10794: 18 is smaller than 20
! 10795: 19 is smaller than 20
! 10796: 20 equals 20
! 10797: 21 is greater than 20
! 10798: 22 is greater than 20
! 10799: 23 is greater than 20
! 10800: 24 is greater than 20
! 10801: 25 is greater than 20
! 10802: 26 is greater than 20
! 10803: 27 is greater than 20
! 10804: 28 is greater than 20
! 10805: 29 is greater than 20
! 10806: 30 is greater than 20
! 10807: 31 is greater than 20
! 10808: 32 is greater than 20
! 10809: 33 is greater than 20
! 10810: 34 is greater than 20
! 10811: 35 is greater than 20
! 10812: 36 is greater than 20
! 10813: 37 is greater than 20
! 10814: 38 is greater than 20
! 10815: 39 is greater than 20
! 10816: *******************
! 10817:
! 10818:
! 10819: *** Nested WHILEs ***
! 10820: Each array variable should be equal to the sum of its indices:
! 10821: ${test00}[0] = 0
! 10822: ${test00}[1] = 1
! 10823: ${test00}[2] = 2
! 10824: ${test01}[0] = 1
! 10825: ${test01}[1] = 2
! 10826: ${test01}[2] = 3
! 10827: ${test02}[0] = 2
! 10828: ${test02}[1] = 3
! 10829: ${test02}[2] = 4
! 10830: ${test10}[0] = 1
! 10831: ${test10}[1] = 2
! 10832: ${test10}[2] = 3
! 10833: ${test11}[0] = 2
! 10834: ${test11}[1] = 3
! 10835: ${test11}[2] = 4
! 10836: ${test12}[0] = 3
! 10837: ${test12}[1] = 4
! 10838: ${test12}[2] = 5
! 10839: ${test20}[0] = 2
! 10840: ${test20}[1] = 3
! 10841: ${test20}[2] = 4
! 10842: ${test21}[0] = 3
! 10843: ${test21}[1] = 4
! 10844: ${test21}[2] = 5
! 10845: ${test22}[0] = 4
! 10846: ${test22}[1] = 5
! 10847: ${test22}[2] = 6
! 10848: *********************
! 10849:
! 10850: *** hash test... ***
! 10851: commented out...
! 10852: **************************
! 10853:
! 10854: *** Hash resizing test ***
! 10855: ba
! 10856: baa
! 10857: baaa
! 10858: baaaa
! 10859: baaaaa
! 10860: baaaaaa
! 10861: baaaaaaa
! 10862: baaaaaaaa
! 10863: baaaaaaaaa
! 10864: baaaaaaaaaa
! 10865: ba
! 10866: 10
! 10867: baa
! 10868: 9
! 10869: baaa
! 10870: 8
! 10871: baaaa
! 10872: 7
! 10873: baaaaa
! 10874: 6
! 10875: baaaaaa
! 10876: 5
! 10877: baaaaaaa
! 10878: 4
! 10879: baaaaaaaa
! 10880: 3
! 10881: baaaaaaaaa
! 10882: 2
! 10883: baaaaaaaaaa
! 10884: 1
! 10885: **************************
! 10886:
! 10887:
! 10888: *** break/continue test ***
! 10889: $i should go from 0 to 2
! 10890: $j should go from 3 to 4, and $q should go from 3 to 4
! 10891: $j=3
! 10892: $q=3
! 10893: $q=4
! 10894: $j=4
! 10895: $q=3
! 10896: $q=4
! 10897: $j should go from 0 to 2
! 10898: $j=0
! 10899: $j=1
! 10900: $j=2
! 10901: $k should go from 0 to 2
! 10902: $k=0
! 10903: $k=1
! 10904: $k=2
! 10905: $i=0
! 10906: $j should go from 3 to 4, and $q should go from 3 to 4
! 10907: $j=3
! 10908: $q=3
! 10909: $q=4
! 10910: $j=4
! 10911: $q=3
! 10912: $q=4
! 10913: $j should go from 0 to 2
! 10914: $j=0
! 10915: $j=1
! 10916: $j=2
! 10917: $k should go from 0 to 2
! 10918: $k=0
! 10919: $k=1
! 10920: $k=2
! 10921: $i=1
! 10922: $j should go from 3 to 4, and $q should go from 3 to 4
! 10923: $j=3
! 10924: $q=3
! 10925: $q=4
! 10926: $j=4
! 10927: $q=3
! 10928: $q=4
! 10929: $j should go from 0 to 2
! 10930: $j=0
! 10931: $j=1
! 10932: $j=2
! 10933: $k should go from 0 to 2
! 10934: $k=0
! 10935: $k=1
! 10936: $k=2
! 10937: $i=2
! 10938: ***********************
! 10939:
! 10940: *** Nested file include test ***
! 10941: <html>
! 10942: This is Finish.phtml. This file is supposed to be included
! 10943: from regression_test.phtml. This is normal HTML.
! 10944: and this is PHP code, 2+2=4
! 10945: </html>
! 10946: ********************************
! 10947:
! 10948: Tests completed.
! 10949: <html>
! 10950: <head>
! 10951: *** Testing assignments and variable aliasing: ***
! 10952: This should read "blah": blah
! 10953: This should read "this is nifty": this is nifty
! 10954: *************************************************
! 10955:
! 10956: *** Testing integer operators ***
! 10957: Correct result - 8: 8
! 10958: Correct result - 8: 8
! 10959: Correct result - 2: 2
! 10960: Correct result - -2: -2
! 10961: Correct result - 15: 15
! 10962: Correct result - 15: 15
! 10963: Correct result - 2: 2
! 10964: Correct result - 3: 3
! 10965: *********************************
! 10966:
! 10967: *** Testing real operators ***
! 10968: Correct result - 8: 8
! 10969: Correct result - 8: 8
! 10970: Correct result - 2: 2
! 10971: Correct result - -2: -2
! 10972: Correct result - 15: 15
! 10973: Correct result - 15: 15
! 10974: Correct result - 2: 2
! 10975: Correct result - 3: 3
! 10976: *********************************
! 10977:
! 10978: *** Testing if/elseif/else control ***
! 10979:
! 10980: This works
! 10981: this_still_works
! 10982: should_print
! 10983:
! 10984:
! 10985: *** Seriously nested if's test ***
! 10986: ** spelling correction by kluzz **
! 10987: Only two lines of text should follow:
! 10988: this should be displayed. should be: $i=1, $j=0. is: $i=1, $j=0
! 10989: this is supposed to be displayed. should be: $i=2, $j=4. is: $i=2, $j=4
! 10990: 3 loop iterations should follow:
! 10991: 2 4
! 10992: 3 4
! 10993: 4 4
! 10994: **********************************
! 10995:
! 10996: *** C-style else-if's ***
! 10997: This should be displayed
! 10998: *************************
! 10999:
! 11000: *** WHILE tests ***
! 11001: 0 is smaller than 20
! 11002: 1 is smaller than 20
! 11003: 2 is smaller than 20
! 11004: 3 is smaller than 20
! 11005: 4 is smaller than 20
! 11006: 5 is smaller than 20
! 11007: 6 is smaller than 20
! 11008: 7 is smaller than 20
! 11009: 8 is smaller than 20
! 11010: 9 is smaller than 20
! 11011: 10 is smaller than 20
! 11012: 11 is smaller than 20
! 11013: 12 is smaller than 20
! 11014: 13 is smaller than 20
! 11015: 14 is smaller than 20
! 11016: 15 is smaller than 20
! 11017: 16 is smaller than 20
! 11018: 17 is smaller than 20
! 11019: 18 is smaller than 20
! 11020: 19 is smaller than 20
! 11021: 20 equals 20
! 11022: 21 is greater than 20
! 11023: 22 is greater than 20
! 11024: 23 is greater than 20
! 11025: 24 is greater than 20
! 11026: 25 is greater than 20
! 11027: 26 is greater than 20
! 11028: 27 is greater than 20
! 11029: 28 is greater than 20
! 11030: 29 is greater than 20
! 11031: 30 is greater than 20
! 11032: 31 is greater than 20
! 11033: 32 is greater than 20
! 11034: 33 is greater than 20
! 11035: 34 is greater than 20
! 11036: 35 is greater than 20
! 11037: 36 is greater than 20
! 11038: 37 is greater than 20
! 11039: 38 is greater than 20
! 11040: 39 is greater than 20
! 11041: *******************
! 11042:
! 11043:
! 11044: *** Nested WHILEs ***
! 11045: Each array variable should be equal to the sum of its indices:
! 11046: ${test00}[0] = 0
! 11047: ${test00}[1] = 1
! 11048: ${test00}[2] = 2
! 11049: ${test01}[0] = 1
! 11050: ${test01}[1] = 2
! 11051: ${test01}[2] = 3
! 11052: ${test02}[0] = 2
! 11053: ${test02}[1] = 3
! 11054: ${test02}[2] = 4
! 11055: ${test10}[0] = 1
! 11056: ${test10}[1] = 2
! 11057: ${test10}[2] = 3
! 11058: ${test11}[0] = 2
! 11059: ${test11}[1] = 3
! 11060: ${test11}[2] = 4
! 11061: ${test12}[0] = 3
! 11062: ${test12}[1] = 4
! 11063: ${test12}[2] = 5
! 11064: ${test20}[0] = 2
! 11065: ${test20}[1] = 3
! 11066: ${test20}[2] = 4
! 11067: ${test21}[0] = 3
! 11068: ${test21}[1] = 4
! 11069: ${test21}[2] = 5
! 11070: ${test22}[0] = 4
! 11071: ${test22}[1] = 5
! 11072: ${test22}[2] = 6
! 11073: *********************
! 11074:
! 11075: *** hash test... ***
! 11076: commented out...
! 11077: **************************
! 11078:
! 11079: *** Hash resizing test ***
! 11080: ba
! 11081: baa
! 11082: baaa
! 11083: baaaa
! 11084: baaaaa
! 11085: baaaaaa
! 11086: baaaaaaa
! 11087: baaaaaaaa
! 11088: baaaaaaaaa
! 11089: baaaaaaaaaa
! 11090: ba
! 11091: 10
! 11092: baa
! 11093: 9
! 11094: baaa
! 11095: 8
! 11096: baaaa
! 11097: 7
! 11098: baaaaa
! 11099: 6
! 11100: baaaaaa
! 11101: 5
! 11102: baaaaaaa
! 11103: 4
! 11104: baaaaaaaa
! 11105: 3
! 11106: baaaaaaaaa
! 11107: 2
! 11108: baaaaaaaaaa
! 11109: 1
! 11110: **************************
! 11111:
! 11112:
! 11113: *** break/continue test ***
! 11114: $i should go from 0 to 2
! 11115: $j should go from 3 to 4, and $q should go from 3 to 4
! 11116: $j=3
! 11117: $q=3
! 11118: $q=4
! 11119: $j=4
! 11120: $q=3
! 11121: $q=4
! 11122: $j should go from 0 to 2
! 11123: $j=0
! 11124: $j=1
! 11125: $j=2
! 11126: $k should go from 0 to 2
! 11127: $k=0
! 11128: $k=1
! 11129: $k=2
! 11130: $i=0
! 11131: $j should go from 3 to 4, and $q should go from 3 to 4
! 11132: $j=3
! 11133: $q=3
! 11134: $q=4
! 11135: $j=4
! 11136: $q=3
! 11137: $q=4
! 11138: $j should go from 0 to 2
! 11139: $j=0
! 11140: $j=1
! 11141: $j=2
! 11142: $k should go from 0 to 2
! 11143: $k=0
! 11144: $k=1
! 11145: $k=2
! 11146: $i=1
! 11147: $j should go from 3 to 4, and $q should go from 3 to 4
! 11148: $j=3
! 11149: $q=3
! 11150: $q=4
! 11151: $j=4
! 11152: $q=3
! 11153: $q=4
! 11154: $j should go from 0 to 2
! 11155: $j=0
! 11156: $j=1
! 11157: $j=2
! 11158: $k should go from 0 to 2
! 11159: $k=0
! 11160: $k=1
! 11161: $k=2
! 11162: $i=2
! 11163: ***********************
! 11164:
! 11165: *** Nested file include test ***
! 11166: <html>
! 11167: This is Finish.phtml. This file is supposed to be included
! 11168: from regression_test.phtml. This is normal HTML.
! 11169: and this is PHP code, 2+2=4
! 11170: </html>
! 11171: ********************************
! 11172:
! 11173: Tests completed.
! 11174: <html>
! 11175: <head>
! 11176: *** Testing assignments and variable aliasing: ***
! 11177: This should read "blah": blah
! 11178: This should read "this is nifty": this is nifty
! 11179: *************************************************
! 11180:
! 11181: *** Testing integer operators ***
! 11182: Correct result - 8: 8
! 11183: Correct result - 8: 8
! 11184: Correct result - 2: 2
! 11185: Correct result - -2: -2
! 11186: Correct result - 15: 15
! 11187: Correct result - 15: 15
! 11188: Correct result - 2: 2
! 11189: Correct result - 3: 3
! 11190: *********************************
! 11191:
! 11192: *** Testing real operators ***
! 11193: Correct result - 8: 8
! 11194: Correct result - 8: 8
! 11195: Correct result - 2: 2
! 11196: Correct result - -2: -2
! 11197: Correct result - 15: 15
! 11198: Correct result - 15: 15
! 11199: Correct result - 2: 2
! 11200: Correct result - 3: 3
! 11201: *********************************
! 11202:
! 11203: *** Testing if/elseif/else control ***
! 11204:
! 11205: This works
! 11206: this_still_works
! 11207: should_print
! 11208:
! 11209:
! 11210: *** Seriously nested if's test ***
! 11211: ** spelling correction by kluzz **
! 11212: Only two lines of text should follow:
! 11213: this should be displayed. should be: $i=1, $j=0. is: $i=1, $j=0
! 11214: this is supposed to be displayed. should be: $i=2, $j=4. is: $i=2, $j=4
! 11215: 3 loop iterations should follow:
! 11216: 2 4
! 11217: 3 4
! 11218: 4 4
! 11219: **********************************
! 11220:
! 11221: *** C-style else-if's ***
! 11222: This should be displayed
! 11223: *************************
! 11224:
! 11225: *** WHILE tests ***
! 11226: 0 is smaller than 20
! 11227: 1 is smaller than 20
! 11228: 2 is smaller than 20
! 11229: 3 is smaller than 20
! 11230: 4 is smaller than 20
! 11231: 5 is smaller than 20
! 11232: 6 is smaller than 20
! 11233: 7 is smaller than 20
! 11234: 8 is smaller than 20
! 11235: 9 is smaller than 20
! 11236: 10 is smaller than 20
! 11237: 11 is smaller than 20
! 11238: 12 is smaller than 20
! 11239: 13 is smaller than 20
! 11240: 14 is smaller than 20
! 11241: 15 is smaller than 20
! 11242: 16 is smaller than 20
! 11243: 17 is smaller than 20
! 11244: 18 is smaller than 20
! 11245: 19 is smaller than 20
! 11246: 20 equals 20
! 11247: 21 is greater than 20
! 11248: 22 is greater than 20
! 11249: 23 is greater than 20
! 11250: 24 is greater than 20
! 11251: 25 is greater than 20
! 11252: 26 is greater than 20
! 11253: 27 is greater than 20
! 11254: 28 is greater than 20
! 11255: 29 is greater than 20
! 11256: 30 is greater than 20
! 11257: 31 is greater than 20
! 11258: 32 is greater than 20
! 11259: 33 is greater than 20
! 11260: 34 is greater than 20
! 11261: 35 is greater than 20
! 11262: 36 is greater than 20
! 11263: 37 is greater than 20
! 11264: 38 is greater than 20
! 11265: 39 is greater than 20
! 11266: *******************
! 11267:
! 11268:
! 11269: *** Nested WHILEs ***
! 11270: Each array variable should be equal to the sum of its indices:
! 11271: ${test00}[0] = 0
! 11272: ${test00}[1] = 1
! 11273: ${test00}[2] = 2
! 11274: ${test01}[0] = 1
! 11275: ${test01}[1] = 2
! 11276: ${test01}[2] = 3
! 11277: ${test02}[0] = 2
! 11278: ${test02}[1] = 3
! 11279: ${test02}[2] = 4
! 11280: ${test10}[0] = 1
! 11281: ${test10}[1] = 2
! 11282: ${test10}[2] = 3
! 11283: ${test11}[0] = 2
! 11284: ${test11}[1] = 3
! 11285: ${test11}[2] = 4
! 11286: ${test12}[0] = 3
! 11287: ${test12}[1] = 4
! 11288: ${test12}[2] = 5
! 11289: ${test20}[0] = 2
! 11290: ${test20}[1] = 3
! 11291: ${test20}[2] = 4
! 11292: ${test21}[0] = 3
! 11293: ${test21}[1] = 4
! 11294: ${test21}[2] = 5
! 11295: ${test22}[0] = 4
! 11296: ${test22}[1] = 5
! 11297: ${test22}[2] = 6
! 11298: *********************
! 11299:
! 11300: *** hash test... ***
! 11301: commented out...
! 11302: **************************
! 11303:
! 11304: *** Hash resizing test ***
! 11305: ba
! 11306: baa
! 11307: baaa
! 11308: baaaa
! 11309: baaaaa
! 11310: baaaaaa
! 11311: baaaaaaa
! 11312: baaaaaaaa
! 11313: baaaaaaaaa
! 11314: baaaaaaaaaa
! 11315: ba
! 11316: 10
! 11317: baa
! 11318: 9
! 11319: baaa
! 11320: 8
! 11321: baaaa
! 11322: 7
! 11323: baaaaa
! 11324: 6
! 11325: baaaaaa
! 11326: 5
! 11327: baaaaaaa
! 11328: 4
! 11329: baaaaaaaa
! 11330: 3
! 11331: baaaaaaaaa
! 11332: 2
! 11333: baaaaaaaaaa
! 11334: 1
! 11335: **************************
! 11336:
! 11337:
! 11338: *** break/continue test ***
! 11339: $i should go from 0 to 2
! 11340: $j should go from 3 to 4, and $q should go from 3 to 4
! 11341: $j=3
! 11342: $q=3
! 11343: $q=4
! 11344: $j=4
! 11345: $q=3
! 11346: $q=4
! 11347: $j should go from 0 to 2
! 11348: $j=0
! 11349: $j=1
! 11350: $j=2
! 11351: $k should go from 0 to 2
! 11352: $k=0
! 11353: $k=1
! 11354: $k=2
! 11355: $i=0
! 11356: $j should go from 3 to 4, and $q should go from 3 to 4
! 11357: $j=3
! 11358: $q=3
! 11359: $q=4
! 11360: $j=4
! 11361: $q=3
! 11362: $q=4
! 11363: $j should go from 0 to 2
! 11364: $j=0
! 11365: $j=1
! 11366: $j=2
! 11367: $k should go from 0 to 2
! 11368: $k=0
! 11369: $k=1
! 11370: $k=2
! 11371: $i=1
! 11372: $j should go from 3 to 4, and $q should go from 3 to 4
! 11373: $j=3
! 11374: $q=3
! 11375: $q=4
! 11376: $j=4
! 11377: $q=3
! 11378: $q=4
! 11379: $j should go from 0 to 2
! 11380: $j=0
! 11381: $j=1
! 11382: $j=2
! 11383: $k should go from 0 to 2
! 11384: $k=0
! 11385: $k=1
! 11386: $k=2
! 11387: $i=2
! 11388: ***********************
! 11389:
! 11390: *** Nested file include test ***
! 11391: <html>
! 11392: This is Finish.phtml. This file is supposed to be included
! 11393: from regression_test.phtml. This is normal HTML.
! 11394: and this is PHP code, 2+2=4
! 11395: </html>
! 11396: ********************************
! 11397:
! 11398: Tests completed.
! 11399: <html>
! 11400: <head>
! 11401: *** Testing assignments and variable aliasing: ***
! 11402: This should read "blah": blah
! 11403: This should read "this is nifty": this is nifty
! 11404: *************************************************
! 11405:
! 11406: *** Testing integer operators ***
! 11407: Correct result - 8: 8
! 11408: Correct result - 8: 8
! 11409: Correct result - 2: 2
! 11410: Correct result - -2: -2
! 11411: Correct result - 15: 15
! 11412: Correct result - 15: 15
! 11413: Correct result - 2: 2
! 11414: Correct result - 3: 3
! 11415: *********************************
! 11416:
! 11417: *** Testing real operators ***
! 11418: Correct result - 8: 8
! 11419: Correct result - 8: 8
! 11420: Correct result - 2: 2
! 11421: Correct result - -2: -2
! 11422: Correct result - 15: 15
! 11423: Correct result - 15: 15
! 11424: Correct result - 2: 2
! 11425: Correct result - 3: 3
! 11426: *********************************
! 11427:
! 11428: *** Testing if/elseif/else control ***
! 11429:
! 11430: This works
! 11431: this_still_works
! 11432: should_print
! 11433:
! 11434:
! 11435: *** Seriously nested if's test ***
! 11436: ** spelling correction by kluzz **
! 11437: Only two lines of text should follow:
! 11438: this should be displayed. should be: $i=1, $j=0. is: $i=1, $j=0
! 11439: this is supposed to be displayed. should be: $i=2, $j=4. is: $i=2, $j=4
! 11440: 3 loop iterations should follow:
! 11441: 2 4
! 11442: 3 4
! 11443: 4 4
! 11444: **********************************
! 11445:
! 11446: *** C-style else-if's ***
! 11447: This should be displayed
! 11448: *************************
! 11449:
! 11450: *** WHILE tests ***
! 11451: 0 is smaller than 20
! 11452: 1 is smaller than 20
! 11453: 2 is smaller than 20
! 11454: 3 is smaller than 20
! 11455: 4 is smaller than 20
! 11456: 5 is smaller than 20
! 11457: 6 is smaller than 20
! 11458: 7 is smaller than 20
! 11459: 8 is smaller than 20
! 11460: 9 is smaller than 20
! 11461: 10 is smaller than 20
! 11462: 11 is smaller than 20
! 11463: 12 is smaller than 20
! 11464: 13 is smaller than 20
! 11465: 14 is smaller than 20
! 11466: 15 is smaller than 20
! 11467: 16 is smaller than 20
! 11468: 17 is smaller than 20
! 11469: 18 is smaller than 20
! 11470: 19 is smaller than 20
! 11471: 20 equals 20
! 11472: 21 is greater than 20
! 11473: 22 is greater than 20
! 11474: 23 is greater than 20
! 11475: 24 is greater than 20
! 11476: 25 is greater than 20
! 11477: 26 is greater than 20
! 11478: 27 is greater than 20
! 11479: 28 is greater than 20
! 11480: 29 is greater than 20
! 11481: 30 is greater than 20
! 11482: 31 is greater than 20
! 11483: 32 is greater than 20
! 11484: 33 is greater than 20
! 11485: 34 is greater than 20
! 11486: 35 is greater than 20
! 11487: 36 is greater than 20
! 11488: 37 is greater than 20
! 11489: 38 is greater than 20
! 11490: 39 is greater than 20
! 11491: *******************
! 11492:
! 11493:
! 11494: *** Nested WHILEs ***
! 11495: Each array variable should be equal to the sum of its indices:
! 11496: ${test00}[0] = 0
! 11497: ${test00}[1] = 1
! 11498: ${test00}[2] = 2
! 11499: ${test01}[0] = 1
! 11500: ${test01}[1] = 2
! 11501: ${test01}[2] = 3
! 11502: ${test02}[0] = 2
! 11503: ${test02}[1] = 3
! 11504: ${test02}[2] = 4
! 11505: ${test10}[0] = 1
! 11506: ${test10}[1] = 2
! 11507: ${test10}[2] = 3
! 11508: ${test11}[0] = 2
! 11509: ${test11}[1] = 3
! 11510: ${test11}[2] = 4
! 11511: ${test12}[0] = 3
! 11512: ${test12}[1] = 4
! 11513: ${test12}[2] = 5
! 11514: ${test20}[0] = 2
! 11515: ${test20}[1] = 3
! 11516: ${test20}[2] = 4
! 11517: ${test21}[0] = 3
! 11518: ${test21}[1] = 4
! 11519: ${test21}[2] = 5
! 11520: ${test22}[0] = 4
! 11521: ${test22}[1] = 5
! 11522: ${test22}[2] = 6
! 11523: *********************
! 11524:
! 11525: *** hash test... ***
! 11526: commented out...
! 11527: **************************
! 11528:
! 11529: *** Hash resizing test ***
! 11530: ba
! 11531: baa
! 11532: baaa
! 11533: baaaa
! 11534: baaaaa
! 11535: baaaaaa
! 11536: baaaaaaa
! 11537: baaaaaaaa
! 11538: baaaaaaaaa
! 11539: baaaaaaaaaa
! 11540: ba
! 11541: 10
! 11542: baa
! 11543: 9
! 11544: baaa
! 11545: 8
! 11546: baaaa
! 11547: 7
! 11548: baaaaa
! 11549: 6
! 11550: baaaaaa
! 11551: 5
! 11552: baaaaaaa
! 11553: 4
! 11554: baaaaaaaa
! 11555: 3
! 11556: baaaaaaaaa
! 11557: 2
! 11558: baaaaaaaaaa
! 11559: 1
! 11560: **************************
! 11561:
! 11562:
! 11563: *** break/continue test ***
! 11564: $i should go from 0 to 2
! 11565: $j should go from 3 to 4, and $q should go from 3 to 4
! 11566: $j=3
! 11567: $q=3
! 11568: $q=4
! 11569: $j=4
! 11570: $q=3
! 11571: $q=4
! 11572: $j should go from 0 to 2
! 11573: $j=0
! 11574: $j=1
! 11575: $j=2
! 11576: $k should go from 0 to 2
! 11577: $k=0
! 11578: $k=1
! 11579: $k=2
! 11580: $i=0
! 11581: $j should go from 3 to 4, and $q should go from 3 to 4
! 11582: $j=3
! 11583: $q=3
! 11584: $q=4
! 11585: $j=4
! 11586: $q=3
! 11587: $q=4
! 11588: $j should go from 0 to 2
! 11589: $j=0
! 11590: $j=1
! 11591: $j=2
! 11592: $k should go from 0 to 2
! 11593: $k=0
! 11594: $k=1
! 11595: $k=2
! 11596: $i=1
! 11597: $j should go from 3 to 4, and $q should go from 3 to 4
! 11598: $j=3
! 11599: $q=3
! 11600: $q=4
! 11601: $j=4
! 11602: $q=3
! 11603: $q=4
! 11604: $j should go from 0 to 2
! 11605: $j=0
! 11606: $j=1
! 11607: $j=2
! 11608: $k should go from 0 to 2
! 11609: $k=0
! 11610: $k=1
! 11611: $k=2
! 11612: $i=2
! 11613: ***********************
! 11614:
! 11615: *** Nested file include test ***
! 11616: <html>
! 11617: This is Finish.phtml. This file is supposed to be included
! 11618: from regression_test.phtml. This is normal HTML.
! 11619: and this is PHP code, 2+2=4
! 11620: </html>
! 11621: ********************************
! 11622:
! 11623: Tests completed.
FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>