diff options
author | Andi Gutmans <andi@php.net> | 1999-07-29 04:03:03 +0000 |
---|---|---|
committer | Andi Gutmans <andi@php.net> | 1999-07-29 04:03:03 +0000 |
commit | e3246872e3d44ddc853e3bb5a0be37cec11d914b (patch) | |
tree | 4da49abf22d987cc5178e28b9bcb35e3bddadd28 /tests | |
parent | 7d0715d53da74b3dc2bd7f21fe63bf2f249463a7 (diff) | |
download | php-git-e3246872e3d44ddc853e3bb5a0be37cec11d914b.tar.gz |
-Tiny fix
Diffstat (limited to 'tests')
-rw-r--r-- | tests/testobj | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/tests/testobj b/tests/testobj index 8db3a4136e..28ac711b19 100644 --- a/tests/testobj +++ b/tests/testobj @@ -14,7 +14,8 @@ class barbara extends foobar { }; } -$foo = new foobar; // or die("Unable to construct foobar\n"); +$name = "foobar"; +$foo = new $name; // or die("Unable to construct foobar\n"); //print $foo->initialized; $boo = new barbara; |