Page Menu
Home
c4science
Search
Configure Global Search
Log In
Files
F112804716
diverse_symbols.php
No One
Temporary
Actions
Download File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Subscribers
None
File Metadata
Details
File Info
Storage
Attached
Created
Tue, May 13, 02:11
Size
814 B
Mime Type
text/x-php
Expires
Thu, May 15, 02:11 (1 d, 16 h)
Engine
blob
Format
Raw Data
Handle
26115799
Attached To
rPHU libphutil
diverse_symbols.php
View Options
<?php
// This file has diverse symbol declarations and requirements, and can be used
// to test changes to phutil_symbols.php.
/**
* @phutil-external-symbol function ext_func
* @phutil-external-symbol class ExtClass
* @phutil-external-symbol interface ExtInterface
*/
ext_func
();
new
ExtClass
();
class
L
implements
ExtInterface
{}
function
f
()
{}
(
function
()
{
// Anonymous function.
});
g
();
$g
();
$$g
();
X
::
f
();
call_user_func
();
call_user_func
(
'h'
);
call_user_func
(
$var
);
class
A
{}
class
C
extends
B
{}
class
D
extends
C
{}
new
U
();
V
::
m
();
W
::
$n
;
P
::
CONST
;
interface
ILocal
extends
IForeign
{}
class
CLocal
extends
INonlocal
{}
strtoupper
(
''
);
// Various magic things.
exit
(
$x
);
empty
(
$x
);
isset
(
$x
);
echo
$x
;
print
(
$x
);
exit
(
$x
);
include
$x
;
include_once
$x
;
require
$x
;
require_once
$x
;
Event Timeline
Log In to Comment