Commit Graph

4111 Commits

Author SHA1 Message Date
Timm Friebe
9543aa058d - Documented sybase_connect()'s new optional parameter 'new' 2008-11-10 11:03:22 +00:00
Kalle Sommer Nielsen
88bb4f6134 Fix NEWS 2008-11-09 11:39:15 +00:00
Timm Friebe
34906d50f3 - Added note on bugfix for #30312
- Added entry on CS_ROW_FAIL patch fix
2008-11-09 10:32:35 +00:00
David Soria Parra
acdc79e876 Use right format 2008-11-06 22:12:12 +00:00
David Soria Parra
6e3bf2157e Refer to a feature request that contains a better description of the flags 2008-11-06 21:56:06 +00:00
David Soria Parra
47e909faed MFH: Detect Sun C compiler and set default flags if it is used 2008-11-06 20:42:11 +00:00
Felipe Pena
a3714456e6 - Reorder 2008-11-06 01:38:56 +00:00
Etienne Kneuss
c6fbd074ce Add references to #46421 #45976 2008-11-06 01:09:32 +00:00
Arnaud Le Blanc
2276e85f13 MFH: Added parse_ini_string() function (grange at lemonde dot fr, Arnaud)
[DOC] new function parse_ini_string()
      proto array parse_ini_string(string ini_string
          [, bool process_sections [, int scanner_mode]])
      Same as parse_ini_file() except that it takes a string instead of a
      filename.
2008-11-05 21:35:02 +00:00
Lukas Smith
abbd6d3811 fixed ext/msql NEWS entry 2008-11-04 23:01:13 +00:00
Lukas Smith
839cdb409e ext/msql is now in PECL starting alpha3 [DOC] 2008-11-04 22:31:48 +00:00
Marcus Boerger
7126de4912 - Next step in namespaces, using / as namespace separator. 2008-11-04 15:58:55 +00:00
Jani Taskinen
963abc546d - Fix order (this is not rocket science.. >:-p ) 2008-11-03 12:03:46 +00:00
Arnaud Le Blanc
b3d0514b6f Fixed bug #44575 (parse_ini_file comment # line problems)
[DOC] parse_ini_file(): comments starting with # are deprecated in PHP 5.3
      (comments starting with ; should be used instead)
2008-11-02 23:36:10 +00:00
Scott MacVicar
355f62c264 Add some missing news entries 2008-11-02 23:06:27 +00:00
Felipe Pena
82a251172c - Backported str_getcsv() into 5.3 2008-11-02 18:32:12 +00:00
Jani Taskinen
16c46c635f - Done in 5.2.7 2008-11-02 14:14:12 +00:00
Johannes Schlüter
d13d710cee Fix NEWS 2008-10-27 18:33:22 +00:00
Johannes Schlüter
40e42663f5 MFH: Fix #44135 (PDO MySQL does not support CLIENT_FOUND_ROWS) 2008-10-27 18:32:08 +00:00
Johannes Schlüter
806ea848f4 BFN 2008-10-27 17:25:43 +00:00
Derick Rethans
0d084028c8 - Fixed NEWS entries. 2008-10-26 12:56:46 +00:00
Arnaud Le Blanc
96103c8793 BFN moved to PHP_5_2 2008-10-23 20:23:57 +00:00
Arnaud Le Blanc
15aced54b0 MFH: Fixed bug #46360 (TCP_NODELAY constant for socket_{get,set}_option) 2008-10-22 18:59:33 +00:00
Ilia Alshanetsky
b2bc40f70c Already in 5.2 2008-10-21 23:22:00 +00:00
Arnaud Le Blanc
5b320b8a9b BFN moved to PHP_5_2 2008-10-21 16:44:30 +00:00
Arnaud Le Blanc
007538e228 typo 2008-10-21 03:32:11 +00:00
Arnaud Le Blanc
e3c556c85e MFH: Fixed FCGI_GET_VALUES requests (fixes #45522) 2008-10-21 03:19:28 +00:00
Kalle Sommer Nielsen
12bd1eae9f [DOC] Deprecate define_syslog_variables() in 5.3 2008-10-15 18:41:57 +00:00
Johannes Schlüter
cb8c5cf48c Update NEWS 2008-10-14 19:03:36 +00:00
Greg Beaver
59e52885a1 fix Bug #46026: bz2.decompress/zlib.inflate filter tries to decompress after end of stream
[DOC] add concatenation option to bz2.decompress stream filter
2008-10-11 19:14:08 +00:00
Greg Beaver
61d3c9f8c7 note fix to bug #45907: undefined reference to 'PHP_SHA512Init' 2008-10-09 00:51:10 +00:00
Felipe Pena
e68106988a - MFH: Fixed bug #46238 (Segmentation fault on static call with empty string method) 2008-10-06 00:40:02 +00:00
Etienne Kneuss
46aad39ee2 Moved to NEWS in 5_2 2008-10-05 14:50:42 +00:00
Etienne Kneuss
0d7d9b0540 Fix #46222 (Allow indirect modifications of Arrays inside ArrayObject + fix EG(uninitialized_zval_ptr) overwrite) 2008-10-05 14:20:55 +00:00
Ilia Alshanetsky
fdcdf8c02b Fixed bug #46206 (pg_query_params/pg_execute convert passed values to
strings).
2008-10-01 20:30:23 +00:00
Dmitry Stogov
8d610e79ac Added ability to send user defined HTTP headers with SOAP request. 2008-10-01 13:13:34 +00:00
Dmitry Stogov
f656c6fc70 Fixed bug #46205 (Closure - Memory leaks when ReflectionException is thrown) 2008-10-01 07:30:31 +00:00
Greg Beaver
21c9fb32c1 note fix to Bug #46194 SIGSEGV when requested file is not found 2008-09-30 02:41:33 +00:00
Etienne Kneuss
f0cf9b4c88 MFH: Fix #46192 (Serialization of ArrayObject with objects as storage) 2008-09-29 22:45:28 +00:00
Rob Richards
612beefba8 BFN 2008-09-29 16:53:08 +00:00
Greg Beaver
c6f452fb53 note fix to Bug #46178 memory leak in ext/phar, remove 'useless entry' according to Hannes 2008-09-26 16:32:21 +00:00
Ilia Alshanetsky
310f4583a4 Fixed typo 2008-09-24 23:43:28 +00:00
Felipe Pena
a1d2b4d940 - BFN #46160 2008-09-23 12:17:50 +00:00
Greg Beaver
17cfd5f24e MF52 fix Bug #46147: after stream seek, appending stream filter reads incorrect data 2008-09-22 01:26:14 +00:00
Ilia Alshanetsky
5c95af8be3 WS 2008-09-21 18:13:45 +00:00
Dmitry Stogov
b6a4094c03 Fixed bug #46115 (Memory leak when calling a method using Reflection) 2008-09-19 12:48:33 +00:00
Scott MacVicar
ba2f507871 MFH: Show the library version currently loaded as well as the version the extension was compiled with. Useful for checking PHP is using the latest version. 2008-09-18 16:09:19 +00:00
Scott MacVicar
d875c9f889 MFH: mhash algorithm parameter was modified when it was a zval, also update a test. 2008-09-18 11:59:13 +00:00
Rob Richards
766ad69755 BFN 2008-09-18 11:49:36 +00:00
Ilia Alshanetsky
4732ab390c Fixed bug #46110 (XMLWriter - openmemory() and openuri() leak memory on
multiple calls).
2008-09-17 23:27:53 +00:00
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