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
import zend standard tests
[hiphop-php.git]
/
hphp
/
test
/
zend
/
good
/
ext-standard-strings
/
bin2hex.php
blob
216c84dd93df40672f948c5d3729536788842103
1
<
?php
2
$s
=
''
;
3
for
(
$i
=
0
;
$i
<
256
;
$i
++
) {
4
$s
.=
chr
(
$i
);
5
}
6
echo
bin2hex
(
$s
).
"
\n
"
;
7
echo
bin2hex
(
"abc"
).
"
\n
"
;
8
?
>