Commit Graph

4111 Commits

Author SHA1 Message Date
Dmitry Stogov
e46d328934 Fixed bug #46106 (Memory leaks when using global statement) 2008-09-17 15:11:28 +00:00
Ilia Alshanetsky
fcc0fdd125 Fixed bug #45392 (ob_start()/ob_end_clean() and memory_limit). 2008-09-17 00:20:30 +00:00
Felipe Pena
4c32eb9989 - BFN #46071 2008-09-16 23:02:16 +00:00
Ilia Alshanetsky
e39d08794e Fixed bug #46087 (DOMXPath - segfault on destruction of a cloned object). 2008-09-16 00:38:45 +00:00
Scott MacVicar
db907e5bc3 Fixed bug #46086 (Segfault when accessing fileinfo class property) 2008-09-15 22:13:25 +00:00
Greg Beaver
1799136925 fix compile on IRIX with MIPSPro (Bug #46072) 2008-09-14 06:47:08 +00:00
Greg Beaver
86808da90b note fix of Bug #46060: Phar::addEmptyDir() breaks 2008-09-13 20:57:41 +00:00
Ilia Alshanetsky
4c6db91b87 Fixed bug #45382 (timeout bug in stream_socket_enable_crypto). 2008-09-11 23:56:43 +00:00
Greg Beaver
d19e466d96 update NEWS to note bug #46032 fix 2008-09-11 03:29:54 +00:00
Arnaud Le Blanc
0ea8c1c70e BFN 2008-09-10 10:28:57 +00:00
Felipe Pena
bbb083fa24 - New try 2008-09-09 13:26:40 +00:00
Nuno Lopes
c778b3eb19 upgrade to PCRE 7.8. this includes a security improvement. I'll upgrade HEAD later (not urgent..) 2008-09-09 07:55:10 +00:00
Felipe Pena
7b59a46711 - New entry 2008-09-07 23:08:20 +00:00
Arnaud Le Blanc
dd956381e2 MFH: Fixed #45911 (Cannot disable ext/hash) 2008-09-07 13:15:59 +00:00
Alexey Zakhlestin
ff22e27ec6 bugfix is also applied to 5.2, so NEWS moved there 2008-09-06 08:19:33 +00:00
Alexey Zakhlestin
8a2461af4c Fixed bug #45405 (snmp extension memory leak) 2008-09-06 07:57:22 +00:00
Jani Taskinen
66ebb8019b - Moved to PHP_5_2 2008-09-02 08:58:18 +00:00
Johannes Schlüter
606e0f26a0 back to dev 2008-09-01 20:51:57 +00:00
Johannes Schlüter
8df3c31d86 dev -> release 2008-09-01 20:30:44 +00:00
Jani Taskinen
bfc734e5ed - Remove extra ) 2008-09-01 09:21:37 +00:00
Jani Taskinen
db24e89b35 fix news 2008-09-01 09:08:53 +00:00
Patrick van Kleef
9de6178bb4 - fixes for ext/odbc 2008-09-01 08:38:58 +00:00
Mikko Koppanen
05c24934cf Removed fileinfo related according to Jani's request 2008-08-31 17:05:12 +00:00
Alexey Zakhlestin
733c27c35b more detailed news-entry 2008-08-31 15:04:21 +00:00
Alexey Zakhlestin
210aed5bd6 added entry about change in ext/session 2008-08-31 14:56:14 +00:00
Mikko Koppanen
dc2f8f6e3c Changed name,name,name to name, name, name according to Pierre's advice 2008-08-31 10:20:57 +00:00
Mikko Koppanen
8a03f50679 Added news entries about changes in ext/fileinfo 2008-08-31 10:06:46 +00:00
Dmitry Stogov
78d28494ca Fixed bug #45706 (Unserialization of classes derived from ArrayIterator fails) 2008-08-29 14:59:20 +00:00
Marcus Boerger
42eb47d500 - MFH preg_filter()
# As discussed with Lukas
# [DOC] check out the test
2008-08-29 12:13:54 +00:00
Derick Rethans
e3cd394979 - MFH: Support for "back of <hour>" and "front of <hour>" phrases that are used
in Scotland.
2008-08-29 12:01:57 +00:00
Pierre Joye
4b5dd8e396 - [DOC] ming has been moved to pecl 2008-08-29 11:20:18 +00:00
Matt Wilmas
d558979acc - Be more specific about when constant substitution occurs
- And should that be "values" or "value"? Hmm, feel free to improve wording
2008-08-29 11:12:34 +00:00
Christopher Jones
2b24b003fa Add #45458 2008-08-28 06:22:49 +00:00
David Soria Parra
9af185c7c9 Already in 5.2 2008-08-27 07:49:43 +00:00
David Soria Parra
9f68483734 MFH: Fixed bug #43782 (feof() does not detect timeout on socket) 2008-08-26 16:06:36 +00:00
Dmitry Stogov
ced680941a Fixed bug #45786 (FastCGI process exited unexpectedly) 2008-08-26 09:56:08 +00:00
Etienne Kneuss
efd817bf13 MFH: Fix #45826 (Custom serialization) 2008-08-25 18:40:44 +00:00
Jani Taskinen
3680365a70 - fixed in 5.2 branch 2008-08-25 08:37:10 +00:00
Pierre Joye
76c0f4288d - MFH: expose MAXPATHLEN (PHP_MAXPATHLEN) 2008-08-23 17:55:50 +00:00
Lars Strojny
080157870f MFH: Allow mixed $initial (patch by Christian Seiler) 2008-08-20 20:35:40 +00:00
Jani Taskinen
23c5effdbe - Fixed in PHP_5_2 2008-08-20 01:34:51 +00:00
Felipe Pena
fdccff19b1 - Removed entries merged into 5_2 2008-08-20 01:32:56 +00:00
Felipe Pena
0bbc4d562b - Opss, I forgot add my name... 2008-08-19 11:15:59 +00:00
Felipe Pena
4252aa21c8 - Note about property_exists() 2008-08-19 11:10:17 +00:00
Felipe Pena
09dd1d22dd - BFN: #45743 2008-08-18 17:53:10 +00:00
Antony Dovgal
523cccc09d MFH: fix bug #45028 (CRC32 output endianness is different between crc32() and hash()) 2008-08-18 14:29:55 +00:00
Arnaud Le Blanc
dee3bb2371 MFH: Allow underscore at start of labels as underscore has no meaning here
(fixes #44842)
2008-08-17 21:55:26 +00:00
Arnaud Le Blanc
1defd7a9e2 MFH: Fixed #45384 (parse_ini_file will result in parse error with no trailing
newline)
2008-08-17 21:00:22 +00:00
Jani Taskinen
13d7bb0025 fix news 2008-08-17 19:24:10 +00:00
Pierre Joye
8700c6af98 - fixes, portability and improvements for stat/file*/touch windows entry 2008-08-17 11:01:23 +00:00
Hannes Magnusson
eea3226d58 MFH: [DOC] Added stream_context_set_default() function. (Davey Shafik) 2008-08-16 10:57:56 +00:00
Hannes Magnusson
794d469c21 Fix typo 2008-08-15 19:31:04 +00:00
Jani Taskinen
282230038c keep the style 2008-08-14 18:19:49 +00:00
Nuno Lopes
31c657b3bb Fixed bug #44925 (preg_grep() modifies input array) 2008-08-14 13:12:42 +00:00
Antony Dovgal
261b4d0965 new function 2008-08-14 10:13:23 +00:00
Kalle Sommer Nielsen
fcf11ba65e MFH: Implemented feature request #34381 (nl2br() should have an option for XHTML/HTML compatible BR element) 2008-08-14 02:56:23 +00:00
Felipe Pena
987a1a5597 - BFN #45798 2008-08-13 11:20:25 +00:00
Stanislav Malyshev
6a5e8b389d report old bugfix 2008-08-13 01:00:11 +00:00
Dmitry Stogov
3fadad3160 - Added system independent realpath() implementation which caches intermediate directories in realpath-cache
- Fixed bug #45044 (relative paths not resolved correctly)
- Fixed bug #43817 (opendir() fails on Windows directories with parent directory unaccessible).
[DOC] The semantic of realpath() on BSD and Windows is changed. Now it should work exactly in the same way as on Linux (POSIX.1-2001)
2008-08-12 08:01:24 +00:00
Johannes Schlüter
f869bbfc1b MFH: Fix #45763 (mysqli::multi_query does not work with mysqlnd) 2008-08-11 12:33:56 +00:00
Henrique do Nascimento Angelo
157ad7764e missing entries 2008-08-10 22:02:05 +00:00
Jani Taskinen
6ed5bbe43a - Already in 5.2 NEWS 2008-08-10 15:02:37 +00:00
Arnaud Le Blanc
71e50de4fc MFH: Fixed bug #45581 (htmlspecialchars() double encoding &#x hex items) 2008-08-10 13:26:13 +00:00
Pierre Joye
f9d813df51 - missing entry 2008-08-08 18:46:20 +00:00
Hannes Magnusson
014382b552 Apparently this is broken in alpha1 too 2008-08-08 11:09:31 +00:00
Pierre Joye
2ade954c52 - fbsql to pecl 2008-08-08 00:01:10 +00:00
Pierre Joye
a0b06fff99 - dbase moved to pecl 2008-08-07 23:58:39 +00:00
Jani Taskinen
333ae016f0 Tune news, added missing entry 2008-08-07 10:10:58 +00:00
Arnaud Le Blanc
c93fbf629b MFH:
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:25:33 +00:00
Kalle Sommer Nielsen
791555279b Backport fix for #45406 to PHP_5_2 2008-08-06 21:31:45 +00:00
Derick Rethans
3cb1759e08 - MFH: Fixed bug #45636 (fileinfo ext duplicate strndup). 2008-08-06 14:42:38 +00:00
Derick Rethans
8c1e71ff83 - MFH: Fixed bug #45717 (Fileinfo/libmagic build fails, missing err.h and
getopt.h).
2008-08-06 14:30:04 +00:00
Jani Taskinen
525f3c4793 MFH: General sync. WS / CS / etc. crap some people didn't bother to merge
MFH: before this commit..bunnies thank you all..
[DOC] - Added ext/hash support to ext/session's ID generator. (Sara)
[DOC] Ask Sara for explanation..
2008-08-06 05:53:31 +00:00
Johannes Schlüter
5e06d51ea2 - litespeed was merged from HEAD 2008-08-06 02:37:17 +00:00
Derick Rethans
833f96a2b3 - MFH: Fixed a bug that caused miscalculations with the "last <weekday> of <n>
month" relative time string.
2008-08-05 18:03:47 +00:00
Dmitry Stogov
7355c3c54c Removed shebang line check from CGI sapi (it is checked by scanner) 2008-08-04 07:20:15 +00:00
Kalle Sommer Nielsen
874b456078 MFH: Fixes #45406 - Patch by oleg dot grenrus at dynamoid dot com 2008-08-04 06:21:55 +00:00
Derick Rethans
ad10607c33 - MFH: Fixed bug #45696 (Not all DateTime methods allow method chaining). 2008-08-03 16:45:15 +00:00
Jani Taskinen
c7cb6f5480 typo, grammar 2008-08-03 12:22:20 +00:00
Marcus Boerger
97424e78d6 - Nitpicking
# Chris I merged you with Oracle corp. as you work for the company, or do
# you need to be clear about what you did?
2008-08-03 12:11:12 +00:00
Derick Rethans
4591f12d9f - MFH: Fixed bug #45545 (DateInterval has a limitation of 4 chars for ISO
durations).
2008-08-02 13:50:52 +00:00
Arnaud Le Blanc
5492454647 news 2008-08-02 06:36:40 +00:00
Dmitry Stogov
37a769353f Fixed bug #44100 (Inconsistent handling of static array declarations with duplicate keys). 2008-08-01 14:22:03 +00:00
Johannes Schlüter
fe0e4c2606 back to dev 2008-08-01 00:46:20 +00:00
Johannes Schlüter
346b97afb4 5.3.0alpha1 2008-08-01 00:09:24 +00:00
Jani Taskinen
678811d9b2 - Fix news 2008-07-31 22:20:40 +00:00
Johannes Schlüter
935fdb0734 - Added a few exts 2008-07-31 21:40:26 +00:00
Felipe Pena
766fe51d3d Typo 2008-07-31 21:24:27 +00:00
Johannes Schlüter
362bd99f58 move 'Improved' stuff together and max 80 char width 2008-07-31 21:12:04 +00:00
Scott MacVicar
26dae773cd Fix some NEWS entries 2008-07-31 20:47:10 +00:00
Johannes Schlüter
d2b3695aea Update NEWS 2008-07-31 20:19:35 +00:00
Arnaud Le Blanc
c58e2b9d20 MFH: 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:59:10 +00:00
Arnaud Le Blanc
0f9026daf9 MFH: 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:08:02 +00:00
Pierre Joye
f2b67842c7 - nothing to do here 2008-07-28 11:54:37 +00:00
Pierre Joye
1e820eca02 -MFH:
- #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:50:35 +00:00
Derick Rethans
7537b5b6d7 - MFH: Fixed DateTime::setTimestamp() and added a test for it. 2008-07-27 19:10:23 +00:00
Christopher Jones
0dc603c839 Add OCI8 changes 2008-07-27 16:27:41 +00:00
Dmitry Stogov
f5f8cba8e9 Fixed bug #44660 (Indexed and reference assignment to propery of non-object don't trigger warning) 2008-07-26 17:59:54 +00:00
Dmitry Stogov
478acfd8b4 . 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:30:28 +00:00
Arnaud Le Blanc
77baec3f6d MFH: Fix bug #45622 (isset($arrayObject->p) misbehaves with ArrayObject::ARRAY_AS_PROPS set) 2008-07-26 12:34:10 +00:00
Michael Wallner
15da8367c4 - 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:37 +00:00
Dmitry Stogov
ed2d3e4c7e Substitute persistent constants by their values at compile time. (Matt) 2008-07-25 04:54:08 +00:00
Arnaud Le Blanc
f9ef6c8723 MFH: Fixed bug #45614 (ArrayIterator::current(), ::key() can show 1st private prop of wrapped object) 2008-07-24 15:54:41 +00:00
Arnaud Le Blanc
236b03985d Fixed #42663 (gzinflate() try to allocate all memory with truncated data), not present in HEAD. 2008-07-24 14:38:37 +00:00
Dmitry Stogov
2cca3d0dd2 Optimized ZEND_SIGNED_MULTIPLY_LONG() (Matt) 2008-07-24 13:46:28 +00:00
Moriyoshi Koizumi
e29684a2ce - MFH: Added "mbstring.http_output_conv_mimetypes" INI directive. 2008-07-24 13:01:50 +00:00
Arnaud Le Blanc
aa31988e43 MFH: Allow filters to work on INPUT_SERVER in CLI (bug #44779) 2008-07-24 09:12:45 +00:00
Jani Taskinen
d1cc28ca31 80 chars per line.. 2008-07-23 19:50:47 +00:00
Derick Rethans
11f9cd84f7 - MFH: Fixed bug #43452 (strings containing a weekday, or a number plus weekday
behaved incorrect of the current day-of-week was the same as the one in the
  phrase).
