Skip to content

Commit 85ca63e

Browse files
committed
add useless object in params of empty ctor
1 parent f22e2ca commit 85ca63e

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Zend/tests/partial_function/object-constructor.phpt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ class Bar {
3434

3535
}
3636

37-
$bar = new Bar(?);
37+
$bar = new Bar(?, new stdClass);
3838
var_dump($bar, $bar(1,2));
3939

4040
// Failing constructors
@@ -128,7 +128,7 @@ object(Foo)#%d (2) {
128128
["two"]=>
129129
int(6)
130130
}
131-
object(Closure)#6 (1) {
131+
object(Closure)#7 (1) {
132132
["args"]=>
133133
array(0) {
134134
}

0 commit comments

Comments
 (0)