diff options
author | SVN Migration <svn@php.net> | 2003-02-27 17:43:39 +0000 |
---|---|---|
committer | SVN Migration <svn@php.net> | 2003-02-27 17:43:39 +0000 |
commit | 078bcec0997ad0e07b720c43cc9e6d0e046a75ab (patch) | |
tree | 36cb0f6be2ef078fe3374de8c087b93ecf82f812 /tests/foo3 | |
parent | fd61f69077f6156ca71dde60ecfd9ed9765a02db (diff) | |
download | php-git-PHP-5.tar.gz |
This commit was manufactured by cvs2svn to create branch 'PHP_5'.PHP-5
Diffstat (limited to 'tests/foo3')
-rw-r--r-- | tests/foo3 | 43 |
1 files changed, 0 insertions, 43 deletions
diff --git a/tests/foo3 b/tests/foo3 deleted file mode 100644 index 08681b98c2..0000000000 --- a/tests/foo3 +++ /dev/null @@ -1,43 +0,0 @@ -<? - -class foo { - function foo() { - print "foo()\n"; - } - function bar(&$blah, $foobar=7) { - $foobar += 19; - } - - function hello_world() { - return "Hello, World!"; - } - - function print_string($str) { - print "$str\n"; - return 666; - } - var $foo; - var $bar="this is a test..."; -}; - -class bar { - function foo($a,$b) { - $a *= 3; - return $a+$b; - } - function bar(&$blah, $foobar=7) { - $foobar += 19; - } - - var $foo; - var $bar="this is a test..."; -}; - - -$b = new foo; -$a = $b; -print $a->print_string($a->hello_world())."\n"; -print $b->print_string($b->hello_world())."\n"; -$a->foo = 5; -print $a->foo; -print $a->foo(); |