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
add bitset operations and tests
[hiphop-php.git]
/
hphp
/
test
/
slow
/
pinit
/
pinit-recurse.php
blob
89724d05de1a84439ec0034fbe16edc445fa4450
1
<
?php
2
3
function
__autoload
(
$cls
) {
4
echo
"__autoloading
$cls\n
"
;
5
if
(
$cls
===
'Y'
) {
6
var_dump
(
new
X
);
7
}
8
}
9
10
class
X
{
11
public
$p
=
Y
::
FOO
;
12
}
13
14
function
test
() {
15
for
(
$i
=
0
;
$i
<
3
;
$i
++
) {
16
try
{
17
var_dump
(
new
X
);
18
}
catch
(
Exception
$e
) {
19
}
20
}
21
}
22
23
test
();