2008-07-23 18:50:37 +00:00
Andrey Hristov
9f677316c7 NEWS!: 2008-07-23 14:10:04 +00:00
Marcus Boerger
ae8ef6c13a - MFH Add MultipleIterator (Arnaud, Marcus) 2008-07-22 22:54:35 +00:00
Pierre Joye
39ae248465 - MFH: Segfault when an exception is thrown on persistent connections 2008-07-22 06:51:00 +00:00
Pierre Joye
86a493f435 - SAB: #41996, Problem accessing Oracle ROWID (Martin Jansen) 2008-07-21 17:35:50 +00:00
Johannes Schlüter
be0793d2e7 MFH: Add mysqlnd support for PDO_mysql, fixes at least bug#41997,#42499,
pecl#12794, pecl#12401

# Running the tests:
# (Note: Doesn't work currnetly on HEAD, see:
#  http://news.php.net/php.qa/64378)
#
#  PDO_MYSQL_TEST_DSN  - DSN
#    For example: mysql:dbname=test;host=localhost;port=3306
#
#  PDO_MYSQL_TEST_HOST    - database host
#  PDO_MYSQL_TEST_DB      - database (schema) name
#  PDO_MYSQL_TEST_SOCKET  - database server socket
#  PDO_MYSQL_TEST_ENGINE  - storage engine to use
#  PDO_MYSQL_TEST_USER    - database user
#  PDO_MYSQL_TEST_PASS    - database user password
#  PDO_MYSQL_TEST_CHARSET - database charset
#
#  NOTE: if any of PDO_MYSQL_TEST_[HOST|DB|SOCKET|ENGINE|CHARSET] is
#  part of PDO_MYSQL_TEST_DSN, the values must match. That is, for example,
#  for PDO_MYSQL_TEST_DSN = mysql:dbname=test you MUST set PDO_MYSQL_TEST_DB=test.
2008-07-21 13:09:28 +00:00
Andrey Hristov
c6c238c772 Pure, old-fashion CVS grown, bug fix. 2008-07-21 13:05:46 +00:00
Hannes Magnusson
d619b57efa MFH: Add E_USER_DEPRECATED (patch by Lars Strojny) 2008-07-21 09:41:00 +00:00
Kalle Sommer Nielsen
c9be725fd8 MFH + NEWS entry 2008-07-20 19:03:18 +00:00
Felipe Pena
a30add1ba0 - BFN: #45571 2008-07-20 16:54:06 +00:00
Marcus Boerger
e537b7934d - MFH Added RecursiveTreeIterator 2008-07-19 15:49:21 +00:00
Felipe Pena
46ed694cb7 - Added: Deprecated ticks support. 2008-07-18 17:55:59 +00:00
Derick Rethans
84693147d0 - MFH: Added support for selectively listing timezone identifiers by country
code through timezone_identifiers_list() / DateTimezone::listIdentifiers().
- MFH: Added timezone_location_get() / DateTimezone::getLocation() for
  retrieving location information from timezones.
