diff options
author | marcosptf <marcosptf@yahoo.com.br> | 2014-10-24 15:08:27 -0200 |
---|---|---|
committer | Stanislav Malyshev <stas@php.net> | 2014-11-23 17:19:47 -0800 |
commit | 2917c702523910ace15a78f9646bd95700239528 (patch) | |
tree | def99a11544f2fd21e3c4362c928913b69bc6b09 /tests | |
parent | 926bd6cc7a18e1d3b34607e9100ed107d0c80f09 (diff) | |
download | php-git-2917c702523910ace15a78f9646bd95700239528.tar.gz |
test
Diffstat (limited to 'tests')
-rw-r--r-- | tests/func/012.phpt | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/tests/func/012.phpt b/tests/func/012.phpt new file mode 100644 index 0000000000..3b0d8ea7b3 --- /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['\.'] |