Commit Graph

3720 Commits

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