Jérôme Loyet
bf28d740e3
- Changed listen.backlog in the FPM configuration file to default to 128
...
instead of -1 (except on FreeBSD and OpenBSD). This is the same value
as the one used in the cgi sapi. This patch completes revision 302725.
2010-08-31 09:33:53 +00:00
Dmitry Stogov
a95dd97752
Added apache compatible functions (apache_child_terminate, getallheaders, apache_request_headers, apache_response_headers) to FastCGI SAPI
2010-08-27 08:34:44 +00:00
Adam Harvey
f33837ff97
Implemented request #34857 (Change array_combine behaviour when called with
...
empty arrays). Patch by Joel Perras <joel.perras@gmail.com>.
2010-08-27 03:54:10 +00:00
Dmitry Stogov
2188f26c45
Fixed bug #52614 (Memory leak when writing on uninitialized variable returned from method call)
2010-08-25 09:14:36 +00:00
Jérôme Loyet
266e369184
- Changed listen.backlog in the FPM configuration file to default to 128
...
instead of -1. This is the same value as the one used in the cgi sapi.
2010-08-23 23:22:36 +00:00
Dmitry Stogov
8a6d73b084
improved performance of @ (silence) operator
2010-08-18 13:58:13 +00:00
Dmitry Stogov
bfbfd15a2a
improved performance of FastCGI request parsing
2010-08-18 08:22:41 +00:00
Andrey Hristov
18aadba237
here comes the news
2010-08-17 15:39:26 +00:00
Kalle Sommer Nielsen
4281addcb7
Implemented FR #52555 (Ability to get HTTP response code)
...
- Patch by Paul Dragoonis
2010-08-09 13:10:32 +00:00
Johannes Schlüter
eaad585a2e
- Drop (broken) support for libmysql 3.23 and 4.0 from pdo_mysql, see bug #51259
2010-08-05 13:29:44 +00:00
Stefan Marr
f223e28b1f
Added Traits to the NEWS file.
...
#There doesn't seem to be a consitent ordering,
#so I put it in front of the list, since it is a major language addition. Hope thats ok.
2010-08-01 20:53:32 +00:00
Dmitry Stogov
ca4de03eed
ZEND_FETCH_*_R operations simplified and can't be used with EXT_TYPE_UNUSED flag any more. Thit is very rare and useless case. ZEND_FREE might be required after them instead.
2010-07-16 13:38:09 +00:00
Dmitry Stogov
8aad91d14a
Simplified string offset reading
2010-07-16 11:44:30 +00:00
Dmitry Stogov
bc1f1d25fa
zend_ptr_stack allocation is delayed before the actual usage
2010-07-09 07:31:18 +00:00
Sebastian Bergmann
561f133ae1
Fugbix typo.
2010-07-08 15:05:22 +00:00
Dmitry Stogov
f0c8366a9e
- use interned strings for auto globals
...
- $GLOBALS became a JIT autoglobal, so it's initialized only if used (this may affect opcode caches)
2010-07-08 14:05:11 +00:00
Dmitry Stogov
8054458fb8
zend_stack initialization is delayed before the actual usage
2010-07-06 16:09:43 +00:00
Dmitry Stogov
1a1178a685
eliminated unnecessary iterations during request startup/shutdown
2010-07-06 11:40:17 +00:00
Ilia Alshanetsky
ef22824315
Upgraded bundled PCRE to version 8.10
2010-07-02 17:17:16 +00:00
Felipe Pena
e3fdf31b0b
- Fixed bug #52211 (iconv() returns part of string on error)
2010-07-01 01:11:08 +00:00
Pierre Joye
7c419199d1
- +FR
2010-06-21 09:11:35 +00:00
Pierre Joye
276f9a8678
- #48632 , ssl AES support
2010-06-21 08:47:25 +00:00
Pierre Joye
bd8d42729f
- #51295 , SQLite3::busyTimeout not existing
2010-06-20 15:30:49 +00:00
Pierre Joye
79baca329b
- #42060 , add paged results support
2010-06-15 19:47:28 +00:00
Felipe Pena
99c31b31ec
- Added array dereferencing support [DOC]
...
# http://wiki.php.net/rfc/functionarraydereferencing
2010-06-08 00:05:29 +00:00
Felipe Pena
00c48506cc
- New ReflectionClass method
2010-06-03 19:08:25 +00:00
Christopher Jones
e524236afa
Add Berkeley DB 5 support. (An outstanding issue with BDB 4.8 related to 51086 that also affects BDB 5 is not yet resolved)
2010-06-03 07:03:05 +00:00
Michael Wallner
29a1d56076
new output api NEWS
2010-05-31 14:33:11 +00:00
Michael Wallner
89e93723fb
Added support for object references in recursive serialize() calls. FR #36424
2010-05-26 07:24:37 +00:00
Dmitry Stogov
c5237d82bf
Added caches to eliminate repeatable run-time bindings of functions, classes, constants, methods and properties
2010-05-24 14:11:39 +00:00
Sara Golemon
6eb4218433
Add JSON_BIGINT_AS_STRING for json_decode() to parse large numbers
...
as strings rather than casting to double and loosing precision.
2010-05-21 22:59:58 +00:00
Johannes Schlüter
61db5cf98a
- Improved CLI Interactive readline shell (Johannes)
...
. Added cli.pager ini setting to set a pager for output.
. Added cli.prompt ini settingto configure the shell prompt.
. Added shortcut #inisetting=value to change ini settings at run-time.
. Don't terminate shell on fatal errors.
A pager can be a an shell command which will receive the command output on its
STDIN channel
php > #cli.pager=less
php > phpinfo();
(output will appear in the pager)
php > #cli.pager=grep -i readline
php > phpcredits();
Readline => Thies C. Arntzen
php > #cli.pager=
(output appears again direct on the terminal)
A prompt can contain a few escape sequences like
php > #cli.prompt=\e[032m\v \e[031m\b \e[34m\> \e[0m
5.3.99-dev php > //Colorful prompt with version number
A prompt can also contaian PHP code in backticks
php > #cli.prompt=`echo gethostname();` \b \>
guybrush php >
2010-05-20 20:55:33 +00:00
Ilia Alshanetsky
cf174c1366
Added support for JSON_NUMERIC_CHECK option in json_encode() that converts
...
numeric strings to integers.
2010-05-20 19:37:52 +00:00
Derick Rethans
1bc9247651
- Added scalar typehinting.
2010-05-20 19:18:35 +00:00
Andrey Hristov
74b3f46d20
NEWS entry
2010-05-18 12:01:15 +00:00
Pierrick Charron
1386a6fcc6
Added support for CURLOPT_MAX_RECV_SPEED_LARGE and CURLOPT_MAX_SEND_SPEED_LARGE.
2010-05-14 06:29:54 +00:00
Sara Golemon
1fd85e29de
Rename JSON_Serializable to JsonSerializable per ML discussion
2010-05-12 16:42:48 +00:00
Arnaud Le Blanc
cfce0a9828
NEWS
2010-05-11 16:40:03 +00:00
Hannes Magnusson
0a4054d85a
NEWS is not docs and limit lines to 80chars
2010-05-07 19:04:45 +00:00
Dmitry Stogov
d5800f881c
Optimized access to static properties using executor specialization. A constant class name may be used as a direct operand of ZEND_FETCH_* instruction without previous ZEND_FETCH_CLASS.
2010-05-06 10:27:35 +00:00
Dmitry Stogov
77b2e54658
Fixed PDO objects binary incompatibility
2010-05-06 08:37:41 +00:00
Sara Golemon
1381b14eaa
Add JSON_Serializable interface
...
Objects implementing JSON_Serializable will have
their ->jsonSerialize() method called
Similar to serialize() and __sleep()
2010-05-05 22:48:14 +00:00
Etienne Kneuss
e6ee260b25
Implement SplObjectStorage::getHash()
2010-04-29 15:47:41 +00:00
Kalle Sommer Nielsen
dd8e59da8f
Removed safe_mode
...
* Removed ini options, safe_mode*
* Removed --enable-safe-mode --with-exec-dir configure options on Unix
* Updated extensions, SAPI's and core
* php_get_current_user() is now declared in main.c, thrus no need to include safe_mode.h anymore
2010-04-26 23:53:30 +00:00
Felipe Pena
0a6bcd44a7
- Removed allow_call_time_pass_reference (Pierrick)
2010-04-26 00:13:34 +00:00
David Soria Parra
08b9fdc8a3
Add DTrace probes
2010-04-24 13:32:30 +00:00
Dmitry Stogov
e87d72002b
Optimized access to global constants using values with pre-calculated hash_values from litersls table
2010-04-22 15:03:17 +00:00
Dmitry Stogov
fb9d95e5a4
ZEND_RETURN is splitted into two new instructions ZEND_RETURN and ZEND_RETURN_BY_REF
2010-04-22 11:56:45 +00:00
Kalle Sommer Nielsen
e73a794105
Removed the session 4.2 bug compatibility mode
2010-04-22 01:07:48 +00:00
Kalle Sommer Nielsen
3f29144348
Removed session_is_registered(), session_register() and session_unregister().
...
-- They are no longer needed without register_globals
2010-04-21 23:03:16 +00:00
Kalle Sommer Nielsen
9d395a4a2b
Removed import_request_variables(), this is not needed anymore without register_globals
2010-04-21 22:23:55 +00:00
Kalle Sommer Nielsen
9a38f301d6
Remove highlight.bg, it was removed in the old trunk and its not referenced in zend_highlight.c, meaning its not even implemented correctly in 5.3.
2010-04-21 21:56:24 +00:00
Kalle Sommer Nielsen
febee11285
Removed register_globals
2010-04-21 01:27:22 +00:00
Dmitry Stogov
453b49ed20
Added a number of small performance tweaks and optimizations
...
. ZEND_RECV now always has IS_CV as its result
. ZEND_CATCH now has to be used only with constant class names
. ZEND_FETCH_DIM_? may fetch array and dimension operans in a different order
2010-04-20 11:16:39 +00:00
Dmitry Stogov
dd5c478be6
Added concept of interned strings. All strings constants known at compile time are allocated in a single copy and never changed.
2010-04-20 11:05:54 +00:00
Dmitry Stogov
94dd83722b
Changed the structure of op_array.opcodes. The constant values are moved from opcode operands into a separate literal table
2010-04-20 10:57:45 +00:00
Dmitry Stogov
ea53dc5af6
Added an optimization which saves memory and emalloc/efree calls for empty HashTables
2010-04-20 10:49:22 +00:00
Stanislav Malyshev
c93a4f192b
restore $this support for closures to its former glory
2010-04-19 19:45:03 +00:00
Kalle Sommer Nielsen
a5304b138f
Removed register_long_arrays ini option (and $HTTP_SESSION_VARS from ext/session)
2010-04-15 16:36:08 +00:00
Kalle Sommer Nielsen
4e7b11ccce
Removed y2k_compliance ini option, making it "always" enabled internally
...
- The only reference to y2k_compliance was in php_std_date(). Browsers thats not compatable have a marketshare of 0.01% if they even are in use today
2010-04-12 07:34:30 +00:00
Kalle Sommer Nielsen
ecd006350a
NEWS entry for the define_syslog_variables commit
2010-04-12 07:01:46 +00:00
Rasmus Lerdorf
fac463ed4a
Moved to 5.3
2010-03-31 23:01:38 +00:00
Rasmus Lerdorf
4d75c64415
Added the full htmlspecialchars() functionality which includes utf-8
...
validation as a default filter.
2010-03-31 21:50:36 +00:00
Rasmus Lerdorf
9692a3619c
Set session.entropy_file to /dev/urandom or /dev/arandom by
...
default if present at compile-time. Addresses part of bug #51436
2010-03-31 18:03:17 +00:00
Johannes Schlüter
26af575926
Add ReflectionZendExtension class and --rz option to CLI
2010-03-30 22:35:23 +00:00
Johannes Schlüter
347e2bce22
Add ReflectionExtension::isTemporary() and ReflectionExtension::isPersistent().
2010-03-30 20:50:42 +00:00
Ilia Alshanetsky
005df4f01f
Upgraded bundled sqlite to version 3.6.23.1
2010-03-30 11:52:25 +00:00
Ilia Alshanetsky
6e92347ddf
Upgraded bundled PCRE to version 8.02.
2010-03-29 11:58:06 +00:00
Michael Maclean
e52fa0027b
Add Tokyo Cabinet abstract DB support to ext/dba
2010-03-24 23:38:59 +00:00
Martin Jansen
3842a993fe
Added Jenkins's one-at-a-time hash support to ext/hash.
2010-03-24 15:47:40 +00:00
Michael Maclean
e4e9eaef4c
Minor fix to constants registered in ext/hash, and update NEWS
2010-03-23 23:39:09 +00:00
Rasmus Lerdorf
906dd4eac5
Switch default_charset, if not specified, from ISO-8859-1 to UTF-8
...
I have been wanting to make this change for years, but there is a small
chance of BC issues, so it shouldn't go into a minor release.
2010-03-23 18:08:06 +00:00
Derick Rethans
b7f2658527
- Set trunk version.
2010-03-23 16:04:53 +00:00
Ilia Alshanetsky
995d15ebcc
Fixed bug #51338 (URL-Rewriter is still enabled if use_only_cookies is on).
2010-03-22 12:16:45 +00:00
Felipe Pena
3488cd43be
- Fixed bug #49429 , #51331 (odbc_autocommit doesn't work)
2010-03-20 18:19:16 +00:00
Raphael Geissert
d8da372fd0
Fix CVE-2010-0397: null pointer dereference when processing invalid XML-RPC
...
requests (bug #51288 )
2010-03-13 18:40:29 +00:00
Adam Harvey
f60946eb54
Fixed bug #51269 (zlib.output_compression Overwrites Vary Header).
2010-03-11 06:20:22 +00:00
Felipe Pena
78cf85ab44
- Fixed bug #51257 (CURL_VERSION_LARGEFILE incorrectly used after libcurl version 7.10.1)
...
patch by: aron dot ujvari at microsec dot hu
2010-03-10 22:58:46 +00:00
Adam Harvey
bdbb2e77ca
Fixed bug #51242 (Empty mysql.default_port does not default to 3306 anymore, but 0).
2010-03-09 05:08:31 +00:00
Felipe Pena
68f805a6d0
- Fixed bug #51237 (milter SAPI crash on startup)
...
patch by: igmar at palsenberg dot com
2010-03-08 23:29:46 +00:00
Ilia Alshanetsky
48adfafab8
Fixed bug #51213 (pdo_mssql is trimming value of the money column).
2010-03-08 12:39:44 +00:00
Derick Rethans
3025ca8e17
- Fixed bug #46111 (Some timezone identifiers can not be parsed).
2010-03-07 19:18:06 +00:00
Derick Rethans
4447b87d91
- Fixed bug #48902 (Timezone database fallback map is outdated).
2010-03-07 18:21:23 +00:00
Derick Rethans
02e4644786
- Fixed bug #49059 (DateTime::diff() repeats previous sub() operation).
2010-03-07 17:25:16 +00:00
Derick Rethans
156d780cbd
- Fixed bug #40778 (DateInterval::format("%a") is always zero when an interval
...
is created from an ISO string).
2010-03-07 15:26:39 +00:00
Felipe Pena
04753cae60
- Fix order
2010-03-07 13:58:02 +00:00
Derick Rethans
f1286280d1
- Fixed bug #50555 (DateTime::sub() allows 'relative' time modifications).
2010-03-07 13:54:46 +00:00
Derick Rethans
2d2e02740a
- Fixed bug #50392 (date_create_from_format enforces 6 digits for 'u' format
...
character).
2010-03-07 13:08:47 +00:00
Felipe Pena
f867fadd22
- Fixed bug #50383 (Exceptions thrown in __call / __callStatic do not include file and line in trace)
2010-03-07 02:17:11 +00:00
Felipe Pena
ea1447c3ce
- Fixed bug #50810 (property_exists does not work for private)
2010-03-07 00:49:34 +00:00
Raphael Geissert
1f24be304f
Add NEWS entries for filter overflow fix
2010-03-06 20:02:25 +00:00
Derick Rethans
13e0d47cf3
- Fixed bug #51096 ('last day' and 'first day' are handled incorrectly when
...
parsing date strings).
- For 5.2 I just added the test case minus new 5.3 additions.
2010-03-06 16:04:47 +00:00
Felipe Pena
6c153e8634
- Fixed bug #50358 (Compile failure compiling ext/phar/util.lo)
2010-03-06 14:45:49 +00:00
Christopher Jones
f3ad58a8a0
Fixed bug #51086 (DBA DB4 doesn't work with Berkeley DB 4.8)
2010-03-05 06:45:28 +00:00
Felipe Pena
667f00f6dc
- BFN #50999
2010-03-05 02:33:03 +00:00
Ilia Alshanetsky
4db5175f54
Fixed bug #51190 (ftp_put() returns false when transfer was successful).
2010-03-04 12:52:58 +00:00
Felipe Pena
ecae1f4923
- Entry in wrong place...
2010-03-03 22:21:57 +00:00
Felipe Pena
c302509726
- Fixed bug #50731 (Inconsistent namespaces sent to functions registered with spl_autoload_register)
2010-03-03 00:15:34 +00:00
Ilia Alshanetsky
772a84d5b9
Fixed bug #51171 (curl_setopt() doesn't output any errors or warnings when an invalid option is provided)
2010-03-02 12:54:23 +00:00
Felipe Pena
79f618833f
- Fixed bug #51176 (Static calling in non-static method behaves like $this->)
2010-03-02 00:16:40 +00:00