Felipe Pena
a69b38f7e9
- Removed the undocumented object support in the leftover array functions [DOC]
...
(natcasesort, natsort, array_walk, array_walk_recursive, array_unique, array_key_exists)
- Changed HASH_OF() to Z_ARRVAL_P()
- Fixed bug #45937 (array_walk and array_walk_recursive can alter private/protected object variable)
2008-08-29 02:48:28 +00:00
Christopher Jones
dcfcdbf121
Bug #45888 (Refcounting in ZTS mode)
2008-08-28 06:32:52 +00:00
Christopher Jones
23b226862a
Bug #45458 (OCI8: Numeric keys for associative arrays are not handled properly)
2008-08-28 06:17:53 +00:00
Christopher Jones
b40269c23d
Fix expected output for PHP 6
2008-08-28 06:15:56 +00:00
Christopher Jones
9aa0a6c34e
Test initialization cleanup
2008-08-28 05:35:18 +00:00
Antony Dovgal
f0d93b2a07
fix file check and avoid segfault
2008-08-27 07:40:59 +00:00
Felipe Pena
ea5d69120d
- Fixed check for empty file name
2008-08-27 01:02:58 +00:00
Felipe Pena
4eaaf7be83
- Fixed crash in file_error_core()
2008-08-27 00:16:11 +00:00
Alexey Zakhlestin
cc81177900
MFB: this test depends on session.hash_bits_per_character, but it was not explicitly set
2008-08-26 16:51:18 +00:00
Felipe Pena
2058709940
- Improved fix
2008-08-26 16:19:29 +00:00
Felipe Pena
3ade387884
- Added check for empty file name
2008-08-26 15:03:33 +00:00
Ilia Alshanetsky
caa3217c68
MFB:
...
Upgraded the lib to use PHP memory allocation routines.
Fixed a crash caused by analysis of DEADJOE files
A little bit of CS inside libmagic
2008-08-26 12:24:12 +00:00
Antony Dovgal
a46a628c7d
clean up garbage
2008-08-26 11:05:59 +00:00
Antony Dovgal
cdf442f043
fix typo
2008-08-26 10:59:03 +00:00
Pierre Joye
c96aec4634
- MFB:inline definition (win32)
2008-08-26 06:54:37 +00:00
Rob Richards
76f6fcb56e
fix warning
2008-08-25 21:04:00 +00:00
Felipe Pena
d3ed3e3a36
- New test
2008-08-25 19:38:18 +00:00
Jani Taskinen
c66533a789
- Fix CS, folding tags..etc. PLEASE do not invent your own coding styles. Or commit something as fubar as this..
2008-08-25 19:07:12 +00:00
Etienne Kneuss
b2dd15897a
Fix #45826 (Custom serialization)
2008-08-25 18:38:23 +00:00
Jani Taskinen
49a3de0ace
- Fix win32 build
2008-08-25 14:10:22 +00:00
Felipe Pena
b1e51d0555
- Fixed tests
2008-08-25 13:44:33 +00:00
Jani Taskinen
c20a11231c
- Nuke unncessary checks already done elsewhere (ZEND)
...
- Use the correct type header files if available. (win32 does what it does)
- inline definition is in php_config.h, so include it always.
2008-08-25 13:42:46 +00:00
Jani Taskinen
1736edba99
fix test: no crap left behind
2008-08-25 13:40:33 +00:00
Jani Taskinen
d3b358cf3d
- Nuke duplicate macro call
2008-08-25 12:14:48 +00:00
Felipe Pena
06d26cf2a7
- New parameter parsing API
...
- CS
2008-08-24 20:50:02 +00:00
Marcus Boerger
2b929abc84
- Add new test
2008-08-24 16:46:17 +00:00
Marcus Boerger
cacb2e0303
- Added function preg_filter()
...
[DOC] preg_filter() is basically the same as preg_replace but unlike the
latter it returns matches.
2008-08-24 12:34:02 +00:00
Felipe Pena
be5df04540
- Removed unused variable
2008-08-24 04:18:22 +00:00
Felipe Pena
3ae6c7a978
- MFB: New parameter parsing API
...
- CS (wddx)
2008-08-24 04:02:20 +00:00
Felipe Pena
52a818d769
MFB:
...
- New parameter parsing API
- Fixed crash in xml_parse_into_struct
2008-08-24 02:12:51 +00:00
Felipe Pena
20691f1002
- MFB: New parameter parsing API
...
- WS, Cosmetics
2008-08-24 00:45:20 +00:00
Pierre Joye
7700551e7a
- more fixes for inet_* with vc9/xp
2008-08-23 20:31:27 +00:00
Hannes Magnusson
b6132d16ca
Fix proto
2008-08-23 18:06:43 +00:00
Pierre Joye
662e4b7725
- fix build
2008-08-23 17:08:30 +00:00
Felipe Pena
5872c6b3c8
- MFB: New parameter parsing API
...
- WS, Cosmetics
2008-08-23 16:20:14 +00:00
Arnaud Le Blanc
ceb0e0ee64
Fix build on solaris
2008-08-23 13:57:01 +00:00
Felipe Pena
7de23da81e
- Removed unused arguments
2008-08-22 15:51:50 +00:00
Pierre Joye
adfa214688
- drop bindlib usage on windows
...
- inet_pton, inet_ntop and inet_aton are always available (VC9 uses the CRT implementation, VC6 our own)
2008-08-21 23:37:40 +00:00
Pierre Joye
dcb0cc3d2b
- [DOC] fix test, chr uses codepoint as input
2008-08-21 23:28:21 +00:00
Greg Beaver
a036fadb91
MFB increase code coverage
2008-08-21 20:36:21 +00:00
Pierre Joye
1f0f4b56e7
- use date.timezone ini setting
2008-08-21 18:36:44 +00:00
Pierre Joye
d61c5689c2
- use date.timezone ini setting instead of ENV
2008-08-21 18:33:06 +00:00
Pierre Joye
e80e2e8ef6
- fix test on windows
2008-08-21 18:24:53 +00:00
Marcus Boerger
6b1377b1f5
- Fix 64bit issue
2008-08-21 16:55:31 +00:00
Pierre Joye
e6edc95f50
- different parser message on windows
2008-08-21 13:04:43 +00:00
Pierre Joye
aafdb1a2e3
- "fix" crash on windows
2008-08-21 12:38:34 +00:00
Pierre Joye
73b03d9f8f
- use 'C' (and enable it on windows)
2008-08-21 12:24:24 +00:00
Pierre Joye
6e41f9069f
- don't skip if windows matches
2008-08-21 12:13:31 +00:00
Pierre Joye
26a4e6d61f
- MFB: use "C" instead of "" (and enable it on windows)
2008-08-21 12:06:02 +00:00
Dmitry Stogov
6905205ad1
Adder error code into error message
2008-08-21 11:28:09 +00:00
Pierre Joye
e3a0de9e45
- skip 007 on non windows platform and add a win specific version (file not found instead of filename too long)
2008-08-21 11:01:35 +00:00
Pierre Joye
10f187e7ff
- make it portable and clean on in the clean section, session file may still be open (can't be deleted)
2008-08-21 10:30:34 +00:00
Pierre Joye
4c86d24f5e
- make it portable
2008-08-21 09:43:38 +00:00
Antony Dovgal
d5c8e59d97
revert for now
2008-08-21 08:37:01 +00:00
Pierre Joye
17422e1f32
- +skip
2008-08-21 08:30:28 +00:00
Pierre Joye
0ce0493942
- MFB: skip on windows (setlocale can even crash on win+VC6...)
2008-08-21 08:27:55 +00:00
Pierre Joye
96310b8905
- work around ENV VC6 bug
2008-08-20 22:19:57 +00:00
Lars Strojny
fefef1621f
Allow mixed $initial (patch by Christian Seiler)
2008-08-20 20:35:16 +00:00
Felipe Pena
6bdded7863
- Fixed test
2008-08-20 13:54:13 +00:00
Pierre Joye
4f5715d260
- MFB: strncpy returns the byte copied not error code or 0
2008-08-20 13:31:30 +00:00
Antony Dovgal
1cab2c1e24
fix warning
2008-08-20 09:00:37 +00:00
Antony Dovgal
17eab7f0da
fix memleak in browscap code (noticed by Gopal)
2008-08-19 15:16:23 +00:00
Antony Dovgal
9bb1694aa4
shudown crypt correctly and fix memleak in ZTS mode
2008-08-19 15:14:15 +00:00
Johannes Schlüter
71c14293fc
constify strings
2008-08-19 10:42:00 +00:00
Johannes Schlüter
a11121e8df
Fix empty error message when connecting to a bad server
2008-08-19 10:15:56 +00:00
Felipe Pena
30f7bd1cb6
- MFB: New parameter parsing API
...
- Fixed tests
2008-08-19 02:51:28 +00:00
Pierre Joye
d57790d04d
- MFB: don't use /tmp as tmpdir and avoid endless loop when fopen or tmpnam failed
2008-08-18 21:26:30 +00:00
Felipe Pena
fdc2ee256e
- MFB: New parameter parsing API
...
- Fixed tests
2008-08-18 19:42:39 +00:00
Pierre Joye
635c978762
- new parameter API error
2008-08-18 18:10:36 +00:00
Antony Dovgal
be2f5ce9e7
fix bug #45028 (CRC32 output endianness is different between crc32() and hash())
2008-08-18 14:28:57 +00:00
Jani Taskinen
1f2d50e7c7
- Fix include
2008-08-18 10:40:05 +00:00
Dmitry Stogov
6552f469e5
Fixed bug #45835 (include and symlinks)
2008-08-18 10:28:00 +00:00
Dmitry Stogov
6944510111
Reverted wrong "fix"
2008-08-18 09:20:56 +00:00
Pierre Joye
171791837d
- this change was not part of the env patch
2008-08-18 07:47:52 +00:00
Pierre Joye
8114893b3e
- MFB: unix is too young (<1970), make the test portable
2008-08-18 07:20:56 +00:00
Pierre Joye
7a1487b025
- [DOC] make putenv behaves like unix putenv on Windows:
...
. FOO=1234 => set FOO to 1234
. FOO= => set FOO to an empty string
. FOO= => unset FOO
. Use Set/GetEnvironmnent variable only
2008-08-18 07:09:20 +00:00
Arnaud Le Blanc
70f66898a4
Fix tests ( closes #45841 )
2008-08-18 04:45:25 +00:00
Moriyoshi Koizumi
ab976fe2d4
- Beware of signedness
2008-08-18 03:26:06 +00:00
Felipe Pena
41834e6090
- New parameter parsing API
...
- Fixed tests
2008-08-18 00:36:03 +00:00
Felipe Pena
d54a413912
- New parameter parsing API
2008-08-17 22:11:21 +00:00
Arnaud Le Blanc
c9789b9eb3
Allow underscore at start of labels as underscore has no meaning here
...
(fixes #44842 )
2008-08-17 21:51:36 +00:00
Pierre Joye
d3b8d9f635
- add %a for Compiler/architecture
2008-08-17 16:43:36 +00:00
Pierre Joye
e3e8c437ba
- [DOC] improve fix for #43261 for % and "
2008-08-17 15:23:23 +00:00
Pierre Joye
2345321956
- fix test (portable), use . as basedir and create the tmp dir in the test directory
2008-08-17 13:07:06 +00:00
Pierre Joye
614299969b
- MFB:
...
- fix or improve tests
- add dump of the array_diff for compare_stats
2008-08-17 11:10:52 +00:00
Felipe Pena
7148ea9561
- New parameter parsing API
...
- Fixed tests
2008-08-16 21:16:25 +00:00
Pierre Joye
37fe35f1c3
- remove confusion for non windows/linux users
2008-08-16 13:27:18 +00:00
Hannes Magnusson
16a53bd75d
Added stream_context_set_default() function. (Davey Shafik)
2008-08-16 10:57:26 +00:00
Pierre Joye
a279b66f9c
- MFB: wrong file commited (and fix test, thx Tony for the head up)
2008-08-16 10:54:34 +00:00
Felipe Pena
b1cdf4c26c
- Fix build
2008-08-15 22:13:58 +00:00
Pierre Joye
fc755dd8b3
- MFB: fix unexpected EOF on line 391
2008-08-15 21:03:32 +00:00
Felipe Pena
fac97d5694
- Removed unused variables
2008-08-15 19:57:24 +00:00
Pierre Joye
44ddda0c2d
- make it portable without loosing pertinent data
2008-08-15 19:33:43 +00:00
Pierre Joye
2d2c2de62f
- make it portable without loosing pertinent data
2008-08-15 19:25:56 +00:00
Pierre Joye
0b9d80861a
- fix test
...
- add debug build mode (crt outputs callback for invalid parameters)
2008-08-15 19:01:09 +00:00
Pierre Joye
31e17fd3fa
- New parameter parsing API > new warning
2008-08-15 16:50:55 +00:00
Jani Taskinen
68a8a0f89c
- Revert bad fix
2008-08-15 16:37:22 +00:00
Pierre Joye
30c3c16143
- no config.h in ext/
2008-08-15 15:38:55 +00:00
Dmitry Stogov
2f3e1ae545
Fixed possible infinity loop in tests
2008-08-15 09:27:14 +00:00
Jani Taskinen
4c1e90066f
fix skipif
2008-08-14 23:46:12 +00:00
Jani Taskinen
48442e4ab8
- Fix tests
2008-08-14 23:43:21 +00:00
Jani Taskinen
45e2d7bd58
fix test
2008-08-14 23:28:47 +00:00
Jani Taskinen
955d49d3fb
- Skipif: as long as it is an extension, it can be disabled..
2008-08-14 23:27:38 +00:00
Jani Taskinen
06137bf0ce
- Fix test: Do not leave your crap behind!
2008-08-14 23:25:27 +00:00
Jani Taskinen
ce8106ff13
fix test
2008-08-14 20:33:20 +00:00
Nuno Lopes
bdeeaa526a
sync with 5.3 branch. add test for bug #44925
2008-08-14 14:35:22 +00:00
Dmitry Stogov
a256e06404
Fixed bug #45613 Segfault when using is_file() on Apache-2.2.8
2008-08-14 13:02:13 +00:00
Antony Dovgal
c7a1743048
[DOC] add quoted_printable_encode()
2008-08-14 10:11:26 +00:00
Antony Dovgal
586759c740
fix folding
2008-08-14 10:10:56 +00:00
Marcus Boerger
75b08f4adf
- Improved exception linking
2008-08-14 10:06:39 +00:00
Antony Dovgal
c6ed73718e
fix build
2008-08-14 09:41:47 +00:00
Kalle Sommer Nielsen
09b362ff07
Fix arginfo for nl2br
2008-08-14 09:26:54 +00:00
Antony Dovgal
e67e446a73
fix ws, cs and folding
2008-08-14 08:38:37 +00:00
Kalle Sommer Nielsen
f358d03691
Implemented feature request #34381 (nl2br() should have an option for XHTML/HTML compatible BR element)
2008-08-14 02:55:13 +00:00
Felipe Pena
48612f6cc9
- MFB: New parameter parsing API
2008-08-14 01:35:24 +00:00
Felipe Pena
1e919abde7
- Fix build on BSD (5_3 and 5_2 are OK)
2008-08-14 01:13:18 +00:00
Pierre Joye
1beb30e468
- move declaration on top and fix build error
2008-08-13 21:57:00 +00:00
Felipe Pena
6638c4c7b7
- New parameter parsing API
2008-08-13 14:05:55 +00:00
Felipe Pena
b13b2a42e1
- New parameter parsing API (for gmp_testbit)
2008-08-13 12:20:54 +00:00
Antony Dovgal
7f5b9cf91a
fix compile warnings (patch by Phil Oleson)
2008-08-13 08:08:30 +00:00
Jani Taskinen
bc6a9ad209
[DOC]- Added methods to change/disable --with-config-file-scan-dir=PATH at
...
[DOC] startup:
[DOC]
[DOC] To disable: Override default php.ini by using both -c and -n with
[DOC] CGI/CLI or set "PHP_INI_SCAN_DIR" environment variable
[DOC] to an empty string.
[DOC]
[DOC] To change: Simply set "PHP_INI_SCAN_DIR" environment variable to point
[DOC] to another path.
- Fixed bug #42604 ("make test" fails with --with-config-file-scan-dir=/some/path)
- Implemented FR #45114 (Option to change --with-config-file-scan-dir)
2008-08-13 00:49:59 +00:00
Felipe Pena
8a4e3981ed
- Fixed tests
2008-08-12 20:00:28 +00:00
Felipe Pena
cbad1c9e7c
- New parameter parsing API
2008-08-12 19:38:05 +00:00
Felipe Pena
a5f867f3d5
- Constness (Added const qualifier to several function parameters)
2008-08-12 17:15:59 +00:00
Marcus Boerger
d1789653a2
- MFB
2008-08-12 15:37:36 +00:00
Felipe Pena
cd57c8d974
- Fixed test
2008-08-12 14:10:44 +00:00
Felipe Pena
98c445c971
- Fixed bug #45798 (sqlite3 doesn't notice if variable was bound)
2008-08-12 13:32:30 +00:00
Pierre Joye
70b94f2adb
- update test after php's portable realpath change (filename/ is not valid anymore)
2008-08-12 13:04:50 +00:00
Pierre Joye
dce0ac6e08
- not supported on windows
2008-08-12 11:55:47 +00:00
Arnaud Le Blanc
baae1c3fb1
clear stat cache in chroot()
2008-08-11 23:14:21 +00:00
Arnaud Le Blanc
0fa58b5775
Fixed #45181 (chdir() should clear relative entries in stat cache)
2008-08-11 22:38:17 +00:00
Christian Seiler
d40f3ef30e
- Fixed sefaults (tests added)
2008-08-11 22:30:44 +00:00
Felipe Pena
ea6a37b197
- Added arginfo
...
- Fixed WS
- Changed C++ comments to C comments
2008-08-11 19:46:57 +00:00
Marcus Boerger
044d27e802
- Cleanup
2008-08-11 19:34:49 +00:00
Marcus Boerger
de87bc2d27
- EXPECT rather than EXPECTF
2008-08-11 17:30:22 +00:00
Nuno Lopes
8da607e08f
fix build when host machine doest has pcre installed
2008-08-11 15:40:41 +00:00
Arnaud Le Blanc
0ea8978235
Check the relevant path for open_basedir in symlink()
2008-08-11 15:29:06 +00:00
Felipe Pena
7ea60b6f45
- Fixed wrong check for dynamic properties
2008-08-11 13:35:49 +00:00
Pierre Joye
a37e9d2e0f
- skip on wndows, chgrp not supported
2008-08-11 13:29:16 +00:00
Pierre Joye
8369777cae
- removed commented code
2008-08-11 13:14:01 +00:00
Pierre Joye
94b661a37f
- [DOC] detect if dest is a dir (if the given stream layer supports stat)
...
and fails
. remove win32 specific test. The errors are not the same
2008-08-11 13:09:01 +00:00
Felipe Pena
ebb797df4b
- Fix build (ZTS)
2008-08-11 12:45:37 +00:00
Marcus Boerger
ae3641d90d
- Closure/Reflection integration (original idea by Christian Seiler)
2008-08-11 12:36:01 +00:00
Johannes Schlüter
2888aa20d1
- Fix #45763 (mysqli::multi_query does not work with mysqlnd)
2008-08-11 12:32:47 +00:00
Felipe Pena
0a735191e5
- Fixed bug #45765 (ReflectionObject with default parameters of self::xxx cause an error)
2008-08-11 00:46:14 +00:00
Felipe Pena
b9b83ec794
- New parameter parsing API (for *printf())
2008-08-10 21:48:22 +00:00
Pierre Joye
4a015008b6
- fix the VC6 fix or strncpy_s (md5 crypt failed with VC9 as it used strncpy wrongly)
2008-08-10 21:34:02 +00:00
Antony Dovgal
6dca1deb52
fix compilation on AIX
2008-08-10 19:48:48 +00:00
Felipe Pena
f168ea0fb3
- New parameter parsing API (for min() and max())
2008-08-10 17:49:30 +00:00
Pierre Joye
bb8085acc4
- fix string len
2008-08-10 14:15:31 +00:00
Arnaud Le Blanc
eebec53bc0
Fixed bug #45581 (htmlspecialchars() double encoding &#x hex items)
2008-08-10 13:25:53 +00:00
Arnaud Le Blanc
85bc66aa5c
Fixed test
2008-08-10 12:06:49 +00:00
Arnaud Le Blanc
726dfc423d
Do not expand $target in symlink(). This made it impossible to symlink to a
...
symlink. This also caused the target to be wrongly expanded relatively to
the CWD when target was not an absolute path.
2008-08-10 11:54:18 +00:00
Pierre Joye
c76de7966d
- [DOC] win's strftime does not support all posix formatting code and have some win specific rules see http://msdn.microsoft.com/en-us/library/fe06s4ak(VS.80).aspx for a complete list: split test for win32 and posix
2008-08-10 11:27:26 +00:00
Antony Dovgal
37b57badf0
disable the test on AIX - unlink() deletes directories there (omg..)
2008-08-09 22:35:17 +00:00
Antony Dovgal
83fa3f9874
do not fail & segfault if malloc(0) returns NULL, that's expected
...
(reproducible on AIX with simple date() and UTC timezone)
2008-08-09 22:00:51 +00:00
Antony Dovgal
34b4cfd5e5
fix leak
2008-08-09 21:58:40 +00:00
Antony Dovgal
c5b2255843
fix typo
2008-08-09 21:02:30 +00:00
Etienne Kneuss
b8aa44644d
Fix error_handling usage in various extensions
2008-08-08 22:06:42 +00:00
Pierre Joye
9bc9e10386
- MFB: add new files
2008-08-08 18:29:51 +00:00
Pierre Joye
1b57b75d50
- sync with 5.3
2008-08-08 18:13:55 +00:00
Etienne Kneuss
f3ca0282f2
Test the catching of chains of exceptions
2008-08-08 14:09:15 +00:00
Felix De Vliegher
934dd2e326
MFB: Tests for ReflectionMethod::getClosure() and ReflectionFunction::getClosure()
2008-08-08 12:42:40 +00:00
Felix De Vliegher
a3d6855a85
MFB: Documentation fix for getClosure()
2008-08-08 10:53:39 +00:00
Hannes Magnusson
cd353d6c26
Fix build on FreeBSD4.11 (bug#45757)
2008-08-08 08:19:46 +00:00
Pierre Joye
81d8d218f6
- moved to pecl
2008-08-07 23:48:40 +00:00
Pierre Joye
8af38667e6
- update to 0.9 (torrentzip support, files open only when necessary), windows fixes
2008-08-07 23:23:20 +00:00
Felix De Vliegher
7da0fe6ef0
MFB: Basic and error tests for stream_filter_remove().
2008-08-07 22:32:43 +00:00
Antony Dovgal
911a3a1616
not experimental anymore
2008-08-07 13:10:22 +00:00
Antony Dovgal
9b279c8fb3
remove EXPERIMENTAL flag
2008-08-07 13:07:06 +00:00
Nuno Lopes
83938211db
MFB: upgrade to PCRE
2008-08-07 12:51:05 +00:00
Arnaud Le Blanc
a51e5ebaeb
Added clear_realpath_cache and filename parameters to clearstatcache() (Jani,
...
Arnaud)
[DOC] clearstatcache() now defaults to not affect the realpath cache.
clearstatcache() now takes two optionnal parameters, clear_realpath_cache to
clear the realpath cache (defaults to false), and filename to clear only the
given filename from the cache.
2008-08-07 09:24:04 +00:00
Antony Dovgal
951fe380b3
fix bug #45712 ($something == NaN returns true with 5.3, false with 5.2.*)
2008-08-07 08:36:15 +00:00
Elizabeth Marie Smith
6f7ced7ec0
Stupid typo
2008-08-06 16:57:08 +00:00
Elizabeth Marie Smith
58771162b4
Fix include path
2008-08-06 16:48:19 +00:00
Felipe Pena
851187452b
- Fixed crash msgfmt_get_pattern
2008-08-06 16:16:16 +00:00
Derick Rethans
7b759c4eb3
- Fixed bug #45636 (fileinfo ext duplicate strndup).
2008-08-06 14:42:06 +00:00
Derick Rethans
2db85e29ac
- Fixed bug #45717 (Fileinfo/libmagic build fails, missing err.h and getopt.h).
2008-08-06 14:29:27 +00:00
Scott MacVicar
3967788e5b
Sync libsqlite to 3.6.1
2008-08-06 14:22:35 +00:00
Scott MacVicar
80e789b4af
Fix test on Windows
2008-08-06 14:07:20 +00:00
Scott MacVicar
3fbc4de93a
MFB: Update coding standards and fix a test, this was already in 5.3 alpha 1
2008-08-06 14:02:44 +00:00
Jani Taskinen
2faeee57f4
- Fixed some inconsistencies with the behaviour of sessions. Changed session_start() to return false when session start fails.
2008-08-06 05:34:55 +00:00
Jani Taskinen
ea0dbec8b7
- MFB: sync parameter parsing API changes in session_set_save_handler()
2008-08-06 04:48:39 +00:00
Jani Taskinen
fec6668d2d
- MFB: snprintf -> slprintf, nuketh extra folding tags, ws fixes
2008-08-06 04:24:55 +00:00
Jani Taskinen
41a05672ad
ws + folding tags
2008-08-06 00:36:14 +00:00
Jani Taskinen
5a125d3d24
- Nuke ending period
2008-08-05 22:52:35 +00:00
Stanislav Malyshev
9d04ad3dc2
fix test
2008-08-05 21:59:11 +00:00
Stanislav Malyshev
fb9945422e
fix memnstr bug by Laurent Gaffie
2008-08-05 21:23:20 +00:00
Pierre Joye
bcd1b31831
- fix oci8_11g when build shared (invalid extension)
2008-08-05 20:56:03 +00:00
Elizabeth Marie Smith
8a515d6b51
Some fancy detection for sqlite3 and pdo_sqlite3 - so the two extensions don't depend on each other if shared, and don't try to put two versions of the sqlite3 lib if static
2008-08-05 20:22:53 +00:00
Pierre Joye
1dddb79a32
- fix zlib detection (shared/static) and add zlib_a support
2008-08-05 19:39:51 +00:00
Derick Rethans
7772d56fab
- Fixed a bug that caused miscalculations with the "last <weekday> of <n>
...
month" relative time string.
2008-08-05 18:02:39 +00:00
Pierre Joye
682bcde37b
- not shared
2008-08-05 17:19:32 +00:00
Jani Taskinen
a0470b3ee3
- Portability fix. (si_fd seems to be linux only thing)
2008-08-05 15:12:11 +00:00
Antony Dovgal
cb39231101
fix typo
2008-08-05 14:58:57 +00:00
Jani Taskinen
a445bcdb2f
- Add test for bug #45712
2008-08-05 12:36:21 +00:00
Arnaud Le Blanc
4386384222
Fixed test
2008-08-05 10:09:12 +00:00
Pierre Joye
732bdbb9a5
- detect _a or normal lib
2008-08-04 21:39:08 +00:00
Jani Taskinen
f0d3d22dd6
- Fixed bug #45705 (rfc822_parse_adrlist() modifies passed address parameter)
2008-08-04 21:13:34 +00:00
Jani Taskinen
fd1cac90b1
- Fix test
2008-08-04 21:10:36 +00:00
Moriyoshi Koizumi
e4f2ea4d3b
- More fixes for bug #45691
2008-08-04 21:10:17 +00:00
Felipe Pena
ebb28b484a
- Fixed test
2008-08-04 18:26:15 +00:00
Felipe Pena
0e645a745c
- Added new parameter parsing API (part II)
2008-08-04 18:22:02 +00:00
Jani Taskinen
7b505f318c
- Merged the missing parameter parsing API change (Bunny thanks you Felipe)
...
- Added proper C-client library version check
2008-08-04 15:34:30 +00:00
Jani Taskinen
85d152e233
- Add test for bug #45705
2008-08-04 13:45:36 +00:00
Robin Fernandes
4ef68b9627
Improve ArrayObject::exchangeArray() behaviour with objects and CoW references (see http://turl.ca/exarr ).
2008-08-04 11:45:15 +00:00
Dmitry Stogov
83c993baab
Fixed test
2008-08-04 07:16:29 +00:00
Kalle Sommer Nielsen
32db74f2e0
Fixes #45406 - Patch by oleg dot grenrus at dynamoid dot com
2008-08-04 06:18:27 +00:00
Etienne Kneuss
1c23174d9d
Fix clone + add tests
2008-08-03 19:07:22 +00:00
Etienne Kneuss
7aa5e4ab32
Remove cast and fix mem errors
2008-08-03 18:15:18 +00:00
Derick Rethans
d84a4ed4ab
- Fixed bug #45696 (Not all DateTime methods allow method chaining).
2008-08-03 16:44:31 +00:00
Jani Taskinen
c9c53d7bcd
- Nuketh C++ comments from C files.
2008-08-03 12:12:45 +00:00
Jani Taskinen
82d833a94c
- fix comment style
2008-08-03 12:10:51 +00:00
Jani Taskinen
9a3b00b16e
missing eol
2008-08-03 12:04:57 +00:00
Jani Taskinen
6928f2e279
- Fix comment
2008-08-03 12:03:02 +00:00
Jani Taskinen
f679eeb6cb
- No C++ comments in C files!
2008-08-03 11:56:45 +00:00
Jani Taskinen
3cd81726a2
oops
2008-08-03 11:55:06 +00:00
Jani Taskinen
3d0b68418b
- These files do not conform to any kind of coding standard. Sync from 5.3 too
2008-08-03 11:32:45 +00:00
Moriyoshi Koizumi
b0f6875659
- Forgot to take account of the case when mbstring.language is processed
...
afterwards.
2008-08-03 00:04:06 +00:00
Moriyoshi Koizumi
51180a707c
- Fixed bug #45691 (Some per-dir or runtime settings may leak into other requests).
2008-08-02 20:48:30 +00:00
Pierre Joye
c8a42610e5
- improve previous fix for scan, disable optimizer only for scan() using #pragma optimize
2008-08-02 16:49:56 +00:00
Pierre Joye
2317deb6f5
- parser's scan function is too large for VC6-7.x, disable the optimizer (size optimization instead) fixes it
2008-08-02 15:49:14 +00:00
Steph Fox
254768c9fc
- Remove obsolete check
2008-08-02 15:37:38 +00:00
Derick Rethans
2c577a4aaf
- Fixed bug #45545 (DateInterval has a limitation of 4 chars for ISO
...
durations).
2008-08-02 13:50:30 +00:00
Arnaud Le Blanc
630fb69796
MFB: Allow urlencode()d filer names in php://filter ( fixes #43008 )
2008-08-02 06:37:34 +00:00
Felipe Pena
611ecc5111
- Added parameter TSRMLS_DC in zend_is_callable()
2008-08-02 04:40:45 +00:00
Arnaud Le Blanc
67a7949c80
Avoid leaks when zlib streams can not be closed properly.
2008-08-02 02:36:14 +00:00
Moriyoshi Koizumi
957bdafb86
- Add a test for bug #43993 .
2008-08-01 22:56:35 +00:00
Moriyoshi Koizumi
9bcdf1d802
- Fixed bug #43993 (mb_substr_count() behaves differently to substr_count() with overlapping needles)
2008-08-01 22:55:47 +00:00
Pierre Joye
2ad7c548f0
- use static lib first if found
2008-08-01 21:19:46 +00:00
Pierre Joye
75937acbaf
- fix EOL broken by previous commit
2008-08-01 19:09:15 +00:00
Pierre Joye
a2a18797c0
- MFH: drop 8.x support
2008-08-01 18:58:15 +00:00
Steph Fox
fa2f1c171b
- Somehow 'cvs add' managed to ignore these completely(?)
2008-08-01 17:34:03 +00:00
Steph Fox
1c36e772b7
- Merge Dmitry's changes from PHP_5_3 branch
2008-08-01 16:28:19 +00:00
Pierre Joye
5550ef750b
- support for Oracle 11g (either 8 or 11g can be built but not both
2008-08-01 15:06:56 +00:00
Steph Fox
c6aa379d74
- This is as good as it gets in HEAD at present (~30% tests fail here)
2008-08-01 13:45:06 +00:00
Steph Fox
63249f7ea3
- Bring phar command into sync with 5_3 and PECL
2008-08-01 13:41:30 +00:00
Steph Fox
755642c355
- Bring phar tests into line across all branches
2008-08-01 13:36:19 +00:00
Scott MacVicar
2feac2e6d2
MFB: Make pdo_sqlite use the bundled extension with sqlite3
2008-08-01 12:02:40 +00:00
Pierre Joye
839bd439b0
- first static lib then dyn or old one
2008-08-01 11:21:27 +00:00
Antony Dovgal
2846fc1c02
fix int<->long mess causing lots of segfaults on x86_64
2008-08-01 08:27:46 +00:00
Hannes Magnusson
6894772e55
fix skipif
2008-08-01 08:02:06 +00:00
Hannes Magnusson
166dee99e0
MFB5.3: "without" and "do not include"
2008-07-31 22:32:46 +00:00
Scott MacVicar
76970a5a39
MFB: Enable by default and fix compile error
2008-07-31 22:25:18 +00:00
Johannes Schlüter
e0e15347e2
- Add array_replace/array_replace_recursive (Mett Wilmas)
2008-07-31 20:17:07 +00:00
Pierre Joye
0fb301bcc9
- add detection for newer libs
2008-07-31 18:04:21 +00:00
Moriyoshi Koizumi
759e232786
- Fixed bug #44617 (wrong HTML entity output when substitute_character=entity)
2008-07-31 17:36:35 +00:00
Scott MacVicar
633c328cdf
MFB: Stray RETURN_TRUE value
2008-07-31 16:35:33 +00:00
Pierre Joye
f3c5be8d13
- MFB: update config to match config.m4
...
(still does not build but will be fixed for alpha2)
2008-07-31 13:14:22 +00:00
Jani Taskinen
8a89eb0825
- fix test
2008-07-31 11:49:56 +00:00
Rasmus Lerdorf
c04ca7502c
Fix test to test higher nesting level
2008-07-31 11:49:19 +00:00
Rasmus Lerdorf
f5dc937a0d
Fix for bug #45030
2008-07-31 09:23:59 +00:00
Scott MacVicar
0b88f59125
get fileinfo building again on Windows
2008-07-31 00:32:25 +00:00
Felipe Pena
71ca5fd491
- Fixed memory leak.
...
# Test: locale_filter_matches(str_repeat('a', 520), str_repeat('a', 520), 1);
2008-07-30 19:33:04 +00:00
Felipe Pena
39a1c0e86d
- MFB: Fixed crash when NULL is passed to locale_accept_from_http()
2008-07-30 17:56:18 +00:00
Derick Rethans
0ae51b159e
- Fixed a bug with the YYYY-MM format not resetting the day correctly.
...
- Fixed a bug in the DateTime->modify() methods, it would not use the advanced
relative time strings.
- Fixed return values of all the modifying methods, they now properly return
the object itself.
2008-07-30 17:48:21 +00:00
Rasmus Lerdorf
664bb141a1
We can afford a larger stack here and other json parsers out there
...
go deeper than 128.
2008-07-30 13:57:47 +00:00
Antony Dovgal
a4c57b7347
fix folding
2008-07-30 11:58:43 +00:00
Antony Dovgal
2560c18bf6
fix tests
2008-07-30 09:57:55 +00:00
Jani Taskinen
357c16c598
ws
2008-07-30 08:13:02 +00:00
Kalle Sommer Nielsen
a00f7db067
Add test for imagecolorclosesthwb()
2008-07-30 04:35:21 +00:00
Kalle Sommer Nielsen
73558cf334
MFB: Add test case for #44849
2008-07-30 01:38:37 +00:00
Pierre Joye
b1f466b3ed
- missing in the previous crypt commit (shutdown frees the locking mechanism)
2008-07-29 17:28:07 +00:00
Arnaud Le Blanc
6c21038ddf
Added pcntl_sigwaitinfo(), pcntl_sigtimedwait() and pcntl_sigprocmask()
...
[DOC] pcntl_sigprocmask() allows to block signals. pcntl_sigwaitinfo()
allows to fetch blocked signals or signals delivered while pcntl_sigwaitinfo()
is running. pcntl_sigtimedwait() is pcntl_sigwaitinfo() with a timeout.
2008-07-29 16:56:26 +00:00
Felipe Pena
663450701d
- Fix memory leak
2008-07-29 16:51:21 +00:00
Arnaud Le Blanc
a617bfdf9e
Added pcntl_signal_dispatch()
...
[DOC] pcntl_signal_dispatch() allows to dispatch pending signals to registered
signal handler functions on-demand. This allows to use pcntl_signal() without
ticks.
2008-07-29 16:46:03 +00:00
Felipe Pena
2e0054bfec
- Fix crash when NULL is passed to bindtextdomain() (sync with 5_3)
2008-07-29 16:21:38 +00:00
Dmitry Stogov
03ebd36385
Fixed memory leak
2008-07-29 14:27:31 +00:00
Arnaud Le Blanc
d739f8f0da
Fixed previous fix
2008-07-29 13:57:20 +00:00
Dmitry Stogov
fbb84e37d8
Fixed memory leak
2008-07-29 12:56:18 +00:00
Felipe Pena
886087b701
- Fix the fix
2008-07-29 12:41:58 +00:00
Felipe Pena
b201b13939
- Fix mem. leak
2008-07-29 12:36:36 +00:00
Felipe Pena
a9e846b21e
- Fixed tests
2008-07-29 12:20:39 +00:00
Dmitry Stogov
7129a70051
Fixed test
2008-07-29 12:17:04 +00:00
Dmitry Stogov
21f41b06f3
Removed warning
2008-07-29 11:50:23 +00:00
Antony Dovgal
2eeae6909e
fix 5 years old copy/paste error (patch by Mikko)
2008-07-29 10:42:15 +00:00
Antony Dovgal
21008970aa
fix test
2008-07-29 08:48:46 +00:00
Antony Dovgal
bd5f8ace6e
make ReflectionProperty::getValue() and ReflectionProperty::setValue() consistent with their implementations in 5_3
2008-07-29 08:48:16 +00:00
Antony Dovgal
3f754a5aff
no need for FETCH anymore..
2008-07-29 07:33:58 +00:00
Antony Dovgal
652018e18e
more similar fixes
2008-07-29 07:32:52 +00:00
Antony Dovgal
d23d92e077
add TSRMLS_DC and fix crash in ZTS mode
2008-07-29 07:29:22 +00:00
Scott MacVicar
bc50a9772c
Add freelist for tracking sqlite statements to free on implicit SQLite3::close()
2008-07-29 00:56:22 +00:00
Scott MacVicar
5a2163a439
MFB: Fix error when fetchArray reaches the last row
2008-07-28 23:03:26 +00:00
Derick Rethans
0da9bc904d
- Updated to version 2008.5 (2008e)
2008-07-28 19:31:21 +00:00
Arnaud Le Blanc
aa34fda7ee
When automatically redirecting an HTTP request, use the GET method when the
...
original method was not HEAD or GET (fixes #45540 )
#
# The RFC says that in case of 3xx code, "The action required MAY be
# carried out [...] *only if the method used in the second request is GET or
# HEAD*".
#
# This may not break anything as actually POST requests replying
# with a Location header never worked as the redirecting request was sent using
# the POST method, but without Entity-Body (and without Content-Length header,
# which caused the server to reply with a "411 Length Required" or to treat
# the request as GET).
#
2008-07-28 19:03:57 +00:00
Elizabeth Marie Smith
fec135a4e3
Secure versions of string functions don't exist for VC6
2008-07-28 16:48:38 +00:00
Pierre Joye
852fef98ed
- vc6 is picky about brackets when used with a defined type...
2008-07-28 16:32:48 +00:00
Etienne Kneuss
03de75498d
Increase coverage a bit
2008-07-28 14:24:35 +00:00
Jani Taskinen
142b3d5c92
- Fix EOLs
2008-07-28 12:01:57 +00:00
Jani Taskinen
4e37190b44
- Fix EOLs. (Pierre: yea, mac2unix..try not touch files with your braindead Winblows editors!)
2008-07-28 11:56:46 +00:00
Pierre Joye
5ba946926f
- #45430 , windows implementation of crypt is not TS
...
- add Blowfish (using implementation from Solar Designer <solar at openwal dot com>) and extended DES support
- Make crypt features portable:
- if no crypt_r, php's implemetation is used (all algo and TS), php can't be used with unsafe crypt anymore
- if one algo is missing, php's implemetation is used
- Windows always use php's implementation
- removed old code in windows/
2008-07-28 11:34:53 +00:00
Pierre Joye
37f0549fb0
- mac to unix
2008-07-28 09:12:07 +00:00
Pierre Joye
5490f8228b
- mac to unix format
2008-07-28 09:03:39 +00:00
Pierre Joye
cd9c6a12e9
- Fix ZTS build
2008-07-28 09:01:03 +00:00
Derick Rethans
d4210b7a4a
- Fixed DateTime::setTimestamp() and added a test for it.
2008-07-27 19:09:37 +00:00
Christopher Jones
e10ebdfee7
Update README. Bump ver ready for PECL release
2008-07-27 17:48:16 +00:00
Jani Taskinen
280de2941d
*sigh*
2008-07-27 00:07:30 +00:00
Jani Taskinen
0afe7e644c
- Fix build
2008-07-26 23:57:48 +00:00
Jani Taskinen
4fe829da39
- Fixed build with bundled library
2008-07-26 23:45:54 +00:00
Jani Taskinen
cca6f5a2f8
jfc..*SIGH*
2008-07-26 23:45:02 +00:00
Jani Taskinen
8c7be471fa
fix folding tag
2008-07-26 22:58:45 +00:00
Jani Taskinen
093b7afd9e
update credits
2008-07-26 22:40:45 +00:00
Jani Taskinen
17ff08250d
- Fix ws/cs (please do not invent your own CS...) and weird EOLs
2008-07-26 22:39:56 +00:00
Jani Taskinen
dbcb0b3255
- Fix EOLs
2008-07-26 22:18:00 +00:00
Jani Taskinen
abeff72aeb
tune
2008-07-26 22:17:17 +00:00
Jani Taskinen
5d62a072e0
- No tabs.
2008-07-26 22:11:41 +00:00
Dmitry Stogov
ef5f3cfdf2
. Added support for using static HEREDOCs to initialize static variables and class members or constants. (Matt)
...
. Improved syntax highlighting and consistency for variables in double-quoted strings and literal text in HEREDOCs and backticks. (Matt)
. Optimized interpolated strings to use one less opcode. (Matt)
2008-07-26 15:31:38 +00:00
Dmitry Stogov
bdf7981e28
Fixed is_callable/call_user_func mess that had done different things for very similar arguments e.g. array("A","B") and "A::B"
2008-07-26 13:14:56 +00:00
Arnaud Le Blanc
a3f0f90dfd
Fix bug #45622 (isset($arrayObject->p) misbehaves with ArrayObject::ARRAY_AS_PROPS set)
2008-07-26 12:33:34 +00:00
Scott MacVicar
de9093bf87
Forgot to add these earlier
...
SQLite3 extension, still has 2 failing tests that will be sorted shortly.
2008-07-26 01:23:45 +00:00
Scott MacVicar
f591e9076d
SQLite3 extension, still has 2 failing tests that will be sorted shortly.
2008-07-25 21:34:15 +00:00
Felipe Pena
f074bae1ea
- Added arginfo
...
- Fixed:
. proto: finfo_buffer
. parameter type in _php_finfo_get_type()
2008-07-25 15:20:58 +00:00
Moriyoshi Koizumi
de0e9cea83
- Fix warnings
2008-07-25 14:04:39 +00:00
Moriyoshi Koizumi
86e8d7ebf1
- Fix wrong cast
2008-07-25 13:56:50 +00:00
Jani Taskinen
3f73317c79
- Fix PDO configure dependancy: If --disable-pdo is used, disable all enabled-by-default drivers. Also error out if you try to configure a driver as static but pdo is disabled.
2008-07-25 13:38:41 +00:00
Moriyoshi Koizumi
e8741cc4fc
- fix a typo in mb_stripos() that caused segfault.
...
(noticed by bs@php.net , thanks).
2008-07-25 12:50:14 +00:00
Andrey Hristov
cab531026b
Fix bug#45019 Segmentation fault with SELECT ? and UNION
2008-07-25 12:45:27 +00:00
Rob Richards
accb0bcc01
fix zts build
2008-07-25 12:40:23 +00:00
Felipe Pena
5d1a2c3317
- Fix build
2008-07-25 11:54:06 +00:00
Dmitry Stogov
c96256bcaf
Fixed support for static methods
2008-07-25 09:48:36 +00:00
Jani Taskinen
b3ec151f8f
MFB: generated with a bit newer re2c
2008-07-25 09:17:52 +00:00
Jani Taskinen
419a40f14a
- Enable fileinfo by default
2008-07-25 09:16:09 +00:00
Jani Taskinen
a1981bf2d8
- Cleanup after test
2008-07-25 09:10:02 +00:00
Dmitry Stogov
013059c247
Fixed uninitialized data
2008-07-25 08:53:11 +00:00
Michael Wallner
6e228f0c76
- Changed HTTP stream wrapper to accept any code between and including
...
200 to 399 as successful. (patch by Noah Fontes)
2008-07-25 08:27:10 +00:00
Derick Rethans
0192c570c8
- No C++ comments.
2008-07-25 08:18:34 +00:00
Derick Rethans
1fdbee278a
- Updating the libmagic patch.
...
- Adding myself to credits.
2008-07-25 08:17:21 +00:00
Derick Rethans
1371ec3fbf
- Fixed size calculation.
...
- Reverted cosmetic fixes that makes upgrading harder.
2008-07-25 08:16:03 +00:00
Moriyoshi Koizumi
ffde39dce5
- Suppress signedness warnings.
2008-07-25 03:41:38 +00:00
Felipe Pena
8e1b4a55cc
- Added TSRMLS_DC to apply_func_args_t and zend_hash_apply_with_arguments.
2008-07-24 19:50:23 +00:00
Moriyoshi Koizumi
935fa7a97e
- Fix win32 build
2008-07-24 16:59:53 +00:00
Pierre Joye
265d2e6c5d
- force static for now, broken now
2008-07-24 16:05:17 +00:00
Arnaud Le Blanc
2db33d3d7f
Fixed bug #45614 (ArrayIterator::current(), ::key() can show 1st private prop of wrapped object)
2008-07-24 15:51:14 +00:00
Christopher Jones
c3ecda4dfd
1. Fix macro version test for constants
...
2. [DOC] Increase oci8.default_prefetch to 100. Better out of box experience. Consistent woth PDO_OCI
2008-07-24 15:23:29 +00:00
Antony Dovgal
1133a7c224
use "r" instead of "z" when accepting resources
2008-07-24 15:07:37 +00:00
Ulf Wendel
c2c9b61a79
Test for PS fallback logic in prepare()
2008-07-24 15:07:20 +00:00
Antony Dovgal
231bafaade
we don't do fstat, hence st struct is uninitalized
2008-07-24 14:53:59 +00:00
Antony Dovgal
54e1d048cd
silence compile warning
2008-07-24 14:45:53 +00:00
Antony Dovgal
8e24e64882
fix folding
2008-07-24 14:44:15 +00:00
Arnaud Le Blanc
75449ab505
MFB: Added tests for #42663
2008-07-24 14:39:58 +00:00
Antony Dovgal
29bb0c9dd3
drop freeing of uninitialized variable
...
add missing return
nuke unused variable
2008-07-24 14:30:58 +00:00
Antony Dovgal
77149f12d1
do not include libmagic/file.c into the build
2008-07-24 14:22:30 +00:00
Scott MacVicar
1390f0614d
Remove non existent defines, change THREADSAFE to SQLITE_THREADSAFE and sync with 5.3
2008-07-24 14:20:51 +00:00
Andrey Hristov
613e045ae8
Added test file
2008-07-24 14:17:27 +00:00
Moriyoshi Koizumi
f0582b02e2
- Fix tests.
2008-07-24 13:49:28 +00:00
Moriyoshi Koizumi
33be49a588
- Fixed warnings.
2008-07-24 13:46:35 +00:00
Derick Rethans
8c8b504bc4
- Bundle the data file - you can still use the external file if you
...
specify that in the call to finfo_open().
2008-07-24 13:40:21 +00:00
Moriyoshi Koizumi
5b494c0f16
- Add mbstring.http_output_conv_mimetypes that allows common non-text
...
types such as "application/xhtml+xml" to be converted by
mb_output_handler().
2008-07-24 12:58:37 +00:00
Ulf Wendel
d529003bd2
Make the test pass on 32bit and not bail out because of int vs. double
2008-07-24 12:54:12 +00:00
Felipe Pena
997c24d068
- New parameter parsing API
2008-07-24 12:48:47 +00:00