2008-07-18 14:33:53 +00:00
Dmitry Stogov
d5ef2f466c Added support for lambda functions and closures 2008-07-14 09:49:03 +00:00
Antony Dovgal
9ff6e26d74 fix typo 2008-07-14 06:44:05 +00:00
Marcus Boerger
ffb3a6b658 - BFN 2008-07-13 21:59:50 +00:00
Etienne Kneuss
e16b96a58a add SplFileInfo::getPathInfo fix to NEWS 2008-07-09 10:07:46 +00:00
Derick Rethans
198746158f - MFH: Fixed memory leaks and segfaults, patch by Joe Orton.
- MFH: Fixed bug #45038 (Crash when using DateTimeZone object returned by
  Date::getTimezone).
2008-07-08 17:41:51 +00:00
Scott MacVicar
64ba428eab Typo, missing items and clarify what sqlite was updated. 2008-07-08 12:15:39 +00:00
Scott MacVicar
8fa44736ea Add missing NEWS items. 2008-07-08 10:28:52 +00:00
Jani Taskinen
e90f5d254f - We do not mention bugs that were not in any release. (DMITRY!..) 2008-07-08 09:33:49 +00:00
Jani Taskinen
a95ed1da15 - Some more reordering 2008-07-08 09:30:38 +00:00
Jani Taskinen
88d4f52a0b - Reorder, simplify, make it somewhat more readable and easier to read. :) 2008-07-08 09:26:21 +00:00
Dmitry Stogov
f7f74367df Fixed bug #45434 (circular reference causes segfault in gc_collect_cycles()) 2008-07-08 08:16:09 +00:00
Nuno Lopes
053dc572ca upgrade to PCRE 7.7 2008-07-06 15:17:25 +00:00
Pierre Joye
dead79dbcd - mcrypt_create_iv entry 2008-07-03 13:54:50 +00:00
Pierre Joye
414f7fa6c3 - move sybase to pecl 2008-06-23 19:55:27 +00:00
Pierre Joye
0928653619 - NEWS for fpdf and ncurses > PECL 2008-06-19 15:50:44 +00:00
Dmitry Stogov
76a9a42ee2 - Removed direct executor recursion.
- Use fastcall calling convention in executor on x86.
2008-06-11 13:18:41 +00:00
Marcus Boerger
59b914c5e0 - BFN 2008-06-10 17:51:51 +00:00
Felipe Pena
b368d34018 BFN 2008-06-03 17:17:29 +00:00
Kalle Sommer Nielsen
dd9fb9b0cd [DOC] enable inet_pton() and inet_ntop() on Windows 2008-05-22 22:06:15 +00:00
Felipe Pena
a8e5065f36 - Removed "short_open_tag" entry (the related patch was reverted) 2008-05-18 22:07:23 +00:00
Hannes Magnusson
3dfa7349ad new ini_get_all() parameter 2008-05-07 20:04:05 +00:00
Antony Dovgal
046e79ddb5 MFH 2008-05-07 16:01:37 +00:00
David Coallier
70518d4aa1 - Added NEWS item for fixation of bug 44811 2008-05-07 15:27:25 +00:00
Dmitry Stogov
5521912b15 Use IS_CV for dirrent access to $this variable 2008-05-07 12:04:39 +00:00
Kalle Sommer Nielsen
ec4c40aa00 Fixed odd errors caused by last commit 2008-05-06 11:59:00 +00:00
Kalle Sommer Nielsen
ed7e0c0dff * Changed php_*h() to be static
* Changed NEWS entry to be say 'native' insted of 'Windows' (ref. *h())
2008-05-06 10:55:49 +00:00
Dmitry Stogov
1b317f1526 - Use ZEND_FREE() opcode instead of ZEND_SWITCH_FREE(IS_TMP_VAR)
- Fixed bug #44913 (Segfault when using return in combination with nested loops
and continue 2)
2008-05-05 11:03:35 +00:00
Kalle Sommer Nielsen
f61731874a Merge PHP_5_3 - Implemented Windows support for asinh(), acosh(), atanh(), log1p() and expm1()
[DOC] Merge_5_3
2008-05-05 07:29:41 +00:00
Derick Rethans
f533671711 - MFH: Added support for "<xth> <weekday of" and "last <weekday> of" phrases to
be used with months - like in "last saturday of februari 2008".
2008-05-04 20:52:56 +00:00
Felipe Pena
5bab5da3f3 BFN: #44899 2008-05-03 16:11:56 +00:00
Derick Rethans
04929019d2 - Tabs to spaces. 2008-05-03 11:08:09 +00:00
Derick Rethans
c36edb6a20 - Added support for using an end date to limit the amount of recursions
with the DatePeriod iterator.
#- @doc
2008-05-03 10:59:36 +00:00
Derick Rethans
76708f3c2e - MFH: Fixed weekdays adding/subtracting algorithm. 2008-05-03 10:04:37 +00:00
Derick Rethans
eb64b777fa - MFH: Fixed an issue in date() where a : was printed for the O modifier after
a P modifier was used.
2008-05-02 21:33:05 +00:00
Derick Rethans
8c5274f479 - MFH: Added the DatePeriod class/iterator that iterates over a date time
object for a specific number of iterators and applies a DateInterval each
  time.
