Revision tags: yaf-2.1.0, php-5.3.8, php-5.3.7, php-5.3.7RC5, php-5.4.0alpha3, php-5.3.7RC4, php-5.3.7RC3, php-5.4.0alpha2, php-5.3.7RC2, php-5.4.0alpha1, php-5.3.7RC1 |
|
#
6d9d7af8 |
| 01-May-2011 |
Gustavo André dos Santos Lopes |
- Fixed bug #54580 (get_browser() segmentation fault when the browscap ini directive is set in activation time). This commit fixes this by adding a per request parsing of the browscap fil
- Fixed bug #54580 (get_browser() segmentation fault when the browscap ini directive is set in activation time). This commit fixes this by adding a per request parsing of the browscap file that's when get_browser is called the first time and the directive is set on activation time.w
show more ...
|
Revision tags: php-5.3.6, php-5.3.6RC3, php-5.3.6RC2, php-5.3.6RC1 |
|
#
ca378eef |
| 03-Feb-2011 |
Scott MacVicar |
Add header_register_callback(), allows a userland function to be called as all the headers are being sent and after all of the default headers have been merged. headers_list(), heade
Add header_register_callback(), allows a userland function to be called as all the headers are being sent and after all of the default headers have been merged. headers_list(), header_remove() and header() can all be used inside the callback. <?php header('Content-Type: text/plain'); header('X-Test: foo'); function foo() { foreach (headers_list() as $header) { if (strpos($header, 'X-Powered') !== false) { header_remove('X-Powered-By'); } header_remove('X-Test'); } } $result = header_register_callback('foo'); echo "a";
show more ...
|
Revision tags: php-5.2.17, php-5.3.5 |
|
#
0203cc3d |
| 01-Jan-2011 |
Felipe Pena |
- Year++ |
Revision tags: php-5.2.16, php-5.2.15, php-5.3.4, php-5.2.15RC2, php-5.3.4RC2, php-5.3.4RC1, php-5.2.15RC1, PHP_5_2_15RC1 |
|
#
565c4842 |
| 15-Nov-2010 |
Felipe Pena |
- Moved leak_variable() to zend_builtin_functions.c (Gustavo) |
#
3a02cfb6 |
| 15-Nov-2010 |
Gustavo André dos Santos Lopes |
- Added leak_variable() function. - Added mechanism to force outer streams to be closed before their inner ones. - Fixed temp:// streams only handling correctly (through an ad hoc mechanism)
- Added leak_variable() function. - Added mechanism to force outer streams to be closed before their inner ones. - Fixed temp:// streams only handling correctly (through an ad hoc mechanism) reverse closing order when the inner stream is of type memory.
show more ...
|
#
91727cb8 |
| 24-Oct-2010 |
Gustavo André dos Santos Lopes |
- Completed rewrite of html.c. Except for determine_charset, almost nothing remains. - Fixed bug on determine_charset that was preventing correct detection in combination with interna
- Completed rewrite of html.c. Except for determine_charset, almost nothing remains. - Fixed bug on determine_charset that was preventing correct detection in combination with internal mbstring encoding "none", "pass" or "auto". - Added profiles for entity encode/decode for HTMl 4.01, XHTML 1.0, XML 1.0 and HTML 5. Added the constants ENT_HTML401, ENT_XML1, ENT_XHTML and ENT_HTML5. - htmlentities()/htmlspecialchars(), when told not to double encode, verify the correctness of the existenting entities more thoroughly. It is checked whether the numerical entity represents a valid unicode code point (number is between 0 and 0x10FFFF). If using the flag ENT_DISALLOWED, it is also checked whether that numerical entity is valid in selected document. In HTML 4.01, all the numerical entities that represent a Unicode code point (< U+10FFFFFF) are valid, but that's not the case with other document types. If the entity is not valid, & is encoded to &. For named entities, the check is also more thorough. While before the only check would be to determine if the entity was constituted by alphanumeric characters, now it is checked whether that entity is necessarily defined for the target document type. Otherwise, & is encoded to &. - For html_entity_decode(), only valid numerical and named entities (as defined above for htmlentities()/htmlspecialchars() + !double_encode) are decoded. But there is in this case one additional check. Entities that represent non-SGML or otherwise invalid characters are not decoded. Note that, in HTML5, U+000D is a valid literal character, but the entity 
 is not valid and is therefore not decoded. - The hash tables lazily created for decoding in html_entity_decode() that were added recently were substituted by static hash tables. Instead of 1 hash table per encoding, there's only one hash table per document type defined in terms of unicode code points. This means that for charsets other than UTF-8 and ISO-8859-1, a conversion to unicode code points is necessary before decoding. - On the encoding side, the ad hoc ranges of entities of the translation tables, which mapped (in general) non-unicode code points to HTML entities were replaced by three-stage tables for HTML 4 and HTML 5. This mapping tables are defined only in terms of unicode code points, so a conversion is necessary for charsets other than UTF-8 and ISO-8859-1. Even so, the multi-stage table is much faster than the previous method, by a factor of 5; the conversion to unicode is a small penalty because it's just a simple table lookup. XML 1.0/htmlspecialchars() uses a simple table instead of a three-stage table. - Added the flag ENT_SUBSTITUTE, which makes htmlentities()/htmlspecialchars() replace the invalid multibyte sequences with U+FFFD (UTF-8) or &#FFFD; (other encodings). - Added the flag ENT_DISALLOWED. Implements FR #52860. Characters that cannot appear literally are replaced by U+FFFD (UTF-8) or &#FFFD; (otherwise). An alternative implementation would be to encode those characters into numerical entities, but that would only work in HTML 4.01 due to limitations on the values of numerical entities in other document types. See also the effects on htmlentities()/htmlspecialchars() with !double_encode above.
