andy wharmby
1cfc27bb8c
New basic string tests - includes back-porting a few existing tests back to 5.2. All tested on Windows, Linux and Linux 64
2009-08-17 10:37:30 +00:00
Dmitry Stogov
85560842c2
Fixed crash in usort() and uasort() in case user comparison function modifyes th
...
e array.
2009-08-14 06:20:21 +00:00
Rasmus Lerdorf
5ca166b1d2
FIx test after Stas' explode() fix
2009-08-14 01:42:11 +00:00
Felipe Pena
a8604e2c20
- Fix ZTS build
2009-08-13 20:10:18 +00:00
Stanislav Malyshev
e52517d610
standardise and clean up string functions parameter parsing
2009-08-13 06:44:50 +00:00
Scott MacVicar
ce24f04694
Fix build on platforms where crypt isn't always available
2009-08-12 09:18:41 +00:00
Stanislav Malyshev
b73ac1a57a
fix potential memory issue on serialization
...
# When internal class uses zend_mangle_property_name it's malloc()
# so it should be freed with free()
2009-08-11 22:46:07 +00:00
Scott MacVicar
050653466f
Merge chanes from head to improve DNS on OSX and allow usage of bind9 stuff with the bind8 compatibility layer.
2009-08-11 22:07:35 +00:00
Rasmus Lerdorf
5f962f0e38
Oops, didn't mean to remove the -0 here
2009-08-10 23:18:07 +00:00
Pierre Joye
80696a6f77
- fix and improve dns' AAAA support on windows
2009-08-10 08:05:11 +00:00
Rasmus Lerdorf
4a607c147d
Tweak a few tests that failed on OSX
2009-08-10 06:53:49 +00:00
Rasmus Lerdorf
ecb9a94472
The system error here may not be "Filename too long". On OSX, for example,
...
it is "Invalid ioctl" in this case.
2009-08-09 14:20:54 +00:00
Rasmus Lerdorf
d02332b43f
Skip this test on osx because ceil(-0.5) doesn't return -0 like
...
everywhere else because of weird optimizations.
2009-08-09 05:16:17 +00:00
Rasmus Lerdorf
53349c7769
Doing a strnatcasecmp(chr(128),chr(255)) is completely non-sensical.
...
Logically one might think that chr(128) would collate before chr(255) except
this is a case-insensitive comparison and internally we toupper() both args.
toupper(chr(128)) is 128. There is no upper-case equivalent of this char.
toupper(chr(255)) is 120 so chr(255) collates before chr(128) in this
case-insensitive comparison. And these are rather bogus characters to feed
to a natsort test anyway.
2009-08-08 14:48:47 +00:00
Rasmus Lerdorf
124a0a5a69
Restore intra-string whitespace collapsing broken in the previous change.
2009-08-08 14:39:34 +00:00
Pierre Joye
4668ca80b5
- [DOC] Fixed #49183 patch for VC6, NAPTR is only available in VC9+ build
2009-08-08 13:01:13 +00:00
Rasmus Lerdorf
2ee8b65e4e
Oops, true/false are not defined on Linux. They are on OSX.
2009-08-07 17:32:31 +00:00
Rasmus Lerdorf
934a9037c8
Only skip leading 0's - fixes a test I broke a while ago
2009-08-07 17:14:19 +00:00
Pierre Joye
35ad8e6c46
- Fixed #49183 , dns_get_record does not return NAPTR records
2009-08-07 13:31:09 +00:00
Jani Taskinen
46a94ebaa6
- Fix test
2009-08-06 13:54:21 +00:00
Rasmus Lerdorf
6704038c73
More eol crap
2009-08-06 13:31:03 +00:00
Rasmus Lerdorf
97b1247f2f
Fix more tests messed up by svn
2009-08-06 13:26:43 +00:00
Scott MacVicar
c54f6df978
Fix bug #48575 - Use dlopen() just like all the other *nixes instead of OSX specific code.
2009-08-06 01:33:54 +00:00
Scott MacVicar
af5df4c813
Change dns.h to php_dns.h, part of my dns cleanup
2009-08-05 23:20:17 +00:00
andy wharmby
8275f0d254
Basic test for is_resource() and isset() functions. tested on Windows, Linux and Linux 64
2009-08-05 16:10:46 +00:00
andy wharmby
e0b0c49ae3
Add new use-case to parse_str() test. Tested on Windows, Linux and Linux 64
2009-08-05 08:54:27 +00:00
andy wharmby
3eaa521ed9
Fix tests
2009-08-04 23:16:25 +00:00
Jani Taskinen
b053fb5af6
- Add test (yes, it fails still :)
2009-08-04 12:16:40 +00:00
Antony Dovgal
bb8d9fa656
cosmetic fix
2009-08-04 09:27:15 +00:00
Antony Dovgal
307a2259e9
fix memleak and possible segfault in HTTP fopen wrapper
2009-08-04 09:24:48 +00:00
Jani Taskinen
d03720480f
- Fixed bug #48768 (parse_ini_*() crash with INI_SCANNER_RAW)
2009-08-04 02:56:26 +00:00
Jani Taskinen
a845f681bb
- Fix title
2009-08-04 02:55:24 +00:00
Jani Taskinen
1c2b8b6abb
- cosmetics
2009-08-04 02:34:32 +00:00
Jani Taskinen
ea98d7a72e
- Fixed bug #49056 (parse_ini_file() regression in 5.3.0 when using non-ASCII strings as option keys)
2009-08-04 02:34:04 +00:00
andy wharmby
4d8d8d73db
New basic tests for get_defined_constants(), get_loaded_extensions() and get_resource_type() functions. Tested on Windows, Linux and Linux 64 bit
2009-08-03 23:12:43 +00:00
Felipe Pena
6bebbf1086
- Fixed bug #49095 (proc_get_status['exitcode'] fails on win32)
2009-08-03 19:05:56 +00:00
Felipe Pena
d744463d33
- CS
2009-08-03 15:58:18 +00:00
Felipe Pena
80ec45861a
- Improved. No ugly copy. (Tony)
2009-08-03 13:26:15 +00:00
Felipe Pena
1648ab5750
- Re-fix stream_is_local() memory leaks
2009-08-03 13:16:24 +00:00
Jani Taskinen
96498c468c
- These tests fail if mbstring is enabled, not because of bad libc..
2009-08-03 10:23:23 +00:00
Antony Dovgal
24086c42b6
revert bogus memleak fix causing Valgrind to scream
2009-08-03 08:45:28 +00:00
Felipe Pena
8ad9bd1930
- Fixed tests
2009-08-01 15:46:50 +00:00
Jani Taskinen
be6338014a
- Fixed bug #43510 (stream_get_meta_data() does not return same mode as used in fopen)
2009-08-01 03:17:31 +00:00
Felipe Pena
f8ee7db001
- Fixed bug #49108 (2nd scan_dir produces seg fault)
2009-07-30 12:06:40 +00:00
Felipe Pena
99013d8321
- Fixed memleak in stream_is_local()
2009-07-29 19:09:17 +00:00
Ilia Alshanetsky
06a2acc527
Fixed bug #45141 (setcookie will output expires years of >4 digits).
2009-07-29 13:44:16 +00:00
Jani Taskinen
48a514673a
- Skip some tests in 32bit systems, add cleanups where missing
2009-07-28 19:16:02 +00:00
Jani Taskinen
2539da79ba
- HEAD and PHP_5_2 have it like this, PHP_5_3 should not be different!
2009-07-27 09:23:06 +00:00
Kalle Sommer Nielsen
82cfb15677
Fixed bug #48872 (string.c: errors: duplicate case values) (Only in PHP_5_3)
2009-07-27 07:14:40 +00:00
Jani Taskinen
e2d044db40
- Regenerated
2009-07-26 23:22:27 +00:00