@DOC: More will follow though
2008-05-01 00:12:24 +00:00
Dmitry Stogov
2ecf4bb0a7 Lazy EG(active_symbol_table) initialization 2008-04-29 08:15:20 +00:00
Greg Beaver
c46d651b3e Fixed potentially confusing error message on failure when no errors are logged 2008-04-28 22:37:31 +00:00
Derick Rethans
357292a098 - MFH: Fixed "this week", "previous week"/"last week" and "next week" phrases
by actually meaning the week.
#- MFH: For now the week starts on Monday, but I plan on making that
#  configurable.
2008-04-27 19:14:33 +00:00
Derick Rethans
2047fa858c - Added new date/time functionality:
. support for diffing date/times through date_diff() / DateTime::diff().
  . added DateInterval class to represent the difference between two date/times.
  . support for parsing ISO intervals for use with DateInterval.
  . date_add() / DateTime::add(), date_sub() / DateTime::sub() for applying an
    interval to an existing date/time.
- MFH: Fixed bug #44742 (timezone_offset_get() causes segmentation faults).
2008-04-25 12:35:58 +00:00
Dmitry Stogov
1303c45e02 Fixed bug #44805 (rename() function is not portable to Windows). (Pierre) 2008-04-24 07:45:01 +00:00
Antony Dovgal
4c4542e0d5 add news entry 2008-04-21 15:42:26 +00:00
Rob Richards
de34e87000 BFN 2008-04-17 20:23:49 +00:00
Ilia Alshanetsky
753529325e MFB: Fixed bug #44034 (FILE_IGNORE_NEW_LINES in file() does not work as
expected when lines end in \r\n)
2008-04-15 15:48:20 +00:00
Hannes Magnusson
ef78497f78 MFH: Add "params" argument to stream_context_create() 2008-04-14 08:15:11 +00:00
Dmitry Stogov
d9dd1b9e14 Optimized ZEND_RETURN opcode to not allocate and copy return value if it is not
used.
2008-04-11 09:43:28 +00:00
Marcus Boerger
7b22726093 BFN 2008-04-11 08:35:54 +00:00
Etienne Kneuss
a1e0945143 MFH: Implement forward_static_call(_array) to complete LSB. Patch by Mike Lively 2008-04-07 10:44:59 +00:00
Felipe Pena
235770b27f - HEREDOC syntax with double quotes 2008-04-05 23:50:21 +00:00
Felipe Pena
065af96002 New entry (MFH: goto) 2008-03-29 00:01:42 +00:00
Dmitry Stogov
862f9ee3d2 Added ability to use stream wrappers in include_path 2008-03-27 10:33:40 +00:00
Andrey Hristov
5a717e7153 Fix typo, thank Jani :) 2008-03-25 20:00:18 +00:00
Andrey Hristov
598f89d86e news entry 2008-03-25 18:30:56 +00:00
Stanislav Malyshev
e6831f4b4f document the change 2008-03-20 18:12:58 +00:00
Andrey Hristov
878f817df6 News entry 2008-03-20 15:39:44 +00:00
Andrey Hristov
caf3e9c3f1 Fixed a bunch of bugs reported in
Bug #44352 mysqli_connect_error() false negative for host errors
From now on the mysqli object doesn't have that magic properties, like
error, which were readable but not visible through isset(), property_exists()
and var_dump(). All other ext/mysqli classes were fixed too.
Now it will be easier to debug mysqli based applications.
2008-03-18 16:57:31 +00:00
Felipe Pena
2b10c53ae1 MFH: Dropped zend.ze1_compatibility_mode
[DOC]
2008-03-18 14:10:45 +00:00
Dmitry Stogov
8c885b8913 Implemented concept of "delayed early binding" that allows opcode caches to perform class declaration (early and/or run-time binding) in exactly the same order as vanila php.
The following pseudo-code explains how it should be used in opcode cache.

