Andi Gutmans
e4765438b8
- Optimize slightly for common case - n!=4
2009-08-09 04:46:02 +00:00
Andi Gutmans
300119a492
- Fix small typo
2009-08-09 03:39:15 +00:00
Rasmus Lerdorf
2be0578481
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
cb734537f4
Restore intra-string whitespace collapsing broken in the previous change.
2009-08-08 14:39:34 +00:00
Pierre Joye
08dfcbc864
- [DOC] Fixed #49183 patch for VC6, NAPTR is only available in VC9+ build
2009-08-08 13:01:13 +00:00
Rasmus Lerdorf
238a8a2ebd
Oops, true/false are not defined on Linux. They are on OSX.
2009-08-07 17:32:31 +00:00
Rasmus Lerdorf
88849ce511
Only skip leading 0's - fixes a test I broke a while ago
2009-08-07 17:14:19 +00:00
Jani Taskinen
35349fd6ae
- Generated files
2009-08-07 15:45:56 +00:00
Jani Taskinen
b37f2e6187
- Fixed bug #48719 parse_ini_*(): scanner mode is not checked for sanity)
2009-08-07 15:44:37 +00:00
Jani Taskinen
12297bdb05
- Generated files..
2009-08-07 14:22:49 +00:00
Jani Taskinen
dd7b767d7f
- Fixed bug #48660 (parse_ini_*(): dollar sign as last character of value fails)
2009-08-07 14:21:38 +00:00
Pierre Joye
6625a196ff
- Fixed #49183 , dns_get_record does not return NAPTR records
2009-08-07 13:31:09 +00:00
Jani Taskinen
bf4bead40c
- Fix test
2009-08-06 13:54:21 +00:00
Rasmus Lerdorf
8ed29f8d09
Fix more tests messed up by svn
2009-08-06 13:26:43 +00:00
Rasmus Lerdorf
5d1dc61dfb
Fix test
2009-08-06 13:08:13 +00:00
Ilia Alshanetsky
08dda5a9f3
Make test more generic
2009-08-06 12:23:35 +00:00
Jani Taskinen
fa33079a14
- Fix CS and remove extra strlen() call
2009-08-06 11:11:15 +00:00
Jani Taskinen
33399d96bf
- Restore PHP-5.2 behaviour when passing null inside object scope to get_class()
2009-08-06 11:02:25 +00:00
Rasmus Lerdorf
c9f5c32491
The user argument cannot be NULL here - fixes 2 tests
2009-08-06 10:56:00 +00:00
Scott MacVicar
da8bbc0ad0
Deal with moving to res_nsearch(). dns_search() on OSX lacks an error handler, might revert to using straight bind9.
2009-08-06 04:37:07 +00:00
Scott MacVicar
afcc47ef85
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
118b42f142
Remove usage of res_nmkquery and res_nsend. We essentially were just doing a res_search() anyway, though now we use res_nsearch() with our own state.
...
This also adds support for using the high level <dns.h> API on OSX which in turns allows use of bind9 (finally).
2009-08-06 00:10:46 +00:00
Scott MacVicar
80d7dee7d6
Change dns.h to php_dns.h, part of my dns cleanup
2009-08-05 23:20:17 +00:00
Scott MacVicar
ac4292ff0b
res_search is already checked within ext/standard/config.m4
...
also check for arpa/nameser_compat.h, OSX puts some old defines in there (not used yet)
2009-08-05 20:01:33 +00:00
andy wharmby
f2c4140cfe
Basic test for is_resource() and isset() functions. tested on Windows, Linux and Linux 64
2009-08-05 16:10:46 +00:00
Greg Beaver
36eb82e6ae
use x.y.z version number, use a #define for version number
2009-08-05 15:58:50 +00:00
andy wharmby
1b4a8d1c62
Add new use-case to parse_str() test. Tested on Windows, Linux and Linux 64
2009-08-05 08:54:27 +00:00
Kalle Sommer Nielsen
70e338e285
Fix compiler warnings in ext/date
2009-08-04 21:11:35 +00:00
Jani Taskinen
90f148ab99
Merge from PHP_5_3
2009-08-04 14:51:29 +00:00
Ilia Alshanetsky
116abdde65
Added missing handling for ICO support
2009-08-04 14:34:44 +00:00
Jani Taskinen
8ecec408f8
- Add test (yes, it fails still :)
2009-08-04 12:16:40 +00:00
Jani Taskinen
106f29f805
- Fixed bug #48608 (Invalid libreadline version not detected during configure)
2009-08-04 11:20:49 +00:00
Kalle Sommer Nielsen
68bdcd2b59
Revert and correct previous fix, this does not loose precision and convert back to int
2009-08-04 11:19:07 +00:00
Antony Dovgal
79e440aad1
fix test
2009-08-04 10:22:18 +00:00
Antony Dovgal
6b8f06b921
cosmetic fix
2009-08-04 09:27:15 +00:00
Antony Dovgal
9618b85b65
fix memleak and possible segfault in HTTP fopen wrapper
2009-08-04 09:24:48 +00:00
Jani Taskinen
95ae7a0366
- Generated files
2009-08-04 02:58:29 +00:00
Jani Taskinen
f487836c1a
- Fixed bug #48768 (parse_ini_*() crash with INI_SCANNER_RAW)
2009-08-04 02:56:26 +00:00
Jani Taskinen
c3cd6d45c9
- Fix title
2009-08-04 02:55:24 +00:00
Jani Taskinen
633e5d4a05
-fix test
2009-08-04 02:54:10 +00:00
Jani Taskinen
32b6cd0a22
- Generated files
2009-08-04 02:35:38 +00:00
Jani Taskinen
cdf04b13a9
- 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
Jani Taskinen
3ce6066df8
- fix test
2009-08-04 02:24:47 +00:00
Jani Taskinen
ef19ca2e51
- Fix test
2009-08-04 02:17:33 +00:00
andy wharmby
f868c5d10b
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
andy wharmby
cccb4e446e
Add missing SKIPIF sections to tests
2009-08-03 22:40:58 +00:00
Felipe Pena
f44f3a31cd
- Fixed bug #49095 (proc_get_status['exitcode'] fails on win32)
2009-08-03 19:05:56 +00:00
Jani Taskinen
3df44e26b1
- Cleanup
2009-08-03 18:09:19 +00:00
Jani Taskinen
bad4f893f7
- Fix output compression
2009-08-03 18:08:46 +00:00
Felipe Pena
69dc1f80fd
- CS
2009-08-03 15:58:18 +00:00