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
/
includeAndEval.test
1
Include and eval
2
-----
3
<?php
4
include 'A.php';
5
include_once 'A.php';
6
require 'A.php';
7
require_once 'A.php';
8
eval('A');
9
-----
10
array(
11
0: Expr_Include(
12
expr: Scalar_String(
13
value: A.php
14
)
15
type: TYPE_INCLUDE (1)
16
)
17
1: Expr_Include(
18
expr: Scalar_String(
19
value: A.php
20
)
21
type: TYPE_INCLUDE_ONCE (2)
22
)
23
2: Expr_Include(
24
expr: Scalar_String(
25
value: A.php
26
)
27
type: TYPE_REQUIRE (3)
28
)
29
3: Expr_Include(
30
expr: Scalar_String(
31
value: A.php
32
)
33
type: TYPE_REQURE_ONCE (4)
34
)
35
4: Expr_Eval(
36
expr: Scalar_String(
37
value: A
38
)
39
)
40
)