function cache_compile_file($filename) {
        if (!is_cached($filename)) {
                ...
                orig_compiler_options = CG(compiler_optins);
                CG(compiler_options) |= ZEND_COMPILE_IGNORE_INTERNAL_CLASSES |
                                        ZEND_COMPILE_DELAYED_BINDING;
                $op_array = orig_compile_file($filename);
                CG(compiler_options) = orig_copiler_options;
                ...
        } else {
                $op_array = restore_from_cache($filename);
        }
        zend_do_delayed_early_binding($op_array);
}
2008-03-18 08:36:30 +00:00
Stanislav Malyshev
8223bb26a6 add request_order 2008-03-17 16:34:18 +00:00
Antony Dovgal
5e803b451d BFN 2008-03-17 14:55:40 +00:00
Marcus Boerger
af316021e8 - Rewrite scanner to be based on re2c instead of flex
The full patch is available as:
  http://php.net/~helly/php-re2c-5.3-20080316.diff.txt
  This is against php-re2c repository version 98
  An older patch against version 97 is available under:
  http://php.net/~helly/php-re2c-97-20080316.diff.txt
2008-03-16 21:06:55 +00:00
Derick Rethans
0e9a12d8b1 - MFH: Allow datetime objects to be serialized and woken up.
- MFH: Implemented __set_state().
2008-03-14 16:19:52 +00:00
Derick Rethans
7aa69c21df - Fixed bug #44257 (timelib_tz_lookup_table must use float for gmtoffset). 2008-03-13 15:59:48 +00:00
Derick Rethans
a27d6afd83 - Added support for parsing date/time strings returned by MS SQL with strtotime(). 2008-03-13 15:54:25 +00:00
Felipe Pena
d269b5fd50 Merged into 5_2 2008-03-12 11:28:37 +00:00
Dmitry Stogov
be8daf1f47 Optimized ZEND_FETCH_CLASS + ZEND_ADD_INTERFACE into single ZEND_ADD_INTERFACE opcode 2008-03-12 10:32:12 +00:00
Dmitry Stogov
0f2247ae94 Fixed bug #44414 (Incomplete reporting about abstract methods) 2008-03-12 09:46:42 +00:00
Felipe Pena
e0de453954 Fixed bug #44394 (Last two bytes missing from output) 2008-03-12 02:40:57 +00:00
Andrey Hristov
9cb1ef66b5 Remove unneeded entry 2008-03-10 11:19:24 +00:00
Andrey Hristov
5034db7cbb Update NEWS 2008-03-10 09:22:19 +00:00
Andrey Hristov
704cab59ee update NEWS 2008-03-08 14:58:04 +00:00
Nuno Lopes
03444a67be BFN #44214 2008-03-08 13:03:59 +00:00
Felipe Pena
11bbb0165a BFN: #39108 2008-03-08 12:17:54 +00:00
Nuno Lopes
3f67ea4568 BFN: #44336 2008-03-08 12:05:19 +00:00
Gwynne Raskind
342a75906a BFN 2008-03-08 10:36:15 +00:00
Scott MacVicar
1f150df537 BFN 2008-03-08 04:20:02 +00:00
Scott MacVicar
e6f6a1981f BFN. 2008-03-07 17:17:00 +00:00
Jani Taskinen
51a57fe26e style 2008-03-07 14:40:08 +00:00
Scott MacVicar
1937e87f6d BFN 2008-03-07 12:19:56 +00:00
Dmitry Stogov
ab232458c7 Optimized require_once() and include_once() by eliminationg open() syscall on second usage. 2008-03-05 13:34:12 +00:00
Christopher Jones
b8a3bb32ef Add oci_bind_by_name update 2008-03-04 21:58:07 +00:00
Christopher Jones
f5d1186793 Add #41069. Clarify attributions. 2008-03-04 21:55:13 +00:00
Etienne Kneuss
e9918d1bcc Heaps addition 2008-02-29 09:42:23 +00:00
Felipe Pena
95c95d741b Fix (#43559) merged into 5_2 2008-02-27 02:10:40 +00:00
Felipe Pena
c47f4b9fd0 Entry existent in 5_2 2008-02-24 18:19:17 +00:00
Marcus Boerger
d3e5026564 - MFH Add E_DEPRECATED (Lars Strojny, Felipe Pena, Marcus)
[DOC] Finally added deprecation messages
2008-02-23 17:06:22 +00:00
Felipe Pena
f30b290938 Fix typo and add Derick's name 2008-02-21 20:01:23 +00:00
Antony Dovgal
70fb9a2078 news entry for new stuff 2008-02-21 13:37:14 +00:00
Pierre Joye
4652c2bf2c - [DOC] add PHP_MAJOR_VERSION, PHP_MINOR_VERSION, PHP_RELEASE_VERSION,
PHP_EXTRA_VERSION, PHP_VERSION_ID, PHP_ZTS and PHP_DEBUG constants
2008-02-15 14:51:39 +00:00
Derick Rethans
d161f4ec88 - Fixed speling. 2008-02-15 12:48:13 +00:00
Derick Rethans
a764d75d08 - Add the ReflectionProperty::setAccesible() method that allows non-public
property's values to be read through ::getValue().
#- [DOC]
2008-02-15 12:38:53 +00:00
Dmitry Stogov
ddcf7a2f49 Added NEWDOC 2008-02-12 09:27:45 +00:00
Stanislav Malyshev
b6e6e77fce __DIR__ announce 2008-02-12 00:24:12 +00:00
Dmitry Stogov
3ea9c13c4b Improved md5() implementation (Solar Designer) 2008-02-08 09:11:17 +00:00
Marcus Boerger
f6a0999957 - WS/Cleanup/grouping - WOW that'll be a really nice release!
# Thanks for everyone working on this already!!
2008-02-06 11:07:20 +00:00
Derick Rethans
a61e5f897c - MFH: Support "first/last day of <month>" style texts. 2008-02-03 14:15:07 +00:00
Felipe Pena
d37b0fca19 Missing Johannes' name 2008-02-03 12:59:41 +00:00
Marcus Boerger
b628fc219a - MFH Synch directory changes
[DOC]
# Class FilesystemIterator was introduced to have a better DirectoryIterator
# without having to change DirectoryIterator or RecursiveDirectoryIterator.
# On top of FilterIterator the new GlobIterator was introduced. This one allows
# to implement Countable(). But a glob stream flattens all structure, so it
# cannot be derived from RedursiveIterator. With the new structure all children
# of FilesystemIterator have nearly the same behavior. Just their capabilities
# are a bit different. Check out new inheritance tree on SplFileInfo:
#
# [marcus@frodo PHP_5_3]$ php ext/spl/examples/class_tree.php SplFileInfo
# make: `sapi/cli/php' is up to date.
# SplFileInfo
# |-DirectoryIterator (Iterator)
# | \-FilesystemIterator
# |   |-GlobIterator (Countable)
# |   \-RecursiveDirectoryIterator (RecursiveIterator)
# |     \-Phar (ArrayAccess, Countable)
# |-PharFileInfo
# \-SplFileObject (RecursiveIterator, SeekableIterator)
#   \-SplTempFileObject
2008-02-02 23:09:38 +00:00
Felipe Pena
4ac6390098 MFH: Added new parameter for strstr(), stristr() 2008-02-01 18:01:50 +00:00
Hannes Magnusson
79da75ced0 glob:// was added in 5.3, no need to mention bug fixes for it 2008-02-01 10:45:48 +00:00
Marcus Boerger
0b71904acc - Fixed glob:// stream handling in (Recursive)DirectoryIterator. 2008-01-30 20:31:07 +00:00
Felipe Pena
8452585fc8 Fixed Bug#43926 (isInstance() isn't equivalent to instanceof operator) 2008-01-30 10:27:28 +00:00
Dmitry Stogov
240fa244c3 Improved PHP binary size and startup speed with GCC4 visibility control (Nuno) 2008-01-30 09:41:12 +00:00
Derick Rethans
6878464e06 - MFH: Fixed bug #43960 (strtotime() returns timestamp in the future when given
a bogus string).
2008-01-29 20:10:24 +00:00
Antony Dovgal
ea5148d394 entry moved to 5_2 2008-01-29 13:39:57 +00:00
Dmitry Stogov
9770b3cb00 Fixed bug #43323 (Wrong count abstract methods). (Felipe, Dmitry) 2008-01-29 11:12:57 +00:00
Antony Dovgal
b989cba092 BFN 2008-01-29 08:57:26 +00:00
Antony Dovgal
ec34464024 BFN 2008-01-28 23:08:54 +00:00
Marcus Boerger
e9914e9d06 - MFH Make SplObjectStorage implement ArrayAccess
[DOC]
2008-01-28 22:48:15 +00:00
Derick Rethans
a1180690a4 - MFH: Added two optional parameters to timezone_transitions_get() /
DateTimeZone::getTranstions() to limit the range of transitions being
  returned.
