1
0
mirror of https://github.com/php/php-src.git synced 2026-03-27 09:42:22 +01:00
Commit Graph

33 Commits

Author SHA1 Message Date
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