xref: /php-src/ext/pcre/tests/bug78853.phpt (revision e1da72bd)
1--TEST--
2Bug #78853 (preg_match() may return integer > 1)
3--FILE--
4<?php
5var_dump(preg_match('/^|\d{1,2}$/', "7"));
6?>
7--EXPECT--
8int(1)
9