1
0
mirror of https://github.com/php/php-src.git synced 2026-04-24 00:18:23 +02:00
Commit Graph

60417 Commits

Author SHA1 Message Date
Scott MacVicar 4212e4e90c Change DEBUG() to TIMELIB_DEBUG(), there are potential conflicts with other libraries that also use this. 2011-01-03 19:24:04 +00:00
Scott MacVicar aff978c223 Fix error with initialisation flag being set too early. If encryption is enabled and fails to decrypt a crash can occur.
Also fix a WS error.
2011-01-03 19:15:36 +00:00
Pierre Joye 95dbc9d3f0 - slightly cleaner 2011-01-03 15:36:39 +00:00
Pierre Joye 0ebbe5e450 - fix crash when argc > 1 and to_zval is NULL (thx tony for the headup) 2011-01-03 15:35:01 +00:00
Ilia Alshanetsky 7a2157cf37 Fixed Bug #53629 (memory leak inside highlight_string()). 2011-01-03 14:39:48 +00:00
Pierre Joye 0df43f2803 - kill c++ comment 2011-01-03 09:33:27 +00:00
Pierre Joye 63aae8a69b - stream output support for image outputs functions 2011-01-03 09:22:58 +00:00
Stanislav Malyshev 28584c233e Imlement clone for formatters that support it
# also some test fixes, more to follow
2011-01-03 03:58:57 +00:00
Pierre Joye e9bb7bbbd1 - missing file 2011-01-03 01:22:00 +00:00
Pierre Joye 7444576047 - we need the core config.w32 only once 2011-01-03 01:08:21 +00:00
Pierre Joye f7176f9cf0 - silent copy 2011-01-03 01:07:28 +00:00
Pierre Joye 17d05d0d57 - use the ext deps list for phpize's ADD_EXTENSION_DEP function 2011-01-02 18:29:56 +00:00
Pierre Joye 6008152caa - typo 2011-01-02 18:13:20 +00:00
Pierre Joye 163780af56 - generate a list of ext and how they are built, should be updated by phpize'd make (un)install as well, later 2011-01-02 18:03:00 +00:00
Pierre Joye 97c5d74d78 - missing file 2011-01-01 20:00:10 +00:00
Felipe Pena 7ae96bcf35 - Year++ 2011-01-01 02:51:18 +00:00
Felipe Pena d90a33d51c - Year++ 2011-01-01 02:46:03 +00:00
Felipe Pena 0203cc3d44 - Year++ 2011-01-01 02:17:06 +00:00
Scott MacVicar 6144da7e35 Silently casting an empty string, null or false into an object by adding a property
is pretty non-intuitive. If the same value was 1 or true you get a warning and it halts.

Since we can't break BC completely (yet) lets bump this from E_STRICT.

Also added a new section to UPGRADING for engine changes.

<?php
$x = '';
// $x = null;
// $x = false;
$x->baz = 1;
var_dump($x);

