https://bugs.php.net/bug.php?id=62007 --- tests/cairo_version_string.phpt.orig 2008-03-28 17:20:12.000000000 -0500 +++ tests/cairo_version_string.phpt 2012-05-11 14:15:15.000000000 -0500 @@ -9,5 +9,5 @@ --FILE-- <?php -echo preg_match('|\d\.\d\.\d|', cairo_version_string()) ? "OK" : "ERROR"; +echo preg_match('|^\d+(\.\d+)+$|', cairo_version_string()) ? "OK" : "ERROR"; ?> --EXPECT--