File tree Expand file tree Collapse file tree 3 files changed +4
-3
lines changed Expand file tree Collapse file tree 3 files changed +4
-3
lines changed Original file line number Diff line number Diff line change 3
3
?? ??? 2016 PHP 7.0.7
4
4
5
5
- 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
7
7
always throw a notice). (Bob)
8
8
9
9
- OCI8:
Original file line number Diff line number Diff line change @@ -7,7 +7,7 @@ $filename = dirname(__FILE__)."/fscanf.dat";
7
7
8
8
var_dump (fscanf ());
9
9
var_dump (fscanf (array ()));
10
- var_dump (fscanf (array (), array (), new stdclass ));
10
+ var_dump (fscanf (array (), array ()));
11
11
12
12
file_put_contents ($ filename , "data " );
13
13
Original file line number Diff line number Diff line change @@ -24,7 +24,8 @@ $bar1->Name = 'outside';
24
24
$ bar1 ->echoName ();
25
25
$ List ->echoName ();
26
26
27
- $ bar1 =& foo2 (new foo ('constructor ' ));
27
+ $ foo = new foo ('constructor ' );
28
+ $ bar1 =& foo2 ($ foo );
28
29
$ bar1 ->Name = 'outside ' ;
29
30
$ bar1 ->echoName ();
30
31
You can’t perform that action at this time.
0 commit comments