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
Remove windows encoding from `.php` files
[hiphop-php.git]
/
hphp
/
test
/
zend
/
good
/
tests
/
lang
/
operators
/
bitwiseNot_variationStr.php
blob
72b17bc98cfb1f722858c6467dcdd484cc19899e
1
<
?php
2
3
$strVals
=
array
(
4
"0"
,
"65"
,
"-44"
,
"1.2"
,
"-7.7"
,
"abc"
,
"123abc"
,
"123e5"
,
"123e5xyz"
,
" 123abc"
,
"123 abc"
,
"123abc "
,
"3.4a"
,
5
"a5.9"
6
);
7
8
9
foreach
(
$strVals
as
$strVal
) {
10
echo
"--- testing: '
$strVal
' ---
\n
"
;
11
var_dump
(
bin2hex
(
~
$strVal
));
12
}
13
14
?
>
15
===
DONE
===