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
Updating submodules
[hiphop-php.git]
/
hphp
/
test
/
slow
/
operation_types
/
1434.php
blob
6a5a5fa415319e5c0e29a46d0a3e049d72cddbd6
1
<
?hh
2
3
function
foo
() {
4
return
'1'
;
5
}
6
function
bar
() {
7
$a
=
1
;
8
$a
+
=
HH\Lib\Legacy_FIXME\
cast_for_arithmetic
(
foo
());
9
var_dump
(
$a
);
10
$b
=
1
;
11
$b
-=
HH\Lib\Legacy_FIXME\
cast_for_arithmetic
(
foo
());
12
var_dump
(
$b
);
13
}
14
15
<<
__EntryPoint
>>
16
function
main_1434
() {
17
bar
();
18
}