From 4f0770f3df78ecd5dcaefbd214f7a1415366bca6 Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Sat, 27 Apr 2024 08:33:51 +0200 Subject: Adding debian version 2.4.56-1~deb11u2. Signed-off-by: Daniel Baumann --- debian/perl-framework/t/php/README | 3 + debian/perl-framework/t/php/add.t | 15 + debian/perl-framework/t/php/all.t | 9 + debian/perl-framework/t/php/arg.t | 34 + debian/perl-framework/t/php/cfunctions.t | 1015 +++ debian/perl-framework/t/php/classes.t | 54 + debian/perl-framework/t/php/construct.t | 66 + debian/perl-framework/t/php/dirname.t | 43 + debian/perl-framework/t/php/divide.t | 15 + debian/perl-framework/t/php/do-while.t | 12 + debian/perl-framework/t/php/else.t | 10 + debian/perl-framework/t/php/elseif.t | 10 + debian/perl-framework/t/php/eval.t | 14 + debian/perl-framework/t/php/eval2.t | 14 + debian/perl-framework/t/php/eval3.t | 35 + debian/perl-framework/t/php/eval4.t | 35 + debian/perl-framework/t/php/func1.t | 15 + debian/perl-framework/t/php/func2.t | 16 + debian/perl-framework/t/php/func3.t | 204 + debian/perl-framework/t/php/func4.t | 42 + debian/perl-framework/t/php/func5.t | 33 + debian/perl-framework/t/php/func6.t | 14 + debian/perl-framework/t/php/getenv.t | 15 + debian/perl-framework/t/php/getlastmod.t | 22 + debian/perl-framework/t/php/globals.t | 10 + debian/perl-framework/t/php/hello.t | 15 + debian/perl-framework/t/php/if.t | 10 + debian/perl-framework/t/php/if2.t | 14 + debian/perl-framework/t/php/ifmodsince.t | 22 + debian/perl-framework/t/php/include.t | 14 + debian/perl-framework/t/php/include2.t | 14 + debian/perl-framework/t/php/inheritance.t | 23 + debian/perl-framework/t/php/lookup.t | 29 + debian/perl-framework/t/php/multiply.t | 15 + debian/perl-framework/t/php/nestif.t | 10 + debian/perl-framework/t/php/ops.t | 15 + debian/perl-framework/t/php/param.t | 10 + debian/perl-framework/t/php/param2.t | 10 + debian/perl-framework/t/php/pathinfo.t | 22 + debian/perl-framework/t/php/recurse.t | 10 + debian/perl-framework/t/php/regression.t | 244 + debian/perl-framework/t/php/regression2.t | 11264 ++++++++++++++++++++++++++++ debian/perl-framework/t/php/regression3.t | 526 ++ debian/perl-framework/t/php/stack.t | 14 + debian/perl-framework/t/php/status.t | 15 + debian/perl-framework/t/php/strings.t | 12 + debian/perl-framework/t/php/strings2.t | 30 + debian/perl-framework/t/php/strings3.t | 55 + debian/perl-framework/t/php/strings4.t | 16 + debian/perl-framework/t/php/subtract.t | 15 + debian/perl-framework/t/php/switch.t | 10 + debian/perl-framework/t/php/switch2.t | 43 + debian/perl-framework/t/php/switch3.t | 22 + debian/perl-framework/t/php/switch4.t | 43 + debian/perl-framework/t/php/umask.t | 19 + debian/perl-framework/t/php/var1.t | 36 + debian/perl-framework/t/php/var2.t | 34 + debian/perl-framework/t/php/var3.t | 35 + debian/perl-framework/t/php/virtual.t | 13 + debian/perl-framework/t/php/while.t | 10 + 60 files changed, 14444 insertions(+) create mode 100644 debian/perl-framework/t/php/README create mode 100644 debian/perl-framework/t/php/add.t create mode 100644 debian/perl-framework/t/php/all.t create mode 100644 debian/perl-framework/t/php/arg.t create mode 100644 debian/perl-framework/t/php/cfunctions.t create mode 100644 debian/perl-framework/t/php/classes.t create mode 100644 debian/perl-framework/t/php/construct.t create mode 100644 debian/perl-framework/t/php/dirname.t create mode 100644 debian/perl-framework/t/php/divide.t create mode 100644 debian/perl-framework/t/php/do-while.t create mode 100644 debian/perl-framework/t/php/else.t create mode 100644 debian/perl-framework/t/php/elseif.t create mode 100644 debian/perl-framework/t/php/eval.t create mode 100644 debian/perl-framework/t/php/eval2.t create mode 100644 debian/perl-framework/t/php/eval3.t create mode 100644 debian/perl-framework/t/php/eval4.t create mode 100644 debian/perl-framework/t/php/func1.t create mode 100644 debian/perl-framework/t/php/func2.t create mode 100644 debian/perl-framework/t/php/func3.t create mode 100644 debian/perl-framework/t/php/func4.t create mode 100644 debian/perl-framework/t/php/func5.t create mode 100644 debian/perl-framework/t/php/func6.t create mode 100644 debian/perl-framework/t/php/getenv.t create mode 100644 debian/perl-framework/t/php/getlastmod.t create mode 100644 debian/perl-framework/t/php/globals.t create mode 100644 debian/perl-framework/t/php/hello.t create mode 100644 debian/perl-framework/t/php/if.t create mode 100644 debian/perl-framework/t/php/if2.t create mode 100644 debian/perl-framework/t/php/ifmodsince.t create mode 100644 debian/perl-framework/t/php/include.t create mode 100644 debian/perl-framework/t/php/include2.t create mode 100644 debian/perl-framework/t/php/inheritance.t create mode 100644 debian/perl-framework/t/php/lookup.t create mode 100644 debian/perl-framework/t/php/multiply.t create mode 100644 debian/perl-framework/t/php/nestif.t create mode 100644 debian/perl-framework/t/php/ops.t create mode 100644 debian/perl-framework/t/php/param.t create mode 100644 debian/perl-framework/t/php/param2.t create mode 100644 debian/perl-framework/t/php/pathinfo.t create mode 100644 debian/perl-framework/t/php/recurse.t create mode 100644 debian/perl-framework/t/php/regression.t create mode 100644 debian/perl-framework/t/php/regression2.t create mode 100644 debian/perl-framework/t/php/regression3.t create mode 100644 debian/perl-framework/t/php/stack.t create mode 100644 debian/perl-framework/t/php/status.t create mode 100644 debian/perl-framework/t/php/strings.t create mode 100644 debian/perl-framework/t/php/strings2.t create mode 100644 debian/perl-framework/t/php/strings3.t create mode 100644 debian/perl-framework/t/php/strings4.t create mode 100644 debian/perl-framework/t/php/subtract.t create mode 100644 debian/perl-framework/t/php/switch.t create mode 100644 debian/perl-framework/t/php/switch2.t create mode 100644 debian/perl-framework/t/php/switch3.t create mode 100644 debian/perl-framework/t/php/switch4.t create mode 100644 debian/perl-framework/t/php/umask.t create mode 100644 debian/perl-framework/t/php/var1.t create mode 100644 debian/perl-framework/t/php/var2.t create mode 100644 debian/perl-framework/t/php/var3.t create mode 100644 debian/perl-framework/t/php/virtual.t create mode 100644 debian/perl-framework/t/php/while.t (limited to 'debian/perl-framework/t/php') diff --git a/debian/perl-framework/t/php/README b/debian/perl-framework/t/php/README new file mode 100644 index 0000000..506ed74 --- /dev/null +++ b/debian/perl-framework/t/php/README @@ -0,0 +1,3 @@ +These tests were taken from the .phpt files in the 'tests' directory of the PHP source tarball. Some have been changed a bit, but most have been taken straight from the php test files. Credit is due to the author(s) of these tests. +http://www.php.net/ +jsachs@covalent.net diff --git a/debian/perl-framework/t/php/add.t b/debian/perl-framework/t/php/add.t new file mode 100644 index 0000000..646159f --- /dev/null +++ b/debian/perl-framework/t/php/add.t @@ -0,0 +1,15 @@ +use strict; +use warnings FATAL => 'all'; + +use Apache::Test; +use Apache::TestRequest; + +plan tests => 1, need_php; + +## add.php source: +## +## +## result should be '6' (1+2+3=6) + +my $result = GET_BODY "/php/add.php"; +ok $result eq '6'; diff --git a/debian/perl-framework/t/php/all.t b/debian/perl-framework/t/php/all.t new file mode 100644 index 0000000..13171f6 --- /dev/null +++ b/debian/perl-framework/t/php/all.t @@ -0,0 +1,9 @@ +use strict; +use warnings FATAL => 'all'; + +use Apache::Test; + +#skip all tests in this directory unless php4 module is enabled +plan tests => 1, need_php; + +ok 1; diff --git a/debian/perl-framework/t/php/arg.t b/debian/perl-framework/t/php/arg.t new file mode 100644 index 0000000..48bca23 --- /dev/null +++ b/debian/perl-framework/t/php/arg.t @@ -0,0 +1,34 @@ +use strict; +use warnings FATAL => 'all'; + +use Apache::Test; +use Apache::TestRequest; +use Apache::TestUtil; + +plan tests => 1, need_php; + +## arg.php source: +## +## +## result should be ': ' for each arg sent. + +my @testargs = ('foo', 'b@r', 'testarg123-456-fu', 'ARGV', 'hello%20world'); +my ($expected, $testargs) = ('',''); +my $count = 0; + +foreach (@testargs) { + $testargs .= "$_+"; + $expected .= "$count: $_\n"; + $count++; +} +chop($testargs); ## get rid of trailing '+' + +my $result = GET_BODY "/php/arg.php?$testargs"; +ok t_cmp($result, + $expected, + "GET request for /php/arg.php?$testargs" + ); diff --git a/debian/perl-framework/t/php/cfunctions.t b/debian/perl-framework/t/php/cfunctions.t new file mode 100644 index 0000000..3873a8e --- /dev/null +++ b/debian/perl-framework/t/php/cfunctions.t @@ -0,0 +1,1015 @@ +use strict; +use warnings FATAL => 'all'; + +use Apache::Test; +use Apache::TestRequest; + +plan tests => 1, need_php; + +my $expected = < 'all'; + +use Apache::Test; +use Apache::TestRequest; + +plan tests => 1, need_php; + +my $expected = < 'all'; + +use Apache::Test; +use Apache::TestRequest; + +plan tests => 2, need_php4; + +## testing PHP OO bug (#7515) +## php src: +## root->set_in_copied_o=TRUE; +## var_dump($o_copy);?>
root=new obj(); +## +## ob_start(); +## var_dump($o); +## $x=ob_get_contents(); +## ob_end_clean(); +## +## $o->root->method(); +## +## ob_start(); +## var_dump($o); +## $y=ob_get_contents(); +## ob_end_clean(); +## +## // $o->root->method() makes ob_get_contents() have a '&' in front of object +## // so this does not work. +## // echo ($x==$y) ? 'success':'failure'; +## +## echo "x = $x"; +## echo "y = $y"; +## ?> +## +## output should be: +## x = object(stdClass)(1) { +## ["root"]=> +## object(obj)(0) { +## } +## } +## y = object(stdClass)(1) { +## ["root"]=> +## &object(obj)(0) { +## } +## } + +my $result = GET_BODY "/php/construct.php"; + +## get rid of newlines to make compairon easier. +$result =~ s/\n//g; + +my ($x, $y); +if ($result =~ /x = (.*)y = (.*)/) { + $x = $1; + $y = $2; +} + +ok $x eq "object(stdClass)(1) { [\"root\"]=> object(obj)(0) { }}"; +ok $y eq "object(stdClass)(1) { [\"root\"]=> &object(obj)(0) { }}"; diff --git a/debian/perl-framework/t/php/dirname.t b/debian/perl-framework/t/php/dirname.t new file mode 100644 index 0000000..f1f1a9f --- /dev/null +++ b/debian/perl-framework/t/php/dirname.t @@ -0,0 +1,43 @@ +use strict; +use warnings FATAL => 'all'; + +use Apache::Test; +use Apache::TestRequest; + +plan tests => 1, need_php; + +## dirname.php source: +## +## +## result should be: +## dirname(/foo/) == / +## dirname(/foo) == / +## dirname(/foo/bar) == /foo +## dirname(d:\foo\bar.inc) == . +## dirname(/) == / +## dirname(.../foo) == ... +## dirname(./foo) == . +## dirname(foobar///) == . +## dirname(c:\foo) == . + + +my $expected = "dirname(/foo/) == /\ndirname(/foo) == /\ndirname(/foo/bar) == /foo\ndirname(d\:\\foo\\bar.inc) == .\ndirname(/) == /\ndirname(.../foo) == ...\ndirname(./foo) == .\ndirname(foobar///) == .\ndirname(c\:\\foo) == .\n"; + +my $result = GET_BODY "/php/dirname.php"; +ok $result eq $expected; diff --git a/debian/perl-framework/t/php/divide.t b/debian/perl-framework/t/php/divide.t new file mode 100644 index 0000000..d547cc3 --- /dev/null +++ b/debian/perl-framework/t/php/divide.t @@ -0,0 +1,15 @@ +use strict; +use warnings FATAL => 'all'; + +use Apache::Test; +use Apache::TestRequest; + +plan tests => 1, need_php; + +## divide.php source: +## +## +## result should be '3' (27/3/3=3) + +my $result = GET_BODY "/php/divide.php"; +ok $result eq '3'; diff --git a/debian/perl-framework/t/php/do-while.t b/debian/perl-framework/t/php/do-while.t new file mode 100644 index 0000000..6fcb16c --- /dev/null +++ b/debian/perl-framework/t/php/do-while.t @@ -0,0 +1,12 @@ +use strict; +use warnings FATAL => 'all'; + +use Apache::Test; +use Apache::TestRequest; + +plan tests => 1, need_php; + +my $expected = "321"; + +my $result = GET_BODY "/php/do-while.php"; +ok $result eq $expected; diff --git a/debian/perl-framework/t/php/else.t b/debian/perl-framework/t/php/else.t new file mode 100644 index 0000000..3ae2ba0 --- /dev/null +++ b/debian/perl-framework/t/php/else.t @@ -0,0 +1,10 @@ +use strict; +use warnings FATAL => 'all'; + +use Apache::Test; +use Apache::TestRequest; + +plan tests => 1, need_php; + +my $result = GET_BODY "/php/else.php"; +ok $result eq "good\n"; diff --git a/debian/perl-framework/t/php/elseif.t b/debian/perl-framework/t/php/elseif.t new file mode 100644 index 0000000..e125884 --- /dev/null +++ b/debian/perl-framework/t/php/elseif.t @@ -0,0 +1,10 @@ +use strict; +use warnings FATAL => 'all'; + +use Apache::Test; +use Apache::TestRequest; + +plan tests => 1, need_php; + +my $result = GET_BODY "/php/elseif.php"; +ok $result eq "good\n"; diff --git a/debian/perl-framework/t/php/eval.t b/debian/perl-framework/t/php/eval.t new file mode 100644 index 0000000..62fe096 --- /dev/null +++ b/debian/perl-framework/t/php/eval.t @@ -0,0 +1,14 @@ +use strict; +use warnings FATAL => 'all'; + +use Apache::Test; +use Apache::TestRequest; + +## testing eval function + +plan tests => 1, need_php; + +my $expected = "Hello"; + +my $result = GET_BODY "/php/eval.php"; +ok $result eq $expected; diff --git a/debian/perl-framework/t/php/eval2.t b/debian/perl-framework/t/php/eval2.t new file mode 100644 index 0000000..09a96f6 --- /dev/null +++ b/debian/perl-framework/t/php/eval2.t @@ -0,0 +1,14 @@ +use strict; +use warnings FATAL => 'all'; + +use Apache::Test; +use Apache::TestRequest; + +## testing eval function inside user function + +plan tests => 1, need_php4; + +my $expected = "Hello"; + +my $result = GET_BODY "/php/eval2.php"; +ok $result eq $expected; diff --git a/debian/perl-framework/t/php/eval3.t b/debian/perl-framework/t/php/eval3.t new file mode 100644 index 0000000..5edab01 --- /dev/null +++ b/debian/perl-framework/t/php/eval3.t @@ -0,0 +1,35 @@ +use strict; +use warnings FATAL => 'all'; + +use Apache::Test; +use Apache::TestRequest; + +## testing eval function + +plan tests => 1, need_php; + +my $expected = < 'all'; + +use Apache::Test; +use Apache::TestRequest; + +## testing eval function + +plan tests => 1, need_php; + +my $expected = < 'all'; + +use Apache::Test; +use Apache::TestRequest; + +plan tests => 1, need_php; + +## func1.php source: +## +## +## result should be '6' + +my $result = GET_BODY "/php/func1.php"; +ok $result eq '6'; diff --git a/debian/perl-framework/t/php/func2.t b/debian/perl-framework/t/php/func2.t new file mode 100644 index 0000000..2dedb59 --- /dev/null +++ b/debian/perl-framework/t/php/func2.t @@ -0,0 +1,16 @@ +use strict; +use warnings FATAL => 'all'; + +use Apache::Test; +use Apache::TestRequest; + +plan tests => 1, need_php4; + +my $expected = < 'all'; + +use Apache::Test; +use Apache::TestRequest; + +plan tests => 1, need_php4; + +my $expected = < 'all'; + +use Apache::Test; +use Apache::TestRequest; + +plan tests => 1, need_php4; + +my $expected = < 'all'; + +use Apache::Test; +use Apache::TestRequest; +use Apache::TestUtil; + +plan tests => 2, need_php; + +my $path = Apache::Test::vars()->{t_logs}; +my $file = "$path/func5.php.ran"; +unlink $file if -e $file; + +my $expected = < 'all'; + +use Apache::Test; +use Apache::TestRequest; + +## nested functions test. + +plan tests => 1, need_php; + +my $expected = "4 Hello 4"; + +my $result = GET_BODY "/php/func6.php"; +ok $result eq $expected; diff --git a/debian/perl-framework/t/php/getenv.t b/debian/perl-framework/t/php/getenv.t new file mode 100644 index 0000000..9d54878 --- /dev/null +++ b/debian/perl-framework/t/php/getenv.t @@ -0,0 +1,15 @@ +use strict; +use warnings FATAL => 'all'; + +use Apache::Test; +use Apache::TestRequest; +use Apache::TestUtil; + +plan tests => 1, need_php; + +# Regression test for http://bugs.php.net/bug.php?id=19840 + +ok t_cmp((GET_BODY "/php/getenv.php"), + "GET", + "getenv(REQUEST_METHOD)" +); diff --git a/debian/perl-framework/t/php/getlastmod.t b/debian/perl-framework/t/php/getlastmod.t new file mode 100644 index 0000000..4e1b7b1 --- /dev/null +++ b/debian/perl-framework/t/php/getlastmod.t @@ -0,0 +1,22 @@ +use strict; +use warnings FATAL => 'all'; + +use Apache::Test; +use Apache::TestRequest qw(GET_BODY); +use Apache::TestUtil; +use File::Spec::Functions qw(catfile); + +use POSIX qw(strftime); + +plan tests => 1, need_php; + +my $vars = Apache::Test::vars(); +my $fname = catfile $vars->{documentroot}, "php", "getlastmod.php"; +my $mtime = (stat($fname))[9] || die "could not find file"; +my $month = strftime "%B", gmtime($mtime); + +ok t_cmp( + GET_BODY("/php/getlastmod.php"), + $month, + "getlastmod()" +); diff --git a/debian/perl-framework/t/php/globals.t b/debian/perl-framework/t/php/globals.t new file mode 100644 index 0000000..ce4e631 --- /dev/null +++ b/debian/perl-framework/t/php/globals.t @@ -0,0 +1,10 @@ +use strict; +use warnings FATAL => 'all'; + +use Apache::Test; +use Apache::TestRequest; + +plan tests => 1, need_php; + +my $result = GET_BODY "/php/globals.php"; +ok $result eq "1 5 2 2 10 5 2 5 3 2 10 5 3 5 4 2 \n"; diff --git a/debian/perl-framework/t/php/hello.t b/debian/perl-framework/t/php/hello.t new file mode 100644 index 0000000..028bd3f --- /dev/null +++ b/debian/perl-framework/t/php/hello.t @@ -0,0 +1,15 @@ +use strict; +use warnings FATAL => 'all'; + +use Apache::Test; +use Apache::TestRequest; + +plan tests => 1, need_php; + +## hello.php source: +## +## +## result should be 'Hello World' + +my $result = GET_BODY "/php/hello.php"; +ok $result eq 'Hello World'; diff --git a/debian/perl-framework/t/php/if.t b/debian/perl-framework/t/php/if.t new file mode 100644 index 0000000..319549d --- /dev/null +++ b/debian/perl-framework/t/php/if.t @@ -0,0 +1,10 @@ +use strict; +use warnings FATAL => 'all'; + +use Apache::Test; +use Apache::TestRequest; + +plan tests => 1, need_php; + +my $result = GET_BODY "/php/if.php"; +ok $result eq 'Yes'; diff --git a/debian/perl-framework/t/php/if2.t b/debian/perl-framework/t/php/if2.t new file mode 100644 index 0000000..113fb35 --- /dev/null +++ b/debian/perl-framework/t/php/if2.t @@ -0,0 +1,14 @@ +use strict; +use warnings FATAL => 'all'; + +use Apache::Test; +use Apache::TestRequest; + +## Testing user-defined function falling out of an If into another + +plan tests => 1, need_php4; + +my $expected = "1\n"; + +my $result = GET_BODY "/php/if2.php"; +ok $result eq $expected; diff --git a/debian/perl-framework/t/php/ifmodsince.t b/debian/perl-framework/t/php/ifmodsince.t new file mode 100644 index 0000000..47859e6 --- /dev/null +++ b/debian/perl-framework/t/php/ifmodsince.t @@ -0,0 +1,22 @@ +use strict; +use warnings FATAL => 'all'; + +use Apache::Test; +use Apache::TestUtil; +use Apache::TestRequest qw(GET_RC); + +use POSIX qw(strftime); + +plan tests => 1, need_php; + +# Test for bug where Apache serves a 304 if the PHP file (on disk) has +# not been modified since the date given in an If-Modified-Since +# header; http://bugs.php.net/bug.php?id=17098 + +ok t_cmp( + GET_RC("/php/hello.php", + "If-Modified-Since" => strftime("%a, %d %b %Y %T GMT", gmtime)), + 200, + "not 304 if the php file has not been modified since If-Modified-Since" +); + diff --git a/debian/perl-framework/t/php/include.t b/debian/perl-framework/t/php/include.t new file mode 100644 index 0000000..74cbe36 --- /dev/null +++ b/debian/perl-framework/t/php/include.t @@ -0,0 +1,14 @@ +use strict; +use warnings FATAL => 'all'; + +use Apache::Test; +use Apache::TestRequest; + +## testing include + +plan tests => 1, need_php; + +my $expected = "Hello"; + +my $result = GET_BODY "/php/include.php"; +ok $result eq $expected; diff --git a/debian/perl-framework/t/php/include2.t b/debian/perl-framework/t/php/include2.t new file mode 100644 index 0000000..6608630 --- /dev/null +++ b/debian/perl-framework/t/php/include2.t @@ -0,0 +1,14 @@ +use strict; +use warnings FATAL => 'all'; + +use Apache::Test; +use Apache::TestRequest; + +## testing user function in an nclude + +plan tests => 1, need_php4; + +my $expected = "Hello"; + +my $result = GET_BODY "/php/include2.php"; +ok $result eq $expected; diff --git a/debian/perl-framework/t/php/inheritance.t b/debian/perl-framework/t/php/inheritance.t new file mode 100644 index 0000000..a5bd7d3 --- /dev/null +++ b/debian/perl-framework/t/php/inheritance.t @@ -0,0 +1,23 @@ +use strict; +use warnings FATAL => 'all'; + +use Apache::Test; +use Apache::TestRequest; + +plan tests => 1, need_php; + +my $expected = < 'all'; + +use Apache::Test; +use Apache::TestRequest; +use Apache::TestUtil; + +plan tests => 4, need_php; + +my $expect = "status=200:method=GET:uri=/php/target.php"; + +my $r = GET_BODY "/php/lookup.php"; + +chomp $r; + +ok t_cmp($r, $expect, "apache_lookup_uri results OK"); + +# regression test for http://bugs.php.net/bug.php?id=31645 +$r = GET("/php/lookup2.php"); + +ok t_cmp($r->header("X-Before"), "foobar", "header set before apache_lookup_uri"); +ok t_cmp($r->header("X-After"), "foobar", "header set after apache_lookup_uri"); + +my $c = $r->content; + +chomp $c; + +ok t_cmp($c, $expect, "second apache_lookup_uri results"); + diff --git a/debian/perl-framework/t/php/multiply.t b/debian/perl-framework/t/php/multiply.t new file mode 100644 index 0000000..35ec85a --- /dev/null +++ b/debian/perl-framework/t/php/multiply.t @@ -0,0 +1,15 @@ +use strict; +use warnings FATAL => 'all'; + +use Apache::Test; +use Apache::TestRequest; + +plan tests => 1, need_php; + +## multiply.php source: +## +## +## result should be '64' (2*4*8=64) + +my $result = GET_BODY "/php/multiply.php"; +ok $result eq '64'; diff --git a/debian/perl-framework/t/php/nestif.t b/debian/perl-framework/t/php/nestif.t new file mode 100644 index 0000000..0ddac24 --- /dev/null +++ b/debian/perl-framework/t/php/nestif.t @@ -0,0 +1,10 @@ +use strict; +use warnings FATAL => 'all'; + +use Apache::Test; +use Apache::TestRequest; + +plan tests => 1, need_php; + +my $result = GET_BODY "/php/nestif.php"; +ok $result eq "good\n"; diff --git a/debian/perl-framework/t/php/ops.t b/debian/perl-framework/t/php/ops.t new file mode 100644 index 0000000..dad7542 --- /dev/null +++ b/debian/perl-framework/t/php/ops.t @@ -0,0 +1,15 @@ +use strict; +use warnings FATAL => 'all'; + +use Apache::Test; +use Apache::TestRequest; + +plan tests => 1, need_php; + +## ops.php source: +## +## +## result should be '8' + +my $result = GET_BODY "/php/ops.php"; +ok $result eq '8'; diff --git a/debian/perl-framework/t/php/param.t b/debian/perl-framework/t/php/param.t new file mode 100644 index 0000000..d7bee96 --- /dev/null +++ b/debian/perl-framework/t/php/param.t @@ -0,0 +1,10 @@ +use strict; +use warnings FATAL => 'all'; + +use Apache::Test; +use Apache::TestRequest; + +plan tests => 1, need_php4; + +my $result = GET_BODY "/php/param.php"; +ok $result eq "3\n"; diff --git a/debian/perl-framework/t/php/param2.t b/debian/perl-framework/t/php/param2.t new file mode 100644 index 0000000..4235a97 --- /dev/null +++ b/debian/perl-framework/t/php/param2.t @@ -0,0 +1,10 @@ +use strict; +use warnings FATAL => 'all'; + +use Apache::Test; +use Apache::TestRequest; + +plan tests => 1, need_php4; + +my $result = GET_BODY "/php/param2.php"; +ok $result eq "2\n"; diff --git a/debian/perl-framework/t/php/pathinfo.t b/debian/perl-framework/t/php/pathinfo.t new file mode 100644 index 0000000..76bd479 --- /dev/null +++ b/debian/perl-framework/t/php/pathinfo.t @@ -0,0 +1,22 @@ +use strict; +use warnings FATAL => 'all'; + +use Apache::Test; +use Apache::TestRequest; +use Apache::TestUtil; + +plan tests => 5, sub { need_php() && need_min_apache_version('2.0.0'); }; + +my $r; + +$r = GET("/apache/acceptpathinfo/on/info.php/fish/food"); +ok t_cmp($r->code, 200, "PATH_INFO accepted by default"); +ok t_cmp($r->content, "_/fish/food_", "PATH_INFO parsed OK"); + +$r = GET("/apache/acceptpathinfo/off/info.php/fish/food"); +ok t_cmp($r->code, 404, "PATH_INFO rejected if disabled"); + +$r = GET("/apache/acceptpathinfo/on/info.php/fish/food"); +ok t_cmp($r->code, 200, "PATH_INFO accepted if enabled"); +ok t_cmp($r->content, "_/fish/food_", "PATH_INFO parsed OK"); + diff --git a/debian/perl-framework/t/php/recurse.t b/debian/perl-framework/t/php/recurse.t new file mode 100644 index 0000000..1dba5b3 --- /dev/null +++ b/debian/perl-framework/t/php/recurse.t @@ -0,0 +1,10 @@ +use strict; +use warnings FATAL => 'all'; + +use Apache::Test; +use Apache::TestRequest; + +plan tests => 1, need_php; + +my $result = GET_BODY "/php/recurse.php"; +ok $result eq "1 2 3 4 5 6 7 8 9 \n"; diff --git a/debian/perl-framework/t/php/regression.t b/debian/perl-framework/t/php/regression.t new file mode 100644 index 0000000..35e1f3e --- /dev/null +++ b/debian/perl-framework/t/php/regression.t @@ -0,0 +1,244 @@ +use strict; +use warnings FATAL => 'all'; + +use Apache::Test; +use Apache::TestRequest; + +plan tests => 1, need_php; + +my $expected = < + + +*** Testing assignments and variable aliasing: ***
+This should read "blah": blah
+This should read "this is nifty": this is nifty
+*************************************************
+ +*** Testing integer operators ***
+Correct result - 8: 8
+Correct result - 8: 8
+Correct result - 2: 2
+Correct result - -2: -2
+Correct result - 15: 15
+Correct result - 15: 15
+Correct result - 2: 2
+Correct result - 3: 3
+*********************************
+ +*** Testing real operators ***
+Correct result - 8: 8
+Correct result - 8: 8
+Correct result - 2: 2
+Correct result - -2: -2
+Correct result - 15: 15
+Correct result - 15: 15
+Correct result - 2: 2
+Correct result - 3: 3
+*********************************
+ +*** Testing if/elseif/else control ***
+ +This works
+this_still_works
+should_print
+ + +*** Seriously nested if's test ***
+** spelling correction by kluzz ** +Only two lines of text should follow:
+this should be displayed. should be: \$i=1, \$j=0. is: \$i=1, \$j=0
+this is supposed to be displayed. should be: \$i=2, \$j=4. is: \$i=2, \$j=4
+3 loop iterations should follow:
+2 4
+3 4
+4 4
+**********************************
+ +*** C-style else-if's ***
+This should be displayed
+*************************
+ +*** WHILE tests ***
+0 is smaller than 20
+1 is smaller than 20
+2 is smaller than 20
+3 is smaller than 20
+4 is smaller than 20
+5 is smaller than 20
+6 is smaller than 20
+7 is smaller than 20
+8 is smaller than 20
+9 is smaller than 20
+10 is smaller than 20
+11 is smaller than 20
+12 is smaller than 20
+13 is smaller than 20
+14 is smaller than 20
+15 is smaller than 20
+16 is smaller than 20
+17 is smaller than 20
+18 is smaller than 20
+19 is smaller than 20
+20 equals 20
+21 is greater than 20
+22 is greater than 20
+23 is greater than 20
+24 is greater than 20
+25 is greater than 20
+26 is greater than 20
+27 is greater than 20
+28 is greater than 20
+29 is greater than 20
+30 is greater than 20
+31 is greater than 20
+32 is greater than 20
+33 is greater than 20
+34 is greater than 20
+35 is greater than 20
+36 is greater than 20
+37 is greater than 20
+38 is greater than 20
+39 is greater than 20
+*******************
+ + +*** Nested WHILEs ***
+Each array variable should be equal to the sum of its indices:
+\${test00}[0] = 0
+\${test00}[1] = 1
+\${test00}[2] = 2
+\${test01}[0] = 1
+\${test01}[1] = 2
+\${test01}[2] = 3
+\${test02}[0] = 2
+\${test02}[1] = 3
+\${test02}[2] = 4
+\${test10}[0] = 1
+\${test10}[1] = 2
+\${test10}[2] = 3
+\${test11}[0] = 2
+\${test11}[1] = 3
+\${test11}[2] = 4
+\${test12}[0] = 3
+\${test12}[1] = 4
+\${test12}[2] = 5
+\${test20}[0] = 2
+\${test20}[1] = 3
+\${test20}[2] = 4
+\${test21}[0] = 3
+\${test21}[1] = 4
+\${test21}[2] = 5
+\${test22}[0] = 4
+\${test22}[1] = 5
+\${test22}[2] = 6
+*********************
+ +*** hash test... ***
+commented out... +**************************
+ +*** Hash resizing test ***
+ba
+baa
+baaa
+baaaa
+baaaaa
+baaaaaa
+baaaaaaa
+baaaaaaaa
+baaaaaaaaa
+baaaaaaaaaa
+ba
+10
+baa
+9
+baaa
+8
+baaaa
+7
+baaaaa
+6
+baaaaaa
+5
+baaaaaaa
+4
+baaaaaaaa
+3
+baaaaaaaaa
+2
+baaaaaaaaaa
+1
+**************************
+ + +*** break/continue test ***
+\$i should go from 0 to 2
+\$j should go from 3 to 4, and \$q should go from 3 to 4
+ \$j=3
+ \$q=3
+ \$q=4
+ \$j=4
+ \$q=3
+ \$q=4
+\$j should go from 0 to 2
+ \$j=0
+ \$j=1
+ \$j=2
+\$k should go from 0 to 2
+ \$k=0
+ \$k=1
+ \$k=2
+\$i=0
+\$j should go from 3 to 4, and \$q should go from 3 to 4
+ \$j=3
+ \$q=3
+ \$q=4
+ \$j=4
+ \$q=3
+ \$q=4
+\$j should go from 0 to 2
+ \$j=0
+ \$j=1
+ \$j=2
+\$k should go from 0 to 2
+ \$k=0
+ \$k=1
+ \$k=2
+\$i=1
+\$j should go from 3 to 4, and \$q should go from 3 to 4
+ \$j=3
+ \$q=3
+ \$q=4
+ \$j=4
+ \$q=3
+ \$q=4
+\$j should go from 0 to 2
+ \$j=0
+ \$j=1
+ \$j=2
+\$k should go from 0 to 2
+ \$k=0
+ \$k=1
+ \$k=2
+\$i=2
+***********************
+ +*** Nested file include test ***
+ +This is Finish.phtml. This file is supposed to be included +from regression_test.phtml. This is normal HTML. +and this is PHP code, 2+2=4 + +********************************
+ +Tests completed.
+Limor Ullmann is now Limor Baruch :I + +EXPECT + +my $result = GET_BODY "/php/regression.php"; + +ok $result eq $expected; diff --git a/debian/perl-framework/t/php/regression2.t b/debian/perl-framework/t/php/regression2.t new file mode 100644 index 0000000..b7d3ce3 --- /dev/null +++ b/debian/perl-framework/t/php/regression2.t @@ -0,0 +1,11264 @@ +use strict; +use warnings FATAL => 'all'; + +use Apache::Test; +use Apache::TestRequest; + +plan tests => 1, need_php; + +my $expected = < + +*** Testing assignments and variable aliasing: *** +This should read "blah": blah +This should read "this is nifty": this is nifty +************************************************* + +*** Testing integer operators *** +Correct result - 8: 8 +Correct result - 8: 8 +Correct result - 2: 2 +Correct result - -2: -2 +Correct result - 15: 15 +Correct result - 15: 15 +Correct result - 2: 2 +Correct result - 3: 3 +********************************* + +*** Testing real operators *** +Correct result - 8: 8 +Correct result - 8: 8 +Correct result - 2: 2 +Correct result - -2: -2 +Correct result - 15: 15 +Correct result - 15: 15 +Correct result - 2: 2 +Correct result - 3: 3 +********************************* + +*** Testing if/elseif/else control *** + +This works +this_still_works +should_print + + +*** Seriously nested if's test *** +** spelling correction by kluzz ** +Only two lines of text should follow: +this should be displayed. should be: \$i=1, \$j=0. is: \$i=1, \$j=0 +this is supposed to be displayed. should be: \$i=2, \$j=4. is: \$i=2, \$j=4 +3 loop iterations should follow: +2 4 +3 4 +4 4 +********************************** + +*** C-style else-if's *** +This should be displayed +************************* + +*** WHILE tests *** +0 is smaller than 20 +1 is smaller than 20 +2 is smaller than 20 +3 is smaller than 20 +4 is smaller than 20 +5 is smaller than 20 +6 is smaller than 20 +7 is smaller than 20 +8 is smaller than 20 +9 is smaller than 20 +10 is smaller than 20 +11 is smaller than 20 +12 is smaller than 20 +13 is smaller than 20 +14 is smaller than 20 +15 is smaller than 20 +16 is smaller than 20 +17 is smaller than 20 +18 is smaller than 20 +19 is smaller than 20 +20 equals 20 +21 is greater than 20 +22 is greater than 20 +23 is greater than 20 +24 is greater than 20 +25 is greater than 20 +26 is greater than 20 +27 is greater than 20 +28 is greater than 20 +29 is greater than 20 +30 is greater than 20 +31 is greater than 20 +32 is greater than 20 +33 is greater than 20 +34 is greater than 20 +35 is greater than 20 +36 is greater than 20 +37 is greater than 20 +38 is greater than 20 +39 is greater than 20 +******************* + + +*** Nested WHILEs *** +Each array variable should be equal to the sum of its indices: +\${test00}[0] = 0 +\${test00}[1] = 1 +\${test00}[2] = 2 +\${test01}[0] = 1 +\${test01}[1] = 2 +\${test01}[2] = 3 +\${test02}[0] = 2 +\${test02}[1] = 3 +\${test02}[2] = 4 +\${test10}[0] = 1 +\${test10}[1] = 2 +\${test10}[2] = 3 +\${test11}[0] = 2 +\${test11}[1] = 3 +\${test11}[2] = 4 +\${test12}[0] = 3 +\${test12}[1] = 4 +\${test12}[2] = 5 +\${test20}[0] = 2 +\${test20}[1] = 3 +\${test20}[2] = 4 +\${test21}[0] = 3 +\${test21}[1] = 4 +\${test21}[2] = 5 +\${test22}[0] = 4 +\${test22}[1] = 5 +\${test22}[2] = 6 +********************* + +*** hash test... *** +commented out... +************************** + +*** Hash resizing test *** +ba +baa +baaa +baaaa +baaaaa +baaaaaa +baaaaaaa +baaaaaaaa +baaaaaaaaa +baaaaaaaaaa +ba +10 +baa +9 +baaa +8 +baaaa +7 +baaaaa +6 +baaaaaa +5 +baaaaaaa +4 +baaaaaaaa +3 +baaaaaaaaa +2 +baaaaaaaaaa +1 +************************** + + +*** break/continue test *** +\$i should go from 0 to 2 +\$j should go from 3 to 4, and \$q should go from 3 to 4 + \$j=3 + \$q=3 + \$q=4 + \$j=4 + \$q=3 + \$q=4 +\$j should go from 0 to 2 + \$j=0 + \$j=1 + \$j=2 +\$k should go from 0 to 2 + \$k=0 + \$k=1 + \$k=2 +\$i=0 +\$j should go from 3 to 4, and \$q should go from 3 to 4 + \$j=3 + \$q=3 + \$q=4 + \$j=4 + \$q=3 + \$q=4 +\$j should go from 0 to 2 + \$j=0 + \$j=1 + \$j=2 +\$k should go from 0 to 2 + \$k=0 + \$k=1 + \$k=2 +\$i=1 +\$j should go from 3 to 4, and \$q should go from 3 to 4 + \$j=3 + \$q=3 + \$q=4 + \$j=4 + \$q=3 + \$q=4 +\$j should go from 0 to 2 + \$j=0 + \$j=1 + \$j=2 +\$k should go from 0 to 2 + \$k=0 + \$k=1 + \$k=2 +\$i=2 +*********************** + +*** Nested file include test *** + +This is Finish.phtml. This file is supposed to be included +from regression_test.phtml. This is normal HTML. +and this is PHP code, 2+2=4 + +******************************** + +Tests completed. + + +*** Testing assignments and variable aliasing: *** +This should read "blah": blah +This should read "this is nifty": this is nifty +************************************************* + +*** Testing integer operators *** +Correct result - 8: 8 +Correct result - 8: 8 +Correct result - 2: 2 +Correct result - -2: -2 +Correct result - 15: 15 +Correct result - 15: 15 +Correct result - 2: 2 +Correct result - 3: 3 +********************************* + +*** Testing real operators *** +Correct result - 8: 8 +Correct result - 8: 8 +Correct result - 2: 2 +Correct result - -2: -2 +Correct result - 15: 15 +Correct result - 15: 15 +Correct result - 2: 2 +Correct result - 3: 3 +********************************* + +*** Testing if/elseif/else control *** + +This works +this_still_works +should_print + + +*** Seriously nested if's test *** +** spelling correction by kluzz ** +Only two lines of text should follow: +this should be displayed. should be: \$i=1, \$j=0. is: \$i=1, \$j=0 +this is supposed to be displayed. should be: \$i=2, \$j=4. is: \$i=2, \$j=4 +3 loop iterations should follow: +2 4 +3 4 +4 4 +********************************** + +*** C-style else-if's *** +This should be displayed +************************* + +*** WHILE tests *** +0 is smaller than 20 +1 is smaller than 20 +2 is smaller than 20 +3 is smaller than 20 +4 is smaller than 20 +5 is smaller than 20 +6 is smaller than 20 +7 is smaller than 20 +8 is smaller than 20 +9 is smaller than 20 +10 is smaller than 20 +11 is smaller than 20 +12 is smaller than 20 +13 is smaller than 20 +14 is smaller than 20 +15 is smaller than 20 +16 is smaller than 20 +17 is smaller than 20 +18 is smaller than 20 +19 is smaller than 20 +20 equals 20 +21 is greater than 20 +22 is greater than 20 +23 is greater than 20 +24 is greater than 20 +25 is greater than 20 +26 is greater than 20 +27 is greater than 20 +28 is greater than 20 +29 is greater than 20 +30 is greater than 20 +31 is greater than 20 +32 is greater than 20 +33 is greater than 20 +34 is greater than 20 +35 is greater than 20 +36 is greater than 20 +37 is greater than 20 +38 is greater than 20 +39 is greater than 20 +******************* + + +*** Nested WHILEs *** +Each array variable should be equal to the sum of its indices: +\${test00}[0] = 0 +\${test00}[1] = 1 +\${test00}[2] = 2 +\${test01}[0] = 1 +\${test01}[1] = 2 +\${test01}[2] = 3 +\${test02}[0] = 2 +\${test02}[1] = 3 +\${test02}[2] = 4 +\${test10}[0] = 1 +\${test10}[1] = 2 +\${test10}[2] = 3 +\${test11}[0] = 2 +\${test11}[1] = 3 +\${test11}[2] = 4 +\${test12}[0] = 3 +\${test12}[1] = 4 +\${test12}[2] = 5 +\${test20}[0] = 2 +\${test20}[1] = 3 +\${test20}[2] = 4 +\${test21}[0] = 3 +\${test21}[1] = 4 +\${test21}[2] = 5 +\${test22}[0] = 4 +\${test22}[1] = 5 +\${test22}[2] = 6 +********************* + +*** hash test... *** +commented out... +************************** + +*** Hash resizing test *** +ba +baa +baaa +baaaa +baaaaa +baaaaaa +baaaaaaa +baaaaaaaa +baaaaaaaaa +baaaaaaaaaa +ba +10 +baa +9 +baaa +8 +baaaa +7 +baaaaa +6 +baaaaaa +5 +baaaaaaa +4 +baaaaaaaa +3 +baaaaaaaaa +2 +baaaaaaaaaa +1 +************************** + + +*** break/continue test *** +\$i should go from 0 to 2 +\$j should go from 3 to 4, and \$q should go from 3 to 4 + \$j=3 + \$q=3 + \$q=4 + \$j=4 + \$q=3 + \$q=4 +\$j should go from 0 to 2 + \$j=0 + \$j=1 + \$j=2 +\$k should go from 0 to 2 + \$k=0 + \$k=1 + \$k=2 +\$i=0 +\$j should go from 3 to 4, and \$q should go from 3 to 4 + \$j=3 + \$q=3 + \$q=4 + \$j=4 + \$q=3 + \$q=4 +\$j should go from 0 to 2 + \$j=0 + \$j=1 + \$j=2 +\$k should go from 0 to 2 + \$k=0 + \$k=1 + \$k=2 +\$i=1 +\$j should go from 3 to 4, and \$q should go from 3 to 4 + \$j=3 + \$q=3 + \$q=4 + \$j=4 + \$q=3 + \$q=4 +\$j should go from 0 to 2 + \$j=0 + \$j=1 + \$j=2 +\$k should go from 0 to 2 + \$k=0 + \$k=1 + \$k=2 +\$i=2 +*********************** + +*** Nested file include test *** + +This is Finish.phtml. This file is supposed to be included +from regression_test.phtml. This is normal HTML. +and this is PHP code, 2+2=4 + +******************************** + +Tests completed. + + +*** Testing assignments and variable aliasing: *** +This should read "blah": blah +This should read "this is nifty": this is nifty +************************************************* + +*** Testing integer operators *** +Correct result - 8: 8 +Correct result - 8: 8 +Correct result - 2: 2 +Correct result - -2: -2 +Correct result - 15: 15 +Correct result - 15: 15 +Correct result - 2: 2 +Correct result - 3: 3 +********************************* + +*** Testing real operators *** +Correct result - 8: 8 +Correct result - 8: 8 +Correct result - 2: 2 +Correct result - -2: -2 +Correct result - 15: 15 +Correct result - 15: 15 +Correct result - 2: 2 +Correct result - 3: 3 +********************************* + +*** Testing if/elseif/else control *** + +This works +this_still_works +should_print + + +*** Seriously nested if's test *** +** spelling correction by kluzz ** +Only two lines of text should follow: +this should be displayed. should be: \$i=1, \$j=0. is: \$i=1, \$j=0 +this is supposed to be displayed. should be: \$i=2, \$j=4. is: \$i=2, \$j=4 +3 loop iterations should follow: +2 4 +3 4 +4 4 +********************************** + +*** C-style else-if's *** +This should be displayed +************************* + +*** WHILE tests *** +0 is smaller than 20 +1 is smaller than 20 +2 is smaller than 20 +3 is smaller than 20 +4 is smaller than 20 +5 is smaller than 20 +6 is smaller than 20 +7 is smaller than 20 +8 is smaller than 20 +9 is smaller than 20 +10 is smaller than 20 +11 is smaller than 20 +12 is smaller than 20 +13 is smaller than 20 +14 is smaller than 20 +15 is smaller than 20 +16 is smaller than 20 +17 is smaller than 20 +18 is smaller than 20 +19 is smaller than 20 +20 equals 20 +21 is greater than 20 +22 is greater than 20 +23 is greater than 20 +24 is greater than 20 +25 is greater than 20 +26 is greater than 20 +27 is greater than 20 +28 is greater than 20 +29 is greater than 20 +30 is greater than 20 +31 is greater than 20 +32 is greater than 20 +33 is greater than 20 +34 is greater than 20 +35 is greater than 20 +36 is greater than 20 +37 is greater than 20 +38 is greater than 20 +39 is greater than 20 +******************* + + +*** Nested WHILEs *** +Each array variable should be equal to the sum of its indices: +\${test00}[0] = 0 +\${test00}[1] = 1 +\${test00}[2] = 2 +\${test01}[0] = 1 +\${test01}[1] = 2 +\${test01}[2] = 3 +\${test02}[0] = 2 +\${test02}[1] = 3 +\${test02}[2] = 4 +\${test10}[0] = 1 +\${test10}[1] = 2 +\${test10}[2] = 3 +\${test11}[0] = 2 +\${test11}[1] = 3 +\${test11}[2] = 4 +\${test12}[0] = 3 +\${test12}[1] = 4 +\${test12}[2] = 5 +\${test20}[0] = 2 +\${test20}[1] = 3 +\${test20}[2] = 4 +\${test21}[0] = 3 +\${test21}[1] = 4 +\${test21}[2] = 5 +\${test22}[0] = 4 +\${test22}[1] = 5 +\${test22}[2] = 6 +********************* + +*** hash test... *** +commented out... +************************** + +*** Hash resizing test *** +ba +baa +baaa +baaaa +baaaaa +baaaaaa +baaaaaaa +baaaaaaaa +baaaaaaaaa +baaaaaaaaaa +ba +10 +baa +9 +baaa +8 +baaaa +7 +baaaaa +6 +baaaaaa +5 +baaaaaaa +4 +baaaaaaaa +3 +baaaaaaaaa +2 +baaaaaaaaaa +1 +************************** + + +*** break/continue test *** +\$i should go from 0 to 2 +\$j should go from 3 to 4, and \$q should go from 3 to 4 + \$j=3 + \$q=3 + \$q=4 + \$j=4 + \$q=3 + \$q=4 +\$j should go from 0 to 2 + \$j=0 + \$j=1 + \$j=2 +\$k should go from 0 to 2 + \$k=0 + \$k=1 + \$k=2 +\$i=0 +\$j should go from 3 to 4, and \$q should go from 3 to 4 + \$j=3 + \$q=3 + \$q=4 + \$j=4 + \$q=3 + \$q=4 +\$j should go from 0 to 2 + \$j=0 + \$j=1 + \$j=2 +\$k should go from 0 to 2 + \$k=0 + \$k=1 + \$k=2 +\$i=1 +\$j should go from 3 to 4, and \$q should go from 3 to 4 + \$j=3 + \$q=3 + \$q=4 + \$j=4 + \$q=3 + \$q=4 +\$j should go from 0 to 2 + \$j=0 + \$j=1 + \$j=2 +\$k should go from 0 to 2 + \$k=0 + \$k=1 + \$k=2 +\$i=2 +*********************** + +*** Nested file include test *** + +This is Finish.phtml. This file is supposed to be included +from regression_test.phtml. This is normal HTML. +and this is PHP code, 2+2=4 + +******************************** + +Tests completed. + + +*** Testing assignments and variable aliasing: *** +This should read "blah": blah +This should read "this is nifty": this is nifty +************************************************* + +*** Testing integer operators *** +Correct result - 8: 8 +Correct result - 8: 8 +Correct result - 2: 2 +Correct result - -2: -2 +Correct result - 15: 15 +Correct result - 15: 15 +Correct result - 2: 2 +Correct result - 3: 3 +********************************* + +*** Testing real operators *** +Correct result - 8: 8 +Correct result - 8: 8 +Correct result - 2: 2 +Correct result - -2: -2 +Correct result - 15: 15 +Correct result - 15: 15 +Correct result - 2: 2 +Correct result - 3: 3 +********************************* + +*** Testing if/elseif/else control *** + +This works +this_still_works +should_print + + +*** Seriously nested if's test *** +** spelling correction by kluzz ** +Only two lines of text should follow: +this should be displayed. should be: \$i=1, \$j=0. is: \$i=1, \$j=0 +this is supposed to be displayed. should be: \$i=2, \$j=4. is: \$i=2, \$j=4 +3 loop iterations should follow: +2 4 +3 4 +4 4 +********************************** + +*** C-style else-if's *** +This should be displayed +************************* + +*** WHILE tests *** +0 is smaller than 20 +1 is smaller than 20 +2 is smaller than 20 +3 is smaller than 20 +4 is smaller than 20 +5 is smaller than 20 +6 is smaller than 20 +7 is smaller than 20 +8 is smaller than 20 +9 is smaller than 20 +10 is smaller than 20 +11 is smaller than 20 +12 is smaller than 20 +13 is smaller than 20 +14 is smaller than 20 +15 is smaller than 20 +16 is smaller than 20 +17 is smaller than 20 +18 is smaller than 20 +19 is smaller than 20 +20 equals 20 +21 is greater than 20 +22 is greater than 20 +23 is greater than 20 +24 is greater than 20 +25 is greater than 20 +26 is greater than 20 +27 is greater than 20 +28 is greater than 20 +29 is greater than 20 +30 is greater than 20 +31 is greater than 20 +32 is greater than 20 +33 is greater than 20 +34 is greater than 20 +35 is greater than 20 +36 is greater than 20 +37 is greater than 20 +38 is greater than 20 +39 is greater than 20 +******************* + + +*** Nested WHILEs *** +Each array variable should be equal to the sum of its indices: +\${test00}[0] = 0 +\${test00}[1] = 1 +\${test00}[2] = 2 +\${test01}[0] = 1 +\${test01}[1] = 2 +\${test01}[2] = 3 +\${test02}[0] = 2 +\${test02}[1] = 3 +\${test02}[2] = 4 +\${test10}[0] = 1 +\${test10}[1] = 2 +\${test10}[2] = 3 +\${test11}[0] = 2 +\${test11}[1] = 3 +\${test11}[2] = 4 +\${test12}[0] = 3 +\${test12}[1] = 4 +\${test12}[2] = 5 +\${test20}[0] = 2 +\${test20}[1] = 3 +\${test20}[2] = 4 +\${test21}[0] = 3 +\${test21}[1] = 4 +\${test21}[2] = 5 +\${test22}[0] = 4 +\${test22}[1] = 5 +\${test22}[2] = 6 +********************* + +*** hash test... *** +commented out... +************************** + +*** Hash resizing test *** +ba +baa +baaa +baaaa +baaaaa +baaaaaa +baaaaaaa +baaaaaaaa +baaaaaaaaa +baaaaaaaaaa +ba +10 +baa +9 +baaa +8 +baaaa +7 +baaaaa +6 +baaaaaa +5 +baaaaaaa +4 +baaaaaaaa +3 +baaaaaaaaa +2 +baaaaaaaaaa +1 +************************** + + +*** break/continue test *** +\$i should go from 0 to 2 +\$j should go from 3 to 4, and \$q should go from 3 to 4 + \$j=3 + \$q=3 + \$q=4 + \$j=4 + \$q=3 + \$q=4 +\$j should go from 0 to 2 + \$j=0 + \$j=1 + \$j=2 +\$k should go from 0 to 2 + \$k=0 + \$k=1 + \$k=2 +\$i=0 +\$j should go from 3 to 4, and \$q should go from 3 to 4 + \$j=3 + \$q=3 + \$q=4 + \$j=4 + \$q=3 + \$q=4 +\$j should go from 0 to 2 + \$j=0 + \$j=1 + \$j=2 +\$k should go from 0 to 2 + \$k=0 + \$k=1 + \$k=2 +\$i=1 +\$j should go from 3 to 4, and \$q should go from 3 to 4 + \$j=3 + \$q=3 + \$q=4 + \$j=4 + \$q=3 + \$q=4 +\$j should go from 0 to 2 + \$j=0 + \$j=1 + \$j=2 +\$k should go from 0 to 2 + \$k=0 + \$k=1 + \$k=2 +\$i=2 +*********************** + +*** Nested file include test *** + +This is Finish.phtml. This file is supposed to be included +from regression_test.phtml. This is normal HTML. +and this is PHP code, 2+2=4 + +******************************** + +Tests completed. + + +*** Testing assignments and variable aliasing: *** +This should read "blah": blah +This should read "this is nifty": this is nifty +************************************************* + +*** Testing integer operators *** +Correct result - 8: 8 +Correct result - 8: 8 +Correct result - 2: 2 +Correct result - -2: -2 +Correct result - 15: 15 +Correct result - 15: 15 +Correct result - 2: 2 +Correct result - 3: 3 +********************************* + +*** Testing real operators *** +Correct result - 8: 8 +Correct result - 8: 8 +Correct result - 2: 2 +Correct result - -2: -2 +Correct result - 15: 15 +Correct result - 15: 15 +Correct result - 2: 2 +Correct result - 3: 3 +********************************* + +*** Testing if/elseif/else control *** + +This works +this_still_works +should_print + + +*** Seriously nested if's test *** +** spelling correction by kluzz ** +Only two lines of text should follow: +this should be displayed. should be: \$i=1, \$j=0. is: \$i=1, \$j=0 +this is supposed to be displayed. should be: \$i=2, \$j=4. is: \$i=2, \$j=4 +3 loop iterations should follow: +2 4 +3 4 +4 4 +********************************** + +*** C-style else-if's *** +This should be displayed +************************* + +*** WHILE tests *** +0 is smaller than 20 +1 is smaller than 20 +2 is smaller than 20 +3 is smaller than 20 +4 is smaller than 20 +5 is smaller than 20 +6 is smaller than 20 +7 is smaller than 20 +8 is smaller than 20 +9 is smaller than 20 +10 is smaller than 20 +11 is smaller than 20 +12 is smaller than 20 +13 is smaller than 20 +14 is smaller than 20 +15 is smaller than 20 +16 is smaller than 20 +17 is smaller than 20 +18 is smaller than 20 +19 is smaller than 20 +20 equals 20 +21 is greater than 20 +22 is greater than 20 +23 is greater than 20 +24 is greater than 20 +25 is greater than 20 +26 is greater than 20 +27 is greater than 20 +28 is greater than 20 +29 is greater than 20 +30 is greater than 20 +31 is greater than 20 +32 is greater than 20 +33 is greater than 20 +34 is greater than 20 +35 is greater than 20 +36 is greater than 20 +37 is greater than 20 +38 is greater than 20 +39 is greater than 20 +******************* + + +*** Nested WHILEs *** +Each array variable should be equal to the sum of its indices: +\${test00}[0] = 0 +\${test00}[1] = 1 +\${test00}[2] = 2 +\${test01}[0] = 1 +\${test01}[1] = 2 +\${test01}[2] = 3 +\${test02}[0] = 2 +\${test02}[1] = 3 +\${test02}[2] = 4 +\${test10}[0] = 1 +\${test10}[1] = 2 +\${test10}[2] = 3 +\${test11}[0] = 2 +\${test11}[1] = 3 +\${test11}[2] = 4 +\${test12}[0] = 3 +\${test12}[1] = 4 +\${test12}[2] = 5 +\${test20}[0] = 2 +\${test20}[1] = 3 +\${test20}[2] = 4 +\${test21}[0] = 3 +\${test21}[1] = 4 +\${test21}[2] = 5 +\${test22}[0] = 4 +\${test22}[1] = 5 +\${test22}[2] = 6 +********************* + +*** hash test... *** +commented out... +************************** + +*** Hash resizing test *** +ba +baa +baaa +baaaa +baaaaa +baaaaaa +baaaaaaa +baaaaaaaa +baaaaaaaaa +baaaaaaaaaa +ba +10 +baa +9 +baaa +8 +baaaa +7 +baaaaa +6 +baaaaaa +5 +baaaaaaa +4 +baaaaaaaa +3 +baaaaaaaaa +2 +baaaaaaaaaa +1 +************************** + + +*** break/continue test *** +\$i should go from 0 to 2 +\$j should go from 3 to 4, and \$q should go from 3 to 4 + \$j=3 + \$q=3 + \$q=4 + \$j=4 + \$q=3 + \$q=4 +\$j should go from 0 to 2 + \$j=0 + \$j=1 + \$j=2 +\$k should go from 0 to 2 + \$k=0 + \$k=1 + \$k=2 +\$i=0 +\$j should go from 3 to 4, and \$q should go from 3 to 4 + \$j=3 + \$q=3 + \$q=4 + \$j=4 + \$q=3 + \$q=4 +\$j should go from 0 to 2 + \$j=0 + \$j=1 + \$j=2 +\$k should go from 0 to 2 + \$k=0 + \$k=1 + \$k=2 +\$i=1 +\$j should go from 3 to 4, and \$q should go from 3 to 4 + \$j=3 + \$q=3 + \$q=4 + \$j=4 + \$q=3 + \$q=4 +\$j should go from 0 to 2 + \$j=0 + \$j=1 + \$j=2 +\$k should go from 0 to 2 + \$k=0 + \$k=1 + \$k=2 +\$i=2 +*********************** + +*** Nested file include test *** + +This is Finish.phtml. This file is supposed to be included +from regression_test.phtml. This is normal HTML. +and this is PHP code, 2+2=4 + +******************************** + +Tests completed. + + +*** Testing assignments and variable aliasing: *** +This should read "blah": blah +This should read "this is nifty": this is nifty +************************************************* + +*** Testing integer operators *** +Correct result - 8: 8 +Correct result - 8: 8 +Correct result - 2: 2 +Correct result - -2: -2 +Correct result - 15: 15 +Correct result - 15: 15 +Correct result - 2: 2 +Correct result - 3: 3 +********************************* + +*** Testing real operators *** +Correct result - 8: 8 +Correct result - 8: 8 +Correct result - 2: 2 +Correct result - -2: -2 +Correct result - 15: 15 +Correct result - 15: 15 +Correct result - 2: 2 +Correct result - 3: 3 +********************************* + +*** Testing if/elseif/else control *** + +This works +this_still_works +should_print + + +*** Seriously nested if's test *** +** spelling correction by kluzz ** +Only two lines of text should follow: +this should be displayed. should be: \$i=1, \$j=0. is: \$i=1, \$j=0 +this is supposed to be displayed. should be: \$i=2, \$j=4. is: \$i=2, \$j=4 +3 loop iterations should follow: +2 4 +3 4 +4 4 +********************************** + +*** C-style else-if's *** +This should be displayed +************************* + +*** WHILE tests *** +0 is smaller than 20 +1 is smaller than 20 +2 is smaller than 20 +3 is smaller than 20 +4 is smaller than 20 +5 is smaller than 20 +6 is smaller than 20 +7 is smaller than 20 +8 is smaller than 20 +9 is smaller than 20 +10 is smaller than 20 +11 is smaller than 20 +12 is smaller than 20 +13 is smaller than 20 +14 is smaller than 20 +15 is smaller than 20 +16 is smaller than 20 +17 is smaller than 20 +18 is smaller than 20 +19 is smaller than 20 +20 equals 20 +21 is greater than 20 +22 is greater than 20 +23 is greater than 20 +24 is greater than 20 +25 is greater than 20 +26 is greater than 20 +27 is greater than 20 +28 is greater than 20 +29 is greater than 20 +30 is greater than 20 +31 is greater than 20 +32 is greater than 20 +33 is greater than 20 +34 is greater than 20 +35 is greater than 20 +36 is greater than 20 +37 is greater than 20 +38 is greater than 20 +39 is greater than 20 +******************* + + +*** Nested WHILEs *** +Each array variable should be equal to the sum of its indices: +\${test00}[0] = 0 +\${test00}[1] = 1 +\${test00}[2] = 2 +\${test01}[0] = 1 +\${test01}[1] = 2 +\${test01}[2] = 3 +\${test02}[0] = 2 +\${test02}[1] = 3 +\${test02}[2] = 4 +\${test10}[0] = 1 +\${test10}[1] = 2 +\${test10}[2] = 3 +\${test11}[0] = 2 +\${test11}[1] = 3 +\${test11}[2] = 4 +\${test12}[0] = 3 +\${test12}[1] = 4 +\${test12}[2] = 5 +\${test20}[0] = 2 +\${test20}[1] = 3 +\${test20}[2] = 4 +\${test21}[0] = 3 +\${test21}[1] = 4 +\${test21}[2] = 5 +\${test22}[0] = 4 +\${test22}[1] = 5 +\${test22}[2] = 6 +********************* + +*** hash test... *** +commented out... +************************** + +*** Hash resizing test *** +ba +baa +baaa +baaaa +baaaaa +baaaaaa +baaaaaaa +baaaaaaaa +baaaaaaaaa +baaaaaaaaaa +ba +10 +baa +9 +baaa +8 +baaaa +7 +baaaaa +6 +baaaaaa +5 +baaaaaaa +4 +baaaaaaaa +3 +baaaaaaaaa +2 +baaaaaaaaaa +1 +************************** + + +*** break/continue test *** +\$i should go from 0 to 2 +\$j should go from 3 to 4, and \$q should go from 3 to 4 + \$j=3 + \$q=3 + \$q=4 + \$j=4 + \$q=3 + \$q=4 +\$j should go from 0 to 2 + \$j=0 + \$j=1 + \$j=2 +\$k should go from 0 to 2 + \$k=0 + \$k=1 + \$k=2 +\$i=0 +\$j should go from 3 to 4, and \$q should go from 3 to 4 + \$j=3 + \$q=3 + \$q=4 + \$j=4 + \$q=3 + \$q=4 +\$j should go from 0 to 2 + \$j=0 + \$j=1 + \$j=2 +\$k should go from 0 to 2 + \$k=0 + \$k=1 + \$k=2 +\$i=1 +\$j should go from 3 to 4, and \$q should go from 3 to 4 + \$j=3 + \$q=3 + \$q=4 + \$j=4 + \$q=3 + \$q=4 +\$j should go from 0 to 2 + \$j=0 + \$j=1 + \$j=2 +\$k should go from 0 to 2 + \$k=0 + \$k=1 + \$k=2 +\$i=2 +*********************** + +*** Nested file include test *** + +This is Finish.phtml. This file is supposed to be included +from regression_test.phtml. This is normal HTML. +and this is PHP code, 2+2=4 + +******************************** + +Tests completed. + + +*** Testing assignments and variable aliasing: *** +This should read "blah": blah +This should read "this is nifty": this is nifty +************************************************* + +*** Testing integer operators *** +Correct result - 8: 8 +Correct result - 8: 8 +Correct result - 2: 2 +Correct result - -2: -2 +Correct result - 15: 15 +Correct result - 15: 15 +Correct result - 2: 2 +Correct result - 3: 3 +********************************* + +*** Testing real operators *** +Correct result - 8: 8 +Correct result - 8: 8 +Correct result - 2: 2 +Correct result - -2: -2 +Correct result - 15: 15 +Correct result - 15: 15 +Correct result - 2: 2 +Correct result - 3: 3 +********************************* + +*** Testing if/elseif/else control *** + +This works +this_still_works +should_print + + +*** Seriously nested if's test *** +** spelling correction by kluzz ** +Only two lines of text should follow: +this should be displayed. should be: \$i=1, \$j=0. is: \$i=1, \$j=0 +this is supposed to be displayed. should be: \$i=2, \$j=4. is: \$i=2, \$j=4 +3 loop iterations should follow: +2 4 +3 4 +4 4 +********************************** + +*** C-style else-if's *** +This should be displayed +************************* + +*** WHILE tests *** +0 is smaller than 20 +1 is smaller than 20 +2 is smaller than 20 +3 is smaller than 20 +4 is smaller than 20 +5 is smaller than 20 +6 is smaller than 20 +7 is smaller than 20 +8 is smaller than 20 +9 is smaller than 20 +10 is smaller than 20 +11 is smaller than 20 +12 is smaller than 20 +13 is smaller than 20 +14 is smaller than 20 +15 is smaller than 20 +16 is smaller than 20 +17 is smaller than 20 +18 is smaller than 20 +19 is smaller than 20 +20 equals 20 +21 is greater than 20 +22 is greater than 20 +23 is greater than 20 +24 is greater than 20 +25 is greater than 20 +26 is greater than 20 +27 is greater than 20 +28 is greater than 20 +29 is greater than 20 +30 is greater than 20 +31 is greater than 20 +32 is greater than 20 +33 is greater than 20 +34 is greater than 20 +35 is greater than 20 +36 is greater than 20 +37 is greater than 20 +38 is greater than 20 +39 is greater than 20 +******************* + + +*** Nested WHILEs *** +Each array variable should be equal to the sum of its indices: +\${test00}[0] = 0 +\${test00}[1] = 1 +\${test00}[2] = 2 +\${test01}[0] = 1 +\${test01}[1] = 2 +\${test01}[2] = 3 +\${test02}[0] = 2 +\${test02}[1] = 3 +\${test02}[2] = 4 +\${test10}[0] = 1 +\${test10}[1] = 2 +\${test10}[2] = 3 +\${test11}[0] = 2 +\${test11}[1] = 3 +\${test11}[2] = 4 +\${test12}[0] = 3 +\${test12}[1] = 4 +\${test12}[2] = 5 +\${test20}[0] = 2 +\${test20}[1] = 3 +\${test20}[2] = 4 +\${test21}[0] = 3 +\${test21}[1] = 4 +\${test21}[2] = 5 +\${test22}[0] = 4 +\${test22}[1] = 5 +\${test22}[2] = 6 +********************* + +*** hash test... *** +commented out... +************************** + +*** Hash resizing test *** +ba +baa +baaa +baaaa +baaaaa +baaaaaa +baaaaaaa +baaaaaaaa +baaaaaaaaa +baaaaaaaaaa +ba +10 +baa +9 +baaa +8 +baaaa +7 +baaaaa +6 +baaaaaa +5 +baaaaaaa +4 +baaaaaaaa +3 +baaaaaaaaa +2 +baaaaaaaaaa +1 +************************** + + +*** break/continue test *** +\$i should go from 0 to 2 +\$j should go from 3 to 4, and \$q should go from 3 to 4 + \$j=3 + \$q=3 + \$q=4 + \$j=4 + \$q=3 + \$q=4 +\$j should go from 0 to 2 + \$j=0 + \$j=1 + \$j=2 +\$k should go from 0 to 2 + \$k=0 + \$k=1 + \$k=2 +\$i=0 +\$j should go from 3 to 4, and \$q should go from 3 to 4 + \$j=3 + \$q=3 + \$q=4 + \$j=4 + \$q=3 + \$q=4 +\$j should go from 0 to 2 + \$j=0 + \$j=1 + \$j=2 +\$k should go from 0 to 2 + \$k=0 + \$k=1 + \$k=2 +\$i=1 +\$j should go from 3 to 4, and \$q should go from 3 to 4 + \$j=3 + \$q=3 + \$q=4 + \$j=4 + \$q=3 + \$q=4 +\$j should go from 0 to 2 + \$j=0 + \$j=1 + \$j=2 +\$k should go from 0 to 2 + \$k=0 + \$k=1 + \$k=2 +\$i=2 +*********************** + +*** Nested file include test *** + +This is Finish.phtml. This file is supposed to be included +from regression_test.phtml. This is normal HTML. +and this is PHP code, 2+2=4 + +******************************** + +Tests completed. + + +*** Testing assignments and variable aliasing: *** +This should read "blah": blah +This should read "this is nifty": this is nifty +************************************************* + +*** Testing integer operators *** +Correct result - 8: 8 +Correct result - 8: 8 +Correct result - 2: 2 +Correct result - -2: -2 +Correct result - 15: 15 +Correct result - 15: 15 +Correct result - 2: 2 +Correct result - 3: 3 +********************************* + +*** Testing real operators *** +Correct result - 8: 8 +Correct result - 8: 8 +Correct result - 2: 2 +Correct result - -2: -2 +Correct result - 15: 15 +Correct result - 15: 15 +Correct result - 2: 2 +Correct result - 3: 3 +********************************* + +*** Testing if/elseif/else control *** + +This works +this_still_works +should_print + + +*** Seriously nested if's test *** +** spelling correction by kluzz ** +Only two lines of text should follow: +this should be displayed. should be: \$i=1, \$j=0. is: \$i=1, \$j=0 +this is supposed to be displayed. should be: \$i=2, \$j=4. is: \$i=2, \$j=4 +3 loop iterations should follow: +2 4 +3 4 +4 4 +********************************** + +*** C-style else-if's *** +This should be displayed +************************* + +*** WHILE tests *** +0 is smaller than 20 +1 is smaller than 20 +2 is smaller than 20 +3 is smaller than 20 +4 is smaller than 20 +5 is smaller than 20 +6 is smaller than 20 +7 is smaller than 20 +8 is smaller than 20 +9 is smaller than 20 +10 is smaller than 20 +11 is smaller than 20 +12 is smaller than 20 +13 is smaller than 20 +14 is smaller than 20 +15 is smaller than 20 +16 is smaller than 20 +17 is smaller than 20 +18 is smaller than 20 +19 is smaller than 20 +20 equals 20 +21 is greater than 20 +22 is greater than 20 +23 is greater than 20 +24 is greater than 20 +25 is greater than 20 +26 is greater than 20 +27 is greater than 20 +28 is greater than 20 +29 is greater than 20 +30 is greater than 20 +31 is greater than 20 +32 is greater than 20 +33 is greater than 20 +34 is greater than 20 +35 is greater than 20 +36 is greater than 20 +37 is greater than 20 +38 is greater than 20 +39 is greater than 20 +******************* + + +*** Nested WHILEs *** +Each array variable should be equal to the sum of its indices: +\${test00}[0] = 0 +\${test00}[1] = 1 +\${test00}[2] = 2 +\${test01}[0] = 1 +\${test01}[1] = 2 +\${test01}[2] = 3 +\${test02}[0] = 2 +\${test02}[1] = 3 +\${test02}[2] = 4 +\${test10}[0] = 1 +\${test10}[1] = 2 +\${test10}[2] = 3 +\${test11}[0] = 2 +\${test11}[1] = 3 +\${test11}[2] = 4 +\${test12}[0] = 3 +\${test12}[1] = 4 +\${test12}[2] = 5 +\${test20}[0] = 2 +\${test20}[1] = 3 +\${test20}[2] = 4 +\${test21}[0] = 3 +\${test21}[1] = 4 +\${test21}[2] = 5 +\${test22}[0] = 4 +\${test22}[1] = 5 +\${test22}[2] = 6 +********************* + +*** hash test... *** +commented out... +************************** + +*** Hash resizing test *** +ba +baa +baaa +baaaa +baaaaa +baaaaaa +baaaaaaa +baaaaaaaa +baaaaaaaaa +baaaaaaaaaa +ba +10 +baa +9 +baaa +8 +baaaa +7 +baaaaa +6 +baaaaaa +5 +baaaaaaa +4 +baaaaaaaa +3 +baaaaaaaaa +2 +baaaaaaaaaa +1 +************************** + + +*** break/continue test *** +\$i should go from 0 to 2 +\$j should go from 3 to 4, and \$q should go from 3 to 4 + \$j=3 + \$q=3 + \$q=4 + \$j=4 + \$q=3 + \$q=4 +\$j should go from 0 to 2 + \$j=0 + \$j=1 + \$j=2 +\$k should go from 0 to 2 + \$k=0 + \$k=1 + \$k=2 +\$i=0 +\$j should go from 3 to 4, and \$q should go from 3 to 4 + \$j=3 + \$q=3 + \$q=4 + \$j=4 + \$q=3 + \$q=4 +\$j should go from 0 to 2 + \$j=0 + \$j=1 + \$j=2 +\$k should go from 0 to 2 + \$k=0 + \$k=1 + \$k=2 +\$i=1 +\$j should go from 3 to 4, and \$q should go from 3 to 4 + \$j=3 + \$q=3 + \$q=4 + \$j=4 + \$q=3 + \$q=4 +\$j should go from 0 to 2 + \$j=0 + \$j=1 + \$j=2 +\$k should go from 0 to 2 + \$k=0 + \$k=1 + \$k=2 +\$i=2 +*********************** + +*** Nested file include test *** + +This is Finish.phtml. This file is supposed to be included +from regression_test.phtml. This is normal HTML. +and this is PHP code, 2+2=4 + +******************************** + +Tests completed. + + +*** Testing assignments and variable aliasing: *** +This should read "blah": blah +This should read "this is nifty": this is nifty +************************************************* + +*** Testing integer operators *** +Correct result - 8: 8 +Correct result - 8: 8 +Correct result - 2: 2 +Correct result - -2: -2 +Correct result - 15: 15 +Correct result - 15: 15 +Correct result - 2: 2 +Correct result - 3: 3 +********************************* + +*** Testing real operators *** +Correct result - 8: 8 +Correct result - 8: 8 +Correct result - 2: 2 +Correct result - -2: -2 +Correct result - 15: 15 +Correct result - 15: 15 +Correct result - 2: 2 +Correct result - 3: 3 +********************************* + +*** Testing if/elseif/else control *** + +This works +this_still_works +should_print + + +*** Seriously nested if's test *** +** spelling correction by kluzz ** +Only two lines of text should follow: +this should be displayed. should be: \$i=1, \$j=0. is: \$i=1, \$j=0 +this is supposed to be displayed. should be: \$i=2, \$j=4. is: \$i=2, \$j=4 +3 loop iterations should follow: +2 4 +3 4 +4 4 +********************************** + +*** C-style else-if's *** +This should be displayed +************************* + +*** WHILE tests *** +0 is smaller than 20 +1 is smaller than 20 +2 is smaller than 20 +3 is smaller than 20 +4 is smaller than 20 +5 is smaller than 20 +6 is smaller than 20 +7 is smaller than 20 +8 is smaller than 20 +9 is smaller than 20 +10 is smaller than 20 +11 is smaller than 20 +12 is smaller than 20 +13 is smaller than 20 +14 is smaller than 20 +15 is smaller than 20 +16 is smaller than 20 +17 is smaller than 20 +18 is smaller than 20 +19 is smaller than 20 +20 equals 20 +21 is greater than 20 +22 is greater than 20 +23 is greater than 20 +24 is greater than 20 +25 is greater than 20 +26 is greater than 20 +27 is greater than 20 +28 is greater than 20 +29 is greater than 20 +30 is greater than 20 +31 is greater than 20 +32 is greater than 20 +33 is greater than 20 +34 is greater than 20 +35 is greater than 20 +36 is greater than 20 +37 is greater than 20 +38 is greater than 20 +39 is greater than 20 +******************* + + +*** Nested WHILEs *** +Each array variable should be equal to the sum of its indices: +\${test00}[0] = 0 +\${test00}[1] = 1 +\${test00}[2] = 2 +\${test01}[0] = 1 +\${test01}[1] = 2 +\${test01}[2] = 3 +\${test02}[0] = 2 +\${test02}[1] = 3 +\${test02}[2] = 4 +\${test10}[0] = 1 +\${test10}[1] = 2 +\${test10}[2] = 3 +\${test11}[0] = 2 +\${test11}[1] = 3 +\${test11}[2] = 4 +\${test12}[0] = 3 +\${test12}[1] = 4 +\${test12}[2] = 5 +\${test20}[0] = 2 +\${test20}[1] = 3 +\${test20}[2] = 4 +\${test21}[0] = 3 +\${test21}[1] = 4 +\${test21}[2] = 5 +\${test22}[0] = 4 +\${test22}[1] = 5 +\${test22}[2] = 6 +********************* + +*** hash test... *** +commented out... +************************** + +*** Hash resizing test *** +ba +baa +baaa +baaaa +baaaaa +baaaaaa +baaaaaaa +baaaaaaaa +baaaaaaaaa +baaaaaaaaaa +ba +10 +baa +9 +baaa +8 +baaaa +7 +baaaaa +6 +baaaaaa +5 +baaaaaaa +4 +baaaaaaaa +3 +baaaaaaaaa +2 +baaaaaaaaaa +1 +************************** + + +*** break/continue test *** +\$i should go from 0 to 2 +\$j should go from 3 to 4, and \$q should go from 3 to 4 + \$j=3 + \$q=3 + \$q=4 + \$j=4 + \$q=3 + \$q=4 +\$j should go from 0 to 2 + \$j=0 + \$j=1 + \$j=2 +\$k should go from 0 to 2 + \$k=0 + \$k=1 + \$k=2 +\$i=0 +\$j should go from 3 to 4, and \$q should go from 3 to 4 + \$j=3 + \$q=3 + \$q=4 + \$j=4 + \$q=3 + \$q=4 +\$j should go from 0 to 2 + \$j=0 + \$j=1 + \$j=2 +\$k should go from 0 to 2 + \$k=0 + \$k=1 + \$k=2 +\$i=1 +\$j should go from 3 to 4, and \$q should go from 3 to 4 + \$j=3 + \$q=3 + \$q=4 + \$j=4 + \$q=3 + \$q=4 +\$j should go from 0 to 2 + \$j=0 + \$j=1 + \$j=2 +\$k should go from 0 to 2 + \$k=0 + \$k=1 + \$k=2 +\$i=2 +*********************** + +*** Nested file include test *** + +This is Finish.phtml. This file is supposed to be included +from regression_test.phtml. This is normal HTML. +and this is PHP code, 2+2=4 + +******************************** + +Tests completed. + + +*** Testing assignments and variable aliasing: *** +This should read "blah": blah +This should read "this is nifty": this is nifty +************************************************* + +*** Testing integer operators *** +Correct result - 8: 8 +Correct result - 8: 8 +Correct result - 2: 2 +Correct result - -2: -2 +Correct result - 15: 15 +Correct result - 15: 15 +Correct result - 2: 2 +Correct result - 3: 3 +********************************* + +*** Testing real operators *** +Correct result - 8: 8 +Correct result - 8: 8 +Correct result - 2: 2 +Correct result - -2: -2 +Correct result - 15: 15 +Correct result - 15: 15 +Correct result - 2: 2 +Correct result - 3: 3 +********************************* + +*** Testing if/elseif/else control *** + +This works +this_still_works +should_print + + +*** Seriously nested if's test *** +** spelling correction by kluzz ** +Only two lines of text should follow: +this should be displayed. should be: \$i=1, \$j=0. is: \$i=1, \$j=0 +this is supposed to be displayed. should be: \$i=2, \$j=4. is: \$i=2, \$j=4 +3 loop iterations should follow: +2 4 +3 4 +4 4 +********************************** + +*** C-style else-if's *** +This should be displayed +************************* + +*** WHILE tests *** +0 is smaller than 20 +1 is smaller than 20 +2 is smaller than 20 +3 is smaller than 20 +4 is smaller than 20 +5 is smaller than 20 +6 is smaller than 20 +7 is smaller than 20 +8 is smaller than 20 +9 is smaller than 20 +10 is smaller than 20 +11 is smaller than 20 +12 is smaller than 20 +13 is smaller than 20 +14 is smaller than 20 +15 is smaller than 20 +16 is smaller than 20 +17 is smaller than 20 +18 is smaller than 20 +19 is smaller than 20 +20 equals 20 +21 is greater than 20 +22 is greater than 20 +23 is greater than 20 +24 is greater than 20 +25 is greater than 20 +26 is greater than 20 +27 is greater than 20 +28 is greater than 20 +29 is greater than 20 +30 is greater than 20 +31 is greater than 20 +32 is greater than 20 +33 is greater than 20 +34 is greater than 20 +35 is greater than 20 +36 is greater than 20 +37 is greater than 20 +38 is greater than 20 +39 is greater than 20 +******************* + + +*** Nested WHILEs *** +Each array variable should be equal to the sum of its indices: +\${test00}[0] = 0 +\${test00}[1] = 1 +\${test00}[2] = 2 +\${test01}[0] = 1 +\${test01}[1] = 2 +\${test01}[2] = 3 +\${test02}[0] = 2 +\${test02}[1] = 3 +\${test02}[2] = 4 +\${test10}[0] = 1 +\${test10}[1] = 2 +\${test10}[2] = 3 +\${test11}[0] = 2 +\${test11}[1] = 3 +\${test11}[2] = 4 +\${test12}[0] = 3 +\${test12}[1] = 4 +\${test12}[2] = 5 +\${test20}[0] = 2 +\${test20}[1] = 3 +\${test20}[2] = 4 +\${test21}[0] = 3 +\${test21}[1] = 4 +\${test21}[2] = 5 +\${test22}[0] = 4 +\${test22}[1] = 5 +\${test22}[2] = 6 +********************* + +*** hash test... *** +commented out... +************************** + +*** Hash resizing test *** +ba +baa +baaa +baaaa +baaaaa +baaaaaa +baaaaaaa +baaaaaaaa +baaaaaaaaa +baaaaaaaaaa +ba +10 +baa +9 +baaa +8 +baaaa +7 +baaaaa +6 +baaaaaa +5 +baaaaaaa +4 +baaaaaaaa +3 +baaaaaaaaa +2 +baaaaaaaaaa +1 +************************** + + +*** break/continue test *** +\$i should go from 0 to 2 +\$j should go from 3 to 4, and \$q should go from 3 to 4 + \$j=3 + \$q=3 + \$q=4 + \$j=4 + \$q=3 + \$q=4 +\$j should go from 0 to 2 + \$j=0 + \$j=1 + \$j=2 +\$k should go from 0 to 2 + \$k=0 + \$k=1 + \$k=2 +\$i=0 +\$j should go from 3 to 4, and \$q should go from 3 to 4 + \$j=3 + \$q=3 + \$q=4 + \$j=4 + \$q=3 + \$q=4 +\$j should go from 0 to 2 + \$j=0 + \$j=1 + \$j=2 +\$k should go from 0 to 2 + \$k=0 + \$k=1 + \$k=2 +\$i=1 +\$j should go from 3 to 4, and \$q should go from 3 to 4 + \$j=3 + \$q=3 + \$q=4 + \$j=4 + \$q=3 + \$q=4 +\$j should go from 0 to 2 + \$j=0 + \$j=1 + \$j=2 +\$k should go from 0 to 2 + \$k=0 + \$k=1 + \$k=2 +\$i=2 +*********************** + +*** Nested file include test *** + +This is Finish.phtml. This file is supposed to be included +from regression_test.phtml. This is normal HTML. +and this is PHP code, 2+2=4 + +******************************** + +Tests completed. + + +*** Testing assignments and variable aliasing: *** +This should read "blah": blah +This should read "this is nifty": this is nifty +************************************************* + +*** Testing integer operators *** +Correct result - 8: 8 +Correct result - 8: 8 +Correct result - 2: 2 +Correct result - -2: -2 +Correct result - 15: 15 +Correct result - 15: 15 +Correct result - 2: 2 +Correct result - 3: 3 +********************************* + +*** Testing real operators *** +Correct result - 8: 8 +Correct result - 8: 8 +Correct result - 2: 2 +Correct result - -2: -2 +Correct result - 15: 15 +Correct result - 15: 15 +Correct result - 2: 2 +Correct result - 3: 3 +********************************* + +*** Testing if/elseif/else control *** + +This works +this_still_works +should_print + + +*** Seriously nested if's test *** +** spelling correction by kluzz ** +Only two lines of text should follow: +this should be displayed. should be: \$i=1, \$j=0. is: \$i=1, \$j=0 +this is supposed to be displayed. should be: \$i=2, \$j=4. is: \$i=2, \$j=4 +3 loop iterations should follow: +2 4 +3 4 +4 4 +********************************** + +*** C-style else-if's *** +This should be displayed +************************* + +*** WHILE tests *** +0 is smaller than 20 +1 is smaller than 20 +2 is smaller than 20 +3 is smaller than 20 +4 is smaller than 20 +5 is smaller than 20 +6 is smaller than 20 +7 is smaller than 20 +8 is smaller than 20 +9 is smaller than 20 +10 is smaller than 20 +11 is smaller than 20 +12 is smaller than 20 +13 is smaller than 20 +14 is smaller than 20 +15 is smaller than 20 +16 is smaller than 20 +17 is smaller than 20 +18 is smaller than 20 +19 is smaller than 20 +20 equals 20 +21 is greater than 20 +22 is greater than 20 +23 is greater than 20 +24 is greater than 20 +25 is greater than 20 +26 is greater than 20 +27 is greater than 20 +28 is greater than 20 +29 is greater than 20 +30 is greater than 20 +31 is greater than 20 +32 is greater than 20 +33 is greater than 20 +34 is greater than 20 +35 is greater than 20 +36 is greater than 20 +37 is greater than 20 +38 is greater than 20 +39 is greater than 20 +******************* + + +*** Nested WHILEs *** +Each array variable should be equal to the sum of its indices: +\${test00}[0] = 0 +\${test00}[1] = 1 +\${test00}[2] = 2 +\${test01}[0] = 1 +\${test01}[1] = 2 +\${test01}[2] = 3 +\${test02}[0] = 2 +\${test02}[1] = 3 +\${test02}[2] = 4 +\${test10}[0] = 1 +\${test10}[1] = 2 +\${test10}[2] = 3 +\${test11}[0] = 2 +\${test11}[1] = 3 +\${test11}[2] = 4 +\${test12}[0] = 3 +\${test12}[1] = 4 +\${test12}[2] = 5 +\${test20}[0] = 2 +\${test20}[1] = 3 +\${test20}[2] = 4 +\${test21}[0] = 3 +\${test21}[1] = 4 +\${test21}[2] = 5 +\${test22}[0] = 4 +\${test22}[1] = 5 +\${test22}[2] = 6 +********************* + +*** hash test... *** +commented out... +************************** + +*** Hash resizing test *** +ba +baa +baaa +baaaa +baaaaa +baaaaaa +baaaaaaa +baaaaaaaa +baaaaaaaaa +baaaaaaaaaa +ba +10 +baa +9 +baaa +8 +baaaa +7 +baaaaa +6 +baaaaaa +5 +baaaaaaa +4 +baaaaaaaa +3 +baaaaaaaaa +2 +baaaaaaaaaa +1 +************************** + + +*** break/continue test *** +\$i should go from 0 to 2 +\$j should go from 3 to 4, and \$q should go from 3 to 4 + \$j=3 + \$q=3 + \$q=4 + \$j=4 + \$q=3 + \$q=4 +\$j should go from 0 to 2 + \$j=0 + \$j=1 + \$j=2 +\$k should go from 0 to 2 + \$k=0 + \$k=1 + \$k=2 +\$i=0 +\$j should go from 3 to 4, and \$q should go from 3 to 4 + \$j=3 + \$q=3 + \$q=4 + \$j=4 + \$q=3 + \$q=4 +\$j should go from 0 to 2 + \$j=0 + \$j=1 + \$j=2 +\$k should go from 0 to 2 + \$k=0 + \$k=1 + \$k=2 +\$i=1 +\$j should go from 3 to 4, and \$q should go from 3 to 4 + \$j=3 + \$q=3 + \$q=4 + \$j=4 + \$q=3 + \$q=4 +\$j should go from 0 to 2 + \$j=0 + \$j=1 + \$j=2 +\$k should go from 0 to 2 + \$k=0 + \$k=1 + \$k=2 +\$i=2 +*********************** + +*** Nested file include test *** + +This is Finish.phtml. This file is supposed to be included +from regression_test.phtml. This is normal HTML. +and this is PHP code, 2+2=4 + +******************************** + +Tests completed. + + +*** Testing assignments and variable aliasing: *** +This should read "blah": blah +This should read "this is nifty": this is nifty +************************************************* + +*** Testing integer operators *** +Correct result - 8: 8 +Correct result - 8: 8 +Correct result - 2: 2 +Correct result - -2: -2 +Correct result - 15: 15 +Correct result - 15: 15 +Correct result - 2: 2 +Correct result - 3: 3 +********************************* + +*** Testing real operators *** +Correct result - 8: 8 +Correct result - 8: 8 +Correct result - 2: 2 +Correct result - -2: -2 +Correct result - 15: 15 +Correct result - 15: 15 +Correct result - 2: 2 +Correct result - 3: 3 +********************************* + +*** Testing if/elseif/else control *** + +This works +this_still_works +should_print + + +*** Seriously nested if's test *** +** spelling correction by kluzz ** +Only two lines of text should follow: +this should be displayed. should be: \$i=1, \$j=0. is: \$i=1, \$j=0 +this is supposed to be displayed. should be: \$i=2, \$j=4. is: \$i=2, \$j=4 +3 loop iterations should follow: +2 4 +3 4 +4 4 +********************************** + +*** C-style else-if's *** +This should be displayed +************************* + +*** WHILE tests *** +0 is smaller than 20 +1 is smaller than 20 +2 is smaller than 20 +3 is smaller than 20 +4 is smaller than 20 +5 is smaller than 20 +6 is smaller than 20 +7 is smaller than 20 +8 is smaller than 20 +9 is smaller than 20 +10 is smaller than 20 +11 is smaller than 20 +12 is smaller than 20 +13 is smaller than 20 +14 is smaller than 20 +15 is smaller than 20 +16 is smaller than 20 +17 is smaller than 20 +18 is smaller than 20 +19 is smaller than 20 +20 equals 20 +21 is greater than 20 +22 is greater than 20 +23 is greater than 20 +24 is greater than 20 +25 is greater than 20 +26 is greater than 20 +27 is greater than 20 +28 is greater than 20 +29 is greater than 20 +30 is greater than 20 +31 is greater than 20 +32 is greater than 20 +33 is greater than 20 +34 is greater than 20 +35 is greater than 20 +36 is greater than 20 +37 is greater than 20 +38 is greater than 20 +39 is greater than 20 +******************* + + +*** Nested WHILEs *** +Each array variable should be equal to the sum of its indices: +\${test00}[0] = 0 +\${test00}[1] = 1 +\${test00}[2] = 2 +\${test01}[0] = 1 +\${test01}[1] = 2 +\${test01}[2] = 3 +\${test02}[0] = 2 +\${test02}[1] = 3 +\${test02}[2] = 4 +\${test10}[0] = 1 +\${test10}[1] = 2 +\${test10}[2] = 3 +\${test11}[0] = 2 +\${test11}[1] = 3 +\${test11}[2] = 4 +\${test12}[0] = 3 +\${test12}[1] = 4 +\${test12}[2] = 5 +\${test20}[0] = 2 +\${test20}[1] = 3 +\${test20}[2] = 4 +\${test21}[0] = 3 +\${test21}[1] = 4 +\${test21}[2] = 5 +\${test22}[0] = 4 +\${test22}[1] = 5 +\${test22}[2] = 6 +********************* + +*** hash test... *** +commented out... +************************** + +*** Hash resizing test *** +ba +baa +baaa +baaaa +baaaaa +baaaaaa +baaaaaaa +baaaaaaaa +baaaaaaaaa +baaaaaaaaaa +ba +10 +baa +9 +baaa +8 +baaaa +7 +baaaaa +6 +baaaaaa +5 +baaaaaaa +4 +baaaaaaaa +3 +baaaaaaaaa +2 +baaaaaaaaaa +1 +************************** + + +*** break/continue test *** +\$i should go from 0 to 2 +\$j should go from 3 to 4, and \$q should go from 3 to 4 + \$j=3 + \$q=3 + \$q=4 + \$j=4 + \$q=3 + \$q=4 +\$j should go from 0 to 2 + \$j=0 + \$j=1 + \$j=2 +\$k should go from 0 to 2 + \$k=0 + \$k=1 + \$k=2 +\$i=0 +\$j should go from 3 to 4, and \$q should go from 3 to 4 + \$j=3 + \$q=3 + \$q=4 + \$j=4 + \$q=3 + \$q=4 +\$j should go from 0 to 2 + \$j=0 + \$j=1 + \$j=2 +\$k should go from 0 to 2 + \$k=0 + \$k=1 + \$k=2 +\$i=1 +\$j should go from 3 to 4, and \$q should go from 3 to 4 + \$j=3 + \$q=3 + \$q=4 + \$j=4 + \$q=3 + \$q=4 +\$j should go from 0 to 2 + \$j=0 + \$j=1 + \$j=2 +\$k should go from 0 to 2 + \$k=0 + \$k=1 + \$k=2 +\$i=2 +*********************** + +*** Nested file include test *** + +This is Finish.phtml. This file is supposed to be included +from regression_test.phtml. This is normal HTML. +and this is PHP code, 2+2=4 + +******************************** + +Tests completed. + + +*** Testing assignments and variable aliasing: *** +This should read "blah": blah +This should read "this is nifty": this is nifty +************************************************* + +*** Testing integer operators *** +Correct result - 8: 8 +Correct result - 8: 8 +Correct result - 2: 2 +Correct result - -2: -2 +Correct result - 15: 15 +Correct result - 15: 15 +Correct result - 2: 2 +Correct result - 3: 3 +********************************* + +*** Testing real operators *** +Correct result - 8: 8 +Correct result - 8: 8 +Correct result - 2: 2 +Correct result - -2: -2 +Correct result - 15: 15 +Correct result - 15: 15 +Correct result - 2: 2 +Correct result - 3: 3 +********************************* + +*** Testing if/elseif/else control *** + +This works +this_still_works +should_print + + +*** Seriously nested if's test *** +** spelling correction by kluzz ** +Only two lines of text should follow: +this should be displayed. should be: \$i=1, \$j=0. is: \$i=1, \$j=0 +this is supposed to be displayed. should be: \$i=2, \$j=4. is: \$i=2, \$j=4 +3 loop iterations should follow: +2 4 +3 4 +4 4 +********************************** + +*** C-style else-if's *** +This should be displayed +************************* + +*** WHILE tests *** +0 is smaller than 20 +1 is smaller than 20 +2 is smaller than 20 +3 is smaller than 20 +4 is smaller than 20 +5 is smaller than 20 +6 is smaller than 20 +7 is smaller than 20 +8 is smaller than 20 +9 is smaller than 20 +10 is smaller than 20 +11 is smaller than 20 +12 is smaller than 20 +13 is smaller than 20 +14 is smaller than 20 +15 is smaller than 20 +16 is smaller than 20 +17 is smaller than 20 +18 is smaller than 20 +19 is smaller than 20 +20 equals 20 +21 is greater than 20 +22 is greater than 20 +23 is greater than 20 +24 is greater than 20 +25 is greater than 20 +26 is greater than 20 +27 is greater than 20 +28 is greater than 20 +29 is greater than 20 +30 is greater than 20 +31 is greater than 20 +32 is greater than 20 +33 is greater than 20 +34 is greater than 20 +35 is greater than 20 +36 is greater than 20 +37 is greater than 20 +38 is greater than 20 +39 is greater than 20 +******************* + + +*** Nested WHILEs *** +Each array variable should be equal to the sum of its indices: +\${test00}[0] = 0 +\${test00}[1] = 1 +\${test00}[2] = 2 +\${test01}[0] = 1 +\${test01}[1] = 2 +\${test01}[2] = 3 +\${test02}[0] = 2 +\${test02}[1] = 3 +\${test02}[2] = 4 +\${test10}[0] = 1 +\${test10}[1] = 2 +\${test10}[2] = 3 +\${test11}[0] = 2 +\${test11}[1] = 3 +\${test11}[2] = 4 +\${test12}[0] = 3 +\${test12}[1] = 4 +\${test12}[2] = 5 +\${test20}[0] = 2 +\${test20}[1] = 3 +\${test20}[2] = 4 +\${test21}[0] = 3 +\${test21}[1] = 4 +\${test21}[2] = 5 +\${test22}[0] = 4 +\${test22}[1] = 5 +\${test22}[2] = 6 +********************* + +*** hash test... *** +commented out... +************************** + +*** Hash resizing test *** +ba +baa +baaa +baaaa +baaaaa +baaaaaa +baaaaaaa +baaaaaaaa +baaaaaaaaa +baaaaaaaaaa +ba +10 +baa +9 +baaa +8 +baaaa +7 +baaaaa +6 +baaaaaa +5 +baaaaaaa +4 +baaaaaaaa +3 +baaaaaaaaa +2 +baaaaaaaaaa +1 +************************** + + +*** break/continue test *** +\$i should go from 0 to 2 +\$j should go from 3 to 4, and \$q should go from 3 to 4 + \$j=3 + \$q=3 + \$q=4 + \$j=4 + \$q=3 + \$q=4 +\$j should go from 0 to 2 + \$j=0 + \$j=1 + \$j=2 +\$k should go from 0 to 2 + \$k=0 + \$k=1 + \$k=2 +\$i=0 +\$j should go from 3 to 4, and \$q should go from 3 to 4 + \$j=3 + \$q=3 + \$q=4 + \$j=4 + \$q=3 + \$q=4 +\$j should go from 0 to 2 + \$j=0 + \$j=1 + \$j=2 +\$k should go from 0 to 2 + \$k=0 + \$k=1 + \$k=2 +\$i=1 +\$j should go from 3 to 4, and \$q should go from 3 to 4 + \$j=3 + \$q=3 + \$q=4 + \$j=4 + \$q=3 + \$q=4 +\$j should go from 0 to 2 + \$j=0 + \$j=1 + \$j=2 +\$k should go from 0 to 2 + \$k=0 + \$k=1 + \$k=2 +\$i=2 +*********************** + +*** Nested file include test *** + +This is Finish.phtml. This file is supposed to be included +from regression_test.phtml. This is normal HTML. +and this is PHP code, 2+2=4 + +******************************** + +Tests completed. + + +*** Testing assignments and variable aliasing: *** +This should read "blah": blah +This should read "this is nifty": this is nifty +************************************************* + +*** Testing integer operators *** +Correct result - 8: 8 +Correct result - 8: 8 +Correct result - 2: 2 +Correct result - -2: -2 +Correct result - 15: 15 +Correct result - 15: 15 +Correct result - 2: 2 +Correct result - 3: 3 +********************************* + +*** Testing real operators *** +Correct result - 8: 8 +Correct result - 8: 8 +Correct result - 2: 2 +Correct result - -2: -2 +Correct result - 15: 15 +Correct result - 15: 15 +Correct result - 2: 2 +Correct result - 3: 3 +********************************* + +*** Testing if/elseif/else control *** + +This works +this_still_works +should_print + + +*** Seriously nested if's test *** +** spelling correction by kluzz ** +Only two lines of text should follow: +this should be displayed. should be: \$i=1, \$j=0. is: \$i=1, \$j=0 +this is supposed to be displayed. should be: \$i=2, \$j=4. is: \$i=2, \$j=4 +3 loop iterations should follow: +2 4 +3 4 +4 4 +********************************** + +*** C-style else-if's *** +This should be displayed +************************* + +*** WHILE tests *** +0 is smaller than 20 +1 is smaller than 20 +2 is smaller than 20 +3 is smaller than 20 +4 is smaller than 20 +5 is smaller than 20 +6 is smaller than 20 +7 is smaller than 20 +8 is smaller than 20 +9 is smaller than 20 +10 is smaller than 20 +11 is smaller than 20 +12 is smaller than 20 +13 is smaller than 20 +14 is smaller than 20 +15 is smaller than 20 +16 is smaller than 20 +17 is smaller than 20 +18 is smaller than 20 +19 is smaller than 20 +20 equals 20 +21 is greater than 20 +22 is greater than 20 +23 is greater than 20 +24 is greater than 20 +25 is greater than 20 +26 is greater than 20 +27 is greater than 20 +28 is greater than 20 +29 is greater than 20 +30 is greater than 20 +31 is greater than 20 +32 is greater than 20 +33 is greater than 20 +34 is greater than 20 +35 is greater than 20 +36 is greater than 20 +37 is greater than 20 +38 is greater than 20 +39 is greater than 20 +******************* + + +*** Nested WHILEs *** +Each array variable should be equal to the sum of its indices: +\${test00}[0] = 0 +\${test00}[1] = 1 +\${test00}[2] = 2 +\${test01}[0] = 1 +\${test01}[1] = 2 +\${test01}[2] = 3 +\${test02}[0] = 2 +\${test02}[1] = 3 +\${test02}[2] = 4 +\${test10}[0] = 1 +\${test10}[1] = 2 +\${test10}[2] = 3 +\${test11}[0] = 2 +\${test11}[1] = 3 +\${test11}[2] = 4 +\${test12}[0] = 3 +\${test12}[1] = 4 +\${test12}[2] = 5 +\${test20}[0] = 2 +\${test20}[1] = 3 +\${test20}[2] = 4 +\${test21}[0] = 3 +\${test21}[1] = 4 +\${test21}[2] = 5 +\${test22}[0] = 4 +\${test22}[1] = 5 +\${test22}[2] = 6 +********************* + +*** hash test... *** +commented out... +************************** + +*** Hash resizing test *** +ba +baa +baaa +baaaa +baaaaa +baaaaaa +baaaaaaa +baaaaaaaa +baaaaaaaaa +baaaaaaaaaa +ba +10 +baa +9 +baaa +8 +baaaa +7 +baaaaa +6 +baaaaaa +5 +baaaaaaa +4 +baaaaaaaa +3 +baaaaaaaaa +2 +baaaaaaaaaa +1 +************************** + + +*** break/continue test *** +\$i should go from 0 to 2 +\$j should go from 3 to 4, and \$q should go from 3 to 4 + \$j=3 + \$q=3 + \$q=4 + \$j=4 + \$q=3 + \$q=4 +\$j should go from 0 to 2 + \$j=0 + \$j=1 + \$j=2 +\$k should go from 0 to 2 + \$k=0 + \$k=1 + \$k=2 +\$i=0 +\$j should go from 3 to 4, and \$q should go from 3 to 4 + \$j=3 + \$q=3 + \$q=4 + \$j=4 + \$q=3 + \$q=4 +\$j should go from 0 to 2 + \$j=0 + \$j=1 + \$j=2 +\$k should go from 0 to 2 + \$k=0 + \$k=1 + \$k=2 +\$i=1 +\$j should go from 3 to 4, and \$q should go from 3 to 4 + \$j=3 + \$q=3 + \$q=4 + \$j=4 + \$q=3 + \$q=4 +\$j should go from 0 to 2 + \$j=0 + \$j=1 + \$j=2 +\$k should go from 0 to 2 + \$k=0 + \$k=1 + \$k=2 +\$i=2 +*********************** + +*** Nested file include test *** + +This is Finish.phtml. This file is supposed to be included +from regression_test.phtml. This is normal HTML. +and this is PHP code, 2+2=4 + +******************************** + +Tests completed. + + +*** Testing assignments and variable aliasing: *** +This should read "blah": blah +This should read "this is nifty": this is nifty +************************************************* + +*** Testing integer operators *** +Correct result - 8: 8 +Correct result - 8: 8 +Correct result - 2: 2 +Correct result - -2: -2 +Correct result - 15: 15 +Correct result - 15: 15 +Correct result - 2: 2 +Correct result - 3: 3 +********************************* + +*** Testing real operators *** +Correct result - 8: 8 +Correct result - 8: 8 +Correct result - 2: 2 +Correct result - -2: -2 +Correct result - 15: 15 +Correct result - 15: 15 +Correct result - 2: 2 +Correct result - 3: 3 +********************************* + +*** Testing if/elseif/else control *** + +This works +this_still_works +should_print + + +*** Seriously nested if's test *** +** spelling correction by kluzz ** +Only two lines of text should follow: +this should be displayed. should be: \$i=1, \$j=0. is: \$i=1, \$j=0 +this is supposed to be displayed. should be: \$i=2, \$j=4. is: \$i=2, \$j=4 +3 loop iterations should follow: +2 4 +3 4 +4 4 +********************************** + +*** C-style else-if's *** +This should be displayed +************************* + +*** WHILE tests *** +0 is smaller than 20 +1 is smaller than 20 +2 is smaller than 20 +3 is smaller than 20 +4 is smaller than 20 +5 is smaller than 20 +6 is smaller than 20 +7 is smaller than 20 +8 is smaller than 20 +9 is smaller than 20 +10 is smaller than 20 +11 is smaller than 20 +12 is smaller than 20 +13 is smaller than 20 +14 is smaller than 20 +15 is smaller than 20 +16 is smaller than 20 +17 is smaller than 20 +18 is smaller than 20 +19 is smaller than 20 +20 equals 20 +21 is greater than 20 +22 is greater than 20 +23 is greater than 20 +24 is greater than 20 +25 is greater than 20 +26 is greater than 20 +27 is greater than 20 +28 is greater than 20 +29 is greater than 20 +30 is greater than 20 +31 is greater than 20 +32 is greater than 20 +33 is greater than 20 +34 is greater than 20 +35 is greater than 20 +36 is greater than 20 +37 is greater than 20 +38 is greater than 20 +39 is greater than 20 +******************* + + +*** Nested WHILEs *** +Each array variable should be equal to the sum of its indices: +\${test00}[0] = 0 +\${test00}[1] = 1 +\${test00}[2] = 2 +\${test01}[0] = 1 +\${test01}[1] = 2 +\${test01}[2] = 3 +\${test02}[0] = 2 +\${test02}[1] = 3 +\${test02}[2] = 4 +\${test10}[0] = 1 +\${test10}[1] = 2 +\${test10}[2] = 3 +\${test11}[0] = 2 +\${test11}[1] = 3 +\${test11}[2] = 4 +\${test12}[0] = 3 +\${test12}[1] = 4 +\${test12}[2] = 5 +\${test20}[0] = 2 +\${test20}[1] = 3 +\${test20}[2] = 4 +\${test21}[0] = 3 +\${test21}[1] = 4 +\${test21}[2] = 5 +\${test22}[0] = 4 +\${test22}[1] = 5 +\${test22}[2] = 6 +********************* + +*** hash test... *** +commented out... +************************** + +*** Hash resizing test *** +ba +baa +baaa +baaaa +baaaaa +baaaaaa +baaaaaaa +baaaaaaaa +baaaaaaaaa +baaaaaaaaaa +ba +10 +baa +9 +baaa +8 +baaaa +7 +baaaaa +6 +baaaaaa +5 +baaaaaaa +4 +baaaaaaaa +3 +baaaaaaaaa +2 +baaaaaaaaaa +1 +************************** + + +*** break/continue test *** +\$i should go from 0 to 2 +\$j should go from 3 to 4, and \$q should go from 3 to 4 + \$j=3 + \$q=3 + \$q=4 + \$j=4 + \$q=3 + \$q=4 +\$j should go from 0 to 2 + \$j=0 + \$j=1 + \$j=2 +\$k should go from 0 to 2 + \$k=0 + \$k=1 + \$k=2 +\$i=0 +\$j should go from 3 to 4, and \$q should go from 3 to 4 + \$j=3 + \$q=3 + \$q=4 + \$j=4 + \$q=3 + \$q=4 +\$j should go from 0 to 2 + \$j=0 + \$j=1 + \$j=2 +\$k should go from 0 to 2 + \$k=0 + \$k=1 + \$k=2 +\$i=1 +\$j should go from 3 to 4, and \$q should go from 3 to 4 + \$j=3 + \$q=3 + \$q=4 + \$j=4 + \$q=3 + \$q=4 +\$j should go from 0 to 2 + \$j=0 + \$j=1 + \$j=2 +\$k should go from 0 to 2 + \$k=0 + \$k=1 + \$k=2 +\$i=2 +*********************** + +*** Nested file include test *** + +This is Finish.phtml. This file is supposed to be included +from regression_test.phtml. This is normal HTML. +and this is PHP code, 2+2=4 + +******************************** + +Tests completed. + + +*** Testing assignments and variable aliasing: *** +This should read "blah": blah +This should read "this is nifty": this is nifty +************************************************* + +*** Testing integer operators *** +Correct result - 8: 8 +Correct result - 8: 8 +Correct result - 2: 2 +Correct result - -2: -2 +Correct result - 15: 15 +Correct result - 15: 15 +Correct result - 2: 2 +Correct result - 3: 3 +********************************* + +*** Testing real operators *** +Correct result - 8: 8 +Correct result - 8: 8 +Correct result - 2: 2 +Correct result - -2: -2 +Correct result - 15: 15 +Correct result - 15: 15 +Correct result - 2: 2 +Correct result - 3: 3 +********************************* + +*** Testing if/elseif/else control *** + +This works +this_still_works +should_print + + +*** Seriously nested if's test *** +** spelling correction by kluzz ** +Only two lines of text should follow: +this should be displayed. should be: \$i=1, \$j=0. is: \$i=1, \$j=0 +this is supposed to be displayed. should be: \$i=2, \$j=4. is: \$i=2, \$j=4 +3 loop iterations should follow: +2 4 +3 4 +4 4 +********************************** + +*** C-style else-if's *** +This should be displayed +************************* + +*** WHILE tests *** +0 is smaller than 20 +1 is smaller than 20 +2 is smaller than 20 +3 is smaller than 20 +4 is smaller than 20 +5 is smaller than 20 +6 is smaller than 20 +7 is smaller than 20 +8 is smaller than 20 +9 is smaller than 20 +10 is smaller than 20 +11 is smaller than 20 +12 is smaller than 20 +13 is smaller than 20 +14 is smaller than 20 +15 is smaller than 20 +16 is smaller than 20 +17 is smaller than 20 +18 is smaller than 20 +19 is smaller than 20 +20 equals 20 +21 is greater than 20 +22 is greater than 20 +23 is greater than 20 +24 is greater than 20 +25 is greater than 20 +26 is greater than 20 +27 is greater than 20 +28 is greater than 20 +29 is greater than 20 +30 is greater than 20 +31 is greater than 20 +32 is greater than 20 +33 is greater than 20 +34 is greater than 20 +35 is greater than 20 +36 is greater than 20 +37 is greater than 20 +38 is greater than 20 +39 is greater than 20 +******************* + + +*** Nested WHILEs *** +Each array variable should be equal to the sum of its indices: +\${test00}[0] = 0 +\${test00}[1] = 1 +\${test00}[2] = 2 +\${test01}[0] = 1 +\${test01}[1] = 2 +\${test01}[2] = 3 +\${test02}[0] = 2 +\${test02}[1] = 3 +\${test02}[2] = 4 +\${test10}[0] = 1 +\${test10}[1] = 2 +\${test10}[2] = 3 +\${test11}[0] = 2 +\${test11}[1] = 3 +\${test11}[2] = 4 +\${test12}[0] = 3 +\${test12}[1] = 4 +\${test12}[2] = 5 +\${test20}[0] = 2 +\${test20}[1] = 3 +\${test20}[2] = 4 +\${test21}[0] = 3 +\${test21}[1] = 4 +\${test21}[2] = 5 +\${test22}[0] = 4 +\${test22}[1] = 5 +\${test22}[2] = 6 +********************* + +*** hash test... *** +commented out... +************************** + +*** Hash resizing test *** +ba +baa +baaa +baaaa +baaaaa +baaaaaa +baaaaaaa +baaaaaaaa +baaaaaaaaa +baaaaaaaaaa +ba +10 +baa +9 +baaa +8 +baaaa +7 +baaaaa +6 +baaaaaa +5 +baaaaaaa +4 +baaaaaaaa +3 +baaaaaaaaa +2 +baaaaaaaaaa +1 +************************** + + +*** break/continue test *** +\$i should go from 0 to 2 +\$j should go from 3 to 4, and \$q should go from 3 to 4 + \$j=3 + \$q=3 + \$q=4 + \$j=4 + \$q=3 + \$q=4 +\$j should go from 0 to 2 + \$j=0 + \$j=1 + \$j=2 +\$k should go from 0 to 2 + \$k=0 + \$k=1 + \$k=2 +\$i=0 +\$j should go from 3 to 4, and \$q should go from 3 to 4 + \$j=3 + \$q=3 + \$q=4 + \$j=4 + \$q=3 + \$q=4 +\$j should go from 0 to 2 + \$j=0 + \$j=1 + \$j=2 +\$k should go from 0 to 2 + \$k=0 + \$k=1 + \$k=2 +\$i=1 +\$j should go from 3 to 4, and \$q should go from 3 to 4 + \$j=3 + \$q=3 + \$q=4 + \$j=4 + \$q=3 + \$q=4 +\$j should go from 0 to 2 + \$j=0 + \$j=1 + \$j=2 +\$k should go from 0 to 2 + \$k=0 + \$k=1 + \$k=2 +\$i=2 +*********************** + +*** Nested file include test *** + +This is Finish.phtml. This file is supposed to be included +from regression_test.phtml. This is normal HTML. +and this is PHP code, 2+2=4 + +******************************** + +Tests completed. + + +*** Testing assignments and variable aliasing: *** +This should read "blah": blah +This should read "this is nifty": this is nifty +************************************************* + +*** Testing integer operators *** +Correct result - 8: 8 +Correct result - 8: 8 +Correct result - 2: 2 +Correct result - -2: -2 +Correct result - 15: 15 +Correct result - 15: 15 +Correct result - 2: 2 +Correct result - 3: 3 +********************************* + +*** Testing real operators *** +Correct result - 8: 8 +Correct result - 8: 8 +Correct result - 2: 2 +Correct result - -2: -2 +Correct result - 15: 15 +Correct result - 15: 15 +Correct result - 2: 2 +Correct result - 3: 3 +********************************* + +*** Testing if/elseif/else control *** + +This works +this_still_works +should_print + + +*** Seriously nested if's test *** +** spelling correction by kluzz ** +Only two lines of text should follow: +this should be displayed. should be: \$i=1, \$j=0. is: \$i=1, \$j=0 +this is supposed to be displayed. should be: \$i=2, \$j=4. is: \$i=2, \$j=4 +3 loop iterations should follow: +2 4 +3 4 +4 4 +********************************** + +*** C-style else-if's *** +This should be displayed +************************* + +*** WHILE tests *** +0 is smaller than 20 +1 is smaller than 20 +2 is smaller than 20 +3 is smaller than 20 +4 is smaller than 20 +5 is smaller than 20 +6 is smaller than 20 +7 is smaller than 20 +8 is smaller than 20 +9 is smaller than 20 +10 is smaller than 20 +11 is smaller than 20 +12 is smaller than 20 +13 is smaller than 20 +14 is smaller than 20 +15 is smaller than 20 +16 is smaller than 20 +17 is smaller than 20 +18 is smaller than 20 +19 is smaller than 20 +20 equals 20 +21 is greater than 20 +22 is greater than 20 +23 is greater than 20 +24 is greater than 20 +25 is greater than 20 +26 is greater than 20 +27 is greater than 20 +28 is greater than 20 +29 is greater than 20 +30 is greater than 20 +31 is greater than 20 +32 is greater than 20 +33 is greater than 20 +34 is greater than 20 +35 is greater than 20 +36 is greater than 20 +37 is greater than 20 +38 is greater than 20 +39 is greater than 20 +******************* + + +*** Nested WHILEs *** +Each array variable should be equal to the sum of its indices: +\${test00}[0] = 0 +\${test00}[1] = 1 +\${test00}[2] = 2 +\${test01}[0] = 1 +\${test01}[1] = 2 +\${test01}[2] = 3 +\${test02}[0] = 2 +\${test02}[1] = 3 +\${test02}[2] = 4 +\${test10}[0] = 1 +\${test10}[1] = 2 +\${test10}[2] = 3 +\${test11}[0] = 2 +\${test11}[1] = 3 +\${test11}[2] = 4 +\${test12}[0] = 3 +\${test12}[1] = 4 +\${test12}[2] = 5 +\${test20}[0] = 2 +\${test20}[1] = 3 +\${test20}[2] = 4 +\${test21}[0] = 3 +\${test21}[1] = 4 +\${test21}[2] = 5 +\${test22}[0] = 4 +\${test22}[1] = 5 +\${test22}[2] = 6 +********************* + +*** hash test... *** +commented out... +************************** + +*** Hash resizing test *** +ba +baa +baaa +baaaa +baaaaa +baaaaaa +baaaaaaa +baaaaaaaa +baaaaaaaaa +baaaaaaaaaa +ba +10 +baa +9 +baaa +8 +baaaa +7 +baaaaa +6 +baaaaaa +5 +baaaaaaa +4 +baaaaaaaa +3 +baaaaaaaaa +2 +baaaaaaaaaa +1 +************************** + + +*** break/continue test *** +\$i should go from 0 to 2 +\$j should go from 3 to 4, and \$q should go from 3 to 4 + \$j=3 + \$q=3 + \$q=4 + \$j=4 + \$q=3 + \$q=4 +\$j should go from 0 to 2 + \$j=0 + \$j=1 + \$j=2 +\$k should go from 0 to 2 + \$k=0 + \$k=1 + \$k=2 +\$i=0 +\$j should go from 3 to 4, and \$q should go from 3 to 4 + \$j=3 + \$q=3 + \$q=4 + \$j=4 + \$q=3 + \$q=4 +\$j should go from 0 to 2 + \$j=0 + \$j=1 + \$j=2 +\$k should go from 0 to 2 + \$k=0 + \$k=1 + \$k=2 +\$i=1 +\$j should go from 3 to 4, and \$q should go from 3 to 4 + \$j=3 + \$q=3 + \$q=4 + \$j=4 + \$q=3 + \$q=4 +\$j should go from 0 to 2 + \$j=0 + \$j=1 + \$j=2 +\$k should go from 0 to 2 + \$k=0 + \$k=1 + \$k=2 +\$i=2 +*********************** + +*** Nested file include test *** + +This is Finish.phtml. This file is supposed to be included +from regression_test.phtml. This is normal HTML. +and this is PHP code, 2+2=4 + +******************************** + +Tests completed. + + +*** Testing assignments and variable aliasing: *** +This should read "blah": blah +This should read "this is nifty": this is nifty +************************************************* + +*** Testing integer operators *** +Correct result - 8: 8 +Correct result - 8: 8 +Correct result - 2: 2 +Correct result - -2: -2 +Correct result - 15: 15 +Correct result - 15: 15 +Correct result - 2: 2 +Correct result - 3: 3 +********************************* + +*** Testing real operators *** +Correct result - 8: 8 +Correct result - 8: 8 +Correct result - 2: 2 +Correct result - -2: -2 +Correct result - 15: 15 +Correct result - 15: 15 +Correct result - 2: 2 +Correct result - 3: 3 +********************************* + +*** Testing if/elseif/else control *** + +This works +this_still_works +should_print + + +*** Seriously nested if's test *** +** spelling correction by kluzz ** +Only two lines of text should follow: +this should be displayed. should be: \$i=1, \$j=0. is: \$i=1, \$j=0 +this is supposed to be displayed. should be: \$i=2, \$j=4. is: \$i=2, \$j=4 +3 loop iterations should follow: +2 4 +3 4 +4 4 +********************************** + +*** C-style else-if's *** +This should be displayed +************************* + +*** WHILE tests *** +0 is smaller than 20 +1 is smaller than 20 +2 is smaller than 20 +3 is smaller than 20 +4 is smaller than 20 +5 is smaller than 20 +6 is smaller than 20 +7 is smaller than 20 +8 is smaller than 20 +9 is smaller than 20 +10 is smaller than 20 +11 is smaller than 20 +12 is smaller than 20 +13 is smaller than 20 +14 is smaller than 20 +15 is smaller than 20 +16 is smaller than 20 +17 is smaller than 20 +18 is smaller than 20 +19 is smaller than 20 +20 equals 20 +21 is greater than 20 +22 is greater than 20 +23 is greater than 20 +24 is greater than 20 +25 is greater than 20 +26 is greater than 20 +27 is greater than 20 +28 is greater than 20 +29 is greater than 20 +30 is greater than 20 +31 is greater than 20 +32 is greater than 20 +33 is greater than 20 +34 is greater than 20 +35 is greater than 20 +36 is greater than 20 +37 is greater than 20 +38 is greater than 20 +39 is greater than 20 +******************* + + +*** Nested WHILEs *** +Each array variable should be equal to the sum of its indices: +\${test00}[0] = 0 +\${test00}[1] = 1 +\${test00}[2] = 2 +\${test01}[0] = 1 +\${test01}[1] = 2 +\${test01}[2] = 3 +\${test02}[0] = 2 +\${test02}[1] = 3 +\${test02}[2] = 4 +\${test10}[0] = 1 +\${test10}[1] = 2 +\${test10}[2] = 3 +\${test11}[0] = 2 +\${test11}[1] = 3 +\${test11}[2] = 4 +\${test12}[0] = 3 +\${test12}[1] = 4 +\${test12}[2] = 5 +\${test20}[0] = 2 +\${test20}[1] = 3 +\${test20}[2] = 4 +\${test21}[0] = 3 +\${test21}[1] = 4 +\${test21}[2] = 5 +\${test22}[0] = 4 +\${test22}[1] = 5 +\${test22}[2] = 6 +********************* + +*** hash test... *** +commented out... +************************** + +*** Hash resizing test *** +ba +baa +baaa +baaaa +baaaaa +baaaaaa +baaaaaaa +baaaaaaaa +baaaaaaaaa +baaaaaaaaaa +ba +10 +baa +9 +baaa +8 +baaaa +7 +baaaaa +6 +baaaaaa +5 +baaaaaaa +4 +baaaaaaaa +3 +baaaaaaaaa +2 +baaaaaaaaaa +1 +************************** + + +*** break/continue test *** +\$i should go from 0 to 2 +\$j should go from 3 to 4, and \$q should go from 3 to 4 + \$j=3 + \$q=3 + \$q=4 + \$j=4 + \$q=3 + \$q=4 +\$j should go from 0 to 2 + \$j=0 + \$j=1 + \$j=2 +\$k should go from 0 to 2 + \$k=0 + \$k=1 + \$k=2 +\$i=0 +\$j should go from 3 to 4, and \$q should go from 3 to 4 + \$j=3 + \$q=3 + \$q=4 + \$j=4 + \$q=3 + \$q=4 +\$j should go from 0 to 2 + \$j=0 + \$j=1 + \$j=2 +\$k should go from 0 to 2 + \$k=0 + \$k=1 + \$k=2 +\$i=1 +\$j should go from 3 to 4, and \$q should go from 3 to 4 + \$j=3 + \$q=3 + \$q=4 + \$j=4 + \$q=3 + \$q=4 +\$j should go from 0 to 2 + \$j=0 + \$j=1 + \$j=2 +\$k should go from 0 to 2 + \$k=0 + \$k=1 + \$k=2 +\$i=2 +*********************** + +*** Nested file include test *** + +This is Finish.phtml. This file is supposed to be included +from regression_test.phtml. This is normal HTML. +and this is PHP code, 2+2=4 + +******************************** + +Tests completed. + + +*** Testing assignments and variable aliasing: *** +This should read "blah": blah +This should read "this is nifty": this is nifty +************************************************* + +*** Testing integer operators *** +Correct result - 8: 8 +Correct result - 8: 8 +Correct result - 2: 2 +Correct result - -2: -2 +Correct result - 15: 15 +Correct result - 15: 15 +Correct result - 2: 2 +Correct result - 3: 3 +********************************* + +*** Testing real operators *** +Correct result - 8: 8 +Correct result - 8: 8 +Correct result - 2: 2 +Correct result - -2: -2 +Correct result - 15: 15 +Correct result - 15: 15 +Correct result - 2: 2 +Correct result - 3: 3 +********************************* + +*** Testing if/elseif/else control *** + +This works +this_still_works +should_print + + +*** Seriously nested if's test *** +** spelling correction by kluzz ** +Only two lines of text should follow: +this should be displayed. should be: \$i=1, \$j=0. is: \$i=1, \$j=0 +this is supposed to be displayed. should be: \$i=2, \$j=4. is: \$i=2, \$j=4 +3 loop iterations should follow: +2 4 +3 4 +4 4 +********************************** + +*** C-style else-if's *** +This should be displayed +************************* + +*** WHILE tests *** +0 is smaller than 20 +1 is smaller than 20 +2 is smaller than 20 +3 is smaller than 20 +4 is smaller than 20 +5 is smaller than 20 +6 is smaller than 20 +7 is smaller than 20 +8 is smaller than 20 +9 is smaller than 20 +10 is smaller than 20 +11 is smaller than 20 +12 is smaller than 20 +13 is smaller than 20 +14 is smaller than 20 +15 is smaller than 20 +16 is smaller than 20 +17 is smaller than 20 +18 is smaller than 20 +19 is smaller than 20 +20 equals 20 +21 is greater than 20 +22 is greater than 20 +23 is greater than 20 +24 is greater than 20 +25 is greater than 20 +26 is greater than 20 +27 is greater than 20 +28 is greater than 20 +29 is greater than 20 +30 is greater than 20 +31 is greater than 20 +32 is greater than 20 +33 is greater than 20 +34 is greater than 20 +35 is greater than 20 +36 is greater than 20 +37 is greater than 20 +38 is greater than 20 +39 is greater than 20 +******************* + + +*** Nested WHILEs *** +Each array variable should be equal to the sum of its indices: +\${test00}[0] = 0 +\${test00}[1] = 1 +\${test00}[2] = 2 +\${test01}[0] = 1 +\${test01}[1] = 2 +\${test01}[2] = 3 +\${test02}[0] = 2 +\${test02}[1] = 3 +\${test02}[2] = 4 +\${test10}[0] = 1 +\${test10}[1] = 2 +\${test10}[2] = 3 +\${test11}[0] = 2 +\${test11}[1] = 3 +\${test11}[2] = 4 +\${test12}[0] = 3 +\${test12}[1] = 4 +\${test12}[2] = 5 +\${test20}[0] = 2 +\${test20}[1] = 3 +\${test20}[2] = 4 +\${test21}[0] = 3 +\${test21}[1] = 4 +\${test21}[2] = 5 +\${test22}[0] = 4 +\${test22}[1] = 5 +\${test22}[2] = 6 +********************* + +*** hash test... *** +commented out... +************************** + +*** Hash resizing test *** +ba +baa +baaa +baaaa +baaaaa +baaaaaa +baaaaaaa +baaaaaaaa +baaaaaaaaa +baaaaaaaaaa +ba +10 +baa +9 +baaa +8 +baaaa +7 +baaaaa +6 +baaaaaa +5 +baaaaaaa +4 +baaaaaaaa +3 +baaaaaaaaa +2 +baaaaaaaaaa +1 +************************** + + +*** break/continue test *** +\$i should go from 0 to 2 +\$j should go from 3 to 4, and \$q should go from 3 to 4 + \$j=3 + \$q=3 + \$q=4 + \$j=4 + \$q=3 + \$q=4 +\$j should go from 0 to 2 + \$j=0 + \$j=1 + \$j=2 +\$k should go from 0 to 2 + \$k=0 + \$k=1 + \$k=2 +\$i=0 +\$j should go from 3 to 4, and \$q should go from 3 to 4 + \$j=3 + \$q=3 + \$q=4 + \$j=4 + \$q=3 + \$q=4 +\$j should go from 0 to 2 + \$j=0 + \$j=1 + \$j=2 +\$k should go from 0 to 2 + \$k=0 + \$k=1 + \$k=2 +\$i=1 +\$j should go from 3 to 4, and \$q should go from 3 to 4 + \$j=3 + \$q=3 + \$q=4 + \$j=4 + \$q=3 + \$q=4 +\$j should go from 0 to 2 + \$j=0 + \$j=1 + \$j=2 +\$k should go from 0 to 2 + \$k=0 + \$k=1 + \$k=2 +\$i=2 +*********************** + +*** Nested file include test *** + +This is Finish.phtml. This file is supposed to be included +from regression_test.phtml. This is normal HTML. +and this is PHP code, 2+2=4 + +******************************** + +Tests completed. + + +*** Testing assignments and variable aliasing: *** +This should read "blah": blah +This should read "this is nifty": this is nifty +************************************************* + +*** Testing integer operators *** +Correct result - 8: 8 +Correct result - 8: 8 +Correct result - 2: 2 +Correct result - -2: -2 +Correct result - 15: 15 +Correct result - 15: 15 +Correct result - 2: 2 +Correct result - 3: 3 +********************************* + +*** Testing real operators *** +Correct result - 8: 8 +Correct result - 8: 8 +Correct result - 2: 2 +Correct result - -2: -2 +Correct result - 15: 15 +Correct result - 15: 15 +Correct result - 2: 2 +Correct result - 3: 3 +********************************* + +*** Testing if/elseif/else control *** + +This works +this_still_works +should_print + + +*** Seriously nested if's test *** +** spelling correction by kluzz ** +Only two lines of text should follow: +this should be displayed. should be: \$i=1, \$j=0. is: \$i=1, \$j=0 +this is supposed to be displayed. should be: \$i=2, \$j=4. is: \$i=2, \$j=4 +3 loop iterations should follow: +2 4 +3 4 +4 4 +********************************** + +*** C-style else-if's *** +This should be displayed +************************* + +*** WHILE tests *** +0 is smaller than 20 +1 is smaller than 20 +2 is smaller than 20 +3 is smaller than 20 +4 is smaller than 20 +5 is smaller than 20 +6 is smaller than 20 +7 is smaller than 20 +8 is smaller than 20 +9 is smaller than 20 +10 is smaller than 20 +11 is smaller than 20 +12 is smaller than 20 +13 is smaller than 20 +14 is smaller than 20 +15 is smaller than 20 +16 is smaller than 20 +17 is smaller than 20 +18 is smaller than 20 +19 is smaller than 20 +20 equals 20 +21 is greater than 20 +22 is greater than 20 +23 is greater than 20 +24 is greater than 20 +25 is greater than 20 +26 is greater than 20 +27 is greater than 20 +28 is greater than 20 +29 is greater than 20 +30 is greater than 20 +31 is greater than 20 +32 is greater than 20 +33 is greater than 20 +34 is greater than 20 +35 is greater than 20 +36 is greater than 20 +37 is greater than 20 +38 is greater than 20 +39 is greater than 20 +******************* + + +*** Nested WHILEs *** +Each array variable should be equal to the sum of its indices: +\${test00}[0] = 0 +\${test00}[1] = 1 +\${test00}[2] = 2 +\${test01}[0] = 1 +\${test01}[1] = 2 +\${test01}[2] = 3 +\${test02}[0] = 2 +\${test02}[1] = 3 +\${test02}[2] = 4 +\${test10}[0] = 1 +\${test10}[1] = 2 +\${test10}[2] = 3 +\${test11}[0] = 2 +\${test11}[1] = 3 +\${test11}[2] = 4 +\${test12}[0] = 3 +\${test12}[1] = 4 +\${test12}[2] = 5 +\${test20}[0] = 2 +\${test20}[1] = 3 +\${test20}[2] = 4 +\${test21}[0] = 3 +\${test21}[1] = 4 +\${test21}[2] = 5 +\${test22}[0] = 4 +\${test22}[1] = 5 +\${test22}[2] = 6 +********************* + +*** hash test... *** +commented out... +************************** + +*** Hash resizing test *** +ba +baa +baaa +baaaa +baaaaa +baaaaaa +baaaaaaa +baaaaaaaa +baaaaaaaaa +baaaaaaaaaa +ba +10 +baa +9 +baaa +8 +baaaa +7 +baaaaa +6 +baaaaaa +5 +baaaaaaa +4 +baaaaaaaa +3 +baaaaaaaaa +2 +baaaaaaaaaa +1 +************************** + + +*** break/continue test *** +\$i should go from 0 to 2 +\$j should go from 3 to 4, and \$q should go from 3 to 4 + \$j=3 + \$q=3 + \$q=4 + \$j=4 + \$q=3 + \$q=4 +\$j should go from 0 to 2 + \$j=0 + \$j=1 + \$j=2 +\$k should go from 0 to 2 + \$k=0 + \$k=1 + \$k=2 +\$i=0 +\$j should go from 3 to 4, and \$q should go from 3 to 4 + \$j=3 + \$q=3 + \$q=4 + \$j=4 + \$q=3 + \$q=4 +\$j should go from 0 to 2 + \$j=0 + \$j=1 + \$j=2 +\$k should go from 0 to 2 + \$k=0 + \$k=1 + \$k=2 +\$i=1 +\$j should go from 3 to 4, and \$q should go from 3 to 4 + \$j=3 + \$q=3 + \$q=4 + \$j=4 + \$q=3 + \$q=4 +\$j should go from 0 to 2 + \$j=0 + \$j=1 + \$j=2 +\$k should go from 0 to 2 + \$k=0 + \$k=1 + \$k=2 +\$i=2 +*********************** + +*** Nested file include test *** + +This is Finish.phtml. This file is supposed to be included +from regression_test.phtml. This is normal HTML. +and this is PHP code, 2+2=4 + +******************************** + +Tests completed. + + +*** Testing assignments and variable aliasing: *** +This should read "blah": blah +This should read "this is nifty": this is nifty +************************************************* + +*** Testing integer operators *** +Correct result - 8: 8 +Correct result - 8: 8 +Correct result - 2: 2 +Correct result - -2: -2 +Correct result - 15: 15 +Correct result - 15: 15 +Correct result - 2: 2 +Correct result - 3: 3 +********************************* + +*** Testing real operators *** +Correct result - 8: 8 +Correct result - 8: 8 +Correct result - 2: 2 +Correct result - -2: -2 +Correct result - 15: 15 +Correct result - 15: 15 +Correct result - 2: 2 +Correct result - 3: 3 +********************************* + +*** Testing if/elseif/else control *** + +This works +this_still_works +should_print + + +*** Seriously nested if's test *** +** spelling correction by kluzz ** +Only two lines of text should follow: +this should be displayed. should be: \$i=1, \$j=0. is: \$i=1, \$j=0 +this is supposed to be displayed. should be: \$i=2, \$j=4. is: \$i=2, \$j=4 +3 loop iterations should follow: +2 4 +3 4 +4 4 +********************************** + +*** C-style else-if's *** +This should be displayed +************************* + +*** WHILE tests *** +0 is smaller than 20 +1 is smaller than 20 +2 is smaller than 20 +3 is smaller than 20 +4 is smaller than 20 +5 is smaller than 20 +6 is smaller than 20 +7 is smaller than 20 +8 is smaller than 20 +9 is smaller than 20 +10 is smaller than 20 +11 is smaller than 20 +12 is smaller than 20 +13 is smaller than 20 +14 is smaller than 20 +15 is smaller than 20 +16 is smaller than 20 +17 is smaller than 20 +18 is smaller than 20 +19 is smaller than 20 +20 equals 20 +21 is greater than 20 +22 is greater than 20 +23 is greater than 20 +24 is greater than 20 +25 is greater than 20 +26 is greater than 20 +27 is greater than 20 +28 is greater than 20 +29 is greater than 20 +30 is greater than 20 +31 is greater than 20 +32 is greater than 20 +33 is greater than 20 +34 is greater than 20 +35 is greater than 20 +36 is greater than 20 +37 is greater than 20 +38 is greater than 20 +39 is greater than 20 +******************* + + +*** Nested WHILEs *** +Each array variable should be equal to the sum of its indices: +\${test00}[0] = 0 +\${test00}[1] = 1 +\${test00}[2] = 2 +\${test01}[0] = 1 +\${test01}[1] = 2 +\${test01}[2] = 3 +\${test02}[0] = 2 +\${test02}[1] = 3 +\${test02}[2] = 4 +\${test10}[0] = 1 +\${test10}[1] = 2 +\${test10}[2] = 3 +\${test11}[0] = 2 +\${test11}[1] = 3 +\${test11}[2] = 4 +\${test12}[0] = 3 +\${test12}[1] = 4 +\${test12}[2] = 5 +\${test20}[0] = 2 +\${test20}[1] = 3 +\${test20}[2] = 4 +\${test21}[0] = 3 +\${test21}[1] = 4 +\${test21}[2] = 5 +\${test22}[0] = 4 +\${test22}[1] = 5 +\${test22}[2] = 6 +********************* + +*** hash test... *** +commented out... +************************** + +*** Hash resizing test *** +ba +baa +baaa +baaaa +baaaaa +baaaaaa +baaaaaaa +baaaaaaaa +baaaaaaaaa +baaaaaaaaaa +ba +10 +baa +9 +baaa +8 +baaaa +7 +baaaaa +6 +baaaaaa +5 +baaaaaaa +4 +baaaaaaaa +3 +baaaaaaaaa +2 +baaaaaaaaaa +1 +************************** + + +*** break/continue test *** +\$i should go from 0 to 2 +\$j should go from 3 to 4, and \$q should go from 3 to 4 + \$j=3 + \$q=3 + \$q=4 + \$j=4 + \$q=3 + \$q=4 +\$j should go from 0 to 2 + \$j=0 + \$j=1 + \$j=2 +\$k should go from 0 to 2 + \$k=0 + \$k=1 + \$k=2 +\$i=0 +\$j should go from 3 to 4, and \$q should go from 3 to 4 + \$j=3 + \$q=3 + \$q=4 + \$j=4 + \$q=3 + \$q=4 +\$j should go from 0 to 2 + \$j=0 + \$j=1 + \$j=2 +\$k should go from 0 to 2 + \$k=0 + \$k=1 + \$k=2 +\$i=1 +\$j should go from 3 to 4, and \$q should go from 3 to 4 + \$j=3 + \$q=3 + \$q=4 + \$j=4 + \$q=3 + \$q=4 +\$j should go from 0 to 2 + \$j=0 + \$j=1 + \$j=2 +\$k should go from 0 to 2 + \$k=0 + \$k=1 + \$k=2 +\$i=2 +*********************** + +*** Nested file include test *** + +This is Finish.phtml. This file is supposed to be included +from regression_test.phtml. This is normal HTML. +and this is PHP code, 2+2=4 + +******************************** + +Tests completed. + + +*** Testing assignments and variable aliasing: *** +This should read "blah": blah +This should read "this is nifty": this is nifty +************************************************* + +*** Testing integer operators *** +Correct result - 8: 8 +Correct result - 8: 8 +Correct result - 2: 2 +Correct result - -2: -2 +Correct result - 15: 15 +Correct result - 15: 15 +Correct result - 2: 2 +Correct result - 3: 3 +********************************* + +*** Testing real operators *** +Correct result - 8: 8 +Correct result - 8: 8 +Correct result - 2: 2 +Correct result - -2: -2 +Correct result - 15: 15 +Correct result - 15: 15 +Correct result - 2: 2 +Correct result - 3: 3 +********************************* + +*** Testing if/elseif/else control *** + +This works +this_still_works +should_print + + +*** Seriously nested if's test *** +** spelling correction by kluzz ** +Only two lines of text should follow: +this should be displayed. should be: \$i=1, \$j=0. is: \$i=1, \$j=0 +this is supposed to be displayed. should be: \$i=2, \$j=4. is: \$i=2, \$j=4 +3 loop iterations should follow: +2 4 +3 4 +4 4 +********************************** + +*** C-style else-if's *** +This should be displayed +************************* + +*** WHILE tests *** +0 is smaller than 20 +1 is smaller than 20 +2 is smaller than 20 +3 is smaller than 20 +4 is smaller than 20 +5 is smaller than 20 +6 is smaller than 20 +7 is smaller than 20 +8 is smaller than 20 +9 is smaller than 20 +10 is smaller than 20 +11 is smaller than 20 +12 is smaller than 20 +13 is smaller than 20 +14 is smaller than 20 +15 is smaller than 20 +16 is smaller than 20 +17 is smaller than 20 +18 is smaller than 20 +19 is smaller than 20 +20 equals 20 +21 is greater than 20 +22 is greater than 20 +23 is greater than 20 +24 is greater than 20 +25 is greater than 20 +26 is greater than 20 +27 is greater than 20 +28 is greater than 20 +29 is greater than 20 +30 is greater than 20 +31 is greater than 20 +32 is greater than 20 +33 is greater than 20 +34 is greater than 20 +35 is greater than 20 +36 is greater than 20 +37 is greater than 20 +38 is greater than 20 +39 is greater than 20 +******************* + + +*** Nested WHILEs *** +Each array variable should be equal to the sum of its indices: +\${test00}[0] = 0 +\${test00}[1] = 1 +\${test00}[2] = 2 +\${test01}[0] = 1 +\${test01}[1] = 2 +\${test01}[2] = 3 +\${test02}[0] = 2 +\${test02}[1] = 3 +\${test02}[2] = 4 +\${test10}[0] = 1 +\${test10}[1] = 2 +\${test10}[2] = 3 +\${test11}[0] = 2 +\${test11}[1] = 3 +\${test11}[2] = 4 +\${test12}[0] = 3 +\${test12}[1] = 4 +\${test12}[2] = 5 +\${test20}[0] = 2 +\${test20}[1] = 3 +\${test20}[2] = 4 +\${test21}[0] = 3 +\${test21}[1] = 4 +\${test21}[2] = 5 +\${test22}[0] = 4 +\${test22}[1] = 5 +\${test22}[2] = 6 +********************* + +*** hash test... *** +commented out... +************************** + +*** Hash resizing test *** +ba +baa +baaa +baaaa +baaaaa +baaaaaa +baaaaaaa +baaaaaaaa +baaaaaaaaa +baaaaaaaaaa +ba +10 +baa +9 +baaa +8 +baaaa +7 +baaaaa +6 +baaaaaa +5 +baaaaaaa +4 +baaaaaaaa +3 +baaaaaaaaa +2 +baaaaaaaaaa +1 +************************** + + +*** break/continue test *** +\$i should go from 0 to 2 +\$j should go from 3 to 4, and \$q should go from 3 to 4 + \$j=3 + \$q=3 + \$q=4 + \$j=4 + \$q=3 + \$q=4 +\$j should go from 0 to 2 + \$j=0 + \$j=1 + \$j=2 +\$k should go from 0 to 2 + \$k=0 + \$k=1 + \$k=2 +\$i=0 +\$j should go from 3 to 4, and \$q should go from 3 to 4 + \$j=3 + \$q=3 + \$q=4 + \$j=4 + \$q=3 + \$q=4 +\$j should go from 0 to 2 + \$j=0 + \$j=1 + \$j=2 +\$k should go from 0 to 2 + \$k=0 + \$k=1 + \$k=2 +\$i=1 +\$j should go from 3 to 4, and \$q should go from 3 to 4 + \$j=3 + \$q=3 + \$q=4 + \$j=4 + \$q=3 + \$q=4 +\$j should go from 0 to 2 + \$j=0 + \$j=1 + \$j=2 +\$k should go from 0 to 2 + \$k=0 + \$k=1 + \$k=2 +\$i=2 +*********************** + +*** Nested file include test *** + +This is Finish.phtml. This file is supposed to be included +from regression_test.phtml. This is normal HTML. +and this is PHP code, 2+2=4 + +******************************** + +Tests completed. + + +*** Testing assignments and variable aliasing: *** +This should read "blah": blah +This should read "this is nifty": this is nifty +************************************************* + +*** Testing integer operators *** +Correct result - 8: 8 +Correct result - 8: 8 +Correct result - 2: 2 +Correct result - -2: -2 +Correct result - 15: 15 +Correct result - 15: 15 +Correct result - 2: 2 +Correct result - 3: 3 +********************************* + +*** Testing real operators *** +Correct result - 8: 8 +Correct result - 8: 8 +Correct result - 2: 2 +Correct result - -2: -2 +Correct result - 15: 15 +Correct result - 15: 15 +Correct result - 2: 2 +Correct result - 3: 3 +********************************* + +*** Testing if/elseif/else control *** + +This works +this_still_works +should_print + + +*** Seriously nested if's test *** +** spelling correction by kluzz ** +Only two lines of text should follow: +this should be displayed. should be: \$i=1, \$j=0. is: \$i=1, \$j=0 +this is supposed to be displayed. should be: \$i=2, \$j=4. is: \$i=2, \$j=4 +3 loop iterations should follow: +2 4 +3 4 +4 4 +********************************** + +*** C-style else-if's *** +This should be displayed +************************* + +*** WHILE tests *** +0 is smaller than 20 +1 is smaller than 20 +2 is smaller than 20 +3 is smaller than 20 +4 is smaller than 20 +5 is smaller than 20 +6 is smaller than 20 +7 is smaller than 20 +8 is smaller than 20 +9 is smaller than 20 +10 is smaller than 20 +11 is smaller than 20 +12 is smaller than 20 +13 is smaller than 20 +14 is smaller than 20 +15 is smaller than 20 +16 is smaller than 20 +17 is smaller than 20 +18 is smaller than 20 +19 is smaller than 20 +20 equals 20 +21 is greater than 20 +22 is greater than 20 +23 is greater than 20 +24 is greater than 20 +25 is greater than 20 +26 is greater than 20 +27 is greater than 20 +28 is greater than 20 +29 is greater than 20 +30 is greater than 20 +31 is greater than 20 +32 is greater than 20 +33 is greater than 20 +34 is greater than 20 +35 is greater than 20 +36 is greater than 20 +37 is greater than 20 +38 is greater than 20 +39 is greater than 20 +******************* + + +*** Nested WHILEs *** +Each array variable should be equal to the sum of its indices: +\${test00}[0] = 0 +\${test00}[1] = 1 +\${test00}[2] = 2 +\${test01}[0] = 1 +\${test01}[1] = 2 +\${test01}[2] = 3 +\${test02}[0] = 2 +\${test02}[1] = 3 +\${test02}[2] = 4 +\${test10}[0] = 1 +\${test10}[1] = 2 +\${test10}[2] = 3 +\${test11}[0] = 2 +\${test11}[1] = 3 +\${test11}[2] = 4 +\${test12}[0] = 3 +\${test12}[1] = 4 +\${test12}[2] = 5 +\${test20}[0] = 2 +\${test20}[1] = 3 +\${test20}[2] = 4 +\${test21}[0] = 3 +\${test21}[1] = 4 +\${test21}[2] = 5 +\${test22}[0] = 4 +\${test22}[1] = 5 +\${test22}[2] = 6 +********************* + +*** hash test... *** +commented out... +************************** + +*** Hash resizing test *** +ba +baa +baaa +baaaa +baaaaa +baaaaaa +baaaaaaa +baaaaaaaa +baaaaaaaaa +baaaaaaaaaa +ba +10 +baa +9 +baaa +8 +baaaa +7 +baaaaa +6 +baaaaaa +5 +baaaaaaa +4 +baaaaaaaa +3 +baaaaaaaaa +2 +baaaaaaaaaa +1 +************************** + + +*** break/continue test *** +\$i should go from 0 to 2 +\$j should go from 3 to 4, and \$q should go from 3 to 4 + \$j=3 + \$q=3 + \$q=4 + \$j=4 + \$q=3 + \$q=4 +\$j should go from 0 to 2 + \$j=0 + \$j=1 + \$j=2 +\$k should go from 0 to 2 + \$k=0 + \$k=1 + \$k=2 +\$i=0 +\$j should go from 3 to 4, and \$q should go from 3 to 4 + \$j=3 + \$q=3 + \$q=4 + \$j=4 + \$q=3 + \$q=4 +\$j should go from 0 to 2 + \$j=0 + \$j=1 + \$j=2 +\$k should go from 0 to 2 + \$k=0 + \$k=1 + \$k=2 +\$i=1 +\$j should go from 3 to 4, and \$q should go from 3 to 4 + \$j=3 + \$q=3 + \$q=4 + \$j=4 + \$q=3 + \$q=4 +\$j should go from 0 to 2 + \$j=0 + \$j=1 + \$j=2 +\$k should go from 0 to 2 + \$k=0 + \$k=1 + \$k=2 +\$i=2 +*********************** + +*** Nested file include test *** + +This is Finish.phtml. This file is supposed to be included +from regression_test.phtml. This is normal HTML. +and this is PHP code, 2+2=4 + +******************************** + +Tests completed. + + +*** Testing assignments and variable aliasing: *** +This should read "blah": blah +This should read "this is nifty": this is nifty +************************************************* + +*** Testing integer operators *** +Correct result - 8: 8 +Correct result - 8: 8 +Correct result - 2: 2 +Correct result - -2: -2 +Correct result - 15: 15 +Correct result - 15: 15 +Correct result - 2: 2 +Correct result - 3: 3 +********************************* + +*** Testing real operators *** +Correct result - 8: 8 +Correct result - 8: 8 +Correct result - 2: 2 +Correct result - -2: -2 +Correct result - 15: 15 +Correct result - 15: 15 +Correct result - 2: 2 +Correct result - 3: 3 +********************************* + +*** Testing if/elseif/else control *** + +This works +this_still_works +should_print + + +*** Seriously nested if's test *** +** spelling correction by kluzz ** +Only two lines of text should follow: +this should be displayed. should be: \$i=1, \$j=0. is: \$i=1, \$j=0 +this is supposed to be displayed. should be: \$i=2, \$j=4. is: \$i=2, \$j=4 +3 loop iterations should follow: +2 4 +3 4 +4 4 +********************************** + +*** C-style else-if's *** +This should be displayed +************************* + +*** WHILE tests *** +0 is smaller than 20 +1 is smaller than 20 +2 is smaller than 20 +3 is smaller than 20 +4 is smaller than 20 +5 is smaller than 20 +6 is smaller than 20 +7 is smaller than 20 +8 is smaller than 20 +9 is smaller than 20 +10 is smaller than 20 +11 is smaller than 20 +12 is smaller than 20 +13 is smaller than 20 +14 is smaller than 20 +15 is smaller than 20 +16 is smaller than 20 +17 is smaller than 20 +18 is smaller than 20 +19 is smaller than 20 +20 equals 20 +21 is greater than 20 +22 is greater than 20 +23 is greater than 20 +24 is greater than 20 +25 is greater than 20 +26 is greater than 20 +27 is greater than 20 +28 is greater than 20 +29 is greater than 20 +30 is greater than 20 +31 is greater than 20 +32 is greater than 20 +33 is greater than 20 +34 is greater than 20 +35 is greater than 20 +36 is greater than 20 +37 is greater than 20 +38 is greater than 20 +39 is greater than 20 +******************* + + +*** Nested WHILEs *** +Each array variable should be equal to the sum of its indices: +\${test00}[0] = 0 +\${test00}[1] = 1 +\${test00}[2] = 2 +\${test01}[0] = 1 +\${test01}[1] = 2 +\${test01}[2] = 3 +\${test02}[0] = 2 +\${test02}[1] = 3 +\${test02}[2] = 4 +\${test10}[0] = 1 +\${test10}[1] = 2 +\${test10}[2] = 3 +\${test11}[0] = 2 +\${test11}[1] = 3 +\${test11}[2] = 4 +\${test12}[0] = 3 +\${test12}[1] = 4 +\${test12}[2] = 5 +\${test20}[0] = 2 +\${test20}[1] = 3 +\${test20}[2] = 4 +\${test21}[0] = 3 +\${test21}[1] = 4 +\${test21}[2] = 5 +\${test22}[0] = 4 +\${test22}[1] = 5 +\${test22}[2] = 6 +********************* + +*** hash test... *** +commented out... +************************** + +*** Hash resizing test *** +ba +baa +baaa +baaaa +baaaaa +baaaaaa +baaaaaaa +baaaaaaaa +baaaaaaaaa +baaaaaaaaaa +ba +10 +baa +9 +baaa +8 +baaaa +7 +baaaaa +6 +baaaaaa +5 +baaaaaaa +4 +baaaaaaaa +3 +baaaaaaaaa +2 +baaaaaaaaaa +1 +************************** + + +*** break/continue test *** +\$i should go from 0 to 2 +\$j should go from 3 to 4, and \$q should go from 3 to 4 + \$j=3 + \$q=3 + \$q=4 + \$j=4 + \$q=3 + \$q=4 +\$j should go from 0 to 2 + \$j=0 + \$j=1 + \$j=2 +\$k should go from 0 to 2 + \$k=0 + \$k=1 + \$k=2 +\$i=0 +\$j should go from 3 to 4, and \$q should go from 3 to 4 + \$j=3 + \$q=3 + \$q=4 + \$j=4 + \$q=3 + \$q=4 +\$j should go from 0 to 2 + \$j=0 + \$j=1 + \$j=2 +\$k should go from 0 to 2 + \$k=0 + \$k=1 + \$k=2 +\$i=1 +\$j should go from 3 to 4, and \$q should go from 3 to 4 + \$j=3 + \$q=3 + \$q=4 + \$j=4 + \$q=3 + \$q=4 +\$j should go from 0 to 2 + \$j=0 + \$j=1 + \$j=2 +\$k should go from 0 to 2 + \$k=0 + \$k=1 + \$k=2 +\$i=2 +*********************** + +*** Nested file include test *** + +This is Finish.phtml. This file is supposed to be included +from regression_test.phtml. This is normal HTML. +and this is PHP code, 2+2=4 + +******************************** + +Tests completed. + + +*** Testing assignments and variable aliasing: *** +This should read "blah": blah +This should read "this is nifty": this is nifty +************************************************* + +*** Testing integer operators *** +Correct result - 8: 8 +Correct result - 8: 8 +Correct result - 2: 2 +Correct result - -2: -2 +Correct result - 15: 15 +Correct result - 15: 15 +Correct result - 2: 2 +Correct result - 3: 3 +********************************* + +*** Testing real operators *** +Correct result - 8: 8 +Correct result - 8: 8 +Correct result - 2: 2 +Correct result - -2: -2 +Correct result - 15: 15 +Correct result - 15: 15 +Correct result - 2: 2 +Correct result - 3: 3 +********************************* + +*** Testing if/elseif/else control *** + +This works +this_still_works +should_print + + +*** Seriously nested if's test *** +** spelling correction by kluzz ** +Only two lines of text should follow: +this should be displayed. should be: \$i=1, \$j=0. is: \$i=1, \$j=0 +this is supposed to be displayed. should be: \$i=2, \$j=4. is: \$i=2, \$j=4 +3 loop iterations should follow: +2 4 +3 4 +4 4 +********************************** + +*** C-style else-if's *** +This should be displayed +************************* + +*** WHILE tests *** +0 is smaller than 20 +1 is smaller than 20 +2 is smaller than 20 +3 is smaller than 20 +4 is smaller than 20 +5 is smaller than 20 +6 is smaller than 20 +7 is smaller than 20 +8 is smaller than 20 +9 is smaller than 20 +10 is smaller than 20 +11 is smaller than 20 +12 is smaller than 20 +13 is smaller than 20 +14 is smaller than 20 +15 is smaller than 20 +16 is smaller than 20 +17 is smaller than 20 +18 is smaller than 20 +19 is smaller than 20 +20 equals 20 +21 is greater than 20 +22 is greater than 20 +23 is greater than 20 +24 is greater than 20 +25 is greater than 20 +26 is greater than 20 +27 is greater than 20 +28 is greater than 20 +29 is greater than 20 +30 is greater than 20 +31 is greater than 20 +32 is greater than 20 +33 is greater than 20 +34 is greater than 20 +35 is greater than 20 +36 is greater than 20 +37 is greater than 20 +38 is greater than 20 +39 is greater than 20 +******************* + + +*** Nested WHILEs *** +Each array variable should be equal to the sum of its indices: +\${test00}[0] = 0 +\${test00}[1] = 1 +\${test00}[2] = 2 +\${test01}[0] = 1 +\${test01}[1] = 2 +\${test01}[2] = 3 +\${test02}[0] = 2 +\${test02}[1] = 3 +\${test02}[2] = 4 +\${test10}[0] = 1 +\${test10}[1] = 2 +\${test10}[2] = 3 +\${test11}[0] = 2 +\${test11}[1] = 3 +\${test11}[2] = 4 +\${test12}[0] = 3 +\${test12}[1] = 4 +\${test12}[2] = 5 +\${test20}[0] = 2 +\${test20}[1] = 3 +\${test20}[2] = 4 +\${test21}[0] = 3 +\${test21}[1] = 4 +\${test21}[2] = 5 +\${test22}[0] = 4 +\${test22}[1] = 5 +\${test22}[2] = 6 +********************* + +*** hash test... *** +commented out... +************************** + +*** Hash resizing test *** +ba +baa +baaa +baaaa +baaaaa +baaaaaa +baaaaaaa +baaaaaaaa +baaaaaaaaa +baaaaaaaaaa +ba +10 +baa +9 +baaa +8 +baaaa +7 +baaaaa +6 +baaaaaa +5 +baaaaaaa +4 +baaaaaaaa +3 +baaaaaaaaa +2 +baaaaaaaaaa +1 +************************** + + +*** break/continue test *** +\$i should go from 0 to 2 +\$j should go from 3 to 4, and \$q should go from 3 to 4 + \$j=3 + \$q=3 + \$q=4 + \$j=4 + \$q=3 + \$q=4 +\$j should go from 0 to 2 + \$j=0 + \$j=1 + \$j=2 +\$k should go from 0 to 2 + \$k=0 + \$k=1 + \$k=2 +\$i=0 +\$j should go from 3 to 4, and \$q should go from 3 to 4 + \$j=3 + \$q=3 + \$q=4 + \$j=4 + \$q=3 + \$q=4 +\$j should go from 0 to 2 + \$j=0 + \$j=1 + \$j=2 +\$k should go from 0 to 2 + \$k=0 + \$k=1 + \$k=2 +\$i=1 +\$j should go from 3 to 4, and \$q should go from 3 to 4 + \$j=3 + \$q=3 + \$q=4 + \$j=4 + \$q=3 + \$q=4 +\$j should go from 0 to 2 + \$j=0 + \$j=1 + \$j=2 +\$k should go from 0 to 2 + \$k=0 + \$k=1 + \$k=2 +\$i=2 +*********************** + +*** Nested file include test *** + +This is Finish.phtml. This file is supposed to be included +from regression_test.phtml. This is normal HTML. +and this is PHP code, 2+2=4 + +******************************** + +Tests completed. + + +*** Testing assignments and variable aliasing: *** +This should read "blah": blah +This should read "this is nifty": this is nifty +************************************************* + +*** Testing integer operators *** +Correct result - 8: 8 +Correct result - 8: 8 +Correct result - 2: 2 +Correct result - -2: -2 +Correct result - 15: 15 +Correct result - 15: 15 +Correct result - 2: 2 +Correct result - 3: 3 +********************************* + +*** Testing real operators *** +Correct result - 8: 8 +Correct result - 8: 8 +Correct result - 2: 2 +Correct result - -2: -2 +Correct result - 15: 15 +Correct result - 15: 15 +Correct result - 2: 2 +Correct result - 3: 3 +********************************* + +*** Testing if/elseif/else control *** + +This works +this_still_works +should_print + + +*** Seriously nested if's test *** +** spelling correction by kluzz ** +Only two lines of text should follow: +this should be displayed. should be: \$i=1, \$j=0. is: \$i=1, \$j=0 +this is supposed to be displayed. should be: \$i=2, \$j=4. is: \$i=2, \$j=4 +3 loop iterations should follow: +2 4 +3 4 +4 4 +********************************** + +*** C-style else-if's *** +This should be displayed +************************* + +*** WHILE tests *** +0 is smaller than 20 +1 is smaller than 20 +2 is smaller than 20 +3 is smaller than 20 +4 is smaller than 20 +5 is smaller than 20 +6 is smaller than 20 +7 is smaller than 20 +8 is smaller than 20 +9 is smaller than 20 +10 is smaller than 20 +11 is smaller than 20 +12 is smaller than 20 +13 is smaller than 20 +14 is smaller than 20 +15 is smaller than 20 +16 is smaller than 20 +17 is smaller than 20 +18 is smaller than 20 +19 is smaller than 20 +20 equals 20 +21 is greater than 20 +22 is greater than 20 +23 is greater than 20 +24 is greater than 20 +25 is greater than 20 +26 is greater than 20 +27 is greater than 20 +28 is greater than 20 +29 is greater than 20 +30 is greater than 20 +31 is greater than 20 +32 is greater than 20 +33 is greater than 20 +34 is greater than 20 +35 is greater than 20 +36 is greater than 20 +37 is greater than 20 +38 is greater than 20 +39 is greater than 20 +******************* + + +*** Nested WHILEs *** +Each array variable should be equal to the sum of its indices: +\${test00}[0] = 0 +\${test00}[1] = 1 +\${test00}[2] = 2 +\${test01}[0] = 1 +\${test01}[1] = 2 +\${test01}[2] = 3 +\${test02}[0] = 2 +\${test02}[1] = 3 +\${test02}[2] = 4 +\${test10}[0] = 1 +\${test10}[1] = 2 +\${test10}[2] = 3 +\${test11}[0] = 2 +\${test11}[1] = 3 +\${test11}[2] = 4 +\${test12}[0] = 3 +\${test12}[1] = 4 +\${test12}[2] = 5 +\${test20}[0] = 2 +\${test20}[1] = 3 +\${test20}[2] = 4 +\${test21}[0] = 3 +\${test21}[1] = 4 +\${test21}[2] = 5 +\${test22}[0] = 4 +\${test22}[1] = 5 +\${test22}[2] = 6 +********************* + +*** hash test... *** +commented out... +************************** + +*** Hash resizing test *** +ba +baa +baaa +baaaa +baaaaa +baaaaaa +baaaaaaa +baaaaaaaa +baaaaaaaaa +baaaaaaaaaa +ba +10 +baa +9 +baaa +8 +baaaa +7 +baaaaa +6 +baaaaaa +5 +baaaaaaa +4 +baaaaaaaa +3 +baaaaaaaaa +2 +baaaaaaaaaa +1 +************************** + + +*** break/continue test *** +\$i should go from 0 to 2 +\$j should go from 3 to 4, and \$q should go from 3 to 4 + \$j=3 + \$q=3 + \$q=4 + \$j=4 + \$q=3 + \$q=4 +\$j should go from 0 to 2 + \$j=0 + \$j=1 + \$j=2 +\$k should go from 0 to 2 + \$k=0 + \$k=1 + \$k=2 +\$i=0 +\$j should go from 3 to 4, and \$q should go from 3 to 4 + \$j=3 + \$q=3 + \$q=4 + \$j=4 + \$q=3 + \$q=4 +\$j should go from 0 to 2 + \$j=0 + \$j=1 + \$j=2 +\$k should go from 0 to 2 + \$k=0 + \$k=1 + \$k=2 +\$i=1 +\$j should go from 3 to 4, and \$q should go from 3 to 4 + \$j=3 + \$q=3 + \$q=4 + \$j=4 + \$q=3 + \$q=4 +\$j should go from 0 to 2 + \$j=0 + \$j=1 + \$j=2 +\$k should go from 0 to 2 + \$k=0 + \$k=1 + \$k=2 +\$i=2 +*********************** + +*** Nested file include test *** + +This is Finish.phtml. This file is supposed to be included +from regression_test.phtml. This is normal HTML. +and this is PHP code, 2+2=4 + +******************************** + +Tests completed. + + +*** Testing assignments and variable aliasing: *** +This should read "blah": blah +This should read "this is nifty": this is nifty +************************************************* + +*** Testing integer operators *** +Correct result - 8: 8 +Correct result - 8: 8 +Correct result - 2: 2 +Correct result - -2: -2 +Correct result - 15: 15 +Correct result - 15: 15 +Correct result - 2: 2 +Correct result - 3: 3 +********************************* + +*** Testing real operators *** +Correct result - 8: 8 +Correct result - 8: 8 +Correct result - 2: 2 +Correct result - -2: -2 +Correct result - 15: 15 +Correct result - 15: 15 +Correct result - 2: 2 +Correct result - 3: 3 +********************************* + +*** Testing if/elseif/else control *** + +This works +this_still_works +should_print + + +*** Seriously nested if's test *** +** spelling correction by kluzz ** +Only two lines of text should follow: +this should be displayed. should be: \$i=1, \$j=0. is: \$i=1, \$j=0 +this is supposed to be displayed. should be: \$i=2, \$j=4. is: \$i=2, \$j=4 +3 loop iterations should follow: +2 4 +3 4 +4 4 +********************************** + +*** C-style else-if's *** +This should be displayed +************************* + +*** WHILE tests *** +0 is smaller than 20 +1 is smaller than 20 +2 is smaller than 20 +3 is smaller than 20 +4 is smaller than 20 +5 is smaller than 20 +6 is smaller than 20 +7 is smaller than 20 +8 is smaller than 20 +9 is smaller than 20 +10 is smaller than 20 +11 is smaller than 20 +12 is smaller than 20 +13 is smaller than 20 +14 is smaller than 20 +15 is smaller than 20 +16 is smaller than 20 +17 is smaller than 20 +18 is smaller than 20 +19 is smaller than 20 +20 equals 20 +21 is greater than 20 +22 is greater than 20 +23 is greater than 20 +24 is greater than 20 +25 is greater than 20 +26 is greater than 20 +27 is greater than 20 +28 is greater than 20 +29 is greater than 20 +30 is greater than 20 +31 is greater than 20 +32 is greater than 20 +33 is greater than 20 +34 is greater than 20 +35 is greater than 20 +36 is greater than 20 +37 is greater than 20 +38 is greater than 20 +39 is greater than 20 +******************* + + +*** Nested WHILEs *** +Each array variable should be equal to the sum of its indices: +\${test00}[0] = 0 +\${test00}[1] = 1 +\${test00}[2] = 2 +\${test01}[0] = 1 +\${test01}[1] = 2 +\${test01}[2] = 3 +\${test02}[0] = 2 +\${test02}[1] = 3 +\${test02}[2] = 4 +\${test10}[0] = 1 +\${test10}[1] = 2 +\${test10}[2] = 3 +\${test11}[0] = 2 +\${test11}[1] = 3 +\${test11}[2] = 4 +\${test12}[0] = 3 +\${test12}[1] = 4 +\${test12}[2] = 5 +\${test20}[0] = 2 +\${test20}[1] = 3 +\${test20}[2] = 4 +\${test21}[0] = 3 +\${test21}[1] = 4 +\${test21}[2] = 5 +\${test22}[0] = 4 +\${test22}[1] = 5 +\${test22}[2] = 6 +********************* + +*** hash test... *** +commented out... +************************** + +*** Hash resizing test *** +ba +baa +baaa +baaaa +baaaaa +baaaaaa +baaaaaaa +baaaaaaaa +baaaaaaaaa +baaaaaaaaaa +ba +10 +baa +9 +baaa +8 +baaaa +7 +baaaaa +6 +baaaaaa +5 +baaaaaaa +4 +baaaaaaaa +3 +baaaaaaaaa +2 +baaaaaaaaaa +1 +************************** + + +*** break/continue test *** +\$i should go from 0 to 2 +\$j should go from 3 to 4, and \$q should go from 3 to 4 + \$j=3 + \$q=3 + \$q=4 + \$j=4 + \$q=3 + \$q=4 +\$j should go from 0 to 2 + \$j=0 + \$j=1 + \$j=2 +\$k should go from 0 to 2 + \$k=0 + \$k=1 + \$k=2 +\$i=0 +\$j should go from 3 to 4, and \$q should go from 3 to 4 + \$j=3 + \$q=3 + \$q=4 + \$j=4 + \$q=3 + \$q=4 +\$j should go from 0 to 2 + \$j=0 + \$j=1 + \$j=2 +\$k should go from 0 to 2 + \$k=0 + \$k=1 + \$k=2 +\$i=1 +\$j should go from 3 to 4, and \$q should go from 3 to 4 + \$j=3 + \$q=3 + \$q=4 + \$j=4 + \$q=3 + \$q=4 +\$j should go from 0 to 2 + \$j=0 + \$j=1 + \$j=2 +\$k should go from 0 to 2 + \$k=0 + \$k=1 + \$k=2 +\$i=2 +*********************** + +*** Nested file include test *** + +This is Finish.phtml. This file is supposed to be included +from regression_test.phtml. This is normal HTML. +and this is PHP code, 2+2=4 + +******************************** + +Tests completed. + + +*** Testing assignments and variable aliasing: *** +This should read "blah": blah +This should read "this is nifty": this is nifty +************************************************* + +*** Testing integer operators *** +Correct result - 8: 8 +Correct result - 8: 8 +Correct result - 2: 2 +Correct result - -2: -2 +Correct result - 15: 15 +Correct result - 15: 15 +Correct result - 2: 2 +Correct result - 3: 3 +********************************* + +*** Testing real operators *** +Correct result - 8: 8 +Correct result - 8: 8 +Correct result - 2: 2 +Correct result - -2: -2 +Correct result - 15: 15 +Correct result - 15: 15 +Correct result - 2: 2 +Correct result - 3: 3 +********************************* + +*** Testing if/elseif/else control *** + +This works +this_still_works +should_print + + +*** Seriously nested if's test *** +** spelling correction by kluzz ** +Only two lines of text should follow: +this should be displayed. should be: \$i=1, \$j=0. is: \$i=1, \$j=0 +this is supposed to be displayed. should be: \$i=2, \$j=4. is: \$i=2, \$j=4 +3 loop iterations should follow: +2 4 +3 4 +4 4 +********************************** + +*** C-style else-if's *** +This should be displayed +************************* + +*** WHILE tests *** +0 is smaller than 20 +1 is smaller than 20 +2 is smaller than 20 +3 is smaller than 20 +4 is smaller than 20 +5 is smaller than 20 +6 is smaller than 20 +7 is smaller than 20 +8 is smaller than 20 +9 is smaller than 20 +10 is smaller than 20 +11 is smaller than 20 +12 is smaller than 20 +13 is smaller than 20 +14 is smaller than 20 +15 is smaller than 20 +16 is smaller than 20 +17 is smaller than 20 +18 is smaller than 20 +19 is smaller than 20 +20 equals 20 +21 is greater than 20 +22 is greater than 20 +23 is greater than 20 +24 is greater than 20 +25 is greater than 20 +26 is greater than 20 +27 is greater than 20 +28 is greater than 20 +29 is greater than 20 +30 is greater than 20 +31 is greater than 20 +32 is greater than 20 +33 is greater than 20 +34 is greater than 20 +35 is greater than 20 +36 is greater than 20 +37 is greater than 20 +38 is greater than 20 +39 is greater than 20 +******************* + + +*** Nested WHILEs *** +Each array variable should be equal to the sum of its indices: +\${test00}[0] = 0 +\${test00}[1] = 1 +\${test00}[2] = 2 +\${test01}[0] = 1 +\${test01}[1] = 2 +\${test01}[2] = 3 +\${test02}[0] = 2 +\${test02}[1] = 3 +\${test02}[2] = 4 +\${test10}[0] = 1 +\${test10}[1] = 2 +\${test10}[2] = 3 +\${test11}[0] = 2 +\${test11}[1] = 3 +\${test11}[2] = 4 +\${test12}[0] = 3 +\${test12}[1] = 4 +\${test12}[2] = 5 +\${test20}[0] = 2 +\${test20}[1] = 3 +\${test20}[2] = 4 +\${test21}[0] = 3 +\${test21}[1] = 4 +\${test21}[2] = 5 +\${test22}[0] = 4 +\${test22}[1] = 5 +\${test22}[2] = 6 +********************* + +*** hash test... *** +commented out... +************************** + +*** Hash resizing test *** +ba +baa +baaa +baaaa +baaaaa +baaaaaa +baaaaaaa +baaaaaaaa +baaaaaaaaa +baaaaaaaaaa +ba +10 +baa +9 +baaa +8 +baaaa +7 +baaaaa +6 +baaaaaa +5 +baaaaaaa +4 +baaaaaaaa +3 +baaaaaaaaa +2 +baaaaaaaaaa +1 +************************** + + +*** break/continue test *** +\$i should go from 0 to 2 +\$j should go from 3 to 4, and \$q should go from 3 to 4 + \$j=3 + \$q=3 + \$q=4 + \$j=4 + \$q=3 + \$q=4 +\$j should go from 0 to 2 + \$j=0 + \$j=1 + \$j=2 +\$k should go from 0 to 2 + \$k=0 + \$k=1 + \$k=2 +\$i=0 +\$j should go from 3 to 4, and \$q should go from 3 to 4 + \$j=3 + \$q=3 + \$q=4 + \$j=4 + \$q=3 + \$q=4 +\$j should go from 0 to 2 + \$j=0 + \$j=1 + \$j=2 +\$k should go from 0 to 2 + \$k=0 + \$k=1 + \$k=2 +\$i=1 +\$j should go from 3 to 4, and \$q should go from 3 to 4 + \$j=3 + \$q=3 + \$q=4 + \$j=4 + \$q=3 + \$q=4 +\$j should go from 0 to 2 + \$j=0 + \$j=1 + \$j=2 +\$k should go from 0 to 2 + \$k=0 + \$k=1 + \$k=2 +\$i=2 +*********************** + +*** Nested file include test *** + +This is Finish.phtml. This file is supposed to be included +from regression_test.phtml. This is normal HTML. +and this is PHP code, 2+2=4 + +******************************** + +Tests completed. + + +*** Testing assignments and variable aliasing: *** +This should read "blah": blah +This should read "this is nifty": this is nifty +************************************************* + +*** Testing integer operators *** +Correct result - 8: 8 +Correct result - 8: 8 +Correct result - 2: 2 +Correct result - -2: -2 +Correct result - 15: 15 +Correct result - 15: 15 +Correct result - 2: 2 +Correct result - 3: 3 +********************************* + +*** Testing real operators *** +Correct result - 8: 8 +Correct result - 8: 8 +Correct result - 2: 2 +Correct result - -2: -2 +Correct result - 15: 15 +Correct result - 15: 15 +Correct result - 2: 2 +Correct result - 3: 3 +********************************* + +*** Testing if/elseif/else control *** + +This works +this_still_works +should_print + + +*** Seriously nested if's test *** +** spelling correction by kluzz ** +Only two lines of text should follow: +this should be displayed. should be: \$i=1, \$j=0. is: \$i=1, \$j=0 +this is supposed to be displayed. should be: \$i=2, \$j=4. is: \$i=2, \$j=4 +3 loop iterations should follow: +2 4 +3 4 +4 4 +********************************** + +*** C-style else-if's *** +This should be displayed +************************* + +*** WHILE tests *** +0 is smaller than 20 +1 is smaller than 20 +2 is smaller than 20 +3 is smaller than 20 +4 is smaller than 20 +5 is smaller than 20 +6 is smaller than 20 +7 is smaller than 20 +8 is smaller than 20 +9 is smaller than 20 +10 is smaller than 20 +11 is smaller than 20 +12 is smaller than 20 +13 is smaller than 20 +14 is smaller than 20 +15 is smaller than 20 +16 is smaller than 20 +17 is smaller than 20 +18 is smaller than 20 +19 is smaller than 20 +20 equals 20 +21 is greater than 20 +22 is greater than 20 +23 is greater than 20 +24 is greater than 20 +25 is greater than 20 +26 is greater than 20 +27 is greater than 20 +28 is greater than 20 +29 is greater than 20 +30 is greater than 20 +31 is greater than 20 +32 is greater than 20 +33 is greater than 20 +34 is greater than 20 +35 is greater than 20 +36 is greater than 20 +37 is greater than 20 +38 is greater than 20 +39 is greater than 20 +******************* + + +*** Nested WHILEs *** +Each array variable should be equal to the sum of its indices: +\${test00}[0] = 0 +\${test00}[1] = 1 +\${test00}[2] = 2 +\${test01}[0] = 1 +\${test01}[1] = 2 +\${test01}[2] = 3 +\${test02}[0] = 2 +\${test02}[1] = 3 +\${test02}[2] = 4 +\${test10}[0] = 1 +\${test10}[1] = 2 +\${test10}[2] = 3 +\${test11}[0] = 2 +\${test11}[1] = 3 +\${test11}[2] = 4 +\${test12}[0] = 3 +\${test12}[1] = 4 +\${test12}[2] = 5 +\${test20}[0] = 2 +\${test20}[1] = 3 +\${test20}[2] = 4 +\${test21}[0] = 3 +\${test21}[1] = 4 +\${test21}[2] = 5 +\${test22}[0] = 4 +\${test22}[1] = 5 +\${test22}[2] = 6 +********************* + +*** hash test... *** +commented out... +************************** + +*** Hash resizing test *** +ba +baa +baaa +baaaa +baaaaa +baaaaaa +baaaaaaa +baaaaaaaa +baaaaaaaaa +baaaaaaaaaa +ba +10 +baa +9 +baaa +8 +baaaa +7 +baaaaa +6 +baaaaaa +5 +baaaaaaa +4 +baaaaaaaa +3 +baaaaaaaaa +2 +baaaaaaaaaa +1 +************************** + + +*** break/continue test *** +\$i should go from 0 to 2 +\$j should go from 3 to 4, and \$q should go from 3 to 4 + \$j=3 + \$q=3 + \$q=4 + \$j=4 + \$q=3 + \$q=4 +\$j should go from 0 to 2 + \$j=0 + \$j=1 + \$j=2 +\$k should go from 0 to 2 + \$k=0 + \$k=1 + \$k=2 +\$i=0 +\$j should go from 3 to 4, and \$q should go from 3 to 4 + \$j=3 + \$q=3 + \$q=4 + \$j=4 + \$q=3 + \$q=4 +\$j should go from 0 to 2 + \$j=0 + \$j=1 + \$j=2 +\$k should go from 0 to 2 + \$k=0 + \$k=1 + \$k=2 +\$i=1 +\$j should go from 3 to 4, and \$q should go from 3 to 4 + \$j=3 + \$q=3 + \$q=4 + \$j=4 + \$q=3 + \$q=4 +\$j should go from 0 to 2 + \$j=0 + \$j=1 + \$j=2 +\$k should go from 0 to 2 + \$k=0 + \$k=1 + \$k=2 +\$i=2 +*********************** + +*** Nested file include test *** + +This is Finish.phtml. This file is supposed to be included +from regression_test.phtml. This is normal HTML. +and this is PHP code, 2+2=4 + +******************************** + +Tests completed. + + +*** Testing assignments and variable aliasing: *** +This should read "blah": blah +This should read "this is nifty": this is nifty +************************************************* + +*** Testing integer operators *** +Correct result - 8: 8 +Correct result - 8: 8 +Correct result - 2: 2 +Correct result - -2: -2 +Correct result - 15: 15 +Correct result - 15: 15 +Correct result - 2: 2 +Correct result - 3: 3 +********************************* + +*** Testing real operators *** +Correct result - 8: 8 +Correct result - 8: 8 +Correct result - 2: 2 +Correct result - -2: -2 +Correct result - 15: 15 +Correct result - 15: 15 +Correct result - 2: 2 +Correct result - 3: 3 +********************************* + +*** Testing if/elseif/else control *** + +This works +this_still_works +should_print + + +*** Seriously nested if's test *** +** spelling correction by kluzz ** +Only two lines of text should follow: +this should be displayed. should be: \$i=1, \$j=0. is: \$i=1, \$j=0 +this is supposed to be displayed. should be: \$i=2, \$j=4. is: \$i=2, \$j=4 +3 loop iterations should follow: +2 4 +3 4 +4 4 +********************************** + +*** C-style else-if's *** +This should be displayed +************************* + +*** WHILE tests *** +0 is smaller than 20 +1 is smaller than 20 +2 is smaller than 20 +3 is smaller than 20 +4 is smaller than 20 +5 is smaller than 20 +6 is smaller than 20 +7 is smaller than 20 +8 is smaller than 20 +9 is smaller than 20 +10 is smaller than 20 +11 is smaller than 20 +12 is smaller than 20 +13 is smaller than 20 +14 is smaller than 20 +15 is smaller than 20 +16 is smaller than 20 +17 is smaller than 20 +18 is smaller than 20 +19 is smaller than 20 +20 equals 20 +21 is greater than 20 +22 is greater than 20 +23 is greater than 20 +24 is greater than 20 +25 is greater than 20 +26 is greater than 20 +27 is greater than 20 +28 is greater than 20 +29 is greater than 20 +30 is greater than 20 +31 is greater than 20 +32 is greater than 20 +33 is greater than 20 +34 is greater than 20 +35 is greater than 20 +36 is greater than 20 +37 is greater than 20 +38 is greater than 20 +39 is greater than 20 +******************* + + +*** Nested WHILEs *** +Each array variable should be equal to the sum of its indices: +\${test00}[0] = 0 +\${test00}[1] = 1 +\${test00}[2] = 2 +\${test01}[0] = 1 +\${test01}[1] = 2 +\${test01}[2] = 3 +\${test02}[0] = 2 +\${test02}[1] = 3 +\${test02}[2] = 4 +\${test10}[0] = 1 +\${test10}[1] = 2 +\${test10}[2] = 3 +\${test11}[0] = 2 +\${test11}[1] = 3 +\${test11}[2] = 4 +\${test12}[0] = 3 +\${test12}[1] = 4 +\${test12}[2] = 5 +\${test20}[0] = 2 +\${test20}[1] = 3 +\${test20}[2] = 4 +\${test21}[0] = 3 +\${test21}[1] = 4 +\${test21}[2] = 5 +\${test22}[0] = 4 +\${test22}[1] = 5 +\${test22}[2] = 6 +********************* + +*** hash test... *** +commented out... +************************** + +*** Hash resizing test *** +ba +baa +baaa +baaaa +baaaaa +baaaaaa +baaaaaaa +baaaaaaaa +baaaaaaaaa +baaaaaaaaaa +ba +10 +baa +9 +baaa +8 +baaaa +7 +baaaaa +6 +baaaaaa +5 +baaaaaaa +4 +baaaaaaaa +3 +baaaaaaaaa +2 +baaaaaaaaaa +1 +************************** + + +*** break/continue test *** +\$i should go from 0 to 2 +\$j should go from 3 to 4, and \$q should go from 3 to 4 + \$j=3 + \$q=3 + \$q=4 + \$j=4 + \$q=3 + \$q=4 +\$j should go from 0 to 2 + \$j=0 + \$j=1 + \$j=2 +\$k should go from 0 to 2 + \$k=0 + \$k=1 + \$k=2 +\$i=0 +\$j should go from 3 to 4, and \$q should go from 3 to 4 + \$j=3 + \$q=3 + \$q=4 + \$j=4 + \$q=3 + \$q=4 +\$j should go from 0 to 2 + \$j=0 + \$j=1 + \$j=2 +\$k should go from 0 to 2 + \$k=0 + \$k=1 + \$k=2 +\$i=1 +\$j should go from 3 to 4, and \$q should go from 3 to 4 + \$j=3 + \$q=3 + \$q=4 + \$j=4 + \$q=3 + \$q=4 +\$j should go from 0 to 2 + \$j=0 + \$j=1 + \$j=2 +\$k should go from 0 to 2 + \$k=0 + \$k=1 + \$k=2 +\$i=2 +*********************** + +*** Nested file include test *** + +This is Finish.phtml. This file is supposed to be included +from regression_test.phtml. This is normal HTML. +and this is PHP code, 2+2=4 + +******************************** + +Tests completed. + + +*** Testing assignments and variable aliasing: *** +This should read "blah": blah +This should read "this is nifty": this is nifty +************************************************* + +*** Testing integer operators *** +Correct result - 8: 8 +Correct result - 8: 8 +Correct result - 2: 2 +Correct result - -2: -2 +Correct result - 15: 15 +Correct result - 15: 15 +Correct result - 2: 2 +Correct result - 3: 3 +********************************* + +*** Testing real operators *** +Correct result - 8: 8 +Correct result - 8: 8 +Correct result - 2: 2 +Correct result - -2: -2 +Correct result - 15: 15 +Correct result - 15: 15 +Correct result - 2: 2 +Correct result - 3: 3 +********************************* + +*** Testing if/elseif/else control *** + +This works +this_still_works +should_print + + +*** Seriously nested if's test *** +** spelling correction by kluzz ** +Only two lines of text should follow: +this should be displayed. should be: \$i=1, \$j=0. is: \$i=1, \$j=0 +this is supposed to be displayed. should be: \$i=2, \$j=4. is: \$i=2, \$j=4 +3 loop iterations should follow: +2 4 +3 4 +4 4 +********************************** + +*** C-style else-if's *** +This should be displayed +************************* + +*** WHILE tests *** +0 is smaller than 20 +1 is smaller than 20 +2 is smaller than 20 +3 is smaller than 20 +4 is smaller than 20 +5 is smaller than 20 +6 is smaller than 20 +7 is smaller than 20 +8 is smaller than 20 +9 is smaller than 20 +10 is smaller than 20 +11 is smaller than 20 +12 is smaller than 20 +13 is smaller than 20 +14 is smaller than 20 +15 is smaller than 20 +16 is smaller than 20 +17 is smaller than 20 +18 is smaller than 20 +19 is smaller than 20 +20 equals 20 +21 is greater than 20 +22 is greater than 20 +23 is greater than 20 +24 is greater than 20 +25 is greater than 20 +26 is greater than 20 +27 is greater than 20 +28 is greater than 20 +29 is greater than 20 +30 is greater than 20 +31 is greater than 20 +32 is greater than 20 +33 is greater than 20 +34 is greater than 20 +35 is greater than 20 +36 is greater than 20 +37 is greater than 20 +38 is greater than 20 +39 is greater than 20 +******************* + + +*** Nested WHILEs *** +Each array variable should be equal to the sum of its indices: +\${test00}[0] = 0 +\${test00}[1] = 1 +\${test00}[2] = 2 +\${test01}[0] = 1 +\${test01}[1] = 2 +\${test01}[2] = 3 +\${test02}[0] = 2 +\${test02}[1] = 3 +\${test02}[2] = 4 +\${test10}[0] = 1 +\${test10}[1] = 2 +\${test10}[2] = 3 +\${test11}[0] = 2 +\${test11}[1] = 3 +\${test11}[2] = 4 +\${test12}[0] = 3 +\${test12}[1] = 4 +\${test12}[2] = 5 +\${test20}[0] = 2 +\${test20}[1] = 3 +\${test20}[2] = 4 +\${test21}[0] = 3 +\${test21}[1] = 4 +\${test21}[2] = 5 +\${test22}[0] = 4 +\${test22}[1] = 5 +\${test22}[2] = 6 +********************* + +*** hash test... *** +commented out... +************************** + +*** Hash resizing test *** +ba +baa +baaa +baaaa +baaaaa +baaaaaa +baaaaaaa +baaaaaaaa +baaaaaaaaa +baaaaaaaaaa +ba +10 +baa +9 +baaa +8 +baaaa +7 +baaaaa +6 +baaaaaa +5 +baaaaaaa +4 +baaaaaaaa +3 +baaaaaaaaa +2 +baaaaaaaaaa +1 +************************** + + +*** break/continue test *** +\$i should go from 0 to 2 +\$j should go from 3 to 4, and \$q should go from 3 to 4 + \$j=3 + \$q=3 + \$q=4 + \$j=4 + \$q=3 + \$q=4 +\$j should go from 0 to 2 + \$j=0 + \$j=1 + \$j=2 +\$k should go from 0 to 2 + \$k=0 + \$k=1 + \$k=2 +\$i=0 +\$j should go from 3 to 4, and \$q should go from 3 to 4 + \$j=3 + \$q=3 + \$q=4 + \$j=4 + \$q=3 + \$q=4 +\$j should go from 0 to 2 + \$j=0 + \$j=1 + \$j=2 +\$k should go from 0 to 2 + \$k=0 + \$k=1 + \$k=2 +\$i=1 +\$j should go from 3 to 4, and \$q should go from 3 to 4 + \$j=3 + \$q=3 + \$q=4 + \$j=4 + \$q=3 + \$q=4 +\$j should go from 0 to 2 + \$j=0 + \$j=1 + \$j=2 +\$k should go from 0 to 2 + \$k=0 + \$k=1 + \$k=2 +\$i=2 +*********************** + +*** Nested file include test *** + +This is Finish.phtml. This file is supposed to be included +from regression_test.phtml. This is normal HTML. +and this is PHP code, 2+2=4 + +******************************** + +Tests completed. + + +*** Testing assignments and variable aliasing: *** +This should read "blah": blah +This should read "this is nifty": this is nifty +************************************************* + +*** Testing integer operators *** +Correct result - 8: 8 +Correct result - 8: 8 +Correct result - 2: 2 +Correct result - -2: -2 +Correct result - 15: 15 +Correct result - 15: 15 +Correct result - 2: 2 +Correct result - 3: 3 +********************************* + +*** Testing real operators *** +Correct result - 8: 8 +Correct result - 8: 8 +Correct result - 2: 2 +Correct result - -2: -2 +Correct result - 15: 15 +Correct result - 15: 15 +Correct result - 2: 2 +Correct result - 3: 3 +********************************* + +*** Testing if/elseif/else control *** + +This works +this_still_works +should_print + + +*** Seriously nested if's test *** +** spelling correction by kluzz ** +Only two lines of text should follow: +this should be displayed. should be: \$i=1, \$j=0. is: \$i=1, \$j=0 +this is supposed to be displayed. should be: \$i=2, \$j=4. is: \$i=2, \$j=4 +3 loop iterations should follow: +2 4 +3 4 +4 4 +********************************** + +*** C-style else-if's *** +This should be displayed +************************* + +*** WHILE tests *** +0 is smaller than 20 +1 is smaller than 20 +2 is smaller than 20 +3 is smaller than 20 +4 is smaller than 20 +5 is smaller than 20 +6 is smaller than 20 +7 is smaller than 20 +8 is smaller than 20 +9 is smaller than 20 +10 is smaller than 20 +11 is smaller than 20 +12 is smaller than 20 +13 is smaller than 20 +14 is smaller than 20 +15 is smaller than 20 +16 is smaller than 20 +17 is smaller than 20 +18 is smaller than 20 +19 is smaller than 20 +20 equals 20 +21 is greater than 20 +22 is greater than 20 +23 is greater than 20 +24 is greater than 20 +25 is greater than 20 +26 is greater than 20 +27 is greater than 20 +28 is greater than 20 +29 is greater than 20 +30 is greater than 20 +31 is greater than 20 +32 is greater than 20 +33 is greater than 20 +34 is greater than 20 +35 is greater than 20 +36 is greater than 20 +37 is greater than 20 +38 is greater than 20 +39 is greater than 20 +******************* + + +*** Nested WHILEs *** +Each array variable should be equal to the sum of its indices: +\${test00}[0] = 0 +\${test00}[1] = 1 +\${test00}[2] = 2 +\${test01}[0] = 1 +\${test01}[1] = 2 +\${test01}[2] = 3 +\${test02}[0] = 2 +\${test02}[1] = 3 +\${test02}[2] = 4 +\${test10}[0] = 1 +\${test10}[1] = 2 +\${test10}[2] = 3 +\${test11}[0] = 2 +\${test11}[1] = 3 +\${test11}[2] = 4 +\${test12}[0] = 3 +\${test12}[1] = 4 +\${test12}[2] = 5 +\${test20}[0] = 2 +\${test20}[1] = 3 +\${test20}[2] = 4 +\${test21}[0] = 3 +\${test21}[1] = 4 +\${test21}[2] = 5 +\${test22}[0] = 4 +\${test22}[1] = 5 +\${test22}[2] = 6 +********************* + +*** hash test... *** +commented out... +************************** + +*** Hash resizing test *** +ba +baa +baaa +baaaa +baaaaa +baaaaaa +baaaaaaa +baaaaaaaa +baaaaaaaaa +baaaaaaaaaa +ba +10 +baa +9 +baaa +8 +baaaa +7 +baaaaa +6 +baaaaaa +5 +baaaaaaa +4 +baaaaaaaa +3 +baaaaaaaaa +2 +baaaaaaaaaa +1 +************************** + + +*** break/continue test *** +\$i should go from 0 to 2 +\$j should go from 3 to 4, and \$q should go from 3 to 4 + \$j=3 + \$q=3 + \$q=4 + \$j=4 + \$q=3 + \$q=4 +\$j should go from 0 to 2 + \$j=0 + \$j=1 + \$j=2 +\$k should go from 0 to 2 + \$k=0 + \$k=1 + \$k=2 +\$i=0 +\$j should go from 3 to 4, and \$q should go from 3 to 4 + \$j=3 + \$q=3 + \$q=4 + \$j=4 + \$q=3 + \$q=4 +\$j should go from 0 to 2 + \$j=0 + \$j=1 + \$j=2 +\$k should go from 0 to 2 + \$k=0 + \$k=1 + \$k=2 +\$i=1 +\$j should go from 3 to 4, and \$q should go from 3 to 4 + \$j=3 + \$q=3 + \$q=4 + \$j=4 + \$q=3 + \$q=4 +\$j should go from 0 to 2 + \$j=0 + \$j=1 + \$j=2 +\$k should go from 0 to 2 + \$k=0 + \$k=1 + \$k=2 +\$i=2 +*********************** + +*** Nested file include test *** + +This is Finish.phtml. This file is supposed to be included +from regression_test.phtml. This is normal HTML. +and this is PHP code, 2+2=4 + +******************************** + +Tests completed. + + +*** Testing assignments and variable aliasing: *** +This should read "blah": blah +This should read "this is nifty": this is nifty +************************************************* + +*** Testing integer operators *** +Correct result - 8: 8 +Correct result - 8: 8 +Correct result - 2: 2 +Correct result - -2: -2 +Correct result - 15: 15 +Correct result - 15: 15 +Correct result - 2: 2 +Correct result - 3: 3 +********************************* + +*** Testing real operators *** +Correct result - 8: 8 +Correct result - 8: 8 +Correct result - 2: 2 +Correct result - -2: -2 +Correct result - 15: 15 +Correct result - 15: 15 +Correct result - 2: 2 +Correct result - 3: 3 +********************************* + +*** Testing if/elseif/else control *** + +This works +this_still_works +should_print + + +*** Seriously nested if's test *** +** spelling correction by kluzz ** +Only two lines of text should follow: +this should be displayed. should be: \$i=1, \$j=0. is: \$i=1, \$j=0 +this is supposed to be displayed. should be: \$i=2, \$j=4. is: \$i=2, \$j=4 +3 loop iterations should follow: +2 4 +3 4 +4 4 +********************************** + +*** C-style else-if's *** +This should be displayed +************************* + +*** WHILE tests *** +0 is smaller than 20 +1 is smaller than 20 +2 is smaller than 20 +3 is smaller than 20 +4 is smaller than 20 +5 is smaller than 20 +6 is smaller than 20 +7 is smaller than 20 +8 is smaller than 20 +9 is smaller than 20 +10 is smaller than 20 +11 is smaller than 20 +12 is smaller than 20 +13 is smaller than 20 +14 is smaller than 20 +15 is smaller than 20 +16 is smaller than 20 +17 is smaller than 20 +18 is smaller than 20 +19 is smaller than 20 +20 equals 20 +21 is greater than 20 +22 is greater than 20 +23 is greater than 20 +24 is greater than 20 +25 is greater than 20 +26 is greater than 20 +27 is greater than 20 +28 is greater than 20 +29 is greater than 20 +30 is greater than 20 +31 is greater than 20 +32 is greater than 20 +33 is greater than 20 +34 is greater than 20 +35 is greater than 20 +36 is greater than 20 +37 is greater than 20 +38 is greater than 20 +39 is greater than 20 +******************* + + +*** Nested WHILEs *** +Each array variable should be equal to the sum of its indices: +\${test00}[0] = 0 +\${test00}[1] = 1 +\${test00}[2] = 2 +\${test01}[0] = 1 +\${test01}[1] = 2 +\${test01}[2] = 3 +\${test02}[0] = 2 +\${test02}[1] = 3 +\${test02}[2] = 4 +\${test10}[0] = 1 +\${test10}[1] = 2 +\${test10}[2] = 3 +\${test11}[0] = 2 +\${test11}[1] = 3 +\${test11}[2] = 4 +\${test12}[0] = 3 +\${test12}[1] = 4 +\${test12}[2] = 5 +\${test20}[0] = 2 +\${test20}[1] = 3 +\${test20}[2] = 4 +\${test21}[0] = 3 +\${test21}[1] = 4 +\${test21}[2] = 5 +\${test22}[0] = 4 +\${test22}[1] = 5 +\${test22}[2] = 6 +********************* + +*** hash test... *** +commented out... +************************** + +*** Hash resizing test *** +ba +baa +baaa +baaaa +baaaaa +baaaaaa +baaaaaaa +baaaaaaaa +baaaaaaaaa +baaaaaaaaaa +ba +10 +baa +9 +baaa +8 +baaaa +7 +baaaaa +6 +baaaaaa +5 +baaaaaaa +4 +baaaaaaaa +3 +baaaaaaaaa +2 +baaaaaaaaaa +1 +************************** + + +*** break/continue test *** +\$i should go from 0 to 2 +\$j should go from 3 to 4, and \$q should go from 3 to 4 + \$j=3 + \$q=3 + \$q=4 + \$j=4 + \$q=3 + \$q=4 +\$j should go from 0 to 2 + \$j=0 + \$j=1 + \$j=2 +\$k should go from 0 to 2 + \$k=0 + \$k=1 + \$k=2 +\$i=0 +\$j should go from 3 to 4, and \$q should go from 3 to 4 + \$j=3 + \$q=3 + \$q=4 + \$j=4 + \$q=3 + \$q=4 +\$j should go from 0 to 2 + \$j=0 + \$j=1 + \$j=2 +\$k should go from 0 to 2 + \$k=0 + \$k=1 + \$k=2 +\$i=1 +\$j should go from 3 to 4, and \$q should go from 3 to 4 + \$j=3 + \$q=3 + \$q=4 + \$j=4 + \$q=3 + \$q=4 +\$j should go from 0 to 2 + \$j=0 + \$j=1 + \$j=2 +\$k should go from 0 to 2 + \$k=0 + \$k=1 + \$k=2 +\$i=2 +*********************** + +*** Nested file include test *** + +This is Finish.phtml. This file is supposed to be included +from regression_test.phtml. This is normal HTML. +and this is PHP code, 2+2=4 + +******************************** + +Tests completed. + + +*** Testing assignments and variable aliasing: *** +This should read "blah": blah +This should read "this is nifty": this is nifty +************************************************* + +*** Testing integer operators *** +Correct result - 8: 8 +Correct result - 8: 8 +Correct result - 2: 2 +Correct result - -2: -2 +Correct result - 15: 15 +Correct result - 15: 15 +Correct result - 2: 2 +Correct result - 3: 3 +********************************* + +*** Testing real operators *** +Correct result - 8: 8 +Correct result - 8: 8 +Correct result - 2: 2 +Correct result - -2: -2 +Correct result - 15: 15 +Correct result - 15: 15 +Correct result - 2: 2 +Correct result - 3: 3 +********************************* + +*** Testing if/elseif/else control *** + +This works +this_still_works +should_print + + +*** Seriously nested if's test *** +** spelling correction by kluzz ** +Only two lines of text should follow: +this should be displayed. should be: \$i=1, \$j=0. is: \$i=1, \$j=0 +this is supposed to be displayed. should be: \$i=2, \$j=4. is: \$i=2, \$j=4 +3 loop iterations should follow: +2 4 +3 4 +4 4 +********************************** + +*** C-style else-if's *** +This should be displayed +************************* + +*** WHILE tests *** +0 is smaller than 20 +1 is smaller than 20 +2 is smaller than 20 +3 is smaller than 20 +4 is smaller than 20 +5 is smaller than 20 +6 is smaller than 20 +7 is smaller than 20 +8 is smaller than 20 +9 is smaller than 20 +10 is smaller than 20 +11 is smaller than 20 +12 is smaller than 20 +13 is smaller than 20 +14 is smaller than 20 +15 is smaller than 20 +16 is smaller than 20 +17 is smaller than 20 +18 is smaller than 20 +19 is smaller than 20 +20 equals 20 +21 is greater than 20 +22 is greater than 20 +23 is greater than 20 +24 is greater than 20 +25 is greater than 20 +26 is greater than 20 +27 is greater than 20 +28 is greater than 20 +29 is greater than 20 +30 is greater than 20 +31 is greater than 20 +32 is greater than 20 +33 is greater than 20 +34 is greater than 20 +35 is greater than 20 +36 is greater than 20 +37 is greater than 20 +38 is greater than 20 +39 is greater than 20 +******************* + + +*** Nested WHILEs *** +Each array variable should be equal to the sum of its indices: +\${test00}[0] = 0 +\${test00}[1] = 1 +\${test00}[2] = 2 +\${test01}[0] = 1 +\${test01}[1] = 2 +\${test01}[2] = 3 +\${test02}[0] = 2 +\${test02}[1] = 3 +\${test02}[2] = 4 +\${test10}[0] = 1 +\${test10}[1] = 2 +\${test10}[2] = 3 +\${test11}[0] = 2 +\${test11}[1] = 3 +\${test11}[2] = 4 +\${test12}[0] = 3 +\${test12}[1] = 4 +\${test12}[2] = 5 +\${test20}[0] = 2 +\${test20}[1] = 3 +\${test20}[2] = 4 +\${test21}[0] = 3 +\${test21}[1] = 4 +\${test21}[2] = 5 +\${test22}[0] = 4 +\${test22}[1] = 5 +\${test22}[2] = 6 +********************* + +*** hash test... *** +commented out... +************************** + +*** Hash resizing test *** +ba +baa +baaa +baaaa +baaaaa +baaaaaa +baaaaaaa +baaaaaaaa +baaaaaaaaa +baaaaaaaaaa +ba +10 +baa +9 +baaa +8 +baaaa +7 +baaaaa +6 +baaaaaa +5 +baaaaaaa +4 +baaaaaaaa +3 +baaaaaaaaa +2 +baaaaaaaaaa +1 +************************** + + +*** break/continue test *** +\$i should go from 0 to 2 +\$j should go from 3 to 4, and \$q should go from 3 to 4 + \$j=3 + \$q=3 + \$q=4 + \$j=4 + \$q=3 + \$q=4 +\$j should go from 0 to 2 + \$j=0 + \$j=1 + \$j=2 +\$k should go from 0 to 2 + \$k=0 + \$k=1 + \$k=2 +\$i=0 +\$j should go from 3 to 4, and \$q should go from 3 to 4 + \$j=3 + \$q=3 + \$q=4 + \$j=4 + \$q=3 + \$q=4 +\$j should go from 0 to 2 + \$j=0 + \$j=1 + \$j=2 +\$k should go from 0 to 2 + \$k=0 + \$k=1 + \$k=2 +\$i=1 +\$j should go from 3 to 4, and \$q should go from 3 to 4 + \$j=3 + \$q=3 + \$q=4 + \$j=4 + \$q=3 + \$q=4 +\$j should go from 0 to 2 + \$j=0 + \$j=1 + \$j=2 +\$k should go from 0 to 2 + \$k=0 + \$k=1 + \$k=2 +\$i=2 +*********************** + +*** Nested file include test *** + +This is Finish.phtml. This file is supposed to be included +from regression_test.phtml. This is normal HTML. +and this is PHP code, 2+2=4 + +******************************** + +Tests completed. + + +*** Testing assignments and variable aliasing: *** +This should read "blah": blah +This should read "this is nifty": this is nifty +************************************************* + +*** Testing integer operators *** +Correct result - 8: 8 +Correct result - 8: 8 +Correct result - 2: 2 +Correct result - -2: -2 +Correct result - 15: 15 +Correct result - 15: 15 +Correct result - 2: 2 +Correct result - 3: 3 +********************************* + +*** Testing real operators *** +Correct result - 8: 8 +Correct result - 8: 8 +Correct result - 2: 2 +Correct result - -2: -2 +Correct result - 15: 15 +Correct result - 15: 15 +Correct result - 2: 2 +Correct result - 3: 3 +********************************* + +*** Testing if/elseif/else control *** + +This works +this_still_works +should_print + + +*** Seriously nested if's test *** +** spelling correction by kluzz ** +Only two lines of text should follow: +this should be displayed. should be: \$i=1, \$j=0. is: \$i=1, \$j=0 +this is supposed to be displayed. should be: \$i=2, \$j=4. is: \$i=2, \$j=4 +3 loop iterations should follow: +2 4 +3 4 +4 4 +********************************** + +*** C-style else-if's *** +This should be displayed +************************* + +*** WHILE tests *** +0 is smaller than 20 +1 is smaller than 20 +2 is smaller than 20 +3 is smaller than 20 +4 is smaller than 20 +5 is smaller than 20 +6 is smaller than 20 +7 is smaller than 20 +8 is smaller than 20 +9 is smaller than 20 +10 is smaller than 20 +11 is smaller than 20 +12 is smaller than 20 +13 is smaller than 20 +14 is smaller than 20 +15 is smaller than 20 +16 is smaller than 20 +17 is smaller than 20 +18 is smaller than 20 +19 is smaller than 20 +20 equals 20 +21 is greater than 20 +22 is greater than 20 +23 is greater than 20 +24 is greater than 20 +25 is greater than 20 +26 is greater than 20 +27 is greater than 20 +28 is greater than 20 +29 is greater than 20 +30 is greater than 20 +31 is greater than 20 +32 is greater than 20 +33 is greater than 20 +34 is greater than 20 +35 is greater than 20 +36 is greater than 20 +37 is greater than 20 +38 is greater than 20 +39 is greater than 20 +******************* + + +*** Nested WHILEs *** +Each array variable should be equal to the sum of its indices: +\${test00}[0] = 0 +\${test00}[1] = 1 +\${test00}[2] = 2 +\${test01}[0] = 1 +\${test01}[1] = 2 +\${test01}[2] = 3 +\${test02}[0] = 2 +\${test02}[1] = 3 +\${test02}[2] = 4 +\${test10}[0] = 1 +\${test10}[1] = 2 +\${test10}[2] = 3 +\${test11}[0] = 2 +\${test11}[1] = 3 +\${test11}[2] = 4 +\${test12}[0] = 3 +\${test12}[1] = 4 +\${test12}[2] = 5 +\${test20}[0] = 2 +\${test20}[1] = 3 +\${test20}[2] = 4 +\${test21}[0] = 3 +\${test21}[1] = 4 +\${test21}[2] = 5 +\${test22}[0] = 4 +\${test22}[1] = 5 +\${test22}[2] = 6 +********************* + +*** hash test... *** +commented out... +************************** + +*** Hash resizing test *** +ba +baa +baaa +baaaa +baaaaa +baaaaaa +baaaaaaa +baaaaaaaa +baaaaaaaaa +baaaaaaaaaa +ba +10 +baa +9 +baaa +8 +baaaa +7 +baaaaa +6 +baaaaaa +5 +baaaaaaa +4 +baaaaaaaa +3 +baaaaaaaaa +2 +baaaaaaaaaa +1 +************************** + + +*** break/continue test *** +\$i should go from 0 to 2 +\$j should go from 3 to 4, and \$q should go from 3 to 4 + \$j=3 + \$q=3 + \$q=4 + \$j=4 + \$q=3 + \$q=4 +\$j should go from 0 to 2 + \$j=0 + \$j=1 + \$j=2 +\$k should go from 0 to 2 + \$k=0 + \$k=1 + \$k=2 +\$i=0 +\$j should go from 3 to 4, and \$q should go from 3 to 4 + \$j=3 + \$q=3 + \$q=4 + \$j=4 + \$q=3 + \$q=4 +\$j should go from 0 to 2 + \$j=0 + \$j=1 + \$j=2 +\$k should go from 0 to 2 + \$k=0 + \$k=1 + \$k=2 +\$i=1 +\$j should go from 3 to 4, and \$q should go from 3 to 4 + \$j=3 + \$q=3 + \$q=4 + \$j=4 + \$q=3 + \$q=4 +\$j should go from 0 to 2 + \$j=0 + \$j=1 + \$j=2 +\$k should go from 0 to 2 + \$k=0 + \$k=1 + \$k=2 +\$i=2 +*********************** + +*** Nested file include test *** + +This is Finish.phtml. This file is supposed to be included +from regression_test.phtml. This is normal HTML. +and this is PHP code, 2+2=4 + +******************************** + +Tests completed. + + +*** Testing assignments and variable aliasing: *** +This should read "blah": blah +This should read "this is nifty": this is nifty +************************************************* + +*** Testing integer operators *** +Correct result - 8: 8 +Correct result - 8: 8 +Correct result - 2: 2 +Correct result - -2: -2 +Correct result - 15: 15 +Correct result - 15: 15 +Correct result - 2: 2 +Correct result - 3: 3 +********************************* + +*** Testing real operators *** +Correct result - 8: 8 +Correct result - 8: 8 +Correct result - 2: 2 +Correct result - -2: -2 +Correct result - 15: 15 +Correct result - 15: 15 +Correct result - 2: 2 +Correct result - 3: 3 +********************************* + +*** Testing if/elseif/else control *** + +This works +this_still_works +should_print + + +*** Seriously nested if's test *** +** spelling correction by kluzz ** +Only two lines of text should follow: +this should be displayed. should be: \$i=1, \$j=0. is: \$i=1, \$j=0 +this is supposed to be displayed. should be: \$i=2, \$j=4. is: \$i=2, \$j=4 +3 loop iterations should follow: +2 4 +3 4 +4 4 +********************************** + +*** C-style else-if's *** +This should be displayed +************************* + +*** WHILE tests *** +0 is smaller than 20 +1 is smaller than 20 +2 is smaller than 20 +3 is smaller than 20 +4 is smaller than 20 +5 is smaller than 20 +6 is smaller than 20 +7 is smaller than 20 +8 is smaller than 20 +9 is smaller than 20 +10 is smaller than 20 +11 is smaller than 20 +12 is smaller than 20 +13 is smaller than 20 +14 is smaller than 20 +15 is smaller than 20 +16 is smaller than 20 +17 is smaller than 20 +18 is smaller than 20 +19 is smaller than 20 +20 equals 20 +21 is greater than 20 +22 is greater than 20 +23 is greater than 20 +24 is greater than 20 +25 is greater than 20 +26 is greater than 20 +27 is greater than 20 +28 is greater than 20 +29 is greater than 20 +30 is greater than 20 +31 is greater than 20 +32 is greater than 20 +33 is greater than 20 +34 is greater than 20 +35 is greater than 20 +36 is greater than 20 +37 is greater than 20 +38 is greater than 20 +39 is greater than 20 +******************* + + +*** Nested WHILEs *** +Each array variable should be equal to the sum of its indices: +\${test00}[0] = 0 +\${test00}[1] = 1 +\${test00}[2] = 2 +\${test01}[0] = 1 +\${test01}[1] = 2 +\${test01}[2] = 3 +\${test02}[0] = 2 +\${test02}[1] = 3 +\${test02}[2] = 4 +\${test10}[0] = 1 +\${test10}[1] = 2 +\${test10}[2] = 3 +\${test11}[0] = 2 +\${test11}[1] = 3 +\${test11}[2] = 4 +\${test12}[0] = 3 +\${test12}[1] = 4 +\${test12}[2] = 5 +\${test20}[0] = 2 +\${test20}[1] = 3 +\${test20}[2] = 4 +\${test21}[0] = 3 +\${test21}[1] = 4 +\${test21}[2] = 5 +\${test22}[0] = 4 +\${test22}[1] = 5 +\${test22}[2] = 6 +********************* + +*** hash test... *** +commented out... +************************** + +*** Hash resizing test *** +ba +baa +baaa +baaaa +baaaaa +baaaaaa +baaaaaaa +baaaaaaaa +baaaaaaaaa +baaaaaaaaaa +ba +10 +baa +9 +baaa +8 +baaaa +7 +baaaaa +6 +baaaaaa +5 +baaaaaaa +4 +baaaaaaaa +3 +baaaaaaaaa +2 +baaaaaaaaaa +1 +************************** + + +*** break/continue test *** +\$i should go from 0 to 2 +\$j should go from 3 to 4, and \$q should go from 3 to 4 + \$j=3 + \$q=3 + \$q=4 + \$j=4 + \$q=3 + \$q=4 +\$j should go from 0 to 2 + \$j=0 + \$j=1 + \$j=2 +\$k should go from 0 to 2 + \$k=0 + \$k=1 + \$k=2 +\$i=0 +\$j should go from 3 to 4, and \$q should go from 3 to 4 + \$j=3 + \$q=3 + \$q=4 + \$j=4 + \$q=3 + \$q=4 +\$j should go from 0 to 2 + \$j=0 + \$j=1 + \$j=2 +\$k should go from 0 to 2 + \$k=0 + \$k=1 + \$k=2 +\$i=1 +\$j should go from 3 to 4, and \$q should go from 3 to 4 + \$j=3 + \$q=3 + \$q=4 + \$j=4 + \$q=3 + \$q=4 +\$j should go from 0 to 2 + \$j=0 + \$j=1 + \$j=2 +\$k should go from 0 to 2 + \$k=0 + \$k=1 + \$k=2 +\$i=2 +*********************** + +*** Nested file include test *** + +This is Finish.phtml. This file is supposed to be included +from regression_test.phtml. This is normal HTML. +and this is PHP code, 2+2=4 + +******************************** + +Tests completed. + + +*** Testing assignments and variable aliasing: *** +This should read "blah": blah +This should read "this is nifty": this is nifty +************************************************* + +*** Testing integer operators *** +Correct result - 8: 8 +Correct result - 8: 8 +Correct result - 2: 2 +Correct result - -2: -2 +Correct result - 15: 15 +Correct result - 15: 15 +Correct result - 2: 2 +Correct result - 3: 3 +********************************* + +*** Testing real operators *** +Correct result - 8: 8 +Correct result - 8: 8 +Correct result - 2: 2 +Correct result - -2: -2 +Correct result - 15: 15 +Correct result - 15: 15 +Correct result - 2: 2 +Correct result - 3: 3 +********************************* + +*** Testing if/elseif/else control *** + +This works +this_still_works +should_print + + +*** Seriously nested if's test *** +** spelling correction by kluzz ** +Only two lines of text should follow: +this should be displayed. should be: \$i=1, \$j=0. is: \$i=1, \$j=0 +this is supposed to be displayed. should be: \$i=2, \$j=4. is: \$i=2, \$j=4 +3 loop iterations should follow: +2 4 +3 4 +4 4 +********************************** + +*** C-style else-if's *** +This should be displayed +************************* + +*** WHILE tests *** +0 is smaller than 20 +1 is smaller than 20 +2 is smaller than 20 +3 is smaller than 20 +4 is smaller than 20 +5 is smaller than 20 +6 is smaller than 20 +7 is smaller than 20 +8 is smaller than 20 +9 is smaller than 20 +10 is smaller than 20 +11 is smaller than 20 +12 is smaller than 20 +13 is smaller than 20 +14 is smaller than 20 +15 is smaller than 20 +16 is smaller than 20 +17 is smaller than 20 +18 is smaller than 20 +19 is smaller than 20 +20 equals 20 +21 is greater than 20 +22 is greater than 20 +23 is greater than 20 +24 is greater than 20 +25 is greater than 20 +26 is greater than 20 +27 is greater than 20 +28 is greater than 20 +29 is greater than 20 +30 is greater than 20 +31 is greater than 20 +32 is greater than 20 +33 is greater than 20 +34 is greater than 20 +35 is greater than 20 +36 is greater than 20 +37 is greater than 20 +38 is greater than 20 +39 is greater than 20 +******************* + + +*** Nested WHILEs *** +Each array variable should be equal to the sum of its indices: +\${test00}[0] = 0 +\${test00}[1] = 1 +\${test00}[2] = 2 +\${test01}[0] = 1 +\${test01}[1] = 2 +\${test01}[2] = 3 +\${test02}[0] = 2 +\${test02}[1] = 3 +\${test02}[2] = 4 +\${test10}[0] = 1 +\${test10}[1] = 2 +\${test10}[2] = 3 +\${test11}[0] = 2 +\${test11}[1] = 3 +\${test11}[2] = 4 +\${test12}[0] = 3 +\${test12}[1] = 4 +\${test12}[2] = 5 +\${test20}[0] = 2 +\${test20}[1] = 3 +\${test20}[2] = 4 +\${test21}[0] = 3 +\${test21}[1] = 4 +\${test21}[2] = 5 +\${test22}[0] = 4 +\${test22}[1] = 5 +\${test22}[2] = 6 +********************* + +*** hash test... *** +commented out... +************************** + +*** Hash resizing test *** +ba +baa +baaa +baaaa +baaaaa +baaaaaa +baaaaaaa +baaaaaaaa +baaaaaaaaa +baaaaaaaaaa +ba +10 +baa +9 +baaa +8 +baaaa +7 +baaaaa +6 +baaaaaa +5 +baaaaaaa +4 +baaaaaaaa +3 +baaaaaaaaa +2 +baaaaaaaaaa +1 +************************** + + +*** break/continue test *** +\$i should go from 0 to 2 +\$j should go from 3 to 4, and \$q should go from 3 to 4 + \$j=3 + \$q=3 + \$q=4 + \$j=4 + \$q=3 + \$q=4 +\$j should go from 0 to 2 + \$j=0 + \$j=1 + \$j=2 +\$k should go from 0 to 2 + \$k=0 + \$k=1 + \$k=2 +\$i=0 +\$j should go from 3 to 4, and \$q should go from 3 to 4 + \$j=3 + \$q=3 + \$q=4 + \$j=4 + \$q=3 + \$q=4 +\$j should go from 0 to 2 + \$j=0 + \$j=1 + \$j=2 +\$k should go from 0 to 2 + \$k=0 + \$k=1 + \$k=2 +\$i=1 +\$j should go from 3 to 4, and \$q should go from 3 to 4 + \$j=3 + \$q=3 + \$q=4 + \$j=4 + \$q=3 + \$q=4 +\$j should go from 0 to 2 + \$j=0 + \$j=1 + \$j=2 +\$k should go from 0 to 2 + \$k=0 + \$k=1 + \$k=2 +\$i=2 +*********************** + +*** Nested file include test *** + +This is Finish.phtml. This file is supposed to be included +from regression_test.phtml. This is normal HTML. +and this is PHP code, 2+2=4 + +******************************** + +Tests completed. + + +*** Testing assignments and variable aliasing: *** +This should read "blah": blah +This should read "this is nifty": this is nifty +************************************************* + +*** Testing integer operators *** +Correct result - 8: 8 +Correct result - 8: 8 +Correct result - 2: 2 +Correct result - -2: -2 +Correct result - 15: 15 +Correct result - 15: 15 +Correct result - 2: 2 +Correct result - 3: 3 +********************************* + +*** Testing real operators *** +Correct result - 8: 8 +Correct result - 8: 8 +Correct result - 2: 2 +Correct result - -2: -2 +Correct result - 15: 15 +Correct result - 15: 15 +Correct result - 2: 2 +Correct result - 3: 3 +********************************* + +*** Testing if/elseif/else control *** + +This works +this_still_works +should_print + + +*** Seriously nested if's test *** +** spelling correction by kluzz ** +Only two lines of text should follow: +this should be displayed. should be: \$i=1, \$j=0. is: \$i=1, \$j=0 +this is supposed to be displayed. should be: \$i=2, \$j=4. is: \$i=2, \$j=4 +3 loop iterations should follow: +2 4 +3 4 +4 4 +********************************** + +*** C-style else-if's *** +This should be displayed +************************* + +*** WHILE tests *** +0 is smaller than 20 +1 is smaller than 20 +2 is smaller than 20 +3 is smaller than 20 +4 is smaller than 20 +5 is smaller than 20 +6 is smaller than 20 +7 is smaller than 20 +8 is smaller than 20 +9 is smaller than 20 +10 is smaller than 20 +11 is smaller than 20 +12 is smaller than 20 +13 is smaller than 20 +14 is smaller than 20 +15 is smaller than 20 +16 is smaller than 20 +17 is smaller than 20 +18 is smaller than 20 +19 is smaller than 20 +20 equals 20 +21 is greater than 20 +22 is greater than 20 +23 is greater than 20 +24 is greater than 20 +25 is greater than 20 +26 is greater than 20 +27 is greater than 20 +28 is greater than 20 +29 is greater than 20 +30 is greater than 20 +31 is greater than 20 +32 is greater than 20 +33 is greater than 20 +34 is greater than 20 +35 is greater than 20 +36 is greater than 20 +37 is greater than 20 +38 is greater than 20 +39 is greater than 20 +******************* + + +*** Nested WHILEs *** +Each array variable should be equal to the sum of its indices: +\${test00}[0] = 0 +\${test00}[1] = 1 +\${test00}[2] = 2 +\${test01}[0] = 1 +\${test01}[1] = 2 +\${test01}[2] = 3 +\${test02}[0] = 2 +\${test02}[1] = 3 +\${test02}[2] = 4 +\${test10}[0] = 1 +\${test10}[1] = 2 +\${test10}[2] = 3 +\${test11}[0] = 2 +\${test11}[1] = 3 +\${test11}[2] = 4 +\${test12}[0] = 3 +\${test12}[1] = 4 +\${test12}[2] = 5 +\${test20}[0] = 2 +\${test20}[1] = 3 +\${test20}[2] = 4 +\${test21}[0] = 3 +\${test21}[1] = 4 +\${test21}[2] = 5 +\${test22}[0] = 4 +\${test22}[1] = 5 +\${test22}[2] = 6 +********************* + +*** hash test... *** +commented out... +************************** + +*** Hash resizing test *** +ba +baa +baaa +baaaa +baaaaa +baaaaaa +baaaaaaa +baaaaaaaa +baaaaaaaaa +baaaaaaaaaa +ba +10 +baa +9 +baaa +8 +baaaa +7 +baaaaa +6 +baaaaaa +5 +baaaaaaa +4 +baaaaaaaa +3 +baaaaaaaaa +2 +baaaaaaaaaa +1 +************************** + + +*** break/continue test *** +\$i should go from 0 to 2 +\$j should go from 3 to 4, and \$q should go from 3 to 4 + \$j=3 + \$q=3 + \$q=4 + \$j=4 + \$q=3 + \$q=4 +\$j should go from 0 to 2 + \$j=0 + \$j=1 + \$j=2 +\$k should go from 0 to 2 + \$k=0 + \$k=1 + \$k=2 +\$i=0 +\$j should go from 3 to 4, and \$q should go from 3 to 4 + \$j=3 + \$q=3 + \$q=4 + \$j=4 + \$q=3 + \$q=4 +\$j should go from 0 to 2 + \$j=0 + \$j=1 + \$j=2 +\$k should go from 0 to 2 + \$k=0 + \$k=1 + \$k=2 +\$i=1 +\$j should go from 3 to 4, and \$q should go from 3 to 4 + \$j=3 + \$q=3 + \$q=4 + \$j=4 + \$q=3 + \$q=4 +\$j should go from 0 to 2 + \$j=0 + \$j=1 + \$j=2 +\$k should go from 0 to 2 + \$k=0 + \$k=1 + \$k=2 +\$i=2 +*********************** + +*** Nested file include test *** + +This is Finish.phtml. This file is supposed to be included +from regression_test.phtml. This is normal HTML. +and this is PHP code, 2+2=4 + +******************************** + +Tests completed. + + +*** Testing assignments and variable aliasing: *** +This should read "blah": blah +This should read "this is nifty": this is nifty +************************************************* + +*** Testing integer operators *** +Correct result - 8: 8 +Correct result - 8: 8 +Correct result - 2: 2 +Correct result - -2: -2 +Correct result - 15: 15 +Correct result - 15: 15 +Correct result - 2: 2 +Correct result - 3: 3 +********************************* + +*** Testing real operators *** +Correct result - 8: 8 +Correct result - 8: 8 +Correct result - 2: 2 +Correct result - -2: -2 +Correct result - 15: 15 +Correct result - 15: 15 +Correct result - 2: 2 +Correct result - 3: 3 +********************************* + +*** Testing if/elseif/else control *** + +This works +this_still_works +should_print + + +*** Seriously nested if's test *** +** spelling correction by kluzz ** +Only two lines of text should follow: +this should be displayed. should be: \$i=1, \$j=0. is: \$i=1, \$j=0 +this is supposed to be displayed. should be: \$i=2, \$j=4. is: \$i=2, \$j=4 +3 loop iterations should follow: +2 4 +3 4 +4 4 +********************************** + +*** C-style else-if's *** +This should be displayed +************************* + +*** WHILE tests *** +0 is smaller than 20 +1 is smaller than 20 +2 is smaller than 20 +3 is smaller than 20 +4 is smaller than 20 +5 is smaller than 20 +6 is smaller than 20 +7 is smaller than 20 +8 is smaller than 20 +9 is smaller than 20 +10 is smaller than 20 +11 is smaller than 20 +12 is smaller than 20 +13 is smaller than 20 +14 is smaller than 20 +15 is smaller than 20 +16 is smaller than 20 +17 is smaller than 20 +18 is smaller than 20 +19 is smaller than 20 +20 equals 20 +21 is greater than 20 +22 is greater than 20 +23 is greater than 20 +24 is greater than 20 +25 is greater than 20 +26 is greater than 20 +27 is greater than 20 +28 is greater than 20 +29 is greater than 20 +30 is greater than 20 +31 is greater than 20 +32 is greater than 20 +33 is greater than 20 +34 is greater than 20 +35 is greater than 20 +36 is greater than 20 +37 is greater than 20 +38 is greater than 20 +39 is greater than 20 +******************* + + +*** Nested WHILEs *** +Each array variable should be equal to the sum of its indices: +\${test00}[0] = 0 +\${test00}[1] = 1 +\${test00}[2] = 2 +\${test01}[0] = 1 +\${test01}[1] = 2 +\${test01}[2] = 3 +\${test02}[0] = 2 +\${test02}[1] = 3 +\${test02}[2] = 4 +\${test10}[0] = 1 +\${test10}[1] = 2 +\${test10}[2] = 3 +\${test11}[0] = 2 +\${test11}[1] = 3 +\${test11}[2] = 4 +\${test12}[0] = 3 +\${test12}[1] = 4 +\${test12}[2] = 5 +\${test20}[0] = 2 +\${test20}[1] = 3 +\${test20}[2] = 4 +\${test21}[0] = 3 +\${test21}[1] = 4 +\${test21}[2] = 5 +\${test22}[0] = 4 +\${test22}[1] = 5 +\${test22}[2] = 6 +********************* + +*** hash test... *** +commented out... +************************** + +*** Hash resizing test *** +ba +baa +baaa +baaaa +baaaaa +baaaaaa +baaaaaaa +baaaaaaaa +baaaaaaaaa +baaaaaaaaaa +ba +10 +baa +9 +baaa +8 +baaaa +7 +baaaaa +6 +baaaaaa +5 +baaaaaaa +4 +baaaaaaaa +3 +baaaaaaaaa +2 +baaaaaaaaaa +1 +************************** + + +*** break/continue test *** +\$i should go from 0 to 2 +\$j should go from 3 to 4, and \$q should go from 3 to 4 + \$j=3 + \$q=3 + \$q=4 + \$j=4 + \$q=3 + \$q=4 +\$j should go from 0 to 2 + \$j=0 + \$j=1 + \$j=2 +\$k should go from 0 to 2 + \$k=0 + \$k=1 + \$k=2 +\$i=0 +\$j should go from 3 to 4, and \$q should go from 3 to 4 + \$j=3 + \$q=3 + \$q=4 + \$j=4 + \$q=3 + \$q=4 +\$j should go from 0 to 2 + \$j=0 + \$j=1 + \$j=2 +\$k should go from 0 to 2 + \$k=0 + \$k=1 + \$k=2 +\$i=1 +\$j should go from 3 to 4, and \$q should go from 3 to 4 + \$j=3 + \$q=3 + \$q=4 + \$j=4 + \$q=3 + \$q=4 +\$j should go from 0 to 2 + \$j=0 + \$j=1 + \$j=2 +\$k should go from 0 to 2 + \$k=0 + \$k=1 + \$k=2 +\$i=2 +*********************** + +*** Nested file include test *** + +This is Finish.phtml. This file is supposed to be included +from regression_test.phtml. This is normal HTML. +and this is PHP code, 2+2=4 + +******************************** + +Tests completed. + + +*** Testing assignments and variable aliasing: *** +This should read "blah": blah +This should read "this is nifty": this is nifty +************************************************* + +*** Testing integer operators *** +Correct result - 8: 8 +Correct result - 8: 8 +Correct result - 2: 2 +Correct result - -2: -2 +Correct result - 15: 15 +Correct result - 15: 15 +Correct result - 2: 2 +Correct result - 3: 3 +********************************* + +*** Testing real operators *** +Correct result - 8: 8 +Correct result - 8: 8 +Correct result - 2: 2 +Correct result - -2: -2 +Correct result - 15: 15 +Correct result - 15: 15 +Correct result - 2: 2 +Correct result - 3: 3 +********************************* + +*** Testing if/elseif/else control *** + +This works +this_still_works +should_print + + +*** Seriously nested if's test *** +** spelling correction by kluzz ** +Only two lines of text should follow: +this should be displayed. should be: \$i=1, \$j=0. is: \$i=1, \$j=0 +this is supposed to be displayed. should be: \$i=2, \$j=4. is: \$i=2, \$j=4 +3 loop iterations should follow: +2 4 +3 4 +4 4 +********************************** + +*** C-style else-if's *** +This should be displayed +************************* + +*** WHILE tests *** +0 is smaller than 20 +1 is smaller than 20 +2 is smaller than 20 +3 is smaller than 20 +4 is smaller than 20 +5 is smaller than 20 +6 is smaller than 20 +7 is smaller than 20 +8 is smaller than 20 +9 is smaller than 20 +10 is smaller than 20 +11 is smaller than 20 +12 is smaller than 20 +13 is smaller than 20 +14 is smaller than 20 +15 is smaller than 20 +16 is smaller than 20 +17 is smaller than 20 +18 is smaller than 20 +19 is smaller than 20 +20 equals 20 +21 is greater than 20 +22 is greater than 20 +23 is greater than 20 +24 is greater than 20 +25 is greater than 20 +26 is greater than 20 +27 is greater than 20 +28 is greater than 20 +29 is greater than 20 +30 is greater than 20 +31 is greater than 20 +32 is greater than 20 +33 is greater than 20 +34 is greater than 20 +35 is greater than 20 +36 is greater than 20 +37 is greater than 20 +38 is greater than 20 +39 is greater than 20 +******************* + + +*** Nested WHILEs *** +Each array variable should be equal to the sum of its indices: +\${test00}[0] = 0 +\${test00}[1] = 1 +\${test00}[2] = 2 +\${test01}[0] = 1 +\${test01}[1] = 2 +\${test01}[2] = 3 +\${test02}[0] = 2 +\${test02}[1] = 3 +\${test02}[2] = 4 +\${test10}[0] = 1 +\${test10}[1] = 2 +\${test10}[2] = 3 +\${test11}[0] = 2 +\${test11}[1] = 3 +\${test11}[2] = 4 +\${test12}[0] = 3 +\${test12}[1] = 4 +\${test12}[2] = 5 +\${test20}[0] = 2 +\${test20}[1] = 3 +\${test20}[2] = 4 +\${test21}[0] = 3 +\${test21}[1] = 4 +\${test21}[2] = 5 +\${test22}[0] = 4 +\${test22}[1] = 5 +\${test22}[2] = 6 +********************* + +*** hash test... *** +commented out... +************************** + +*** Hash resizing test *** +ba +baa +baaa +baaaa +baaaaa +baaaaaa +baaaaaaa +baaaaaaaa +baaaaaaaaa +baaaaaaaaaa +ba +10 +baa +9 +baaa +8 +baaaa +7 +baaaaa +6 +baaaaaa +5 +baaaaaaa +4 +baaaaaaaa +3 +baaaaaaaaa +2 +baaaaaaaaaa +1 +************************** + + +*** break/continue test *** +\$i should go from 0 to 2 +\$j should go from 3 to 4, and \$q should go from 3 to 4 + \$j=3 + \$q=3 + \$q=4 + \$j=4 + \$q=3 + \$q=4 +\$j should go from 0 to 2 + \$j=0 + \$j=1 + \$j=2 +\$k should go from 0 to 2 + \$k=0 + \$k=1 + \$k=2 +\$i=0 +\$j should go from 3 to 4, and \$q should go from 3 to 4 + \$j=3 + \$q=3 + \$q=4 + \$j=4 + \$q=3 + \$q=4 +\$j should go from 0 to 2 + \$j=0 + \$j=1 + \$j=2 +\$k should go from 0 to 2 + \$k=0 + \$k=1 + \$k=2 +\$i=1 +\$j should go from 3 to 4, and \$q should go from 3 to 4 + \$j=3 + \$q=3 + \$q=4 + \$j=4 + \$q=3 + \$q=4 +\$j should go from 0 to 2 + \$j=0 + \$j=1 + \$j=2 +\$k should go from 0 to 2 + \$k=0 + \$k=1 + \$k=2 +\$i=2 +*********************** + +*** Nested file include test *** + +This is Finish.phtml. This file is supposed to be included +from regression_test.phtml. This is normal HTML. +and this is PHP code, 2+2=4 + +******************************** + +Tests completed. + + +*** Testing assignments and variable aliasing: *** +This should read "blah": blah +This should read "this is nifty": this is nifty +************************************************* + +*** Testing integer operators *** +Correct result - 8: 8 +Correct result - 8: 8 +Correct result - 2: 2 +Correct result - -2: -2 +Correct result - 15: 15 +Correct result - 15: 15 +Correct result - 2: 2 +Correct result - 3: 3 +********************************* + +*** Testing real operators *** +Correct result - 8: 8 +Correct result - 8: 8 +Correct result - 2: 2 +Correct result - -2: -2 +Correct result - 15: 15 +Correct result - 15: 15 +Correct result - 2: 2 +Correct result - 3: 3 +********************************* + +*** Testing if/elseif/else control *** + +This works +this_still_works +should_print + + +*** Seriously nested if's test *** +** spelling correction by kluzz ** +Only two lines of text should follow: +this should be displayed. should be: \$i=1, \$j=0. is: \$i=1, \$j=0 +this is supposed to be displayed. should be: \$i=2, \$j=4. is: \$i=2, \$j=4 +3 loop iterations should follow: +2 4 +3 4 +4 4 +********************************** + +*** C-style else-if's *** +This should be displayed +************************* + +*** WHILE tests *** +0 is smaller than 20 +1 is smaller than 20 +2 is smaller than 20 +3 is smaller than 20 +4 is smaller than 20 +5 is smaller than 20 +6 is smaller than 20 +7 is smaller than 20 +8 is smaller than 20 +9 is smaller than 20 +10 is smaller than 20 +11 is smaller than 20 +12 is smaller than 20 +13 is smaller than 20 +14 is smaller than 20 +15 is smaller than 20 +16 is smaller than 20 +17 is smaller than 20 +18 is smaller than 20 +19 is smaller than 20 +20 equals 20 +21 is greater than 20 +22 is greater than 20 +23 is greater than 20 +24 is greater than 20 +25 is greater than 20 +26 is greater than 20 +27 is greater than 20 +28 is greater than 20 +29 is greater than 20 +30 is greater than 20 +31 is greater than 20 +32 is greater than 20 +33 is greater than 20 +34 is greater than 20 +35 is greater than 20 +36 is greater than 20 +37 is greater than 20 +38 is greater than 20 +39 is greater than 20 +******************* + + +*** Nested WHILEs *** +Each array variable should be equal to the sum of its indices: +\${test00}[0] = 0 +\${test00}[1] = 1 +\${test00}[2] = 2 +\${test01}[0] = 1 +\${test01}[1] = 2 +\${test01}[2] = 3 +\${test02}[0] = 2 +\${test02}[1] = 3 +\${test02}[2] = 4 +\${test10}[0] = 1 +\${test10}[1] = 2 +\${test10}[2] = 3 +\${test11}[0] = 2 +\${test11}[1] = 3 +\${test11}[2] = 4 +\${test12}[0] = 3 +\${test12}[1] = 4 +\${test12}[2] = 5 +\${test20}[0] = 2 +\${test20}[1] = 3 +\${test20}[2] = 4 +\${test21}[0] = 3 +\${test21}[1] = 4 +\${test21}[2] = 5 +\${test22}[0] = 4 +\${test22}[1] = 5 +\${test22}[2] = 6 +********************* + +*** hash test... *** +commented out... +************************** + +*** Hash resizing test *** +ba +baa +baaa +baaaa +baaaaa +baaaaaa +baaaaaaa +baaaaaaaa +baaaaaaaaa +baaaaaaaaaa +ba +10 +baa +9 +baaa +8 +baaaa +7 +baaaaa +6 +baaaaaa +5 +baaaaaaa +4 +baaaaaaaa +3 +baaaaaaaaa +2 +baaaaaaaaaa +1 +************************** + + +*** break/continue test *** +\$i should go from 0 to 2 +\$j should go from 3 to 4, and \$q should go from 3 to 4 + \$j=3 + \$q=3 + \$q=4 + \$j=4 + \$q=3 + \$q=4 +\$j should go from 0 to 2 + \$j=0 + \$j=1 + \$j=2 +\$k should go from 0 to 2 + \$k=0 + \$k=1 + \$k=2 +\$i=0 +\$j should go from 3 to 4, and \$q should go from 3 to 4 + \$j=3 + \$q=3 + \$q=4 + \$j=4 + \$q=3 + \$q=4 +\$j should go from 0 to 2 + \$j=0 + \$j=1 + \$j=2 +\$k should go from 0 to 2 + \$k=0 + \$k=1 + \$k=2 +\$i=1 +\$j should go from 3 to 4, and \$q should go from 3 to 4 + \$j=3 + \$q=3 + \$q=4 + \$j=4 + \$q=3 + \$q=4 +\$j should go from 0 to 2 + \$j=0 + \$j=1 + \$j=2 +\$k should go from 0 to 2 + \$k=0 + \$k=1 + \$k=2 +\$i=2 +*********************** + +*** Nested file include test *** + +This is Finish.phtml. This file is supposed to be included +from regression_test.phtml. This is normal HTML. +and this is PHP code, 2+2=4 + +******************************** + +Tests completed. + + +*** Testing assignments and variable aliasing: *** +This should read "blah": blah +This should read "this is nifty": this is nifty +************************************************* + +*** Testing integer operators *** +Correct result - 8: 8 +Correct result - 8: 8 +Correct result - 2: 2 +Correct result - -2: -2 +Correct result - 15: 15 +Correct result - 15: 15 +Correct result - 2: 2 +Correct result - 3: 3 +********************************* + +*** Testing real operators *** +Correct result - 8: 8 +Correct result - 8: 8 +Correct result - 2: 2 +Correct result - -2: -2 +Correct result - 15: 15 +Correct result - 15: 15 +Correct result - 2: 2 +Correct result - 3: 3 +********************************* + +*** Testing if/elseif/else control *** + +This works +this_still_works +should_print + + +*** Seriously nested if's test *** +** spelling correction by kluzz ** +Only two lines of text should follow: +this should be displayed. should be: \$i=1, \$j=0. is: \$i=1, \$j=0 +this is supposed to be displayed. should be: \$i=2, \$j=4. is: \$i=2, \$j=4 +3 loop iterations should follow: +2 4 +3 4 +4 4 +********************************** + +*** C-style else-if's *** +This should be displayed +************************* + +*** WHILE tests *** +0 is smaller than 20 +1 is smaller than 20 +2 is smaller than 20 +3 is smaller than 20 +4 is smaller than 20 +5 is smaller than 20 +6 is smaller than 20 +7 is smaller than 20 +8 is smaller than 20 +9 is smaller than 20 +10 is smaller than 20 +11 is smaller than 20 +12 is smaller than 20 +13 is smaller than 20 +14 is smaller than 20 +15 is smaller than 20 +16 is smaller than 20 +17 is smaller than 20 +18 is smaller than 20 +19 is smaller than 20 +20 equals 20 +21 is greater than 20 +22 is greater than 20 +23 is greater than 20 +24 is greater than 20 +25 is greater than 20 +26 is greater than 20 +27 is greater than 20 +28 is greater than 20 +29 is greater than 20 +30 is greater than 20 +31 is greater than 20 +32 is greater than 20 +33 is greater than 20 +34 is greater than 20 +35 is greater than 20 +36 is greater than 20 +37 is greater than 20 +38 is greater than 20 +39 is greater than 20 +******************* + + +*** Nested WHILEs *** +Each array variable should be equal to the sum of its indices: +\${test00}[0] = 0 +\${test00}[1] = 1 +\${test00}[2] = 2 +\${test01}[0] = 1 +\${test01}[1] = 2 +\${test01}[2] = 3 +\${test02}[0] = 2 +\${test02}[1] = 3 +\${test02}[2] = 4 +\${test10}[0] = 1 +\${test10}[1] = 2 +\${test10}[2] = 3 +\${test11}[0] = 2 +\${test11}[1] = 3 +\${test11}[2] = 4 +\${test12}[0] = 3 +\${test12}[1] = 4 +\${test12}[2] = 5 +\${test20}[0] = 2 +\${test20}[1] = 3 +\${test20}[2] = 4 +\${test21}[0] = 3 +\${test21}[1] = 4 +\${test21}[2] = 5 +\${test22}[0] = 4 +\${test22}[1] = 5 +\${test22}[2] = 6 +********************* + +*** hash test... *** +commented out... +************************** + +*** Hash resizing test *** +ba +baa +baaa +baaaa +baaaaa +baaaaaa +baaaaaaa +baaaaaaaa +baaaaaaaaa +baaaaaaaaaa +ba +10 +baa +9 +baaa +8 +baaaa +7 +baaaaa +6 +baaaaaa +5 +baaaaaaa +4 +baaaaaaaa +3 +baaaaaaaaa +2 +baaaaaaaaaa +1 +************************** + + +*** break/continue test *** +\$i should go from 0 to 2 +\$j should go from 3 to 4, and \$q should go from 3 to 4 + \$j=3 + \$q=3 + \$q=4 + \$j=4 + \$q=3 + \$q=4 +\$j should go from 0 to 2 + \$j=0 + \$j=1 + \$j=2 +\$k should go from 0 to 2 + \$k=0 + \$k=1 + \$k=2 +\$i=0 +\$j should go from 3 to 4, and \$q should go from 3 to 4 + \$j=3 + \$q=3 + \$q=4 + \$j=4 + \$q=3 + \$q=4 +\$j should go from 0 to 2 + \$j=0 + \$j=1 + \$j=2 +\$k should go from 0 to 2 + \$k=0 + \$k=1 + \$k=2 +\$i=1 +\$j should go from 3 to 4, and \$q should go from 3 to 4 + \$j=3 + \$q=3 + \$q=4 + \$j=4 + \$q=3 + \$q=4 +\$j should go from 0 to 2 + \$j=0 + \$j=1 + \$j=2 +\$k should go from 0 to 2 + \$k=0 + \$k=1 + \$k=2 +\$i=2 +*********************** + +*** Nested file include test *** + +This is Finish.phtml. This file is supposed to be included +from regression_test.phtml. This is normal HTML. +and this is PHP code, 2+2=4 + +******************************** + +Tests completed. + + +*** Testing assignments and variable aliasing: *** +This should read "blah": blah +This should read "this is nifty": this is nifty +************************************************* + +*** Testing integer operators *** +Correct result - 8: 8 +Correct result - 8: 8 +Correct result - 2: 2 +Correct result - -2: -2 +Correct result - 15: 15 +Correct result - 15: 15 +Correct result - 2: 2 +Correct result - 3: 3 +********************************* + +*** Testing real operators *** +Correct result - 8: 8 +Correct result - 8: 8 +Correct result - 2: 2 +Correct result - -2: -2 +Correct result - 15: 15 +Correct result - 15: 15 +Correct result - 2: 2 +Correct result - 3: 3 +********************************* + +*** Testing if/elseif/else control *** + +This works +this_still_works +should_print + + +*** Seriously nested if's test *** +** spelling correction by kluzz ** +Only two lines of text should follow: +this should be displayed. should be: \$i=1, \$j=0. is: \$i=1, \$j=0 +this is supposed to be displayed. should be: \$i=2, \$j=4. is: \$i=2, \$j=4 +3 loop iterations should follow: +2 4 +3 4 +4 4 +********************************** + +*** C-style else-if's *** +This should be displayed +************************* + +*** WHILE tests *** +0 is smaller than 20 +1 is smaller than 20 +2 is smaller than 20 +3 is smaller than 20 +4 is smaller than 20 +5 is smaller than 20 +6 is smaller than 20 +7 is smaller than 20 +8 is smaller than 20 +9 is smaller than 20 +10 is smaller than 20 +11 is smaller than 20 +12 is smaller than 20 +13 is smaller than 20 +14 is smaller than 20 +15 is smaller than 20 +16 is smaller than 20 +17 is smaller than 20 +18 is smaller than 20 +19 is smaller than 20 +20 equals 20 +21 is greater than 20 +22 is greater than 20 +23 is greater than 20 +24 is greater than 20 +25 is greater than 20 +26 is greater than 20 +27 is greater than 20 +28 is greater than 20 +29 is greater than 20 +30 is greater than 20 +31 is greater than 20 +32 is greater than 20 +33 is greater than 20 +34 is greater than 20 +35 is greater than 20 +36 is greater than 20 +37 is greater than 20 +38 is greater than 20 +39 is greater than 20 +******************* + + +*** Nested WHILEs *** +Each array variable should be equal to the sum of its indices: +\${test00}[0] = 0 +\${test00}[1] = 1 +\${test00}[2] = 2 +\${test01}[0] = 1 +\${test01}[1] = 2 +\${test01}[2] = 3 +\${test02}[0] = 2 +\${test02}[1] = 3 +\${test02}[2] = 4 +\${test10}[0] = 1 +\${test10}[1] = 2 +\${test10}[2] = 3 +\${test11}[0] = 2 +\${test11}[1] = 3 +\${test11}[2] = 4 +\${test12}[0] = 3 +\${test12}[1] = 4 +\${test12}[2] = 5 +\${test20}[0] = 2 +\${test20}[1] = 3 +\${test20}[2] = 4 +\${test21}[0] = 3 +\${test21}[1] = 4 +\${test21}[2] = 5 +\${test22}[0] = 4 +\${test22}[1] = 5 +\${test22}[2] = 6 +********************* + +*** hash test... *** +commented out... +************************** + +*** Hash resizing test *** +ba +baa +baaa +baaaa +baaaaa +baaaaaa +baaaaaaa +baaaaaaaa +baaaaaaaaa +baaaaaaaaaa +ba +10 +baa +9 +baaa +8 +baaaa +7 +baaaaa +6 +baaaaaa +5 +baaaaaaa +4 +baaaaaaaa +3 +baaaaaaaaa +2 +baaaaaaaaaa +1 +************************** + + +*** break/continue test *** +\$i should go from 0 to 2 +\$j should go from 3 to 4, and \$q should go from 3 to 4 + \$j=3 + \$q=3 + \$q=4 + \$j=4 + \$q=3 + \$q=4 +\$j should go from 0 to 2 + \$j=0 + \$j=1 + \$j=2 +\$k should go from 0 to 2 + \$k=0 + \$k=1 + \$k=2 +\$i=0 +\$j should go from 3 to 4, and \$q should go from 3 to 4 + \$j=3 + \$q=3 + \$q=4 + \$j=4 + \$q=3 + \$q=4 +\$j should go from 0 to 2 + \$j=0 + \$j=1 + \$j=2 +\$k should go from 0 to 2 + \$k=0 + \$k=1 + \$k=2 +\$i=1 +\$j should go from 3 to 4, and \$q should go from 3 to 4 + \$j=3 + \$q=3 + \$q=4 + \$j=4 + \$q=3 + \$q=4 +\$j should go from 0 to 2 + \$j=0 + \$j=1 + \$j=2 +\$k should go from 0 to 2 + \$k=0 + \$k=1 + \$k=2 +\$i=2 +*********************** + +*** Nested file include test *** + +This is Finish.phtml. This file is supposed to be included +from regression_test.phtml. This is normal HTML. +and this is PHP code, 2+2=4 + +******************************** + +Tests completed. + + +*** Testing assignments and variable aliasing: *** +This should read "blah": blah +This should read "this is nifty": this is nifty +************************************************* + +*** Testing integer operators *** +Correct result - 8: 8 +Correct result - 8: 8 +Correct result - 2: 2 +Correct result - -2: -2 +Correct result - 15: 15 +Correct result - 15: 15 +Correct result - 2: 2 +Correct result - 3: 3 +********************************* + +*** Testing real operators *** +Correct result - 8: 8 +Correct result - 8: 8 +Correct result - 2: 2 +Correct result - -2: -2 +Correct result - 15: 15 +Correct result - 15: 15 +Correct result - 2: 2 +Correct result - 3: 3 +********************************* + +*** Testing if/elseif/else control *** + +This works +this_still_works +should_print + + +*** Seriously nested if's test *** +** spelling correction by kluzz ** +Only two lines of text should follow: +this should be displayed. should be: \$i=1, \$j=0. is: \$i=1, \$j=0 +this is supposed to be displayed. should be: \$i=2, \$j=4. is: \$i=2, \$j=4 +3 loop iterations should follow: +2 4 +3 4 +4 4 +********************************** + +*** C-style else-if's *** +This should be displayed +************************* + +*** WHILE tests *** +0 is smaller than 20 +1 is smaller than 20 +2 is smaller than 20 +3 is smaller than 20 +4 is smaller than 20 +5 is smaller than 20 +6 is smaller than 20 +7 is smaller than 20 +8 is smaller than 20 +9 is smaller than 20 +10 is smaller than 20 +11 is smaller than 20 +12 is smaller than 20 +13 is smaller than 20 +14 is smaller than 20 +15 is smaller than 20 +16 is smaller than 20 +17 is smaller than 20 +18 is smaller than 20 +19 is smaller than 20 +20 equals 20 +21 is greater than 20 +22 is greater than 20 +23 is greater than 20 +24 is greater than 20 +25 is greater than 20 +26 is greater than 20 +27 is greater than 20 +28 is greater than 20 +29 is greater than 20 +30 is greater than 20 +31 is greater than 20 +32 is greater than 20 +33 is greater than 20 +34 is greater than 20 +35 is greater than 20 +36 is greater than 20 +37 is greater than 20 +38 is greater than 20 +39 is greater than 20 +******************* + + +*** Nested WHILEs *** +Each array variable should be equal to the sum of its indices: +\${test00}[0] = 0 +\${test00}[1] = 1 +\${test00}[2] = 2 +\${test01}[0] = 1 +\${test01}[1] = 2 +\${test01}[2] = 3 +\${test02}[0] = 2 +\${test02}[1] = 3 +\${test02}[2] = 4 +\${test10}[0] = 1 +\${test10}[1] = 2 +\${test10}[2] = 3 +\${test11}[0] = 2 +\${test11}[1] = 3 +\${test11}[2] = 4 +\${test12}[0] = 3 +\${test12}[1] = 4 +\${test12}[2] = 5 +\${test20}[0] = 2 +\${test20}[1] = 3 +\${test20}[2] = 4 +\${test21}[0] = 3 +\${test21}[1] = 4 +\${test21}[2] = 5 +\${test22}[0] = 4 +\${test22}[1] = 5 +\${test22}[2] = 6 +********************* + +*** hash test... *** +commented out... +************************** + +*** Hash resizing test *** +ba +baa +baaa +baaaa +baaaaa +baaaaaa +baaaaaaa +baaaaaaaa +baaaaaaaaa +baaaaaaaaaa +ba +10 +baa +9 +baaa +8 +baaaa +7 +baaaaa +6 +baaaaaa +5 +baaaaaaa +4 +baaaaaaaa +3 +baaaaaaaaa +2 +baaaaaaaaaa +1 +************************** + + +*** break/continue test *** +\$i should go from 0 to 2 +\$j should go from 3 to 4, and \$q should go from 3 to 4 + \$j=3 + \$q=3 + \$q=4 + \$j=4 + \$q=3 + \$q=4 +\$j should go from 0 to 2 + \$j=0 + \$j=1 + \$j=2 +\$k should go from 0 to 2 + \$k=0 + \$k=1 + \$k=2 +\$i=0 +\$j should go from 3 to 4, and \$q should go from 3 to 4 + \$j=3 + \$q=3 + \$q=4 + \$j=4 + \$q=3 + \$q=4 +\$j should go from 0 to 2 + \$j=0 + \$j=1 + \$j=2 +\$k should go from 0 to 2 + \$k=0 + \$k=1 + \$k=2 +\$i=1 +\$j should go from 3 to 4, and \$q should go from 3 to 4 + \$j=3 + \$q=3 + \$q=4 + \$j=4 + \$q=3 + \$q=4 +\$j should go from 0 to 2 + \$j=0 + \$j=1 + \$j=2 +\$k should go from 0 to 2 + \$k=0 + \$k=1 + \$k=2 +\$i=2 +*********************** + +*** Nested file include test *** + +This is Finish.phtml. This file is supposed to be included +from regression_test.phtml. This is normal HTML. +and this is PHP code, 2+2=4 + +******************************** + +Tests completed. + + +*** Testing assignments and variable aliasing: *** +This should read "blah": blah +This should read "this is nifty": this is nifty +************************************************* + +*** Testing integer operators *** +Correct result - 8: 8 +Correct result - 8: 8 +Correct result - 2: 2 +Correct result - -2: -2 +Correct result - 15: 15 +Correct result - 15: 15 +Correct result - 2: 2 +Correct result - 3: 3 +********************************* + +*** Testing real operators *** +Correct result - 8: 8 +Correct result - 8: 8 +Correct result - 2: 2 +Correct result - -2: -2 +Correct result - 15: 15 +Correct result - 15: 15 +Correct result - 2: 2 +Correct result - 3: 3 +********************************* + +*** Testing if/elseif/else control *** + +This works +this_still_works +should_print + + +*** Seriously nested if's test *** +** spelling correction by kluzz ** +Only two lines of text should follow: +this should be displayed. should be: \$i=1, \$j=0. is: \$i=1, \$j=0 +this is supposed to be displayed. should be: \$i=2, \$j=4. is: \$i=2, \$j=4 +3 loop iterations should follow: +2 4 +3 4 +4 4 +********************************** + +*** C-style else-if's *** +This should be displayed +************************* + +*** WHILE tests *** +0 is smaller than 20 +1 is smaller than 20 +2 is smaller than 20 +3 is smaller than 20 +4 is smaller than 20 +5 is smaller than 20 +6 is smaller than 20 +7 is smaller than 20 +8 is smaller than 20 +9 is smaller than 20 +10 is smaller than 20 +11 is smaller than 20 +12 is smaller than 20 +13 is smaller than 20 +14 is smaller than 20 +15 is smaller than 20 +16 is smaller than 20 +17 is smaller than 20 +18 is smaller than 20 +19 is smaller than 20 +20 equals 20 +21 is greater than 20 +22 is greater than 20 +23 is greater than 20 +24 is greater than 20 +25 is greater than 20 +26 is greater than 20 +27 is greater than 20 +28 is greater than 20 +29 is greater than 20 +30 is greater than 20 +31 is greater than 20 +32 is greater than 20 +33 is greater than 20 +34 is greater than 20 +35 is greater than 20 +36 is greater than 20 +37 is greater than 20 +38 is greater than 20 +39 is greater than 20 +******************* + + +*** Nested WHILEs *** +Each array variable should be equal to the sum of its indices: +\${test00}[0] = 0 +\${test00}[1] = 1 +\${test00}[2] = 2 +\${test01}[0] = 1 +\${test01}[1] = 2 +\${test01}[2] = 3 +\${test02}[0] = 2 +\${test02}[1] = 3 +\${test02}[2] = 4 +\${test10}[0] = 1 +\${test10}[1] = 2 +\${test10}[2] = 3 +\${test11}[0] = 2 +\${test11}[1] = 3 +\${test11}[2] = 4 +\${test12}[0] = 3 +\${test12}[1] = 4 +\${test12}[2] = 5 +\${test20}[0] = 2 +\${test20}[1] = 3 +\${test20}[2] = 4 +\${test21}[0] = 3 +\${test21}[1] = 4 +\${test21}[2] = 5 +\${test22}[0] = 4 +\${test22}[1] = 5 +\${test22}[2] = 6 +********************* + +*** hash test... *** +commented out... +************************** + +*** Hash resizing test *** +ba +baa +baaa +baaaa +baaaaa +baaaaaa +baaaaaaa +baaaaaaaa +baaaaaaaaa +baaaaaaaaaa +ba +10 +baa +9 +baaa +8 +baaaa +7 +baaaaa +6 +baaaaaa +5 +baaaaaaa +4 +baaaaaaaa +3 +baaaaaaaaa +2 +baaaaaaaaaa +1 +************************** + + +*** break/continue test *** +\$i should go from 0 to 2 +\$j should go from 3 to 4, and \$q should go from 3 to 4 + \$j=3 + \$q=3 + \$q=4 + \$j=4 + \$q=3 + \$q=4 +\$j should go from 0 to 2 + \$j=0 + \$j=1 + \$j=2 +\$k should go from 0 to 2 + \$k=0 + \$k=1 + \$k=2 +\$i=0 +\$j should go from 3 to 4, and \$q should go from 3 to 4 + \$j=3 + \$q=3 + \$q=4 + \$j=4 + \$q=3 + \$q=4 +\$j should go from 0 to 2 + \$j=0 + \$j=1 + \$j=2 +\$k should go from 0 to 2 + \$k=0 + \$k=1 + \$k=2 +\$i=1 +\$j should go from 3 to 4, and \$q should go from 3 to 4 + \$j=3 + \$q=3 + \$q=4 + \$j=4 + \$q=3 + \$q=4 +\$j should go from 0 to 2 + \$j=0 + \$j=1 + \$j=2 +\$k should go from 0 to 2 + \$k=0 + \$k=1 + \$k=2 +\$i=2 +*********************** + +*** Nested file include test *** + +This is Finish.phtml. This file is supposed to be included +from regression_test.phtml. This is normal HTML. +and this is PHP code, 2+2=4 + +******************************** + +Tests completed. + + +*** Testing assignments and variable aliasing: *** +This should read "blah": blah +This should read "this is nifty": this is nifty +************************************************* + +*** Testing integer operators *** +Correct result - 8: 8 +Correct result - 8: 8 +Correct result - 2: 2 +Correct result - -2: -2 +Correct result - 15: 15 +Correct result - 15: 15 +Correct result - 2: 2 +Correct result - 3: 3 +********************************* + +*** Testing real operators *** +Correct result - 8: 8 +Correct result - 8: 8 +Correct result - 2: 2 +Correct result - -2: -2 +Correct result - 15: 15 +Correct result - 15: 15 +Correct result - 2: 2 +Correct result - 3: 3 +********************************* + +*** Testing if/elseif/else control *** + +This works +this_still_works +should_print + + +*** Seriously nested if's test *** +** spelling correction by kluzz ** +Only two lines of text should follow: +this should be displayed. should be: \$i=1, \$j=0. is: \$i=1, \$j=0 +this is supposed to be displayed. should be: \$i=2, \$j=4. is: \$i=2, \$j=4 +3 loop iterations should follow: +2 4 +3 4 +4 4 +********************************** + +*** C-style else-if's *** +This should be displayed +************************* + +*** WHILE tests *** +0 is smaller than 20 +1 is smaller than 20 +2 is smaller than 20 +3 is smaller than 20 +4 is smaller than 20 +5 is smaller than 20 +6 is smaller than 20 +7 is smaller than 20 +8 is smaller than 20 +9 is smaller than 20 +10 is smaller than 20 +11 is smaller than 20 +12 is smaller than 20 +13 is smaller than 20 +14 is smaller than 20 +15 is smaller than 20 +16 is smaller than 20 +17 is smaller than 20 +18 is smaller than 20 +19 is smaller than 20 +20 equals 20 +21 is greater than 20 +22 is greater than 20 +23 is greater than 20 +24 is greater than 20 +25 is greater than 20 +26 is greater than 20 +27 is greater than 20 +28 is greater than 20 +29 is greater than 20 +30 is greater than 20 +31 is greater than 20 +32 is greater than 20 +33 is greater than 20 +34 is greater than 20 +35 is greater than 20 +36 is greater than 20 +37 is greater than 20 +38 is greater than 20 +39 is greater than 20 +******************* + + +*** Nested WHILEs *** +Each array variable should be equal to the sum of its indices: +\${test00}[0] = 0 +\${test00}[1] = 1 +\${test00}[2] = 2 +\${test01}[0] = 1 +\${test01}[1] = 2 +\${test01}[2] = 3 +\${test02}[0] = 2 +\${test02}[1] = 3 +\${test02}[2] = 4 +\${test10}[0] = 1 +\${test10}[1] = 2 +\${test10}[2] = 3 +\${test11}[0] = 2 +\${test11}[1] = 3 +\${test11}[2] = 4 +\${test12}[0] = 3 +\${test12}[1] = 4 +\${test12}[2] = 5 +\${test20}[0] = 2 +\${test20}[1] = 3 +\${test20}[2] = 4 +\${test21}[0] = 3 +\${test21}[1] = 4 +\${test21}[2] = 5 +\${test22}[0] = 4 +\${test22}[1] = 5 +\${test22}[2] = 6 +********************* + +*** hash test... *** +commented out... +************************** + +*** Hash resizing test *** +ba +baa +baaa +baaaa +baaaaa +baaaaaa +baaaaaaa +baaaaaaaa +baaaaaaaaa +baaaaaaaaaa +ba +10 +baa +9 +baaa +8 +baaaa +7 +baaaaa +6 +baaaaaa +5 +baaaaaaa +4 +baaaaaaaa +3 +baaaaaaaaa +2 +baaaaaaaaaa +1 +************************** + + +*** break/continue test *** +\$i should go from 0 to 2 +\$j should go from 3 to 4, and \$q should go from 3 to 4 + \$j=3 + \$q=3 + \$q=4 + \$j=4 + \$q=3 + \$q=4 +\$j should go from 0 to 2 + \$j=0 + \$j=1 + \$j=2 +\$k should go from 0 to 2 + \$k=0 + \$k=1 + \$k=2 +\$i=0 +\$j should go from 3 to 4, and \$q should go from 3 to 4 + \$j=3 + \$q=3 + \$q=4 + \$j=4 + \$q=3 + \$q=4 +\$j should go from 0 to 2 + \$j=0 + \$j=1 + \$j=2 +\$k should go from 0 to 2 + \$k=0 + \$k=1 + \$k=2 +\$i=1 +\$j should go from 3 to 4, and \$q should go from 3 to 4 + \$j=3 + \$q=3 + \$q=4 + \$j=4 + \$q=3 + \$q=4 +\$j should go from 0 to 2 + \$j=0 + \$j=1 + \$j=2 +\$k should go from 0 to 2 + \$k=0 + \$k=1 + \$k=2 +\$i=2 +*********************** + +*** Nested file include test *** + +This is Finish.phtml. This file is supposed to be included +from regression_test.phtml. This is normal HTML. +and this is PHP code, 2+2=4 + +******************************** + +Tests completed. + + +*** Testing assignments and variable aliasing: *** +This should read "blah": blah +This should read "this is nifty": this is nifty +************************************************* + +*** Testing integer operators *** +Correct result - 8: 8 +Correct result - 8: 8 +Correct result - 2: 2 +Correct result - -2: -2 +Correct result - 15: 15 +Correct result - 15: 15 +Correct result - 2: 2 +Correct result - 3: 3 +********************************* + +*** Testing real operators *** +Correct result - 8: 8 +Correct result - 8: 8 +Correct result - 2: 2 +Correct result - -2: -2 +Correct result - 15: 15 +Correct result - 15: 15 +Correct result - 2: 2 +Correct result - 3: 3 +********************************* + +*** Testing if/elseif/else control *** + +This works +this_still_works +should_print + + +*** Seriously nested if's test *** +** spelling correction by kluzz ** +Only two lines of text should follow: +this should be displayed. should be: \$i=1, \$j=0. is: \$i=1, \$j=0 +this is supposed to be displayed. should be: \$i=2, \$j=4. is: \$i=2, \$j=4 +3 loop iterations should follow: +2 4 +3 4 +4 4 +********************************** + +*** C-style else-if's *** +This should be displayed +************************* + +*** WHILE tests *** +0 is smaller than 20 +1 is smaller than 20 +2 is smaller than 20 +3 is smaller than 20 +4 is smaller than 20 +5 is smaller than 20 +6 is smaller than 20 +7 is smaller than 20 +8 is smaller than 20 +9 is smaller than 20 +10 is smaller than 20 +11 is smaller than 20 +12 is smaller than 20 +13 is smaller than 20 +14 is smaller than 20 +15 is smaller than 20 +16 is smaller than 20 +17 is smaller than 20 +18 is smaller than 20 +19 is smaller than 20 +20 equals 20 +21 is greater than 20 +22 is greater than 20 +23 is greater than 20 +24 is greater than 20 +25 is greater than 20 +26 is greater than 20 +27 is greater than 20 +28 is greater than 20 +29 is greater than 20 +30 is greater than 20 +31 is greater than 20 +32 is greater than 20 +33 is greater than 20 +34 is greater than 20 +35 is greater than 20 +36 is greater than 20 +37 is greater than 20 +38 is greater than 20 +39 is greater than 20 +******************* + + +*** Nested WHILEs *** +Each array variable should be equal to the sum of its indices: +\${test00}[0] = 0 +\${test00}[1] = 1 +\${test00}[2] = 2 +\${test01}[0] = 1 +\${test01}[1] = 2 +\${test01}[2] = 3 +\${test02}[0] = 2 +\${test02}[1] = 3 +\${test02}[2] = 4 +\${test10}[0] = 1 +\${test10}[1] = 2 +\${test10}[2] = 3 +\${test11}[0] = 2 +\${test11}[1] = 3 +\${test11}[2] = 4 +\${test12}[0] = 3 +\${test12}[1] = 4 +\${test12}[2] = 5 +\${test20}[0] = 2 +\${test20}[1] = 3 +\${test20}[2] = 4 +\${test21}[0] = 3 +\${test21}[1] = 4 +\${test21}[2] = 5 +\${test22}[0] = 4 +\${test22}[1] = 5 +\${test22}[2] = 6 +********************* + +*** hash test... *** +commented out... +************************** + +*** Hash resizing test *** +ba +baa +baaa +baaaa +baaaaa +baaaaaa +baaaaaaa +baaaaaaaa +baaaaaaaaa +baaaaaaaaaa +ba +10 +baa +9 +baaa +8 +baaaa +7 +baaaaa +6 +baaaaaa +5 +baaaaaaa +4 +baaaaaaaa +3 +baaaaaaaaa +2 +baaaaaaaaaa +1 +************************** + + +*** break/continue test *** +\$i should go from 0 to 2 +\$j should go from 3 to 4, and \$q should go from 3 to 4 + \$j=3 + \$q=3 + \$q=4 + \$j=4 + \$q=3 + \$q=4 +\$j should go from 0 to 2 + \$j=0 + \$j=1 + \$j=2 +\$k should go from 0 to 2 + \$k=0 + \$k=1 + \$k=2 +\$i=0 +\$j should go from 3 to 4, and \$q should go from 3 to 4 + \$j=3 + \$q=3 + \$q=4 + \$j=4 + \$q=3 + \$q=4 +\$j should go from 0 to 2 + \$j=0 + \$j=1 + \$j=2 +\$k should go from 0 to 2 + \$k=0 + \$k=1 + \$k=2 +\$i=1 +\$j should go from 3 to 4, and \$q should go from 3 to 4 + \$j=3 + \$q=3 + \$q=4 + \$j=4 + \$q=3 + \$q=4 +\$j should go from 0 to 2 + \$j=0 + \$j=1 + \$j=2 +\$k should go from 0 to 2 + \$k=0 + \$k=1 + \$k=2 +\$i=2 +*********************** + +*** Nested file include test *** + +This is Finish.phtml. This file is supposed to be included +from regression_test.phtml. This is normal HTML. +and this is PHP code, 2+2=4 + +******************************** + +Tests completed. + + +*** Testing assignments and variable aliasing: *** +This should read "blah": blah +This should read "this is nifty": this is nifty +************************************************* + +*** Testing integer operators *** +Correct result - 8: 8 +Correct result - 8: 8 +Correct result - 2: 2 +Correct result - -2: -2 +Correct result - 15: 15 +Correct result - 15: 15 +Correct result - 2: 2 +Correct result - 3: 3 +********************************* + +*** Testing real operators *** +Correct result - 8: 8 +Correct result - 8: 8 +Correct result - 2: 2 +Correct result - -2: -2 +Correct result - 15: 15 +Correct result - 15: 15 +Correct result - 2: 2 +Correct result - 3: 3 +********************************* + +*** Testing if/elseif/else control *** + +This works +this_still_works +should_print + + +*** Seriously nested if's test *** +** spelling correction by kluzz ** +Only two lines of text should follow: +this should be displayed. should be: \$i=1, \$j=0. is: \$i=1, \$j=0 +this is supposed to be displayed. should be: \$i=2, \$j=4. is: \$i=2, \$j=4 +3 loop iterations should follow: +2 4 +3 4 +4 4 +********************************** + +*** C-style else-if's *** +This should be displayed +************************* + +*** WHILE tests *** +0 is smaller than 20 +1 is smaller than 20 +2 is smaller than 20 +3 is smaller than 20 +4 is smaller than 20 +5 is smaller than 20 +6 is smaller than 20 +7 is smaller than 20 +8 is smaller than 20 +9 is smaller than 20 +10 is smaller than 20 +11 is smaller than 20 +12 is smaller than 20 +13 is smaller than 20 +14 is smaller than 20 +15 is smaller than 20 +16 is smaller than 20 +17 is smaller than 20 +18 is smaller than 20 +19 is smaller than 20 +20 equals 20 +21 is greater than 20 +22 is greater than 20 +23 is greater than 20 +24 is greater than 20 +25 is greater than 20 +26 is greater than 20 +27 is greater than 20 +28 is greater than 20 +29 is greater than 20 +30 is greater than 20 +31 is greater than 20 +32 is greater than 20 +33 is greater than 20 +34 is greater than 20 +35 is greater than 20 +36 is greater than 20 +37 is greater than 20 +38 is greater than 20 +39 is greater than 20 +******************* + + +*** Nested WHILEs *** +Each array variable should be equal to the sum of its indices: +\${test00}[0] = 0 +\${test00}[1] = 1 +\${test00}[2] = 2 +\${test01}[0] = 1 +\${test01}[1] = 2 +\${test01}[2] = 3 +\${test02}[0] = 2 +\${test02}[1] = 3 +\${test02}[2] = 4 +\${test10}[0] = 1 +\${test10}[1] = 2 +\${test10}[2] = 3 +\${test11}[0] = 2 +\${test11}[1] = 3 +\${test11}[2] = 4 +\${test12}[0] = 3 +\${test12}[1] = 4 +\${test12}[2] = 5 +\${test20}[0] = 2 +\${test20}[1] = 3 +\${test20}[2] = 4 +\${test21}[0] = 3 +\${test21}[1] = 4 +\${test21}[2] = 5 +\${test22}[0] = 4 +\${test22}[1] = 5 +\${test22}[2] = 6 +********************* + +*** hash test... *** +commented out... +************************** + +*** Hash resizing test *** +ba +baa +baaa +baaaa +baaaaa +baaaaaa +baaaaaaa +baaaaaaaa +baaaaaaaaa +baaaaaaaaaa +ba +10 +baa +9 +baaa +8 +baaaa +7 +baaaaa +6 +baaaaaa +5 +baaaaaaa +4 +baaaaaaaa +3 +baaaaaaaaa +2 +baaaaaaaaaa +1 +************************** + + +*** break/continue test *** +\$i should go from 0 to 2 +\$j should go from 3 to 4, and \$q should go from 3 to 4 + \$j=3 + \$q=3 + \$q=4 + \$j=4 + \$q=3 + \$q=4 +\$j should go from 0 to 2 + \$j=0 + \$j=1 + \$j=2 +\$k should go from 0 to 2 + \$k=0 + \$k=1 + \$k=2 +\$i=0 +\$j should go from 3 to 4, and \$q should go from 3 to 4 + \$j=3 + \$q=3 + \$q=4 + \$j=4 + \$q=3 + \$q=4 +\$j should go from 0 to 2 + \$j=0 + \$j=1 + \$j=2 +\$k should go from 0 to 2 + \$k=0 + \$k=1 + \$k=2 +\$i=1 +\$j should go from 3 to 4, and \$q should go from 3 to 4 + \$j=3 + \$q=3 + \$q=4 + \$j=4 + \$q=3 + \$q=4 +\$j should go from 0 to 2 + \$j=0 + \$j=1 + \$j=2 +\$k should go from 0 to 2 + \$k=0 + \$k=1 + \$k=2 +\$i=2 +*********************** + +*** Nested file include test *** + +This is Finish.phtml. This file is supposed to be included +from regression_test.phtml. This is normal HTML. +and this is PHP code, 2+2=4 + +******************************** + +Tests completed. + + +*** Testing assignments and variable aliasing: *** +This should read "blah": blah +This should read "this is nifty": this is nifty +************************************************* + +*** Testing integer operators *** +Correct result - 8: 8 +Correct result - 8: 8 +Correct result - 2: 2 +Correct result - -2: -2 +Correct result - 15: 15 +Correct result - 15: 15 +Correct result - 2: 2 +Correct result - 3: 3 +********************************* + +*** Testing real operators *** +Correct result - 8: 8 +Correct result - 8: 8 +Correct result - 2: 2 +Correct result - -2: -2 +Correct result - 15: 15 +Correct result - 15: 15 +Correct result - 2: 2 +Correct result - 3: 3 +********************************* + +*** Testing if/elseif/else control *** + +This works +this_still_works +should_print + + +*** Seriously nested if's test *** +** spelling correction by kluzz ** +Only two lines of text should follow: +this should be displayed. should be: \$i=1, \$j=0. is: \$i=1, \$j=0 +this is supposed to be displayed. should be: \$i=2, \$j=4. is: \$i=2, \$j=4 +3 loop iterations should follow: +2 4 +3 4 +4 4 +********************************** + +*** C-style else-if's *** +This should be displayed +************************* + +*** WHILE tests *** +0 is smaller than 20 +1 is smaller than 20 +2 is smaller than 20 +3 is smaller than 20 +4 is smaller than 20 +5 is smaller than 20 +6 is smaller than 20 +7 is smaller than 20 +8 is smaller than 20 +9 is smaller than 20 +10 is smaller than 20 +11 is smaller than 20 +12 is smaller than 20 +13 is smaller than 20 +14 is smaller than 20 +15 is smaller than 20 +16 is smaller than 20 +17 is smaller than 20 +18 is smaller than 20 +19 is smaller than 20 +20 equals 20 +21 is greater than 20 +22 is greater than 20 +23 is greater than 20 +24 is greater than 20 +25 is greater than 20 +26 is greater than 20 +27 is greater than 20 +28 is greater than 20 +29 is greater than 20 +30 is greater than 20 +31 is greater than 20 +32 is greater than 20 +33 is greater than 20 +34 is greater than 20 +35 is greater than 20 +36 is greater than 20 +37 is greater than 20 +38 is greater than 20 +39 is greater than 20 +******************* + + +*** Nested WHILEs *** +Each array variable should be equal to the sum of its indices: +\${test00}[0] = 0 +\${test00}[1] = 1 +\${test00}[2] = 2 +\${test01}[0] = 1 +\${test01}[1] = 2 +\${test01}[2] = 3 +\${test02}[0] = 2 +\${test02}[1] = 3 +\${test02}[2] = 4 +\${test10}[0] = 1 +\${test10}[1] = 2 +\${test10}[2] = 3 +\${test11}[0] = 2 +\${test11}[1] = 3 +\${test11}[2] = 4 +\${test12}[0] = 3 +\${test12}[1] = 4 +\${test12}[2] = 5 +\${test20}[0] = 2 +\${test20}[1] = 3 +\${test20}[2] = 4 +\${test21}[0] = 3 +\${test21}[1] = 4 +\${test21}[2] = 5 +\${test22}[0] = 4 +\${test22}[1] = 5 +\${test22}[2] = 6 +********************* + +*** hash test... *** +commented out... +************************** + +*** Hash resizing test *** +ba +baa +baaa +baaaa +baaaaa +baaaaaa +baaaaaaa +baaaaaaaa +baaaaaaaaa +baaaaaaaaaa +ba +10 +baa +9 +baaa +8 +baaaa +7 +baaaaa +6 +baaaaaa +5 +baaaaaaa +4 +baaaaaaaa +3 +baaaaaaaaa +2 +baaaaaaaaaa +1 +************************** + + +*** break/continue test *** +\$i should go from 0 to 2 +\$j should go from 3 to 4, and \$q should go from 3 to 4 + \$j=3 + \$q=3 + \$q=4 + \$j=4 + \$q=3 + \$q=4 +\$j should go from 0 to 2 + \$j=0 + \$j=1 + \$j=2 +\$k should go from 0 to 2 + \$k=0 + \$k=1 + \$k=2 +\$i=0 +\$j should go from 3 to 4, and \$q should go from 3 to 4 + \$j=3 + \$q=3 + \$q=4 + \$j=4 + \$q=3 + \$q=4 +\$j should go from 0 to 2 + \$j=0 + \$j=1 + \$j=2 +\$k should go from 0 to 2 + \$k=0 + \$k=1 + \$k=2 +\$i=1 +\$j should go from 3 to 4, and \$q should go from 3 to 4 + \$j=3 + \$q=3 + \$q=4 + \$j=4 + \$q=3 + \$q=4 +\$j should go from 0 to 2 + \$j=0 + \$j=1 + \$j=2 +\$k should go from 0 to 2 + \$k=0 + \$k=1 + \$k=2 +\$i=2 +*********************** + +*** Nested file include test *** + +This is Finish.phtml. This file is supposed to be included +from regression_test.phtml. This is normal HTML. +and this is PHP code, 2+2=4 + +******************************** + +Tests completed. + + +*** Testing assignments and variable aliasing: *** +This should read "blah": blah +This should read "this is nifty": this is nifty +************************************************* + +*** Testing integer operators *** +Correct result - 8: 8 +Correct result - 8: 8 +Correct result - 2: 2 +Correct result - -2: -2 +Correct result - 15: 15 +Correct result - 15: 15 +Correct result - 2: 2 +Correct result - 3: 3 +********************************* + +*** Testing real operators *** +Correct result - 8: 8 +Correct result - 8: 8 +Correct result - 2: 2 +Correct result - -2: -2 +Correct result - 15: 15 +Correct result - 15: 15 +Correct result - 2: 2 +Correct result - 3: 3 +********************************* + +*** Testing if/elseif/else control *** + +This works +this_still_works +should_print + + +*** Seriously nested if's test *** +** spelling correction by kluzz ** +Only two lines of text should follow: +this should be displayed. should be: \$i=1, \$j=0. is: \$i=1, \$j=0 +this is supposed to be displayed. should be: \$i=2, \$j=4. is: \$i=2, \$j=4 +3 loop iterations should follow: +2 4 +3 4 +4 4 +********************************** + +*** C-style else-if's *** +This should be displayed +************************* + +*** WHILE tests *** +0 is smaller than 20 +1 is smaller than 20 +2 is smaller than 20 +3 is smaller than 20 +4 is smaller than 20 +5 is smaller than 20 +6 is smaller than 20 +7 is smaller than 20 +8 is smaller than 20 +9 is smaller than 20 +10 is smaller than 20 +11 is smaller than 20 +12 is smaller than 20 +13 is smaller than 20 +14 is smaller than 20 +15 is smaller than 20 +16 is smaller than 20 +17 is smaller than 20 +18 is smaller than 20 +19 is smaller than 20 +20 equals 20 +21 is greater than 20 +22 is greater than 20 +23 is greater than 20 +24 is greater than 20 +25 is greater than 20 +26 is greater than 20 +27 is greater than 20 +28 is greater than 20 +29 is greater than 20 +30 is greater than 20 +31 is greater than 20 +32 is greater than 20 +33 is greater than 20 +34 is greater than 20 +35 is greater than 20 +36 is greater than 20 +37 is greater than 20 +38 is greater than 20 +39 is greater than 20 +******************* + + +*** Nested WHILEs *** +Each array variable should be equal to the sum of its indices: +\${test00}[0] = 0 +\${test00}[1] = 1 +\${test00}[2] = 2 +\${test01}[0] = 1 +\${test01}[1] = 2 +\${test01}[2] = 3 +\${test02}[0] = 2 +\${test02}[1] = 3 +\${test02}[2] = 4 +\${test10}[0] = 1 +\${test10}[1] = 2 +\${test10}[2] = 3 +\${test11}[0] = 2 +\${test11}[1] = 3 +\${test11}[2] = 4 +\${test12}[0] = 3 +\${test12}[1] = 4 +\${test12}[2] = 5 +\${test20}[0] = 2 +\${test20}[1] = 3 +\${test20}[2] = 4 +\${test21}[0] = 3 +\${test21}[1] = 4 +\${test21}[2] = 5 +\${test22}[0] = 4 +\${test22}[1] = 5 +\${test22}[2] = 6 +********************* + +*** hash test... *** +commented out... +************************** + +*** Hash resizing test *** +ba +baa +baaa +baaaa +baaaaa +baaaaaa +baaaaaaa +baaaaaaaa +baaaaaaaaa +baaaaaaaaaa +ba +10 +baa +9 +baaa +8 +baaaa +7 +baaaaa +6 +baaaaaa +5 +baaaaaaa +4 +baaaaaaaa +3 +baaaaaaaaa +2 +baaaaaaaaaa +1 +************************** + + +*** break/continue test *** +\$i should go from 0 to 2 +\$j should go from 3 to 4, and \$q should go from 3 to 4 + \$j=3 + \$q=3 + \$q=4 + \$j=4 + \$q=3 + \$q=4 +\$j should go from 0 to 2 + \$j=0 + \$j=1 + \$j=2 +\$k should go from 0 to 2 + \$k=0 + \$k=1 + \$k=2 +\$i=0 +\$j should go from 3 to 4, and \$q should go from 3 to 4 + \$j=3 + \$q=3 + \$q=4 + \$j=4 + \$q=3 + \$q=4 +\$j should go from 0 to 2 + \$j=0 + \$j=1 + \$j=2 +\$k should go from 0 to 2 + \$k=0 + \$k=1 + \$k=2 +\$i=1 +\$j should go from 3 to 4, and \$q should go from 3 to 4 + \$j=3 + \$q=3 + \$q=4 + \$j=4 + \$q=3 + \$q=4 +\$j should go from 0 to 2 + \$j=0 + \$j=1 + \$j=2 +\$k should go from 0 to 2 + \$k=0 + \$k=1 + \$k=2 +\$i=2 +*********************** + +*** Nested file include test *** + +This is Finish.phtml. This file is supposed to be included +from regression_test.phtml. This is normal HTML. +and this is PHP code, 2+2=4 + +******************************** + +Tests completed. +EXPECT + +my $result = GET_BODY "/php/regression2.php"; + +ok $result eq $expected; diff --git a/debian/perl-framework/t/php/regression3.t b/debian/perl-framework/t/php/regression3.t new file mode 100644 index 0000000..bbd5111 --- /dev/null +++ b/debian/perl-framework/t/php/regression3.t @@ -0,0 +1,526 @@ +use strict; +use warnings FATAL => 'all'; + +use Apache::Test; +use Apache::TestRequest; + +plan tests => 1, need_php4; + +my $expected = < 'all'; + +use Apache::Test; +use Apache::TestRequest; + +## testing stack after early function return + +plan tests => 1, need_php4; + +my $expected = "HelloHello"; + +my $result = GET_BODY "/php/stack.php"; +ok $result eq $expected; diff --git a/debian/perl-framework/t/php/status.t b/debian/perl-framework/t/php/status.t new file mode 100644 index 0000000..cc783ae --- /dev/null +++ b/debian/perl-framework/t/php/status.t @@ -0,0 +1,15 @@ +use strict; +use warnings FATAL => 'all'; + +use Apache::Test; +use Apache::TestRequest; +use Apache::TestUtil; + +my @codes = (404, 599); + +plan tests => @codes + 0, need_php; + +foreach my $code (@codes) { + ok t_cmp(GET_RC("/php/status.php?code=$code"), $code, + "regression test for http://bugs.php.net/bug.php?id=31519"); +} diff --git a/debian/perl-framework/t/php/strings.t b/debian/perl-framework/t/php/strings.t new file mode 100644 index 0000000..6effcc9 --- /dev/null +++ b/debian/perl-framework/t/php/strings.t @@ -0,0 +1,12 @@ +use strict; +use warnings FATAL => 'all'; + +use Apache::Test; +use Apache::TestRequest; + +plan tests => 1, need_php; + +my $expected = "\" \\'\\n\\'a\\\\b\\"; + +my $result = GET_BODY "/php/strings.php"; +ok $result eq $expected; diff --git a/debian/perl-framework/t/php/strings2.t b/debian/perl-framework/t/php/strings2.t new file mode 100644 index 0000000..c6fd801 --- /dev/null +++ b/debian/perl-framework/t/php/strings2.t @@ -0,0 +1,30 @@ +use strict; +use warnings FATAL => 'all'; + +use Apache::Test; +use Apache::TestRequest; + +plan tests => 1, need_php; + +my $expected = < 'all'; + +use Apache::Test; +use Apache::TestUtil; +use Apache::TestRequest; + +my $result = GET_BODY "/php/strings3.php"; +my @res = split /\n/, $result; +my $count = @res; + +plan tests => $count + 1, need_php; + +my $expected = < +printf test 9: +printf test 10: 123456789012345 +printf test 10: +printf test 11: 123456789012345678901234567890 +printf test 11:< høyesterettsjustitiarius> +printf test 12:-12.34 +printf test 13: -12 +printf test 14:@ +printf test 15:10101010 +printf test 16:aa +printf test 17:AA +printf test 18: 10101010 +printf test 19: aa +printf test 20: AA +printf test 21:0000000010101010 +printf test 22:00000000000000aa +printf test 23:00000000000000AA +printf test 24:abcde +printf test 25:gazonk +printf test 26:2 1 +printf test 27:3 1 2 +printf test 28:02 1 +printf test 29:2 1 +EXPECT + +my @exp = split /\n/, $expected; +my $count2 = @exp; + +ok $count eq $count2; + +foreach (my $i = 0 ; $i < $count ; $i++) { + ok t_cmp("[".$res[$i]."]", "[".$exp[$i]."]", "test $i"); +} diff --git a/debian/perl-framework/t/php/strings4.t b/debian/perl-framework/t/php/strings4.t new file mode 100644 index 0000000..f39b98d --- /dev/null +++ b/debian/perl-framework/t/php/strings4.t @@ -0,0 +1,16 @@ +use strict; +use warnings FATAL => 'all'; + +use Apache::Test; +use Apache::TestRequest; + +plan tests => 1, need_php; + +my $expected = < 'all'; + +use Apache::Test; +use Apache::TestRequest; + +plan tests => 1, need_php; + +## subtract.php source: +## +## +## result should be '10' (27-7-10=10) + +my $result = GET_BODY "/php/subtract.php"; +ok $result eq '10'; diff --git a/debian/perl-framework/t/php/switch.t b/debian/perl-framework/t/php/switch.t new file mode 100644 index 0000000..5a922b2 --- /dev/null +++ b/debian/perl-framework/t/php/switch.t @@ -0,0 +1,10 @@ +use strict; +use warnings FATAL => 'all'; + +use Apache::Test; +use Apache::TestRequest; + +plan tests => 1, need_php; + +my $result = GET_BODY "/php/switch.php"; +ok $result eq "good\n"; diff --git a/debian/perl-framework/t/php/switch2.t b/debian/perl-framework/t/php/switch2.t new file mode 100644 index 0000000..b09fc45 --- /dev/null +++ b/debian/perl-framework/t/php/switch2.t @@ -0,0 +1,43 @@ +use strict; +use warnings FATAL => 'all'; + +use Apache::Test; +use Apache::TestRequest; + +plan tests => 1, need_php; + +my $expected = < 'all'; + +use Apache::Test; +use Apache::TestRequest; + +plan tests => 1, need_php; + +my $expected = < 'all'; + +use Apache::Test; +use Apache::TestRequest; + +plan tests => 1, need_php; + +my $expected = < 'all'; + +use Apache::Test; +use Apache::TestRequest; +use Apache::TestUtil; + +## test that umask() is reset after script execution + +plan tests => 4, need_php4; + +my $first = GET_BODY "/php/umask.php"; + +foreach my $n (1..4) { + my $try = GET_BODY "/php/umask.php"; + + ok t_cmp($try, $first, "umask was $try not $first for request $n"); +} + diff --git a/debian/perl-framework/t/php/var1.t b/debian/perl-framework/t/php/var1.t new file mode 100644 index 0000000..22a9f3d --- /dev/null +++ b/debian/perl-framework/t/php/var1.t @@ -0,0 +1,36 @@ +use strict; +use warnings FATAL => 'all'; + +use Apache::Test; +use Apache::TestRequest; +use Apache::TestUtil; + +plan tests => 2, need_php; + +## var1.php source: +## +## +## result should be variable echoed back. + +my $page = '/php/var1.php'; +my $data = "blah1+blah2+FOO"; +#my @data = (variable => $data); +my $expected = $data; +$expected =~ s/\+/ /g; + +## POST +#my $return = POST_BODY $page, \@data; +#print STDERR "\n\n$return\n\n"; +#ok $return eq $expected; +my $return = POST_BODY $page, content => "variable=$data"; +ok t_cmp($return, + $expected, + "POST request for $page, content=\"variable=$data\"" + ); + +## GET +$return = GET_BODY "$page?variable=$data"; +ok t_cmp($return, + $expected, + "GET request for $page?variable=$data" + ); diff --git a/debian/perl-framework/t/php/var2.t b/debian/perl-framework/t/php/var2.t new file mode 100644 index 0000000..2080b7e --- /dev/null +++ b/debian/perl-framework/t/php/var2.t @@ -0,0 +1,34 @@ +use strict; +use warnings FATAL => 'all'; + +use Apache::Test; +use Apache::TestRequest; +use Apache::TestUtil; + +plan tests => 2, need_php; + +## var2.php source: +## +## +## result should be variables v1 and v2. + +my $page = '/php/var2.php'; +my $v1 = "blah1+blah2+FOO"; +my $v2 = "this+is+v2"; +my $data = "v1=$v1\&v2=$v2"; +my $expected = "$v1 $v2"; +$expected =~ s/\+/ /g; + +## POST +my $return = POST_BODY $page, content => $data; +ok t_cmp($return, + $expected, + "POST request for $page, content=\"$data\"" + ); + +## GET +$return = GET_BODY "$page?$data"; +ok t_cmp($return, + $expected, + "GET request for $page?$data" + ); diff --git a/debian/perl-framework/t/php/var3.t b/debian/perl-framework/t/php/var3.t new file mode 100644 index 0000000..efa19fe --- /dev/null +++ b/debian/perl-framework/t/php/var3.t @@ -0,0 +1,35 @@ +use strict; +use warnings FATAL => 'all'; + +use Apache::Test; +use Apache::TestRequest; +use Apache::TestUtil; + +plan tests => 2, need_php; + +## var3.php source: +## +## +## result should be variables v1, v2 and v3. + +my $page = '/php/var3.php'; +my $v1 = "blah1+blah2+FOO"; +my $v2 = "this+is+v2"; +my $v3 = "DOOM-GL00m"; +my $data = "v1=$v1\&v2=$v2\&v3=$v3"; +my $expected = "$v1 $v2 $v3"; +$expected =~ s/\+/ /g; + +## POST +my $return = POST_BODY $page, content => $data; +ok t_cmp($return, + $expected, + "POST request for $page, content=\"$data\"" + ); + +## GET +$return = GET_BODY "$page?$data"; +ok t_cmp($return, + $expected, + "GET request for $page?$data" + ); diff --git a/debian/perl-framework/t/php/virtual.t b/debian/perl-framework/t/php/virtual.t new file mode 100644 index 0000000..f0dd67e --- /dev/null +++ b/debian/perl-framework/t/php/virtual.t @@ -0,0 +1,13 @@ +use strict; +use warnings FATAL => 'all'; + +use Apache::Test; +use Apache::TestRequest; +use Apache::TestUtil; + +plan tests => 1, sub { need_php() && need_module('negotiation') }; + +my $result = GET_BODY "/php/virtual.php"; +chomp $result; +ok t_cmp($result, "before file.html after", + "regression test for http://bugs.php.net/bug.php?id=30446"); diff --git a/debian/perl-framework/t/php/while.t b/debian/perl-framework/t/php/while.t new file mode 100644 index 0000000..74453c7 --- /dev/null +++ b/debian/perl-framework/t/php/while.t @@ -0,0 +1,10 @@ +use strict; +use warnings FATAL => 'all'; + +use Apache::Test; +use Apache::TestRequest; + +plan tests => 1, need_php; + +my $result = GET_BODY "/php/while.php"; +ok $result eq '123456789'; -- cgit v1.2.3