Nikita Popov
c5401854fc
Run tidy
...
This should fix most of the remaining issues with tabs and spaces
being mixed in tests.
2020-09-18 14:28:32 +02:00
Máté Kocsis
6082fd33a7
Add missing param type to pcre reflection test
2020-09-15 12:47:07 +02:00
Máté Kocsis
d30cd7d7e7
Review the usage of apostrophes in error messages
...
Closes GH-5590
2020-07-10 21:05:28 +02:00
George Peter Banyard
af1de14802
Use ZPP string|array union check in PCRE extension
2020-07-09 14:17:19 +02:00
Christoph M. Becker
dad377ba57
Fix test wrt. commit 1a2732f9a8
2020-06-22 18:55:16 +02:00
Máté Kocsis
3709e74b5e
Store default parameter values of internal functions in arg info
...
Closes GH-5353. From now on, PHP will have reflection information
about default values of parameters of internal functions.
Co-authored-by: Nikita Popov <nikita.ppv@gmail.com >
2020-04-08 18:37:51 +02:00
Máté Kocsis
21cfa03f17
Generate function entries for another batch of extensions
...
Closes GH-5352
2020-04-05 21:15:30 +02:00
Nicolas Oelgart
aa79a22d32
Add preg_last_error_msg() function
...
Provides the last PCRE error as a human-readable message, similar
to functionality existing in other extensions, such as
json_last_error_msg().
Closes GH-5185.
2020-02-25 10:26:03 +01:00
Christoph M. Becker
7d0102dfa7
Revert "Replace @param annotations with type declarations"
...
This reverts commit c31029f335 .
2020-02-17 08:55:18 +01:00
Christoph M. Becker
c31029f335
Replace @param annotations with type declarations
2020-02-16 23:43:38 +01:00
Máté Kocsis
27e83d0fb8
Add union return types for function stubs
2019-11-11 14:54:55 +01:00
Nikita Popov
8d7911ef56
Standardize type printing in reflection
...
Use ?T instead of "T or NULL".
2019-09-23 15:40:03 +02:00
Stephen Reay
66b750d07e
Add stubs for PCRE extension
...
Closes GH-4501.
2019-08-11 12:46:42 +02:00
Nikita Popov
b32b8e91bd
Update cli reflection test
2019-05-29 17:02:36 +02:00
Gabriel Caruso
fef879a2d6
Use bool instead of boolean while throwing a type error
...
PHP requires boolean typehints to be written "bool" and disallows
"boolean" as an alias. This changes the error messages to match
the actual type name and avoids confusing messages like "must be
of type boolean, boolean given".
This a followup to ce1d69a1f6 , which
implements the same change for integer->int.
2018-02-04 23:09:40 +01:00
Gabriel Caruso
ce1d69a1f6
Use int instead of integer in type errors
...
PHP requires integer typehints to be written "int" and does not
allow "integer" as an alias. This changes type error messages to
match the actual type name and avoids confusing messages like
"must be of the type integer, integer given".
2018-02-04 19:08:23 +01:00
Gabriel Caruso
84488d921b
Remove superfluous SKIPIF sections in more tests
2018-02-04 16:57:08 +01:00
Xinchen Hui
266f19babb
Added PCRE_JIT_SUPPORT flag
2017-11-14 11:02:16 +08:00
Anatol Belski
a5bc5aed71
Patch core for PCRE2 support
...
RFC https://wiki.php.net/rfc/pcre2-migration
2017-11-13 19:37:38 +01:00
Remi Collet
37a16a32c9
missing fix for another test
2017-05-29 12:07:13 +02:00
Anatol Belski
8155ecba61
Fixed bug #70863 Incorect logic to increment_function for proxy objects
2015-11-06 23:07:16 +01:00
Christoph M. Becker
6de470e0af
fixed broken test
2015-07-26 23:40:48 +02:00
Anatol Belski
fc28ae2786
fix test
2015-03-23 22:21:30 +01:00
Xinchen Hui
8aa76a5bdd
Fixed test
2015-03-21 17:50:50 +08:00
Wei Dai
25566c67fe
Implement preg_replace_callback_array function
2015-03-13 11:52:36 +08:00
Dmitry Stogov
d0ed1212a4
Enable PCRE JIT compiler
2014-04-25 08:33:37 +04:00
Anatoliy Belsky
3d82f16c7d
Fixed test sapi/cli/tests/006.phpt
...
Third param in preg_match_all() is optional for a while )
2012-11-14 16:20:59 +01:00
Olivier DOUCET
e613889d50
more verbose skip reason in test files with not so obvious extension requirements
2012-02-25 12:10:41 +00:00
Ilia Alshanetsky
9e76501f1e
Fixed test
2009-09-13 13:14:11 +00:00
Arnaud Le Blanc
6540730732
MFH: Fix skipif
2009-05-20 10:08:32 +00:00
Marcus Boerger
3dadcee60b
- MFH Fix test
2008-08-30 11:32:29 +00:00
Antony Dovgal
6b68a94242
fix test
2008-06-06 07:45:51 +00:00
Felipe Pena
8acaf4118c
Fix test (new constant was added in PREG)
2008-03-08 23:06:42 +00:00
Antony Dovgal
01fa5a782b
MFH
2008-02-28 09:18:13 +00:00
Antony Dovgal
9a16d91117
fix test
...
Derick, you're adding new methods too fast =)
2008-01-29 12:23:48 +00:00
Hannes Magnusson
bb9fa509fe
Fix test
2008-01-27 19:10:41 +00:00
Ilia Alshanetsky
f94d19ffea
Fixed test
2008-01-13 17:23:14 +00:00
Antony Dovgal
996e245143
fix test
2007-12-15 12:46:22 +00:00
Antony Dovgal
568525bbb5
fix test (second try)
2007-05-30 14:43:18 +00:00
Antony Dovgal
2958037b2a
fix test
2007-05-30 14:40:24 +00:00
Antony Dovgal
b529617499
fix tests
2007-05-30 10:19:39 +00:00
Antony Dovgal
61a3b763d8
fix tests
2007-04-13 12:29:32 +00:00
Antony Dovgal
722287a538
fix tests
2007-03-17 19:16:17 +00:00
Antony Dovgal
1b002cf39f
use getenv()
2007-01-20 22:12:55 +00:00
Antony Dovgal
459564e2d2
fix tests
2006-12-04 17:48:52 +00:00
Antony Dovgal
158ad3ee2f
add tests for CLI
2006-11-24 13:33:38 +00:00