2008-01-28 21:12:41 +00:00
Derick Rethans
ffbe501ad2 - MFH: Added date_timestamp_get() / DateTime::getTimestamp() to retrieve the
Unix timestamp belonging to a date object.
2008-01-28 20:30:51 +00:00
Dmitry Stogov
8d7d8bd018 Better message 2008-01-28 08:55:19 +00:00
Marcus Boerger
a339867860 MFH:
[DOC] Add ability to store associative infor with objects in SplObjectStorage
- Add second parameter to SplObjectStorage::attach()
- Add SplObjectStorage::setInfo()
- Add SplObjectStorage::getInfo()
2008-01-27 18:07:20 +00:00
Derick Rethans
216d0cb0ff - MFH: Added support for selectively listing timezone identifiers through
timezone_identifiers_list() / DateTimezone::listIdentifiers().
2008-01-27 17:29:14 +00:00
Scott MacVicar
23e3baf62d Fix html_entity_decode when converting numeric html entities, the numeric values for the extended characters don't correspond to that of windows-1251 and cp866. 2008-01-25 18:10:45 +00:00
Dmitry Stogov
f8297f6e37 Fixed bug #43426 (crash on nested call_user_func() calls) 2008-01-24 09:47:00 +00:00
Dmitry Stogov
0b6825102d Changed EG(argument_stack) implementation. 2008-01-24 09:41:39 +00:00
Antony Dovgal
e837a3b7b6 BFN 2008-01-23 12:13:40 +00:00
Marcus Boerger
10a0f20652 - MFH Bugfix #37076 (SimpleXML ignores .=). (felipe, marcus) 2008-01-22 20:42:22 +00:00
Dmitry Stogov
71592cec06 Added garbage collector 2008-01-22 09:27:48 +00:00
Etienne Kneuss
7366d48c04 MFH: Add doxygen docs for SplDoublyLinkedList, SplStack, SplQueue 2008-01-21 21:55:55 +00:00
Dmitry Stogov
fa47e900e2 Changed exception handling. Now each op_array doesn't contain ZEND_HANDLE_EXCEPTION opcode in the end 2008-01-21 19:39:55 +00:00
David Coallier
13be31db35 - Added lcfirst() announcement. 2008-01-21 18:28:11 +00:00
Hannes Magnusson
72473f5299 Add note about new getopt() features 2008-01-20 14:14:28 +00:00
Nuno Lopes
ac11490f82 pcre 7.5 is in 5.2 branch as well 2008-01-17 23:02:50 +00:00
Derick Rethans
2d2552956c - Fixed bug #41599 (setTime() fails after modify() is used). 2008-01-17 20:59:10 +00:00
Derick Rethans
3d0797da2b - MFH: Fixed bug #43075 (Support 2007-11-01T24:00:00+00:00). 2008-01-17 20:45:08 +00:00
Derick Rethans
3fb0e425e0 - MFH: Fixed bug #43808 (date_create never fails (even when it should)). 2008-01-17 20:35:02 +00:00
Derick Rethans
2d4db6b8d6 - Fixed bug #43003 (Invalid timezone reported for DateTime objects constructed
using a timestamp).
2008-01-17 19:59:00 +00:00
Derick Rethans
e549873c10 - MFH: Added support for abbreviation and offset based timezone specifiers for
DateTime::getOffset() and DateTime::getName().
- MFH: Fixed bug #43527 (DateTime created from a timestamp reports environment
  timezone).
