cvs: /php3 main.c /php3/test testphp.awk /php3/test/ary 001.php3t 002.php3t 003.php3t 004.php3t 005.php3t 006.php3t 007.php3t 008.php3t 009.php3t
010.php3t 011.php3t 012.php3t 013.php3t 014.php3t 015.php3t 016.php3t /php3/test/basic 001.php3t 002.php3t 003.php3t 004.php3t 005.php3t 006.php3t
007.php3t 008.php3t 009.php3t 010.php3t 011.php3t /php3/test/classes class_example.php3t inheritance.php3t /php3/test/dbm 001.php3t 002.php3t
003.php3t 004.php3t 005.php3t 006.php3t /php3/test/file 001.php3t /php3/test/func 001.php3t 002.php3t 003.php3t 004.php3t 005.php3t
/php3/test/general_functions 001.php3t /php3/test/interbase 001.php3t 002.php3t 003.php3t 004.php3t 005.php3t 006.php3t /php3/test/lang 001.php3t
002.php3t 003.php3t 004.php3t 005.php3t 006.php3t 007.php3t 008.php3t 009.php3t 010.php3t 011.php3t 012.php3t 013.php3t 014.php3t 015.php3t 016.php3t
017.php3t 018.php3t 019.php3t 020.php3t 021.php3t 022.php3t 023.php3t 024.php3t 025.php3t 026.php3t 027.php3t 028.php3t /php3/test/math 001.php3t
/php3/test/reg 001.php3t 002.php3t 003.php3t 004.php3t 005.php3t 006.php3t 007.php3t 008.php3t 009.php3t 010.php3t 011.php3t 012.php3t 013.php3t
014.php3t 015.php3t 016.php3t /php3/test/strings 001.php3t 002.php3t 003.php3t
| From: | Rasmus Lerdorf | Date: | Sun, 26 Dec 1999 00:54:51 +0000 |
| Subject: | cvs: /php3 main.c /php3/test testphp.awk /php3/test/ary 001.php3t 002.php3t 003.php3t 004.php3t 005.php3t 006.php3t 007.php3t 008.php3t 009.php3t 010.php3t 011.php3t 012.php3t 013.php3t 014.php3t 015.php3t 016.php3t /php3/test/basic 001.php3t 002.php3t 003.php3t 004.php3t 005.php3t 006.php3t 007.php3t 008.php3t 009.php3t 010.php3t 011.php3t /php3/test/classes class_example.php3t inheritance.php3t /php3/test/dbm 001.php3t 002.php3t 003.php3t 004.php3t 005.php3t 006.php3t /php3/test/file 001.php3t /php3/test/func 001.php3t 002.php3t 003.php3t 004.php3t 005.php3t /php3/test/general_functions 001.php3t /php3/test/interbase 001.php3t 002.php3t 003.php3t 004.php3t 005.php3t 006.php3t /php3/test/lang 001.php3t 002.php3t 003.php3t 004.php3t 005.php3t 006.php3t 007.php3t 008.php3t 009.php3t 010.php3t 011.php3t 012.php3t 013.php3t 014.php3t 015.php3t 016.php3t 017.php3t 018.php3t 019.php3t 020.php3t 021.php3t 022.php3t 023.php3t 024.php3t 025.php3t 026.php3t 027.php3t 028.php3t /php3/test/math 001.php3t /php3/test/reg 001.php3t 002.php3t 003.php3t 004.php3t 005.php3t 006.php3t 007.php3t 008.php3t 009.php3t 010.php3t 011.php3t 012.php3t 013.php3t 014.php3t 015.php3t 016.php3t /php3/test/strings 001.php3t 002.php3t 003.php3t |
||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-14035@lists.php.net to get a copy of this message | ||
rasmus Sat Dec 25 19:54:51 1999 EDT
Modified files:
/php3 main.c
/php3/test testphp.awk
/php3/test/ary 001.php3t 002.php3t 003.php3t 004.php3t 005.php3t
006.php3t 007.php3t 008.php3t 009.php3t 010.php3t
011.php3t 012.php3t 013.php3t 014.php3t 015.php3t
016.php3t
/php3/test/basic 001.php3t 002.php3t 003.php3t 004.php3t 005.php3t
006.php3t 007.php3t 008.php3t 009.php3t 010.php3t
011.php3t
/php3/test/classes class_example.php3t inheritance.php3t
/php3/test/dbm 001.php3t 002.php3t 003.php3t 004.php3t 005.php3t
006.php3t
/php3/test/file 001.php3t
/php3/test/func 001.php3t 002.php3t 003.php3t 004.php3t 005.php3t
/php3/test/general_functions 001.php3t
/php3/test/interbase 001.php3t 002.php3t 003.php3t 004.php3t
005.php3t 006.php3t
/php3/test/lang 001.php3t 002.php3t 003.php3t 004.php3t 005.php3t
006.php3t 007.php3t 008.php3t 009.php3t 010.php3t
011.php3t 012.php3t 013.php3t 014.php3t 015.php3t
016.php3t 017.php3t 018.php3t 019.php3t 020.php3t
021.php3t 022.php3t 023.php3t 024.php3t 025.php3t
026.php3t 027.php3t 028.php3t
/php3/test/math 001.php3t
/php3/test/reg 001.php3t 002.php3t 003.php3t 004.php3t 005.php3t
006.php3t 007.php3t 008.php3t 009.php3t 010.php3t
011.php3t 012.php3t 013.php3t 014.php3t 015.php3t
016.php3t
/php3/test/strings 001.php3t 002.php3t 003.php3t
Log:
Ok, all regression tests pass again now
Index: php3/main.c
diff -u php3/main.c:1.508 php3/main.c:1.509
--- php3/main.c:1.508 Sat Dec 25 08:57:22 1999
+++ php3/main.c Sat Dec 25 19:53:51 1999
@@ -29,7 +29,7 @@
+----------------------------------------------------------------------+
*/
-/* $Id: main.c,v 1.508 1999/12/25 13:57:22 rasmus Exp $ */
+/* $Id: main.c,v 1.509 1999/12/26 00:53:51 rasmus Exp $ */
/* #define CRASH_DETECTION */
@@ -1645,6 +1645,7 @@
int _cgi_preprocess=PREPROCESS_NONE;
int _cgi_display_source_mode=0;
int _cgi_started=0;
+ int regression_test=0;
/* end of temporary locals */
#ifdef THREAD_SAFE
php3_globals_struct *php3_globals;
@@ -1676,6 +1677,7 @@
|| getenv("GATEWAY_INTERFACE")
|| getenv("REQUEST_METHOD")) {
cgi = 1;
+ if(getenv("PHP_TEST")) regression_test=1;
if (argc > 1)
GLOBAL(request_info).php_argv0 = strdup(argv[1]);
else GLOBAL(request_info).php_argv0 = NULL;
@@ -1706,7 +1708,7 @@
- if (!cgi) { /* never execute the arguments if you are a CGI */
+ if (!cgi || regression_test) { /* never execute the arguments if you are a CGI */
GLOBAL(request_info).php_argv0 = NULL;
while ((c = getopt(argc, argv, "c:qvishpe?vf:")) != -1) {
switch (c) {
Index: php3/test/testphp.awk
diff -u php3/test/testphp.awk:1.8 php3/test/testphp.awk:1.9
--- php3/test/testphp.awk:1.8 Mon Mar 30 18:51:57 1998
+++ php3/test/testphp.awk Sat Dec 25 19:53:57 1999
@@ -75,15 +75,15 @@
}
}
END {
- p = "REQUEST_METHOD=POST CONTENT_TYPE=application/x-www-form-urlencoded REDIRECT_STATUS=1
PATH_TRANSLATED=./php.in CONTENT_LENGTH";
+ p = "REQUEST_METHOD=POST CONTENT_TYPE=application/x-www-form-urlencoded PHP_TEST=1
REDIRECT_STATUS=1 PATH_TRANSLATED=./php.in CONTENT_LENGTH";
if(length(Post) && length(Get)) {
- cmd = sprintf("echo %s | (%s=%d QUERY_STRING=%s SCRIPT_FILENAME=./php.in ../php -c.)
>php.test", Post,p,length(Post),Get);
+ cmd = sprintf("echo %s | (%s=%d QUERY_STRING=%s SCRIPT_FILENAME=./php.in ../php -q -c.)
>php.test", Post,p,length(Post),Get);
} else if(length(Post) && !length(Get)) {
- cmd = sprintf("echo %s | (%s=%d SCRIPT_FILENAME=./php.in ../php -c.)
>php.test",Post,p,length(Post));
+ cmd = sprintf("echo %s | (%s=%d SCRIPT_FILENAME=./php.in ../php -q -c.)
>php.test",Post,p,length(Post));
} else if(!length(Post) && length(Get)) {
- cmd = sprintf("(QUERY_STRING=%s SCRIPT_FILENAME=./php.in REDIRECT_STATUS=1
PATH_TRANSLATED=./php.in ../php -c.) >php.test",Get);
+ cmd = sprintf("(QUERY_STRING=%s SCRIPT_FILENAME=./php.in PHP_TEST=1 REDIRECT_STATUS=1
PATH_TRANSLATED=./php.in ../php -q -c.) >php.test",Get);
} else {
- cmd = "../php -c. ./php.in >php.test";
+ cmd = "../php -q -c. ./php.in >php.test";
}
print "cat php.desc;\n";
print cmd;
Index: php3/test/ary/001.php3t
diff -u php3/test/ary/001.php3t:1.2 php3/test/ary/001.php3t:1.3
--- php3/test/ary/001.php3t:1.2 Tue Mar 3 17:16:32 1998
+++ php3/test/ary/001.php3t Sat Dec 25 19:54:01 1999
@@ -13,7 +13,6 @@
echo "a[2]: $a[2]\n";
?>
--EXPECT--
-Content-type: text/html
a[0]: a
a[1]: b
Index: php3/test/ary/002.php3t
diff -u php3/test/ary/002.php3t:1.2 php3/test/ary/002.php3t:1.3
--- php3/test/ary/002.php3t:1.2 Tue Mar 3 17:16:32 1998
+++ php3/test/ary/002.php3t Sat Dec 25 19:54:01 1999
@@ -13,8 +13,6 @@
echo "a[2]: $a[2]\n";
?>
--EXPECT--
-Content-type: text/html
-
a[0]: a
a[1]: b
a[2]: c
Index: php3/test/ary/003.php3t
diff -u php3/test/ary/003.php3t:1.2 php3/test/ary/003.php3t:1.3
--- php3/test/ary/003.php3t:1.2 Tue Mar 3 17:16:33 1998
+++ php3/test/ary/003.php3t Sat Dec 25 19:54:01 1999
@@ -12,7 +12,5 @@
echo "There are 3 items, count() shows: $b\n";
?>
--EXPECT--
-Content-type: text/html
-
There are 3 items, count() shows: 3
Index: php3/test/ary/004.php3t
diff -u php3/test/ary/004.php3t:1.6 php3/test/ary/004.php3t:1.7
--- php3/test/ary/004.php3t:1.6 Tue Mar 3 17:16:33 1998
+++ php3/test/ary/004.php3t Sat Dec 25 19:54:01 1999
@@ -18,8 +18,6 @@
endwhile;
?>
--EXPECT--
-Content-type: text/html
-
KEY: 0, VAL: a
KEY: 1, VAL: b
KEY: 2, VAL: c
Index: php3/test/ary/005.php3t
diff -u php3/test/ary/005.php3t:1.5 php3/test/ary/005.php3t:1.6
--- php3/test/ary/005.php3t:1.5 Tue Mar 3 17:16:33 1998
+++ php3/test/ary/005.php3t Sat Dec 25 19:54:01 1999
@@ -18,8 +18,6 @@
endwhile;
?>
--EXPECT--
-Content-type: text/html
-
KEY: 0, VAL: a
KEY: 1, VAL: b
KEY: 2, VAL: c
Index: php3/test/ary/006.php3t
diff -u php3/test/ary/006.php3t:1.5 php3/test/ary/006.php3t:1.6
--- php3/test/ary/006.php3t:1.5 Tue Mar 3 17:16:33 1998
+++ php3/test/ary/006.php3t Sat Dec 25 19:54:01 1999
@@ -27,8 +27,6 @@
endwhile;
?>
--EXPECT--
-Content-type: text/html
-
KEY: 0, VAL: a
KEY: 1, VAL: b
KEY: 2, VAL: c
Index: php3/test/ary/007.php3t
diff -u php3/test/ary/007.php3t:1.6 php3/test/ary/007.php3t:1.7
--- php3/test/ary/007.php3t:1.6 Tue Mar 3 17:16:33 1998
+++ php3/test/ary/007.php3t Sat Dec 25 19:54:01 1999
@@ -23,8 +23,6 @@
?>
--EXPECT--
-Content-type: text/html
-
KEY: 0, VAL: a
KEY: 1, VAL: b
KEY: 2, VAL: c
Index: php3/test/ary/008.php3t
diff -u php3/test/ary/008.php3t:1.6 php3/test/ary/008.php3t:1.7
--- php3/test/ary/008.php3t:1.6 Tue Mar 3 17:16:34 1998
+++ php3/test/ary/008.php3t Sat Dec 25 19:54:01 1999
@@ -101,8 +101,6 @@
endwhile;
?>
--EXPECT--
-Content-type: text/html
-
KEY: 0, VAL: a
KEY: 1, VAL: b
KEY: 2, VAL: c
Index: php3/test/ary/009.php3t
diff -u php3/test/ary/009.php3t:1.7 php3/test/ary/009.php3t:1.8
--- php3/test/ary/009.php3t:1.7 Tue Mar 3 17:16:34 1998
+++ php3/test/ary/009.php3t Sat Dec 25 19:54:01 1999
@@ -26,8 +26,6 @@
?>
--EXPECT--
-Content-type: text/html
-
KEY: 0, VAL: a
KEY: 1, VAL: b
KEY: 2, VAL: c
Index: php3/test/ary/010.php3t
diff -u php3/test/ary/010.php3t:1.5 php3/test/ary/010.php3t:1.6
--- php3/test/ary/010.php3t:1.5 Tue Mar 3 17:16:34 1998
+++ php3/test/ary/010.php3t Sat Dec 25 19:54:01 1999
@@ -27,8 +27,6 @@
}
?>
--EXPECT--
-Content-type: text/html
-
KEY: 0, VAL: a
KEY: 1, VAL: b
KEY: 2, VAL: c
Index: php3/test/ary/011.php3t
diff -u php3/test/ary/011.php3t:1.5 php3/test/ary/011.php3t:1.6
--- php3/test/ary/011.php3t:1.5 Tue Mar 3 17:16:34 1998
+++ php3/test/ary/011.php3t Sat Dec 25 19:54:01 1999
@@ -71,8 +71,6 @@
echo "count(): $cf\n";
?>
--EXPECT--
-Content-type: text/html
-
<HR> $b= $a;
KEY: 0, VAL: a
KEY: 1, VAL: b
Index: php3/test/ary/012.php3t
diff -u php3/test/ary/012.php3t:1.5 php3/test/ary/012.php3t:1.6
--- php3/test/ary/012.php3t:1.5 Tue Mar 3 17:16:34 1998
+++ php3/test/ary/012.php3t Sat Dec 25 19:54:01 1999
@@ -172,8 +172,6 @@
echo "count(): $cg\n";
?>
--EXPECT--
-Content-type: text/html
-
<HR> Assign Index from 0, then Auto assign
KEY: 0, VAL: a
KEY: 1, VAL: b
Index: php3/test/ary/013.php3t
diff -u php3/test/ary/013.php3t:1.2 php3/test/ary/013.php3t:1.3
--- php3/test/ary/013.php3t:1.2 Tue Mar 3 17:16:35 1998
+++ php3/test/ary/013.php3t Sat Dec 25 19:54:01 1999
@@ -22,8 +22,6 @@
}
?>
--EXPECT--
-Content-type: text/html
-
5
5
5
Index: php3/test/ary/014.php3t
diff -u php3/test/ary/014.php3t:1.3 php3/test/ary/014.php3t:1.4
--- php3/test/ary/014.php3t:1.3 Tue Mar 3 17:16:35 1998
+++ php3/test/ary/014.php3t Sat Dec 25 19:54:01 1999
@@ -19,7 +19,5 @@
}
?>
--EXPECT--
-Content-type: text/html
-
$a[0] -> def
$a[1] -> ghi
Index: php3/test/ary/015.php3t
diff -u php3/test/ary/015.php3t:1.5 php3/test/ary/015.php3t:1.6
--- php3/test/ary/015.php3t:1.5 Tue Mar 3 17:16:35 1998
+++ php3/test/ary/015.php3t Sat Dec 25 19:54:01 1999
@@ -32,8 +32,6 @@
$b = next($a);
endwhile;
--EXPECT--
-Content-type: text/html
-
Before being sorted
-------------------
1
Index: php3/test/ary/016.php3t
diff -u php3/test/ary/016.php3t:1.5 php3/test/ary/016.php3t:1.6
--- php3/test/ary/016.php3t:1.5 Tue Mar 3 17:16:35 1998
+++ php3/test/ary/016.php3t Sat Dec 25 19:54:01 1999
@@ -33,8 +33,6 @@
endwhile;
?>
--EXPECT--
-Content-type: text/html
-
Before being sorted
-------------------
1
Index: php3/test/basic/001.php3t
diff -u php3/test/basic/001.php3t:1.4 php3/test/basic/001.php3t:1.5
--- php3/test/basic/001.php3t:1.4 Thu Sep 10 19:57:28 1998
+++ php3/test/basic/001.php3t Sat Dec 25 19:54:04 1999
@@ -5,6 +5,4 @@
--FILE--
<?php echo "Hello World"?>
--EXPECT--
-Content-type: text/html
-
Hello World
Index: php3/test/basic/002.php3t
diff -u php3/test/basic/002.php3t:1.3 php3/test/basic/002.php3t:1.4
--- php3/test/basic/002.php3t:1.3 Tue Mar 3 17:16:53 1998
+++ php3/test/basic/002.php3t Sat Dec 25 19:54:04 1999
@@ -7,6 +7,4 @@
<?php error_reporting(0);
echo $a?>
--EXPECT--
-Content-type: text/html
-
Hello World
Index: php3/test/basic/003.php3t
diff -u php3/test/basic/003.php3t:1.4 php3/test/basic/003.php3t:1.5
--- php3/test/basic/003.php3t:1.4 Tue Mar 3 17:16:53 1998
+++ php3/test/basic/003.php3t Sat Dec 25 19:54:04 1999
@@ -9,6 +9,4 @@
error_reporting(0);
echo "$a $b $c"?>
--EXPECT--
-Content-type: text/html
-
Hello World Hello Again World Hi Mom
Index: php3/test/basic/004.php3t
diff -u php3/test/basic/004.php3t:1.3 php3/test/basic/004.php3t:1.4
--- php3/test/basic/004.php3t:1.3 Tue Mar 3 17:16:53 1998
+++ php3/test/basic/004.php3t Sat Dec 25 19:54:04 1999
@@ -8,6 +8,4 @@
error_reporting(0);
echo "$a $b"?>
--EXPECT--
-Content-type: text/html
-
Hello World Hello Again World
Index: php3/test/basic/005.php3t
diff -u php3/test/basic/005.php3t:1.3 php3/test/basic/005.php3t:1.4
--- php3/test/basic/005.php3t:1.3 Tue Mar 3 17:16:53 1998
+++ php3/test/basic/005.php3t Sat Dec 25 19:54:04 1999
@@ -8,6 +8,4 @@
error_reporting(0);
echo "$a $b $c"?>
--EXPECT--
-Content-type: text/html
-
Hello World Hello Again World 1
Index: php3/test/basic/006.php3t
diff -u php3/test/basic/006.php3t:1.2 php3/test/basic/006.php3t:1.3
--- php3/test/basic/006.php3t:1.2 Tue Mar 3 17:16:53 1998
+++ php3/test/basic/006.php3t Sat Dec 25 19:54:04 1999
@@ -5,6 +5,4 @@
--FILE--
<?php $a=1; $b=2; $c=3; $d=$a+$b+$c; echo $d?>
--EXPECT--
-Content-type: text/html
-
6
Index: php3/test/basic/007.php3t
diff -u php3/test/basic/007.php3t:1.2 php3/test/basic/007.php3t:1.3
--- php3/test/basic/007.php3t:1.2 Tue Mar 3 17:16:54 1998
+++ php3/test/basic/007.php3t Sat Dec 25 19:54:04 1999
@@ -5,6 +5,4 @@
--FILE--
<?php $a=2; $b=4; $c=8; $d=$a*$b*$c; echo $d?>
--EXPECT--
-Content-type: text/html
-
64
Index: php3/test/basic/008.php3t
diff -u php3/test/basic/008.php3t:1.2 php3/test/basic/008.php3t:1.3
--- php3/test/basic/008.php3t:1.2 Tue Mar 3 17:16:54 1998
+++ php3/test/basic/008.php3t Sat Dec 25 19:54:04 1999
@@ -5,6 +5,4 @@
--FILE--
<?php $a=27; $b=3; $c=3; $d=$a/$b/$c; echo $d?>
--EXPECT--
-Content-type: text/html
-
3
Index: php3/test/basic/009.php3t
diff -u php3/test/basic/009.php3t:1.2 php3/test/basic/009.php3t:1.3
--- php3/test/basic/009.php3t:1.2 Tue Mar 3 17:16:54 1998
+++ php3/test/basic/009.php3t Sat Dec 25 19:54:04 1999
@@ -5,6 +5,4 @@
--FILE--
<?php $a=27; $b=7; $c=10; $d=$a-$b-$c; echo $d?>
--EXPECT--
-Content-type: text/html
-
10
Index: php3/test/basic/010.php3t
diff -u php3/test/basic/010.php3t:1.2 php3/test/basic/010.php3t:1.3
--- php3/test/basic/010.php3t:1.2 Tue Mar 3 17:16:54 1998
+++ php3/test/basic/010.php3t Sat Dec 25 19:54:04 1999
@@ -5,6 +5,4 @@
--FILE--
<?php $a=8; $b=4; $c=8; echo $a|$b&$c?>
--EXPECT--
-Content-type: text/html
-
8
Index: php3/test/basic/011.php3t
diff -u php3/test/basic/011.php3t:1.2 php3/test/basic/011.php3t:1.3
--- php3/test/basic/011.php3t:1.2 Tue Mar 3 17:16:55 1998
+++ php3/test/basic/011.php3t Sat Dec 25 19:54:04 1999
@@ -10,7 +10,6 @@
}
?>
--EXPECT--
-Content-type: text/html
0: ab
1: cd
2: ef
Index: php3/test/classes/class_example.php3t
diff -u php3/test/classes/class_example.php3t:1.3 php3/test/classes/class_example.php3t:1.4
--- php3/test/classes/class_example.php3t:1.3 Tue Mar 3 17:17:07 1998
+++ php3/test/classes/class_example.php3t Sat Dec 25 19:54:10 1999
@@ -51,8 +51,6 @@
?>
--EXPECT--
-Content-type: text/html
-
User information
----------------
Index: php3/test/classes/inheritance.php3t
diff -u php3/test/classes/inheritance.php3t:1.3 php3/test/classes/inheritance.php3t:1.4
--- php3/test/classes/inheritance.php3t:1.3 Tue Mar 3 17:17:07 1998
+++ php3/test/classes/inheritance.php3t Sat Dec 25 19:54:10 1999
@@ -46,8 +46,6 @@
$bar1->display();
echo $bar1->mul()."\n";
--EXPECT--
-Content-type: text/html
-
This is class foo
a = 2
b = 5
Index: php3/test/dbm/001.php3t
diff -u php3/test/dbm/001.php3t:1.1 php3/test/dbm/001.php3t:1.2
--- php3/test/dbm/001.php3t:1.1 Sun Oct 12 22:28:52 1997
+++ php3/test/dbm/001.php3t Sat Dec 25 19:54:14 1999
@@ -8,4 +8,4 @@
dbmclose("./test.dbm");
?>
--EXPECT--
-Content-type: text/html
+
Index: php3/test/dbm/002.php3t
diff -u php3/test/dbm/002.php3t:1.1 php3/test/dbm/002.php3t:1.2
--- php3/test/dbm/002.php3t:1.1 Sun Oct 12 22:28:53 1997
+++ php3/test/dbm/002.php3t Sat Dec 25 19:54:14 1999
@@ -11,5 +11,4 @@
echo $a
?>
--EXPECT--
-Content-type: text/html
This is a test insert
Index: php3/test/dbm/003.php3t
diff -u php3/test/dbm/003.php3t:1.1 php3/test/dbm/003.php3t:1.2
--- php3/test/dbm/003.php3t:1.1 Sun Oct 12 22:28:54 1997
+++ php3/test/dbm/003.php3t Sat Dec 25 19:54:14 1999
@@ -12,5 +12,4 @@
echo $a
?>
--EXPECT--
-Content-type: text/html
This is the replacement text
Index: php3/test/dbm/004.php3t
diff -u php3/test/dbm/004.php3t:1.1 php3/test/dbm/004.php3t:1.2
--- php3/test/dbm/004.php3t:1.1 Sun Oct 12 22:28:54 1997
+++ php3/test/dbm/004.php3t Sat Dec 25 19:54:14 1999
@@ -16,5 +16,4 @@
echo "$a $b";
?>
--EXPECT--
-Content-type: text/html
Another Content String Content String 2
Index: php3/test/dbm/005.php3t
diff -u php3/test/dbm/005.php3t:1.1 php3/test/dbm/005.php3t:1.2
--- php3/test/dbm/005.php3t:1.1 Sun Oct 12 22:28:55 1997
+++ php3/test/dbm/005.php3t Sat Dec 25 19:54:14 1999
@@ -20,5 +20,4 @@
echo $i
?>
--EXPECT--
-Content-type: text/html
5
Index: php3/test/dbm/006.php3t
diff -u php3/test/dbm/006.php3t:1.2 php3/test/dbm/006.php3t:1.3
--- php3/test/dbm/006.php3t:1.2 Sun Oct 12 22:35:06 1997
+++ php3/test/dbm/006.php3t Sat Dec 25 19:54:14 1999
@@ -22,5 +22,4 @@
echo $i
?>
--EXPECT--
-Content-type: text/html
3
Index: php3/test/file/001.php3t
diff -u php3/test/file/001.php3t:1.4 php3/test/file/001.php3t:1.5
--- php3/test/file/001.php3t:1.4 Fri Dec 18 17:30:07 1998
+++ php3/test/file/001.php3t Sat Dec 25 19:54:18 1999
@@ -113,7 +113,6 @@
}
?>
--EXPECT--
-Content-type: text/html
test.file does not exist
test.file exists
test.link exists
Index: php3/test/func/001.php3t
diff -u php3/test/func/001.php3t:1.2 php3/test/func/001.php3t:1.3
--- php3/test/func/001.php3t:1.2 Tue Mar 3 17:17:10 1998
+++ php3/test/func/001.php3t Sat Dec 25 19:54:21 1999
@@ -5,5 +5,4 @@
--FILE--
<?php echo strlen("abcdef")?>
--EXPECT--
-Content-type: text/html
6
Index: php3/test/func/002.php3t
diff -u php3/test/func/002.php3t:1.3 php3/test/func/002.php3t:1.4
--- php3/test/func/002.php3t:1.3 Tue Mar 3 17:17:10 1998
+++ php3/test/func/002.php3t Sat Dec 25 19:54:21 1999
@@ -17,8 +17,6 @@
echo "Local variables became global :(\n";
}
--EXPECT--
-Content-type: text/html
-
hey=0, 0
hey=1, -1
hey=2, -2
Index: php3/test/func/003.php3t
diff -u php3/test/func/003.php3t:1.3 php3/test/func/003.php3t:1.4
--- php3/test/func/003.php3t:1.3 Tue Mar 3 17:17:10 1998
+++ php3/test/func/003.php3t Sat Dec 25 19:54:21 1999
@@ -95,8 +95,6 @@
andi (3,10);
--EXPECT--
-Content-type: text/html
-
hey
blah
hey
Index: php3/test/func/004.php3t
diff -u php3/test/func/004.php3t:1.3 php3/test/func/004.php3t:1.4
--- php3/test/func/004.php3t:1.3 Tue Mar 3 17:17:10 1998
+++ php3/test/func/004.php3t Sat Dec 25 19:54:21 1999
@@ -5,7 +5,7 @@
--FILE--
<?php
-echo "Before function decleration...\n";
+echo "Before function declaration...\n";
old_function print_something_multiple_times $something,$times (
echo "----\nIn function, printing the string \"$something\" $times times\n";
@@ -20,7 +20,7 @@
);
-echo "After function decleration...\n";
+echo "After function declaration...\n";
echo "Calling function for the first time...\n";
print_something_multiple_times("This works!",10);
@@ -34,11 +34,9 @@
?>
--EXPECT--
-Content-type: text/html
-
-Before function decleration...
-After function decleration...
+Before function declaration...
+After function declaration...
Calling function for the first time...
----
In function, printing the string "This works!" 10 times
Index: php3/test/func/005.php3t
diff -u php3/test/func/005.php3t:1.2 php3/test/func/005.php3t:1.3
--- php3/test/func/005.php3t:1.2 Sun Sep 13 19:55:56 1998
+++ php3/test/func/005.php3t Sat Dec 25 19:54:21 1999
@@ -17,7 +17,6 @@
?>
--EXPECT--
-Content-type: text/html
foo() will be called on shutdown...
foo
Index: php3/test/general_functions/001.php3t
diff -u php3/test/general_functions/001.php3t:1.2 php3/test/general_functions/001.php3t:1.3
--- php3/test/general_functions/001.php3t:1.2 Tue Mar 3 17:17:15 1998
+++ php3/test/general_functions/001.php3t Sat Dec 25 19:54:25 1999
@@ -48,8 +48,6 @@
?>
--EXPECT--
-Content-type: text/html
-
sprintf string truncate test: passed
sprintf padding and align test: passed
sprintf octal and hex test: passed
Index: php3/test/interbase/001.php3t
diff -u php3/test/interbase/001.php3t:1.2 php3/test/interbase/001.php3t:1.3
--- php3/test/interbase/001.php3t:1.2 Sat Mar 20 10:03:33 1999
+++ php3/test/interbase/001.php3t Sat Dec 25 19:54:28 1999
@@ -4,7 +4,7 @@
--GET--
--FILE--
<?
-/* $Id: 001.php3t,v 1.2 1999/03/20 15:03:33 andrew Exp $ */
+/* $Id: 001.php3t,v 1.3 1999/12/26 00:54:28 rasmus Exp $ */
$test_base = "ibase_test.tmp";
$name = tempnam("","CREATEDB");
@@ -29,5 +29,4 @@
unlink($name);
?>
--EXPECT--
-Content-type: text/html
Index: php3/test/interbase/002.php3t
diff -u php3/test/interbase/002.php3t:1.2 php3/test/interbase/002.php3t:1.3
--- php3/test/interbase/002.php3t:1.2 Sat Mar 20 10:03:33 1999
+++ php3/test/interbase/002.php3t Sat Dec 25 19:54:28 1999
@@ -4,7 +4,7 @@
--GET--
--FILE--
<?
-/* $Id: 002.php3t,v 1.2 1999/03/20 15:03:33 andrew Exp $ */
+/* $Id: 002.php3t,v 1.3 1999/12/26 00:54:28 rasmus Exp $ */
require("interbase/interbase.inc");
@@ -25,7 +25,6 @@
ibase_close($pcon2);
?>
--EXPECT--
-Content-type: text/html
--- test1 ---
1 test table created with isql
---
Index: php3/test/interbase/003.php3t
diff -u php3/test/interbase/003.php3t:1.2 php3/test/interbase/003.php3t:1.3
--- php3/test/interbase/003.php3t:1.2 Sat Mar 20 10:03:33 1999
+++ php3/test/interbase/003.php3t Sat Dec 25 19:54:28 1999
@@ -4,7 +4,7 @@
--GET--
--FILE--
<?
-/* $Id: 003.php3t,v 1.2 1999/03/20 15:03:33 andrew Exp $ */
+/* $Id: 003.php3t,v 1.3 1999/12/26 00:54:28 rasmus Exp $ */
require("interbase/interbase.inc");
@@ -85,7 +85,6 @@
echo "end of test\n";
?>
--EXPECT--
-Content-type: text/html
end of test
Index: php3/test/interbase/004.php3t
diff -u php3/test/interbase/004.php3t:1.2 php3/test/interbase/004.php3t:1.3
--- php3/test/interbase/004.php3t:1.2 Sat Mar 20 10:03:33 1999
+++ php3/test/interbase/004.php3t Sat Dec 25 19:54:28 1999
@@ -4,7 +4,7 @@
--GET--
--FILE--
<?
-/* $Id: 004.php3t,v 1.2 1999/03/20 15:03:33 andrew Exp $ */
+/* $Id: 004.php3t,v 1.3 1999/12/26 00:54:28 rasmus Exp $ */
require("interbase/interbase.inc");
@@ -119,7 +119,6 @@
echo "end of test\n";
?>
--EXPECT--
-Content-type: text/html
import blob 1
test blob 1
create blob 2
Index: php3/test/interbase/005.php3t
diff -u php3/test/interbase/005.php3t:1.2 php3/test/interbase/005.php3t:1.3
--- php3/test/interbase/005.php3t:1.2 Sat Mar 20 10:03:34 1999
+++ php3/test/interbase/005.php3t Sat Dec 25 19:54:28 1999
@@ -4,7 +4,7 @@
--GET--
--FILE--
<?
-/* $Id: 005.php3t,v 1.2 1999/03/20 15:03:34 andrew Exp $ */
+/* $Id: 005.php3t,v 1.3 1999/12/26 00:54:28 rasmus Exp $ */
require("interbase/interbase.inc");
@@ -196,8 +196,6 @@
echo "end of test\n";
?>
--EXPECT--
-Content-type: text/html
-
default transaction:
empty table
--- test5 ---
Index: php3/test/interbase/006.php3t
diff -u php3/test/interbase/006.php3t:1.2 php3/test/interbase/006.php3t:1.3
--- php3/test/interbase/006.php3t:1.2 Sat Mar 20 10:03:34 1999
+++ php3/test/interbase/006.php3t Sat Dec 25 19:54:28 1999
@@ -4,7 +4,7 @@
--GET--
--FILE--
<?
-/* $Id: 006.php3t,v 1.2 1999/03/20 15:03:34 andrew Exp $ */
+/* $Id: 006.php3t,v 1.3 1999/12/26 00:54:28 rasmus Exp $ */
require("interbase/interbase.inc");
@@ -186,7 +186,6 @@
echo "end of test\n";
?>
--EXPECT--
-Content-type: text/html
insert
select
prepare and exec insert
Index: php3/test/lang/001.php3t
diff -u php3/test/lang/001.php3t:1.2 php3/test/lang/001.php3t:1.3
--- php3/test/lang/001.php3t:1.2 Tue Mar 3 17:17:17 1998
+++ php3/test/lang/001.php3t Sat Dec 25 19:54:36 1999
@@ -5,6 +5,5 @@
--FILE--
<?php $a=1; if($a>0): echo "Yes"; endif?>
--EXPECT--
-Content-type: text/html
Yes
Index: php3/test/lang/002.php3t
diff -u php3/test/lang/002.php3t:1.2 php3/test/lang/002.php3t:1.3
--- php3/test/lang/002.php3t:1.2 Tue Mar 3 17:17:17 1998
+++ php3/test/lang/002.php3t Sat Dec 25 19:54:36 1999
@@ -9,5 +9,4 @@
$a++;
endwhile?>
--EXPECT--
-Content-type: text/html
123456789
Index: php3/test/lang/003.php3t
diff -u php3/test/lang/003.php3t:1.2 php3/test/lang/003.php3t:1.3
--- php3/test/lang/003.php3t:1.2 Tue Mar 3 17:17:17 1998
+++ php3/test/lang/003.php3t Sat Dec 25 19:54:36 1999
@@ -16,6 +16,5 @@
break;
endswitch?>
--EXPECT--
-Content-type: text/html
good
Index: php3/test/lang/004.php3t
diff -u php3/test/lang/004.php3t:1.2 php3/test/lang/004.php3t:1.3
--- php3/test/lang/004.php3t:1.2 Tue Mar 3 17:17:17 1998
+++ php3/test/lang/004.php3t Sat Dec 25 19:54:36 1999
@@ -10,5 +10,4 @@
echo "good";
endif?>
--EXPECT--
-Content-type: text/html
good
Index: php3/test/lang/005.php3t
diff -u php3/test/lang/005.php3t:1.2 php3/test/lang/005.php3t:1.3
--- php3/test/lang/005.php3t:1.2 Tue Mar 3 17:17:18 1998
+++ php3/test/lang/005.php3t Sat Dec 25 19:54:36 1999
@@ -12,5 +12,4 @@
echo "good";
endif?>
--EXPECT--
-Content-type: text/html
good
Index: php3/test/lang/006.php3t
diff -u php3/test/lang/006.php3t:1.2 php3/test/lang/006.php3t:1.3
--- php3/test/lang/006.php3t:1.2 Tue Mar 3 17:17:18 1998
+++ php3/test/lang/006.php3t Sat Dec 25 19:54:36 1999
@@ -18,5 +18,4 @@
endif;
endif?>
--EXPECT--
-Content-type: text/html
good
Index: php3/test/lang/007.php3t
diff -u php3/test/lang/007.php3t:1.3 php3/test/lang/007.php3t:1.4
--- php3/test/lang/007.php3t:1.3 Tue Mar 3 17:17:18 1998
+++ php3/test/lang/007.php3t Sat Dec 25 19:54:36 1999
@@ -22,5 +22,4 @@
echo "$a $b $c ";
Test()?>
--EXPECT--
-Content-type: text/html
1 5 2 2 10 5 2 5 3 2 10 5 3 5 4 2
Index: php3/test/lang/008.php3t
diff -u php3/test/lang/008.php3t:1.3 php3/test/lang/008.php3t:1.4
--- php3/test/lang/008.php3t:1.3 Tue Mar 3 17:17:18 1998
+++ php3/test/lang/008.php3t Sat Dec 25 19:54:36 1999
@@ -13,5 +13,4 @@
}
Test()?>
--EXPECT--
-Content-type: text/html
1 2 3 4 5 6 7 8 9
Index: php3/test/lang/009.php3t
diff -u php3/test/lang/009.php3t:1.3 php3/test/lang/009.php3t:1.4
--- php3/test/lang/009.php3t:1.3 Tue Mar 3 17:17:18 1998
+++ php3/test/lang/009.php3t Sat Dec 25 19:54:36 1999
@@ -8,5 +8,4 @@
);
Test(1,2)?>
--EXPECT--
-Content-type: text/html
3
Index: php3/test/lang/010.php3t
diff -u php3/test/lang/010.php3t:1.3 php3/test/lang/010.php3t:1.4
--- php3/test/lang/010.php3t:1.3 Tue Mar 3 17:17:18 1998
+++ php3/test/lang/010.php3t Sat Dec 25 19:54:36 1999
@@ -10,5 +10,4 @@
$a = Test(1);
echo $a?>
--EXPECT--
-Content-type: text/html
2
Index: php3/test/lang/011.php3t
diff -u php3/test/lang/011.php3t:1.3 php3/test/lang/011.php3t:1.4
--- php3/test/lang/011.php3t:1.3 Tue Mar 3 17:17:18 1998
+++ php3/test/lang/011.php3t Sat Dec 25 19:54:36 1999
@@ -22,5 +22,4 @@
G();
?>
--EXPECT--
-Content-type: text/html
4 Hello 4
Index: php3/test/lang/012.php3t
diff -u php3/test/lang/012.php3t:1.3 php3/test/lang/012.php3t:1.4
--- php3/test/lang/012.php3t:1.3 Tue Mar 3 17:17:19 1998
+++ php3/test/lang/012.php3t Sat Dec 25 19:54:36 1999
@@ -17,5 +17,4 @@
endwhile;
?>
--EXPECT--
-Content-type: text/html
HelloHello
Index: php3/test/lang/013.php3t
diff -u php3/test/lang/013.php3t:1.3 php3/test/lang/013.php3t:1.4
--- php3/test/lang/013.php3t:1.3 Tue Mar 3 17:17:19 1998
+++ php3/test/lang/013.php3t Sat Dec 25 19:54:36 1999
@@ -9,5 +9,4 @@
eval($a);
?>
--EXPECT--
-Content-type: text/html
Hello
Index: php3/test/lang/014.php3t
diff -u php3/test/lang/014.php3t:1.4 php3/test/lang/014.php3t:1.5
--- php3/test/lang/014.php3t:1.4 Tue Mar 3 17:17:19 1998
+++ php3/test/lang/014.php3t Sat Dec 25 19:54:36 1999
@@ -12,5 +12,4 @@
F("echo \"Hello\";");
?>
--EXPECT--
-Content-type: text/html
Hello
Index: php3/test/lang/015.php3t
diff -u php3/test/lang/015.php3t:1.2 php3/test/lang/015.php3t:1.3
--- php3/test/lang/015.php3t:1.2 Tue Mar 3 17:17:19 1998
+++ php3/test/lang/015.php3t Sat Dec 25 19:54:36 1999
@@ -7,5 +7,4 @@
include "lang/015.inc";
?>
--EXPECT--
-Content-type: text/html
Hello
Index: php3/test/lang/016.php3t
diff -u php3/test/lang/016.php3t:1.2 php3/test/lang/016.php3t:1.3
--- php3/test/lang/016.php3t:1.2 Tue Mar 3 17:17:20 1998
+++ php3/test/lang/016.php3t Sat Dec 25 19:54:36 1999
@@ -8,5 +8,4 @@
MyFunc("Hello");
?>
--EXPECT--
-Content-type: text/html
Hello
Index: php3/test/lang/017.php3t
diff -u php3/test/lang/017.php3t:1.3 php3/test/lang/017.php3t:1.4
--- php3/test/lang/017.php3t:1.3 Tue Mar 3 17:17:20 1998
+++ php3/test/lang/017.php3t Sat Dec 25 19:54:36 1999
@@ -15,5 +15,4 @@
$a++;
endif?>
--EXPECT--
-Content-type: text/html
1
Index: php3/test/lang/018.php3t
diff -u php3/test/lang/018.php3t:1.2 php3/test/lang/018.php3t:1.3
--- php3/test/lang/018.php3t:1.2 Tue Mar 3 17:17:20 1998
+++ php3/test/lang/018.php3t Sat Dec 25 19:54:36 1999
@@ -14,7 +14,6 @@
echo $i."\n";
}
--EXPECT--
-Content-type: text/html
hey
0
Index: php3/test/lang/019.php3t
diff -u php3/test/lang/019.php3t:1.2 php3/test/lang/019.php3t:1.3
--- php3/test/lang/019.php3t:1.2 Tue Mar 3 17:17:20 1998
+++ php3/test/lang/019.php3t Sat Dec 25 19:54:36 1999
@@ -16,7 +16,6 @@
$i++;
}
--EXPECT--
-Content-type: text/html
hey, this is a regular echo'd eval()
hey, this is a function inside an eval()!
Index: php3/test/lang/020.php3t
diff -u php3/test/lang/020.php3t:1.2 php3/test/lang/020.php3t:1.3
--- php3/test/lang/020.php3t:1.2 Tue Mar 3 17:17:20 1998
+++ php3/test/lang/020.php3t Sat Dec 25 19:54:36 1999
@@ -46,7 +46,6 @@
}
?>
--EXPECT--
-Content-type: text/html
In branch 1
Inner default...
Index: php3/test/lang/021.php3t
diff -u php3/test/lang/021.php3t:1.2 php3/test/lang/021.php3t:1.3
--- php3/test/lang/021.php3t:1.2 Tue Mar 3 17:17:20 1998
+++ php3/test/lang/021.php3t Sat Dec 25 19:54:36 1999
@@ -33,7 +33,6 @@
echo "hi\n";
?>
--EXPECT--
-Content-type: text/html
i=0
In branch 0
Index: php3/test/lang/022.php3t
diff -u php3/test/lang/022.php3t:1.2 php3/test/lang/022.php3t:1.3
--- php3/test/lang/022.php3t:1.2 Tue Mar 3 17:17:21 1998
+++ php3/test/lang/022.php3t Sat Dec 25 19:54:36 1999
@@ -33,7 +33,6 @@
}
?>
--EXPECT--
-Content-type: text/html
zero
one
Index: php3/test/lang/023.php3t
diff -u php3/test/lang/023.php3t:1.5 php3/test/lang/023.php3t:1.6
--- php3/test/lang/023.php3t:1.5 Fri Mar 27 08:22:42 1998
+++ php3/test/lang/023.php3t Sat Dec 25 19:54:36 1999
@@ -27,7 +27,6 @@
?>
--EXPECT--
-Content-type: text/html
PHP3 Regression Test
Index: php3/test/lang/024.php3t
diff -u php3/test/lang/024.php3t:1.7 php3/test/lang/024.php3t:1.8
--- php3/test/lang/024.php3t:1.7 Fri Mar 27 08:22:43 1998
+++ php3/test/lang/024.php3t Sat Dec 25 19:54:36 1999
@@ -377,7 +377,6 @@
<?php } ?>
--EXPECT--
-Content-type: text/html
<html>
<head>
Index: php3/test/lang/025.php3t
diff -u php3/test/lang/025.php3t:1.3 php3/test/lang/025.php3t:1.4
--- php3/test/lang/025.php3t:1.3 Tue Mar 3 17:17:22 1998
+++ php3/test/lang/025.php3t Sat Dec 25 19:54:36 1999
@@ -26,7 +26,6 @@
RekTest(0);
?>
--EXPECT--
-Content-type: text/html
0 a 1 a 2 a 3 a 4 a 5 a 6 a 7 a 8 a 9
b 10
Index: php3/test/lang/026.php3t
diff -u php3/test/lang/026.php3t:1.3 php3/test/lang/026.php3t:1.4
--- php3/test/lang/026.php3t:1.3 Tue Mar 3 17:17:22 1998
+++ php3/test/lang/026.php3t Sat Dec 25 19:54:36 1999
@@ -5,5 +5,4 @@
--FILE--
<?php echo "\"\t\\'" . '\n\\\'a\\\b\\' ?>
--EXPECT--
-Content-type: text/html
" \'\n\'a\\b\
Index: php3/test/lang/027.php3t
diff -u php3/test/lang/027.php3t:1.1 php3/test/lang/027.php3t:1.2
--- php3/test/lang/027.php3t:1.1 Mon Mar 30 18:51:59 1998
+++ php3/test/lang/027.php3t Sat Dec 25 19:54:36 1999
@@ -11,5 +11,4 @@
} while($i>0);
?>
--EXPECT--
-Content-type: text/html
321
Index: php3/test/lang/028.php3t
diff -u php3/test/lang/028.php3t:1.2 php3/test/lang/028.php3t:1.3
--- php3/test/lang/028.php3t:1.2 Thu Sep 10 18:20:06 1998
+++ php3/test/lang/028.php3t Sat Dec 25 19:54:36 1999
@@ -60,7 +60,6 @@
?>
--EXPECT--
-Content-type: text/html
0
Dafna!
I'm still alive
Index: php3/test/math/001.php3t
diff -u php3/test/math/001.php3t:1.3 php3/test/math/001.php3t:1.4
--- php3/test/math/001.php3t:1.3 Tue Mar 3 17:17:54 1998
+++ php3/test/math/001.php3t Sat Dec 25 19:54:40 1999
@@ -14,7 +14,6 @@
echo floor(1.5) . "\n";
?>
--EXPECT--
-Content-type: text/html
1
1.5
Index: php3/test/reg/001.php3t
diff -u php3/test/reg/001.php3t:1.3 php3/test/reg/001.php3t:1.4
--- php3/test/reg/001.php3t:1.3 Tue Mar 3 17:18:07 1998
+++ php3/test/reg/001.php3t Sat Dec 25 19:54:45 1999
@@ -6,5 +6,4 @@
<?php $a="abc123";
echo ereg_replace("123","def",$a)?>
--EXPECT--
-Content-type: text/html
abcdef
Index: php3/test/reg/002.php3t
diff -u php3/test/reg/002.php3t:1.3 php3/test/reg/002.php3t:1.4
--- php3/test/reg/002.php3t:1.3 Tue Mar 3 17:18:07 1998
+++ php3/test/reg/002.php3t Sat Dec 25 19:54:45 1999
@@ -6,5 +6,4 @@
<?php $a="abc123";
echo ereg_replace("123","",$a)?>
--EXPECT--
-Content-type: text/html
abc
Index: php3/test/reg/003.php3t
diff -u php3/test/reg/003.php3t:1.6 php3/test/reg/003.php3t:1.7
--- php3/test/reg/003.php3t:1.6 Tue Mar 3 17:18:07 1998
+++ php3/test/reg/003.php3t Sat Dec 25 19:54:45 1999
@@ -7,6 +7,5 @@
echo ereg_replace("\\\\'","'",$a)
?>
--EXPECT--
-Content-type: text/html
'test
Index: php3/test/reg/004.php3t
diff -u php3/test/reg/004.php3t:1.5 php3/test/reg/004.php3t:1.6
--- php3/test/reg/004.php3t:1.5 Tue Mar 3 17:18:07 1998
+++ php3/test/reg/004.php3t Sat Dec 25 19:54:45 1999
@@ -12,6 +12,5 @@
}
?>
--EXPECT--
-Content-type: text/html
ok
ok
Index: php3/test/reg/005.php3t
diff -u php3/test/reg/005.php3t:1.4 php3/test/reg/005.php3t:1.5
--- php3/test/reg/005.php3t:1.4 Tue Mar 3 17:18:08 1998
+++ php3/test/reg/005.php3t Sat Dec 25 19:54:45 1999
@@ -14,7 +14,6 @@
echo "\n";
?>
--EXPECT--
-Content-type: text/html
32
This is a nice and simple string
is
Index: php3/test/reg/006.php3t
diff -u php3/test/reg/006.php3t:1.3 php3/test/reg/006.php3t:1.4
--- php3/test/reg/006.php3t:1.3 Tue Mar 3 17:18:08 1998
+++ php3/test/reg/006.php3t Sat Dec 25 19:54:45 1999
@@ -7,5 +7,4 @@
echo ereg_replace("^This","That",$a);
?>
--EXPECT--
-Content-type: text/html
That is a nice and simple string
Index: php3/test/reg/007.php3t
diff -u php3/test/reg/007.php3t:1.3 php3/test/reg/007.php3t:1.4
--- php3/test/reg/007.php3t:1.3 Tue Mar 3 17:18:08 1998
+++ php3/test/reg/007.php3t Sat Dec 25 19:54:45 1999
@@ -9,5 +9,4 @@
echo strlen($b);
?>
--EXPECT--
-Content-type: text/html
0
Index: php3/test/reg/008.php3t
diff -u php3/test/reg/008.php3t:1.3 php3/test/reg/008.php3t:1.4
--- php3/test/reg/008.php3t:1.3 Mon Nov 3 10:57:08 1997
+++ php3/test/reg/008.php3t Sat Dec 25 19:54:45 1999
@@ -7,5 +7,4 @@
echo ereg_replace("([a-z]*)([-=+|]*)([0-9]+)","\\3 \\1
\\2\n","abc+-|=123");
?>
--EXPECT--
-Content-type: text/html
123 abc +-|=
Index: php3/test/reg/009.php3t
diff -u php3/test/reg/009.php3t:1.1 php3/test/reg/009.php3t:1.2
--- php3/test/reg/009.php3t:1.1 Mon Nov 3 10:57:08 1997
+++ php3/test/reg/009.php3t Sat Dec 25 19:54:45 1999
@@ -12,7 +12,6 @@
}
?>
--EXPECT--
-Content-type: text/html
4
this
is
Index: php3/test/reg/010.php3t
diff -u php3/test/reg/010.php3t:1.4 php3/test/reg/010.php3t:1.5
--- php3/test/reg/010.php3t:1.4 Tue Mar 3 17:18:08 1998
+++ php3/test/reg/010.php3t Sat Dec 25 19:54:45 1999
@@ -6,5 +6,4 @@
<?php $a="abc122222222223";
echo ereg_replace("1(2*)3","\\1def\\1",$a)?>
--EXPECT--
-Content-type: text/html
abc2222222222def2222222222
Index: php3/test/reg/011.php3t
diff -u php3/test/reg/011.php3t:1.4 php3/test/reg/011.php3t:1.5
--- php3/test/reg/011.php3t:1.4 Tue Mar 3 17:18:08 1998
+++ php3/test/reg/011.php3t Sat Dec 25 19:54:45 1999
@@ -6,5 +6,4 @@
<?php $a="abc123";
echo ereg_replace("123","def\\0ghi",$a)?>
--EXPECT--
-Content-type: text/html
abcdef123ghi
Index: php3/test/reg/012.php3t
diff -u php3/test/reg/012.php3t:1.5 php3/test/reg/012.php3t:1.6
--- php3/test/reg/012.php3t:1.5 Tue Mar 3 17:18:08 1998
+++ php3/test/reg/012.php3t Sat Dec 25 19:54:45 1999
@@ -6,5 +6,4 @@
<?php $a="abc123";
echo ereg_replace("123",'def\1ghi',$a)?>
--EXPECT--
-Content-type: text/html
abcdef\1ghi
Index: php3/test/reg/013.php3t
diff -u php3/test/reg/013.php3t:1.5 php3/test/reg/013.php3t:1.6
--- php3/test/reg/013.php3t:1.5 Tue Mar 3 17:18:08 1998
+++ php3/test/reg/013.php3t Sat Dec 25 19:54:45 1999
@@ -6,5 +6,4 @@
<?php $a="abc123";
echo ereg_replace("123","def\\g\\\\hi\\",$a)?>
--EXPECT--
-Content-type: text/html
abcdef\g\\hi\
Index: php3/test/reg/014.php3t
diff -u php3/test/reg/014.php3t:1.4 php3/test/reg/014.php3t:1.5
--- php3/test/reg/014.php3t:1.4 Tue Mar 3 17:18:09 1998
+++ php3/test/reg/014.php3t Sat Dec 25 19:54:45 1999
@@ -6,5 +6,4 @@
<?php $a="a\\2bxc";
echo ereg_replace("a(.*)b(.*)c","\\1",$a)?>
--EXPECT--
-Content-type: text/html
\2
Index: php3/test/reg/015.php3t
diff -u php3/test/reg/015.php3t:1.3 php3/test/reg/015.php3t:1.4
--- php3/test/reg/015.php3t:1.3 Tue Mar 3 17:18:09 1998
+++ php3/test/reg/015.php3t Sat Dec 25 19:54:45 1999
@@ -5,5 +5,4 @@
--FILE--
<?php echo ereg_replace("^","z","abc123")?>
--EXPECT--
-Content-type: text/html
zabc123
Index: php3/test/reg/016.php3t
diff -u php3/test/reg/016.php3t:1.2 php3/test/reg/016.php3t:1.3
--- php3/test/reg/016.php3t:1.2 Tue Mar 3 17:18:09 1998
+++ php3/test/reg/016.php3t Sat Dec 25 19:54:45 1999
@@ -5,5 +5,4 @@
--FILE--
<?php echo ereg_replace('\?',"abc","?123?")?>
--EXPECT--
-Content-type: text/html
abc123abc
Index: php3/test/strings/001.php3t
diff -u php3/test/strings/001.php3t:1.7 php3/test/strings/001.php3t:1.8
--- php3/test/strings/001.php3t:1.7 Mon Mar 16 01:41:16 1998
+++ php3/test/strings/001.php3t Sat Dec 25 19:54:48 1999
@@ -191,7 +191,6 @@
?>
--EXPECT--
-Content-type: text/html
Testing strtok: passed
Testing strstr: passed
Index: php3/test/strings/002.php3t
diff -u php3/test/strings/002.php3t:1.3 php3/test/strings/002.php3t:1.4
--- php3/test/strings/002.php3t:1.3 Tue Mar 3 17:18:24 1998
+++ php3/test/strings/002.php3t Sat Dec 25 19:54:48 1999
@@ -37,7 +37,6 @@
?>
--EXPECT--
-Content-type: text/html
printf test 1:simple string
printf test 2:42
Index: php3/test/strings/003.php3t
diff -u php3/test/strings/003.php3t:1.2 php3/test/strings/003.php3t:1.3
--- php3/test/strings/003.php3t:1.2 Tue Mar 3 17:18:24 1998
+++ php3/test/strings/003.php3t Sat Dec 25 19:54:48 1999
@@ -9,7 +9,6 @@
echo htmlentities ("<>\"&åÄ\n");
?>
--EXPECT--
-Content-type: text/html
<>"&åÄ
<>"&åÄ