Skip to content

Commit

Permalink
Fix non-/Zend tests too
Browse files Browse the repository at this point in the history
  • Loading branch information
bwoebi committed Apr 16, 2016
1 parent 15d1d4f commit 6bb81d2
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 3 deletions.
2 changes: 1 addition & 1 deletion NEWS
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ PHP NEWS
?? ??? 2016 PHP 7.0.7

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

- OCI8:
Expand Down
2 changes: 1 addition & 1 deletion ext/standard/tests/file/fscanf.phpt
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ $filename = dirname(__FILE__)."/fscanf.dat";

var_dump(fscanf());
var_dump(fscanf(array()));
var_dump(fscanf(array(), array(), new stdclass));
var_dump(fscanf(array(), array()));

file_put_contents($filename, "data");

Expand Down
3 changes: 2 additions & 1 deletion tests/lang/030.phpt
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,8 @@ $bar1->Name = 'outside';
$bar1->echoName();
$List->echoName();

$bar1 =& foo2(new foo('constructor'));
$foo = new foo('constructor');
$bar1 =& foo2($foo);
$bar1->Name = 'outside';
$bar1->echoName();

Expand Down

0 comments on commit 6bb81d2

Please sign in to comment.