Skip to content

Commit 6bb81d2

Browse files
committed
Fix non-/Zend tests too
1 parent 15d1d4f commit 6bb81d2

File tree

3 files changed

+4
-3
lines changed

3 files changed

+4
-3
lines changed

NEWS

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ PHP NEWS
33
?? ??? 2016 PHP 7.0.7
44

55
- Core:
6-
. Fixed Bug #72038 (Function calls with values to a by-ref parameter don't
6+
. Fixed bug #72038 (Function calls with values to a by-ref parameter don't
77
always throw a notice). (Bob)
88

99
- OCI8:

ext/standard/tests/file/fscanf.phpt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ $filename = dirname(__FILE__)."/fscanf.dat";
77

88
var_dump(fscanf());
99
var_dump(fscanf(array()));
10-
var_dump(fscanf(array(), array(), new stdclass));
10+
var_dump(fscanf(array(), array()));
1111

1212
file_put_contents($filename, "data");
1313

tests/lang/030.phpt

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,8 @@ $bar1->Name = 'outside';
2424
$bar1->echoName();
2525
$List->echoName();
2626

27-
$bar1 =& foo2(new foo('constructor'));
27+
$foo = new foo('constructor');
28+
$bar1 =& foo2($foo);
2829
$bar1->Name = 'outside';
2930
$bar1->echoName();
3031

0 commit comments

Comments
 (0)