summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorfoobar <sniper@php.net>2004-01-17 13:00:38 +0000
committerfoobar <sniper@php.net>2004-01-17 13:00:38 +0000
commitf4983c0d3f56c2074458e4840db36643b2fec59b (patch)
tree2dcf521f07114e3bb2952439fe28cdfa40d30677 /tests
parentb851f3712388de9f6c4addf2063dbc3c663a0b3b (diff)
downloadphp-git-f4983c0d3f56c2074458e4840db36643b2fec59b.tar.gz
- Renamed all *php4* files to *php5*, changed all php4/PHP4 to php5/PHP5
Diffstat (limited to 'tests')
-rwxr-xr-xtests/classes/inheritance_002.phpt8
-rw-r--r--tests/test.php415
2 files changed, 4 insertions, 19 deletions
diff --git a/tests/classes/inheritance_002.phpt b/tests/classes/inheritance_002.phpt
index 6baa575d7c..a5688bba56 100755
--- a/tests/classes/inheritance_002.phpt
+++ b/tests/classes/inheritance_002.phpt
@@ -52,10 +52,10 @@ class Child_mx2 extends Base_php5 {
}
}
-echo "### PHP4 style\n";
+echo "### PHP 4 style\n";
$c4= new Child_php4();
-echo "### PHP5 style\n";
+echo "### PHP 5 style\n";
$c5= new Child_php5();
echo "### Mixed style 1\n";
@@ -65,10 +65,10 @@ echo "### Mixed style 2\n";
$cm= new Child_mx2();
?>
--EXPECT--
-### PHP4 style
+### PHP 4 style
string(17) "Child constructor"
string(16) "Base constructor"
-### PHP5 style
+### PHP 5 style
string(17) "Child constructor"
string(16) "Base constructor"
### Mixed style 1
diff --git a/tests/test.php4 b/tests/test.php4
deleted file mode 100644
index 7af9a28ebd..0000000000
--- a/tests/test.php4
+++ /dev/null
@@ -1,15 +0,0 @@
-<?
-function blah($a)
-{
- return $a;
-}
-
-return "cool";
-
-
-for ($for=0; $for<=100000;$for++)
-{
-if ("andi" != blah("andi"))
-{
-print "error";}
-}