com php-src: test: tests/func/012.phpt
| From: | Stanislav Malyshev | Date: | Mon, 24 Nov 2014 01:19:47 +0000 |
| Subject: | com php-src: test: tests/func/012.phpt | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-83290@lists.php.net to get a copy of this message | ||
Commit: 2917c702523910ace15a78f9646bd95700239528
Author: marcosptf <marcosptf@yahoo.com.br> Fri, 24 Oct 2014 15:08:27 -0200
Committer: Stanislav Malyshev <stas@php.net> Sun, 23 Nov 2014 17:19:47 -0800
Parents: 926bd6cc7a18e1d3b34607e9100ed107d0c80f09
Branches: PHP-5.6 master
Link: http://git.php.net/?p=php-src.git;a=commitdiff;h=2917c702523910ace15a78f9646bd95700239528
Log:
test
Changed paths:
A tests/func/012.phpt
Diff:
diff --git a/tests/func/012.phpt b/tests/func/012.phpt
new file mode 100644
index 0000000..3b0d8ea
--- /dev/null
+++ b/tests/func/012.phpt
@@ -0,0 +1,12 @@
+--TEST--
+addcslashes(); function test
+--CREDITS--
+ marcosptf - <marcosptf@yahoo.com.br>
+#phptestfest PHPSP on Google - Sao Paulo - Brazil - 2014-06-05
+--FILE--
+<?php
+echo addcslashes("zoo['.']","z..A");
+?>
+--EXPECTF--
+Warning: addcslashes(): Invalid '..'-range, '..'-range needs to be incrementing
in %s on line %d
+\zoo['\.']