diff options
author | SVN Migration <svn@php.net> | 2002-05-19 13:54:38 +0000 |
---|---|---|
committer | SVN Migration <svn@php.net> | 2002-05-19 13:54:38 +0000 |
commit | 62e263f01ef567ae3926739f37d13cac17fe7739 (patch) | |
tree | 353ff240a432d453632dcad134524cbb9e0ea610 /tests/foo3 | |
parent | e3490f1429d8f03c16d8cef7cd835c3fb2d5b43e (diff) | |
download | php-git-php-4.3.0dev-ZendEngine2.tar.gz |
This commit was manufactured by cvs2svn to create tagphp-4.3.0dev-ZendEngine2
'php_4_3_0_dev_ZendEngine2'.
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(); |