php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Return to Bug #62007
Patch cairo_version_string.phpt.diff revision 2012-05-11 19:29 UTC by php-bugs-2012 at ryandesign dot com

Patch cairo_version_string.phpt.diff for cairo_wrapper Bug #62007

Patch version 2012-05-11 19:29 UTC

Return to Bug #62007 | Download this patch
Patch Revisions:

Developer: php-bugs-2012@ryandesign.com

--- 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--
 
PHP Copyright © 2001-2019 The PHP Group
All rights reserved.
Last updated: Wed Oct 23 03:01:29 2019 UTC