This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Here's some services providing placeholder images. | |
Serious: | |
placeimg.com | |
lorempixel.com | |
placehold.it | |
fakeimg.pl | |
dummyimage.com | |
loremflickr.com | |
placeguitar.com |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* | |
$ pear upgrade phpdoc/phpDocumentor-alpha | |
Nothing to upgrade | |
*/ | |
/* | |
$ phpdoc --version | |
phpDocumentor version 2.0.0a12 | |
*/ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// See http://stackoverflow.com/a/415942 | |
function is_animated_image($filename) { | |
if (!($fh = @fopen($filename, 'rb'))) { | |
return false; | |
} | |
$count = 0; | |
// an animated gif contains multiple "frames", with each frame having a | |
// header made up of: | |
// * a static 4-byte sequence (\x00\x21\xF9\x04) |