facebook/hhvm — pull request #3929 by bauerj (2014-10-08 14:39:31+00:00)
Title: Fix test/slow/ext_gd/imageweb.php

@rrh made me aware that the test was not passing any more with a more recent version of libvpx.
This commit corrects the test and should be robust enough for any future update.

Instead of just printing the header and the file size, it now checks if the header is valid and the specified length matches the real length of the file.

Fixes #3927