summaryrefslogtreecommitdiff
path: root/tests/basic
diff options
context:
space:
mode:
authorSVN Migration <svn@php.net>2002-03-13 18:39:43 +0000
committerSVN Migration <svn@php.net>2002-03-13 18:39:43 +0000
commit8d6817e7f142091b1c30de30f349c3fde9d7e094 (patch)
tree45704599905d4a7445ad446fc5337374a3390dbf /tests/basic
parent94e6810a2a3e189cf729bdbae8f45cd9d7987ad6 (diff)
downloadphp-git-help.tar.gz
This commit was manufactured by cvs2svn to create tag 'help'.help
Diffstat (limited to 'tests/basic')
-rw-r--r--tests/basic/001.phpt8
-rw-r--r--tests/basic/002.phpt12
-rw-r--r--tests/basic/003.phpt14
-rw-r--r--tests/basic/004.phpt13
-rw-r--r--tests/basic/005.phpt13
-rw-r--r--tests/basic/006.phpt8
-rw-r--r--tests/basic/007.phpt8
-rw-r--r--tests/basic/008.phpt8
-rw-r--r--tests/basic/009.phpt8
-rw-r--r--tests/basic/010.phpt8
-rw-r--r--tests/basic/011.phpt25
11 files changed, 0 insertions, 125 deletions
diff --git a/tests/basic/001.phpt b/tests/basic/001.phpt
deleted file mode 100644
index 4cc79613c5..0000000000
--- a/tests/basic/001.phpt
+++ /dev/null
@@ -1,8 +0,0 @@
---TEST--
-Trivial "Hello World" test
---POST--
---GET--
---FILE--
-<?php echo "Hello World"?>
---EXPECT--
-Hello World
diff --git a/tests/basic/002.phpt b/tests/basic/002.phpt
deleted file mode 100644
index 9dffe1686a..0000000000
--- a/tests/basic/002.phpt
+++ /dev/null
@@ -1,12 +0,0 @@
---TEST--
-Simple POST Method test
---SKIPIF--
-<?php if(php_sapi_name()=='cli'); echo 'skip'; ?>
---POST--
-a=Hello+World
---GET--
---FILE--
-<?php
-echo $_POST['a']; ?>
---EXPECT--
-Hello World
diff --git a/tests/basic/003.phpt b/tests/basic/003.phpt
deleted file mode 100644
index dfc714a8fc..0000000000
--- a/tests/basic/003.phpt
+++ /dev/null
@@ -1,14 +0,0 @@
---TEST--
-GET and POST Method combined
---SKIPIF--
-<?php if(php_sapi_name()=='cli'); echo 'skip'; ?>
---POST--
-a=Hello+World
---GET--
-b=Hello+Again+World&c=Hi+Mom
---FILE--
-<?php
-error_reporting(0);
-echo "{$_POST['a']} {$_GET['b']} {$_GET['c']}"?>
---EXPECT--
-Hello World Hello Again World Hi Mom
diff --git a/tests/basic/004.phpt b/tests/basic/004.phpt
deleted file mode 100644
index 694034ae90..0000000000
--- a/tests/basic/004.phpt
+++ /dev/null
@@ -1,13 +0,0 @@
---TEST--
-Two variables in POST data
---SKIPIF--
-<?php if(php_sapi_name()=='cli'); echo 'skip'; ?>
---POST--
-a=Hello+World&b=Hello+Again+World
---GET--
---FILE--
-<?php
-error_reporting(0);
-echo "{$_POST['a']} {$_POST['b']}" ?>
---EXPECT--
-Hello World Hello Again World
diff --git a/tests/basic/005.phpt b/tests/basic/005.phpt
deleted file mode 100644
index d7bd145ccd..0000000000
--- a/tests/basic/005.phpt
+++ /dev/null
@@ -1,13 +0,0 @@
---TEST--
-Three variables in POST data
---SKIPIF--
-<?php if(php_sapi_name()=='cli'); echo 'skip'; ?>
---POST--
-a=Hello+World&b=Hello+Again+World&c=1
---GET--
---FILE--
-<?php
-error_reporting(0);
-echo "{$_POST['a']} {$_POST['b']} {$_POST['c']}"?>
---EXPECT--
-Hello World Hello Again World 1
diff --git a/tests/basic/006.phpt b/tests/basic/006.phpt
deleted file mode 100644
index 3b88acc32f..0000000000
--- a/tests/basic/006.phpt
+++ /dev/null
@@ -1,8 +0,0 @@
---TEST--
-Add 3 variables together and print result
---POST--
---GET--
---FILE--
-<?php $a=1; $b=2; $c=3; $d=$a+$b+$c; echo $d?>
---EXPECT--
-6
diff --git a/tests/basic/007.phpt b/tests/basic/007.phpt
deleted file mode 100644
index 90fdc7e545..0000000000
--- a/tests/basic/007.phpt
+++ /dev/null
@@ -1,8 +0,0 @@
---TEST--
-Multiply 3 variables and print result
---POST--
---GET--
---FILE--
-<?php $a=2; $b=4; $c=8; $d=$a*$b*$c; echo $d?>
---EXPECT--
-64
diff --git a/tests/basic/008.phpt b/tests/basic/008.phpt
deleted file mode 100644
index 927bf0e509..0000000000
--- a/tests/basic/008.phpt
+++ /dev/null
@@ -1,8 +0,0 @@
---TEST--
-Divide 3 variables and print result
---POST--
---GET--
---FILE--
-<?php $a=27; $b=3; $c=3; $d=$a/$b/$c; echo $d?>
---EXPECT--
-3
diff --git a/tests/basic/009.phpt b/tests/basic/009.phpt
deleted file mode 100644
index d78b195d0b..0000000000
--- a/tests/basic/009.phpt
+++ /dev/null
@@ -1,8 +0,0 @@
---TEST--
-Subtract 3 variables and print result
---POST--
---GET--
---FILE--
-<?php $a=27; $b=7; $c=10; $d=$a-$b-$c; echo $d?>
---EXPECT--
-10
diff --git a/tests/basic/010.phpt b/tests/basic/010.phpt
deleted file mode 100644
index 4440d99bf8..0000000000
--- a/tests/basic/010.phpt
+++ /dev/null
@@ -1,8 +0,0 @@
---TEST--
-Testing | and & operators
---POST--
---GET--
---FILE--
-<?php $a=8; $b=4; $c=8; echo $a|$b&$c?>
---EXPECT--
-8
diff --git a/tests/basic/011.phpt b/tests/basic/011.phpt
deleted file mode 100644
index 9320c16c16..0000000000
--- a/tests/basic/011.phpt
+++ /dev/null
@@ -1,25 +0,0 @@
---TEST--
-Testing $argc and $argv handling
---SKIPIF--
-<?php if(ini_get('register_argc_argv') == '') echo 'skip'; ?>
---POST--
---GET--
-ab+cd+ef+123+test
---FILE--
-<?php
- if(ini_get('register_globals') != '') {
- for($i=0;$i<$argc;$i++) {
- echo "$i: ".$argv[$i]."\n";
- }
- } else {
- for($i=0;$i<$_SERVER['argc'];$i++) {
- echo "$i: ".$_SERVER['argv'][$i]."\n";
- }
- }
-?>
---EXPECT--
-0: ab
-1: cd
-2: ef
-3: 123
-4: test