Pierre Joye
e7277df42c
- MFB: api shake up and bug fixes (Ilia,Pierre)
...
all non unicode tests pass
2006-10-04 11:56:15 +00:00
Pierre Joye
6284e39e0e
- MFB
2006-10-03 23:33:23 +00:00
Ilia Alshanetsky
464c1ae4fe
MFB: fix test
2006-09-21 23:07:10 +00:00
Antony Dovgal
8bc414ee8e
fix test
2006-09-19 11:29:50 +00:00
Ilia Alshanetsky
0fff2d8d45
MFB: Make float filter handle things like 02.324 properly
2006-09-14 17:48:11 +00:00
Antony Dovgal
ba01adbd0e
fix test
2006-09-14 15:00:52 +00:00
Pierre Joye
e0297b480f
- implement FILTER_FLAG_ARRAY/SCALAR in input_get
...
- update changelog
- update tests
2006-08-31 22:32:54 +00:00
Antony Dovgal
e166a67ebd
new test
2006-08-31 22:15:47 +00:00
Pierre Joye
7643192ca5
- pecl bug #8316 ,
...
empty strings are not int or float, return false (due to popular demand)
2006-08-31 18:28:39 +00:00
Pierre Joye
d10b686b6e
- add a test for input_get and array
...
This test fails now. When the input variable is an array, its contents
is replace by the filter result. To be fixed asap (before 5.2.0)
2006-08-31 16:13:39 +00:00
Pierre Joye
1fea711ac4
- MFB:
...
- clean the auto trim (behaves like php_trim now)
- simplifies bool
- fix octal parsing
i- boost int/hex/octal validate_int
2006-08-31 16:12:33 +00:00
Pierre Joye
2725e485ba
- MFH: #8315 , float is affected too
2006-07-29 12:46:16 +00:00
Pierre Joye
cadd5e2ee9
- MFH: #8315 , NULL character stops the validation
2006-07-29 01:27:47 +00:00
Pierre Joye
0b0a4d02ca
- fix test
2006-07-26 23:24:11 +00:00
Pierre Joye
0cbcafa64d
MFB:
...
- API Shake up #1 , change input_get_args argument order
- silent compiler warnings
- update tests
2006-07-22 09:51:50 +00:00
Pierre Joye
70a89d9605
- MFB:
...
- make boolean logical filter works like int/float and php itself
- add more tests for boolean input
2006-07-20 13:03:02 +00:00
Antony Dovgal
d37337c6df
fix tests
2006-07-19 08:25:45 +00:00
Pierre Joye
c095489df3
- #7733 , values using E/e returns wrong result
2006-05-28 01:12:55 +00:00
Pierre Joye
e8f043b449
-#7715, fix float validation when using '.23' or '123'
...
have worked before using my version, bug introduced in later commits.
2006-05-25 13:27:51 +00:00
Pierre Joye
f4890ace58
- remove 033.php
2006-05-25 11:13:42 +00:00
Pierre Joye
c0e8d54844
- move 033.php to 033_run.php, 033.php cannot be run
2006-05-25 11:13:23 +00:00
Rasmus Lerdorf
3562f88b7e
Fix expected output
2006-05-25 09:12:11 +00:00
Rasmus Lerdorf
804a44e7bc
Big filter test - note that a number of these currently fail
2006-05-25 08:06:34 +00:00
Pierre Joye
8e95777e47
- NULL is returned when a variable is not false, FALSE when the validation
...
failed
- add tests for input_get_args
2006-05-14 13:54:10 +00:00
Pierre Joye
cd4051dce5
- add test for INT
2006-05-14 13:12:57 +00:00
Pierre Joye
3ac4fc8311
- add var_name##_len to FETCH_STRING_OPTION
...
- add tests for float (031)
- fix name for IPv6 test
2006-05-14 01:47:40 +00:00
Pierre Joye
73ed3ce99f
- add IPv6 basic support
...
unicast, multicast or other local loop will come after 0.10.0
test 014 fails:
"Notice: Object of class stdClass to string conversion" is now
"Catchable fatal error: Object of class stdClass could not be converted
to IS_STRING", to verify ...
2006-05-13 02:43:44 +00:00
Pierre Joye
1a0f27a707
- #7586 (pecl), filter is not reseted between element
2006-05-09 11:14:43 +00:00
Derick Rethans
a3349bd3ff
- Use pcre convenience function that also caches.
...
#- Patch by pierre.
2006-04-11 14:41:56 +00:00
Derick Rethans
8a05386f7d
- Implemented PECL req #6641 : negative values for hexadecimal and octal numbers
...
are not supported.
2006-01-31 19:12:29 +00:00
Derick Rethans
e3f84aafc8
- Fixed tests.
2006-01-31 19:09:07 +00:00
Derick Rethans
d96c1d0895
- Fixed PECL bug #6639 : uppercase hexadecimal digits are not supported.
2006-01-31 18:51:49 +00:00
Derick Rethans
c839665f10
- Fixed constant names in tests.
2006-01-21 15:57:43 +00:00
foobar
0c90ddd3a1
fix tests
2005-12-07 11:53:28 +00:00
Antony Dovgal
6cebabed0a
add tests
...
Code covered: 91.3 %
2005-12-06 15:18:56 +00:00
Antony Dovgal
df5f4abe96
fix tests
2005-12-06 10:23:28 +00:00
foobar
f8667e1809
- Add simple test for filter_data() basic filters
2005-11-17 00:48:51 +00:00
Rasmus Lerdorf
06aede5b5d
Filter skeleton code. No actual filters yet.
2005-02-23 22:41:43 +00:00