Skip to content

Commit 27b366c

Browse files
royopapetk
authored andcommitted
Test function quotemeta() - using an empty string is given as str.
Rodrigo Prado de Jesus <royopa [at] gmail [dot] com> User Group: PHPSP #PHPTestFestBrasil Test function quotemeta() - using an empty string is given as str. This test coverage line 2722 from file /ext/standard/string.c and is not a ZPP test. http://gcov.php.net/PHP_HEAD/lcov_html/ext/standard/string.c.gcov.php#L2722
1 parent eadfdb9 commit 27b366c

File tree

1 file changed

+12
-0
lines changed

1 file changed

+12
-0
lines changed
Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
--TEST--
2+
Test function quotemeta() - using an empty string is given as str.
3+
--CREDITS--
4+
Rodrigo Prado de Jesus <royopa [at] gmail [dot] com>
5+
User Group: PHPSP #PHPTestFestBrasil
6+
--FILE--
7+
<?php
8+
$str = "";
9+
var_dump(quotemeta($str));
10+
?>
11+
--EXPECT--
12+
bool(false)

0 commit comments

Comments
 (0)