Fix non-/Zend tests too

This commit is contained in:
Bob Weinand 2016-04-16 20:57:28 +02:00
parent 15d1d4f45b
commit 6bb81d2c5f
3 changed files with 4 additions and 3 deletions

2
NEWS
View File

@ -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:

View File

@ -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");

View File

@ -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();