- MFH: Fixed bug #42190 (Constructing DateTime with TimeZone Indicator
  invalidates DateTimeZone).
2008-01-17 18:49:45 +00:00
Marcus Boerger
626881d9e8 - MFH Fixed Bug #37964 (Reflection shows private methods of parent class)
(felipe@php.net)
2008-01-16 14:21:07 +00:00
Ilia Alshanetsky
6e936f3bdb Fixed in 5.2 2008-01-14 13:46:34 +00:00
Derick Rethans
9f979a16bf - Added new date/time functionality:
* date_parse_from_format(): Parse date/time strings according to a format.
  * date_create_from_format()/DateTime::createFromFormat(): Create a date/time
    object by parsing a date/time string according to a given format.
  * date_get_last_errors()/DateTime::getLastErrors(): Return a list of warnings
    and errors that were found while parsing a date/time string through:
    - strtotime() / new DateTime
    - date_create_from_format() / DateTime::createFromFormat()
    - date_parse_from_format()
# [DOC]
2008-01-13 15:16:02 +00:00
Nuno Lopes
18107c0b44 Fixed bug #42945 (preg_split() swallows part of the string) 2008-01-13 14:44:29 +00:00
Nuno Lopes
4c501a0ab6 upgrade PCRE to version 7.5 2008-01-13 12:44:57 +00:00
Dmitry Stogov
ab5bddd976 Fixed bug #39346 (Unsetting a static variable inside a destructor causes segfault later on) 2008-01-11 08:42:06 +00:00
Antony Dovgal
5dbb3e4d83 fix typo 2008-01-09 14:27:31 +00:00
Dmitry Stogov
18226f79bc Remplemented support for SplArray using Traversable interface. 2008-01-09 13:49:40 +00:00
Ilia Alshanetsky
dddc5682db Fixed typo 2007-12-30 16:46:27 +00:00
Andrey Hristov
77115c49ab Here comes the NEWS entry. The RM knows his job ;) 2007-12-28 15:44:45 +00:00
Dmitry Stogov
5a3eb53723 Fixed bug #38469 (unexpected creation of cycle, json tests failed, leaks memory) 2007-12-28 13:22:00 +00:00
Dmitry Stogov
964b8bb30d Added ability to use SplArrays instead of plain arrays in ext/soap. (Joshua Reese, Dmitry) 2007-12-27 13:10:20 +00:00
Hartmut Holzgraefe
edee094851 MFH: Fix for bug #42548 "PROCEDURE xxx can't return a result set" 2007-12-25 18:55:40 +00:00
Dmitry Stogov
2b981769a3 Fixed bug #42868 (Floats cast to integer produce unpredicatable results). (Zoe Slattery) 2007-12-17 10:02:13 +00:00
Scott MacVicar
d4bbbc0eab Change createFromTimestamp to setTimestamp 2007-12-14 14:49:15 +00:00
Scott MacVicar
6f04c5169e MFH: Add Datetime::createFromTimestamp to allow setting of a unix timestamp without invoking the date parser. 2007-12-14 14:28:36 +00:00
Dmitry Stogov
80e77c1366 Allowed multiple namespaces per file (Gregory) 2007-12-13 08:57:52 +00:00
Derick Rethans
fd73296bf2 - MFH: Fixed bug #43143 (Warning about empty IV with MCRYPT_MODE_ECB). 2007-12-01 17:20:45 +00:00
Dmitry Stogov
543f24742b *** empty log message *** 2007-11-23 11:31:22 +00:00
Dmitry Stogov
648fbe9d58 Fixed bug #43128 (Very long class name causes segfault) 2007-11-22 13:27:13 +00:00
Jani Taskinen
54bcf0c813 Missing bla...credit :) 2007-11-21 05:44:34 +00:00
Johannes Schlüter
27e5176ba2 Fix NEWS file 2007-11-21 00:03:59 +00:00
Johannes Schlüter
cbf466a953 MFH: Add stream_supports_lock() function (Benjamin Schulz) 2007-11-20 22:17:01 +00:00
Johannes Schlüter
611a56faba MFH: Add msg_queue_exists() function (Benjamin Schulz) [DOC] 2007-11-20 21:25:10 +00:00
Dmitry Stogov
c3ab6bd091 Fixed bug #43136 (possible crash on script execution timeout. The EG(function_state_ptr) is completely removed, EG(current_execute_data)->function_state must be used instead) 2007-11-20 09:51:12 +00:00
Antony Dovgal
1f1140a93a MFH: fix #42736 (xmlrpc_server_call_method() crashes) 2007-11-12 11:23:04 +00:00
Jani Taskinen
02d966c263 MFH:- Added support for [HOST=www.example.com] special sections
MFH:- Allowed using full path to load modules using "extension" directive
2007-11-09 16:27:43 +00:00
Lars Westermann
78e0afe7ad - ibase_query.c bugfixes 2007-11-08 19:54:19 +00:00
Jani Taskinen
070760c6a7 fix NEWS 2007-11-06 12:23:20 +00:00
Marcus Boerger
5aa7108eb2 - MFH Add glob stream wrapper
[DOC] The glob stream wrapper allows stuff like this:
php -r '$it = new DirectoryIterator("glob://ext/spl/*.c");
        foreach($it as $f) var_dump($f);'
