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
/
bad
/
ext-standard-image
/
getimagesizefromstring1.php
blob
6e06bfa710dc0a1182d930b371049adb565be533
1
<
?PHP
2
$img
=
__DIR__
.
'/test.gif'
;
3
4
$i1
=
getimagesize
(
$img
);
5
6
$data
=
file_get_contents
(
$img
);
7
8
$i2
=
getimagesizefromstring
(
$data
);
9
10
var_dump
(
$i1
);
11
var_dump
(
$i2
);
12
?
>