diff options
author | Marcus Boerger <helly@php.net> | 2004-02-04 21:34:10 +0000 |
---|---|---|
committer | Marcus Boerger <helly@php.net> | 2004-02-04 21:34:10 +0000 |
commit | 871068835887126573c60cdd80c16020ace47636 (patch) | |
tree | 42cd0ab04f5eeac4cf0fad9d292a86ab5f654ae3 /tests/lang | |
parent | ac4dc686085f02b88744e6ef7cddc0605f5d943a (diff) | |
download | php-git-871068835887126573c60cdd80c16020ace47636.tar.gz |
The &new is no longer needed, prevent E_STRICT message
Diffstat (limited to 'tests/lang')
-rw-r--r-- | tests/lang/030.phpt | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/tests/lang/030.phpt b/tests/lang/030.phpt index ba809c8e31..758369bf08 100644 --- a/tests/lang/030.phpt +++ b/tests/lang/030.phpt @@ -1,7 +1,5 @@ --TEST-- $this in constructor test ---POST-- ---GET-- --FILE-- <?php class foo { @@ -21,7 +19,7 @@ function &foo2(&$foo) { } -$bar1 =& new foo('constructor'); +$bar1 =new foo('constructor'); $bar1->Name = 'outside'; $bar1->echoName(); $List->echoName(); |