2007-11-06 12:12:58 +00:00
Jani Taskinen
dcb71d7bfc add news 2007-11-06 09:45:37 +00:00
Sara Golemon
f75ae01f09 MFH: http/ignore_errors context option 2007-11-05 01:00:43 +00:00
Lars Westermann
c1ce41ac34 PDO_Firebird bugfixes 2007-11-03 20:56:58 +00:00
Jani Taskinen
eec1ca7387 fix news 2007-11-01 22:09:50 +00:00
Stanislav Malyshev
245d55674a add gmp_testbit() 2007-11-01 20:36:48 +00:00
Stanislav Malyshev
b6914a87d7 add gmp fixes 2007-11-01 20:35:36 +00:00
Dmitry Stogov
bf0d17065f Fixed bug #42773 (WSDL error causes HTTP 500 Response) 2007-11-01 12:26:25 +00:00
Dmitry Stogov
a1d37c3c7f Fixed bug #42848 (Status: header incorrect under FastCGI) 2007-11-01 11:12:33 +00:00
Sara Golemon
dc08ee3404 Note addition of +/* specifiers 2007-10-29 17:17:54 +00:00
Dmitry Stogov
6f7b738b71 Added CGI SAPI -T option, to measure execution time of script repeated several times. 2007-10-25 05:39:06 +00:00
Dmitry Stogov
b599e434ad Fixed bug #35163 (Array elements can lose references) 2007-10-23 09:55:11 +00:00
Johannes Schlüter
e3b92dbca2 - There's no need to mention these bugs, they all belong to "Added namespaces" 2007-10-17 17:22:52 +00:00
Dmitry Stogov
68bacdd797 Fixed possible crash because of uninitialized value (Zdash Urf) 2007-10-17 12:09:03 +00:00
Dmitry Stogov
af76115fe5 Fixed bug #42637 (SoapFault : Only http and https are allowed). (Bill Moran) 2007-10-17 11:18:34 +00:00
Dmitry Stogov
cb0991bb85 Fixed bug #42919 (Unserializing of namespaced class object fails) 2007-10-17 10:36:33 +00:00
Dmitry Stogov
1087e6b1e6 Fixed bug #42859 (import always conflicts with internal classes). (cellog@php.net, Dmitry) 2007-10-17 10:01:22 +00:00
Scott MacVicar
798c222c06 BFN
[DOC] Note: getimagesize() needs a note about icon support and that information is about the icon with the highest bitrate.
2007-10-13 18:08:04 +00:00
Nuno Lopes
66a24c86a6 Fixed bug #42737 (preg_split('//u') triggers a E_NOTICE with newlines) 2007-10-07 13:57:10 +00:00
Nuno Lopes
640db15ff8 BFN: #37911 2007-10-07 11:51:35 +00:00
Nuno Lopes
41dcd7d0b5 upgrade pcre to version 7.4 2007-10-07 10:35:03 +00:00