$y = 1;
$y->baz = 1;
var_dump($y);
2010-12-31 16:57:45 +00:00
Scott MacVicar c9c0de49a8 Add SQLite3_Stmt::readOnly for checking if a statement is read only 2010-12-31 16:37:12 +00:00
Gustavo André dos Santos Lopes c6af7fc7f4 - Do not violate php_stream abstraction and use php_stream_tell instead of accessing the field .position.
#Should have no behavior changes.
2010-12-30 19:00:19 +00:00
Hannes Magnusson a0ca628aa3 New test for stream_meta_data($zipstream) 2010-12-30 17:41:36 +00:00
Eyal Teutsch 6f8b1ce7c7 removed extra ?> from the FILE section 2010-12-30 14:36:01 +00:00
Pierre Joye 05be26d13a - WS 2010-12-28 17:20:10 +00:00
Andrey Hristov d8774af125 C89 fix 2010-12-28 16:41:39 +00:00
Andrey Hristov cfac5f5b67 extending the API interface - plugins can register
themselves with a structure and can be searched.
Every plugin can have statistics and they are shown
under the statistics of mysqlnd in MINFO.
2010-12-28 15:16:21 +00:00
Antony Dovgal 874954ed97 fix segfault when node is NULL 2010-12-27 21:47:52 +00:00
Antony Dovgal ae0e5a0c8c initialize script_encoding_list (reported by Gustavo Lopes) 2010-12-27 20:25:34 +00:00
Rob Richards 8029a7563c typo 2010-12-27 19:00:13 +00:00
Rob Richards 8bd6c63f66 fix crash with entity declarations 2010-12-27 18:57:49 +00:00
Gustavo André dos Santos Lopes 610bb96036 - Fixed bug #53612 (Segmentation fault when using several cloned intl
objects).
2010-12-27 01:10:08 +00:00
Eyal Teutsch 83ef8850a0 SplFileObject_fgetcsv files: SplFileObject__fgetcsv.csv used instead of SplFileObject::fgetcsv.csv, as to make this naming convetion windows legitimate 2010-12-26 13:29:29 +00:00
Eyal Teutsch f21100b7f9 fixed 6 tests to pass on non-linux os, by removing the generic linux error string from the exp result. on socket_strerror on the other hand, added to the SKIPIF a condition to run on linux only, as the test checks specifically various error strings 2010-12-26 13:10:23 +00:00
Eyal Teutsch 8533e37d0c using PWD which is supported by run-tests.php, rather than $cwd 2010-12-26 09:47:50 +00:00
Felipe Pena d88a9a3f80 - Fixed INI test section 2010-12-25 01:42:45 +00:00
Gustavo André dos Santos Lopes 44d0082823 - Fixed bug #53603 (ZipArchive should quiet stat errors).
#It is unclear if url_stat handlers should emit a warning in case
#PHP_STREAM_URL_STAT_QUIET is not specified and the resource does
#not exist. Most url_stat handlers never emit messages; the plain
#one does only so in the extraordinary event of an open_basedir
#restriction.
#But in case, php_stat uses PHP_STREAM_URL_STAT_QUIET for the
#FS_EXISTS, which suggests that mere checks on file existence are
#supposed to use this flag (arguably).
#The downside is that important diagnostic messages might be
#omitted.
2010-12-24 22:38:36 +00:00
Gustavo André dos Santos Lopes 3143828eb3 - Fix PCRE build on Windows; closes bug #53606. 2010-12-24 19:01:25 +00:00
Ilia Alshanetsky 15b7a4476a Upgraded\ bundled\ PCRE\ to\ version\ 8.11. 2010-12-24 15:03:29 +00:00
Moriyoshi Koizumi e540cb0c45 - Fix startup warnings. 2010-12-24 08:42:21 +00:00
Peter Cowburn 25f42c09b8 NEWS for FR #48767 (SplFileInfo::getExtension()) 2010-12-24 07:28:59 +00:00
Peter Cowburn 064a254483 Implemented FR #48767 (SplFileInfo::getExtension()) 2010-12-23 22:32:52 +00:00
Ilia Alshanetsky 73c49036ce Fixed compiler warning 2010-12-23 14:38:15 +00:00
Gustavo André dos Santos Lopes 063393f29b - Fixed bug #53592 (stream_socket_enable_crypto() busy-waits in client mode).
- Fixed stream_socket_enable_crypto() not honoring the socket timeout in
  server mode.
2010-12-23 01:44:54 +00:00
Ilia Alshanetsky 1d7294f73c Fixed bug #52209 (INPUT_ENV returns NULL for set variables (CLI)). 2010-12-22 16:18:59 +00:00
Moriyoshi Koizumi e8b1590667 - Fix build. 2010-12-22 10:25:33 +00:00
Gustavo André dos Santos Lopes 9b698dbcea - Revert of revision 306542, turns out the semantics of compare() are
different in SplMinHeap and SplMaxHeap.
2010-12-21 19:52:17 +00:00
Gustavo André dos Santos Lopes 4a11d76a75 - Fixed bug #53588 (SplMinHeap bad sorting with custom compare
function).
2010-12-21 17:29:14 +00:00
Moriyoshi Koizumi b0f8ac5299 - Update ini descriptions. It is still possible that zend.multibyte will be removed in the near future as it is confirmed to not impose any significant overhead with the standard configuration even when it is enabled. 2010-12-21 06:57:46 +00:00
Ilia Alshanetsky c9459ed7e7 Fixed compiler warnings 2010-12-20 23:00:11 +00:00
Rui Hirokawa 7f055f54a2 fixed compile error with VS2008. 2010-12-20 14:38:08 +00:00