Commit Graph

3816 Commits

Author SHA1 Message Date
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