repo.or.cz
/
hiphop-php.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
global statement removal: hphp/test [7/x]
[hiphop-php.git]
/
hphp
/
test
/
quick
/
property_exists.php
blob
3f1b20d9fb35e4a35ac1a77f0aceab2d1bad80a2
1
<
?hh
2
3
class
Club
{
4
protected
$app_id
=
0
;
5
}
6
7
class
Glub
extends
Club
{
8
public function
go
() {
9
var_dump
(
property_exists
(
$this
,
'app_id'
));
10
}
11
}
12
13
$g
=
new
Glub
();
14
$g
->
go
();
15
var_dump
(
property_exists
(
$g
,
'app_id'
));