show more ...
|
#
7aa43a8d |
| 10-Oct-2010 |
Gustavo André dos Santos Lopes |
- Revamp of the decoding portion of html.c. - Dramatic improvements on the performance of html_entity_decode and htmlspecialchars_decode, as the string is now traversed only once. Speedups
- Revamp of the decoding portion of html.c. - Dramatic improvements on the performance of html_entity_decode and htmlspecialchars_decode, as the string is now traversed only once. Speedups of 20 to 25 times with Windows release builds and a ~250 characters string (for 2nd and subsequent calls). - Consistent behavior on html_entity_decode. For instance, the entity in "&<" would be decoded, but not "&é". Not anymore. The code path for "basic" and non-basic entities is now mostly shared. - Code of html_entity_decode and htmlspecialchars_decode is now shared. - [DOC] More consistent behavior of htmlspecialchars_decode. Instead of translating only <, >, &, ", ' and ', now e.g. ", ', ', ', etc. are also decoded. - [DOC] Previous translation of unicode code points in numerical entities was seriously broken. When the code points for some character were not the same in unicode and the target encoding, the behavior could be an erroneous translation (e.g. 0x80-0xA0 in win-1252) or no translation at all. Added unicode translation tables for all single-byte encodings. Entities are not translated for multi-byte entities, except for ASCII characters whose code points are shared. We could add the huge translation tables (several thousand elements) for those encodings in the future. - Fixed numerical entities that after # had text accepted by strcol being accepted. - Much more commented and well-structured code... - Tests for get_html_translation_table()) are broken. I stared fixing the tests, but then I realized it was completely helpless because get_html_translation_table() is broken by not handling multi-byte characters correctly.
show more ...
|
Revision tags: oci8-1.4.3, php-5.2.14, php-5.3.3, php-5.3.3RC3, php-5.2.14RC3, php-5.3.3RC2, php-5.2.14RC2, php-5.3.3RC1, php-5.2.14RC1 |
|
#
89e93723 |
| 26-May-2010 |
Michael Wallner |
Added support for object references in recursive serialize() calls. FR #36424 |
#
dd8e59da |
| 26-Apr-2010 |
Kalle Sommer Nielsen |
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_
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
show more ...
|
#
9d395a4a |
| 21-Apr-2010 |
Kalle Sommer Nielsen |
Removed import_request_variables(), this is not needed anymore without register_globals |
#
8087be61 |
| 12-Apr-2010 |
Kalle Sommer Nielsen |
* Changed the way removed ini directives are shown so its easier to add new ones * Removed define_syslog_variables and its associated functions |
Revision tags: php-5.3.2, php-5.2.13, php-5.3.2RC3, php-5.3.2RC2, php-5.2.13RC2, php-5.2.13RC1 |
|
#
9ba1e816 |
| 03-Jan-2010 |
Sebastian Bergmann |
sed -i "s#1997-2009#1997-2010#g" **/*.c **/*.h **/*.php |
Revision tags: php-5.3.2RC1, php-5.2.12, php-5.2.12RC4, php-5.2.12RC3, php-5.2.12RC2 |
|
#
f395a2e3 |
| 22-Nov-2009 |
Jani Taskinen |
- Fixed error_log() to be binary safe when using message_type 3 (message appended to file). |
Revision tags: php-5.3.1, php-5.3.1RC4, php-5.2.12RC1, php-5.3.1RC3, php-5.3.1RC2, oci8-1.4.0, php-5.2.11, php-5.2.11RC3, php-5.3.1RC1, php-5.2.11RC2, php-5.2.11RC1 |
|
#
ae492897 |
| 26-Jul-2009 |
Jani Taskinen |
- Removed unused code (replaced long time ago by url_scanner_ex.* |
Revision tags: php-5.3.0, php-5.3.0RC4, php-5.2.10, php-5.2.10RC2, php-5.3.0RC3, php-5.2.10RC1, php-5.3.0RC2, php-5.3.0RC1, RELEASE_1_3_5, php-5.2.9, php-5.2.9RC3, php-5.2.9RC2, php-5.2.9RC1, php-5.3.0beta1 |
|
#
08659c2d |
| 31-Dec-2008 |
Sebastian Bergmann |
MFH: Bump copyright year, 3 of 3. |
Revision tags: NEWS, php-5.2.8, BEFORE_HEAD_NS_CHANGES_MERGE, php-5.3.0alpha3, php-5.3.0alpha2, php-5.2.7, php-5.2.7RC5, php-5.2.7RC4, BEFORE_HEAD_NS_CHANGE, BEFORE_NS_RULES_CHANGE, php-5.2.7RC3 |
|
#
2276e85f |
| 05-Nov-2008 |
Arnaud Le Blanc |
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 proc
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.
show more ...
|
Revision tags: php-5.2.7RC2, php-5.2.7RC1, php-4.4.9, php-5.3.0alpha1, php-4.4.9RC1, BEFORE_NEW_PARAMETER_PARSE, RELEASE_1_2_5, RELEASE_2_0_0b1, php-5.2.6, RELEASE_1_0_2 |
|
#
85ad3851 |
| 15-Apr-2008 |
Jani Taskinen |
MFH |
#
f0b70733 |
| 14-Apr-2008 |
Hannes Magnusson |
[DOC] Remove config_get_hash() & and add new boolean parameter to ini_get_all() to list ini entries key=>current_value like config_get_hash() did. |
Revision tags: php-5.2.6RC5 |
|
#
a1e09451 |
| 07-Apr-2008 |
Etienne Kneuss |
MFH: Implement forward_static_call(_array) to complete LSB. Patch by Mike Lively |
Revision tags: php-5.2.6RC4, php-5.2.6RC3, RELEASE_2_0_0a2, RELEASE_2_0_0a1, php-5.2.6RC2, php-5.2.6RC1, RELEASE_1_3_1 |
|
#
f3d75701 |
| 03-Feb-2008 |
Marcus Boerger |
- MFH Rename it again [DOC] - MFH Add config_get_hash() |
#
fa94dabd |
| 03-Feb-2008 |
Marcus Boerger |
- MFH Rename dump_config_hash() to get_config_hash() as it doesn't dump |
Revision tags: php-4.4.8 |
|
#
d1dded87 |
| 31-Dec-2007 |
Sebastian Bergmann |
MFH: Bump copyright year, 2 of 2. |
Revision tags: php-4.4.8RC1, RELEASE_1_2_3, php-5.2.5 |
|
#
b4892511 |
| 02-Nov-2007 |
Jani Taskinen |
- MFH from HEAD: . Folding tags . Parameter parsing . SPL debug info . array function improvements (not all yet) . Improvements to function calling with call_user_* func
- MFH from HEAD: . Folding tags . Parameter parsing . SPL debug info . array function improvements (not all yet) . Improvements to function calling with call_user_* functions . Improvements to debugging info in var_dump/print_r # I propably forgot already something but this all was pretty close tied # to each other so it wasn't possible to do it in parts.
show more ...
|
Revision tags: php-5.2.5RC2, php-5.2.5RC1, BEFORE_IMPORT_OF_MYSQLND_IN_5_3, RELEASE_1_2_2 |
|
#
2bc631fb |
| 01-Oct-2007 |
Jani Taskinen |
MFH:- Added common getopt implementation to core. MFH:- Added long-option feature to getopt(). MFH:- Made getopt() available on win32 systems. MFH: Patch by: David Soria Parra <dsp@php.n
MFH:- Added common getopt implementation to core. MFH:- Added long-option feature to getopt(). MFH:- Made getopt() available on win32 systems. MFH: Patch by: David Soria Parra <dsp@php.net> [DOC]: These changes will be available from 5.3+ # Note: Fixed also tests and synced basic_functions.c with HEAD.
show more ...
|
#
09b6f37f |
| 28-Sep-2007 |
Jani Taskinen |
MFH: - Added ".htaccess" style user-defined php.ini files support for CGI/FastCGI. - Added support for special [PATH=/opt/httpd/www.example.com/] sections in php.ini. All dir
MFH: - Added ".htaccess" style user-defined php.ini files support for CGI/FastCGI. - Added support for special [PATH=/opt/httpd/www.example.com/] sections in php.ini. All directives set in these sections will not be able to be overridden in user-defined ini-files or during runtime in the specified path. - Improved php.ini handling: . Added better error reporting for syntax errors in php.ini files . Allowed "ini-variables" to be used almost everywhere ini php.ini files . Allowed using alphanumeric/variable indexes in "array" ini options . Fixed get_cfg_var() to be able to return "array" ini options - Fixed bug #27372 (parse error loading browscap.ini at apache startup) - Fixed bug #42069 (parse_ini_file() allows using some non-alpha numeric characters)
show more ...
|