projects
/
yaffs-website
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
Security update for Core, with self-updated composer
[yaffs-website]
/
vendor
/
nikic
/
php-parser
/
test
/
code
/
parser
/
expr
/
assignNewByRef.test
1
Assigning new by reference (PHP 5 only)
2
-----
3
<?php
4
$a =& new B;
5
-----
6
!!php5
7
array(
8
0: Expr_AssignRef(
9
var: Expr_Variable(
10
name: a
11
)
12
expr: Expr_New(
13
class: Name(
14
parts: array(
15
0: B
16
)
17
)
18
args: array(
19
)
20
)
21
)
22
)
23
-----
24
<?php
25
$a =& new B;
26
-----
27
!!php7
28
Syntax error, unexpected T_NEW from 2:7 to 2:9
29
array(
30
0: Expr_New(
31
class: Name(
32
parts: array(
33
0: B
34
)
35
)
36
args: array(
37
)
38
)
39
)