diff options
author | Remi Collet <fedora@famillecollet.com> | 2015-04-04 07:53:24 +0200 |
---|---|---|
committer | Remi Collet <fedora@famillecollet.com> | 2015-04-04 07:53:24 +0200 |
commit | 0ee1fcea5fffcea97d84a26630a83e256c209096 (patch) | |
tree | d6e4c3f01acfdbbf41cec63e2f92c92bd3c20587 /uuid-ereg.patch | |
parent | 550527031eabea15edda7d42e2587e8ae1955213 (diff) |
php-pecl-uuid: 1.0.4RC1
Diffstat (limited to 'uuid-ereg.patch')
-rw-r--r-- | uuid-ereg.patch | 11 |
1 files changed, 0 insertions, 11 deletions
diff --git a/uuid-ereg.patch b/uuid-ereg.patch deleted file mode 100644 index b061158..0000000 --- a/uuid-ereg.patch +++ /dev/null @@ -1,11 +0,0 @@ ---- pecl/uuid/trunk/tests/uuid_create.phpt 2012/11/06 05:35:52 328254 -+++ pecl/uuid/trunk/tests/uuid_create.phpt 2012/11/06 08:38:46 328255 -@@ -10,7 +10,7 @@ - <?php - // check basic format of generated UUIDs - $uuid = uuid_create(); -- if (ereg("[[:xdigit:]]{8}-[[:xdigit:]]{4}-[[:xdigit:]]{4}-[[:xdigit:]]{4}-[[:xdigit:]]{12}", $uuid)) { -+ if (preg_match("/[[:xdigit:]]{8}-[[:xdigit:]]{4}-[[:xdigit:]]{4}-[[:xdigit:]]{4}-[[:xdigit:]]{12}/", $uuid)) { - echo "basic format ok\n"; - } else { - echo "basic UUID format check failed, generated UUID was $uuid\n"; |