Nikita Popov
08069165aa
Deprecate ctype_*() on non-string arguments
...
Non-string arguments will be interpreted as strings in the future.
Warn about the upcoming behavior change.
Part of https://wiki.php.net/rfc/deprecations_php_8_1 .
2021-07-09 12:00:35 +02:00
Nikita Popov
d60e3a2957
Remove ctype tests for oct/dec int literals
...
The way the integer literal is written in PHP is wholly irrelevant
to the ctype implementation. The actual behavior of different
integers is tested elsewhere already.
2021-07-09 11:02:12 +02:00
Max Semenik
56f90492d6
Migrate skip checks to --EXTENSIONS--, p1
...
For rationale, see https://github.com/php/php-src/pull/6787
Extensions migrated in this part:
* bcmath
* bz2
* calendar
* com_dotnet
* ctype
Closes GH-6797.
2021-03-22 17:51:02 +01:00
Máté Kocsis
b5c7a83dca
Remove unnecessary PHPDoc-alike blocks from tests
...
Closes GH-5759
2020-06-24 13:13:44 +02:00
Nikita Popov
f8d795820e
Reindent phpt files
2020-02-03 22:52:20 +01:00
Máté Kocsis
8b36be268d
Fix indentation and whitespaces in tests
...
In preparation for GH-5074
2020-01-31 17:47:14 +01:00
Fabien Villepinte
a555cc0b3d
Clean DONE tags from tests
...
Remove most of the `===DONE===` tags and its variations.
Keep `===DONE===` if the test output otherwise becomes empty.
Closes GH-4872.
2019-11-07 21:31:47 +01:00
Nikita Popov
b26df0e395
Remove tests for zpp failure conditions
...
These tests only check zpp error conditions, so drop them per
zpp testing policy.
2019-03-05 10:22:23 +01:00
Peter Kokot
d7a3edd45d
Trim trailing whitespace in *.phpt
2018-10-14 19:46:15 +02:00
Gabriel Caruso
9c144e0d82
Trim trailing whitespace in tests
2018-10-14 12:07:20 -03:00
Gabriel Caruso
ded3d984c6
Use EXPECT instead of EXPECTF when possible
...
EXPECTF logic in run-tests.php is considerable, so let's avoid it.
2018-02-20 21:53:48 +01:00
Antony Dovgal
80e391190a
add missing SKIPIF sections
2008-07-13 21:34:15 +00:00
Josie Messa
f5cd721058
- new tests for ctype functions
2008-03-17 09:52:02 +00:00
Antony Dovgal
c92ae847c7
add missing skipif conditions
...
fix existing ones
2005-12-21 11:42:06 +00:00
Ilia Alshanetsky
9daaedc125
Fixed bug #34645 (ctype corrupts memory when validating large numbers).
2005-09-26 15:14:19 +00:00
Marcus Boerger
29cfd6d24f
- Remove unused blocks
2004-05-19 08:56:50 +00:00
Moriyoshi Koizumi
7e9a54990c
Add regression test for bug #25745
2003-10-03 16:59:44 +00:00
Melvyn Sopacua
d49b576243
Fix platform dependencies, setlocale output, bug #19836
2002-10-10 15:27:11 +00:00
Preston L. Bannister
e3ae02255b
Restrict ctype tests to POSIX portable characters (0..127) and add numeric character tests.
2002-05-16 21:55:26 +00:00
foobar
8d8903b8d3
Use of deprecated stuff and having error_reporting(E_ALL) made the tests fail.
2001-10-22 02:53:08 +00:00
Hartmut Holzgraefe
560a4c1105
@ ctype functions now follow the extension naming conventions (Hartmut)
...
# removed unneccesary code generated by ext_skel
2000-12-19 11:50:30 +00:00
Hartmut Holzgraefe
9d468a33c4
an experimental extension providing the C ctype function family
2000-11-22 01:00:44 +00:00