Sign in
apache
/
netbeans
/
c9ae5f89a8f92e7ca33367c3f2d49de62080ff6c
/
.
/
php
/
php.editor
/
test
/
unit
/
data
/
testfiles
/
gotodeclaration
/
testAnonymousClass05
/
testAnonymousClass05.php
blob: 6bc91ff05d4f4bcf3de7a0eca08dcf93de7d229b [
file
]
<?
php
function
foo
()
{
}
$int
=
10
;
$anon
=
new
class
(
$int
,
foo
())
{
private
$prop1
;
private
$prop2
;
public
function
__construct
(
int
$number
,
$mixed
)
{
$this
->
prop1
=
$number
;
$this
->
prop2
=
$mixed
;
}
};