Compare commits

...
6366 Commits
Author SHA1 Message Date
Ilia Alshanetsky 254298cea9 5.2.12 2009-12-16 12:45:49 +00:00
Ilia Alshanetsky 38af726f28 5.2.12 2009-12-16 12:45:18 +00:00
Jani Taskinen 6c0b2a3a0e - Make $sbindir be usable in C code as well (like $bindir and co.) 2009-12-15 11:17:47 +00:00
Jani Taskinen eb84243d04 - Allow using $sbindir as well 2009-12-15 10:55:27 +00:00
Jani Taskinen 3a30b7dfca - Fix test 2009-12-14 09:42:32 +00:00
Pierrick Charron 2ded6af198 - Fixed bug #50469 (Fixed typo in imagepsencodefont error string). 2009-12-14 04:09:18 +00:00
Felipe Pena e4fb981bf0 - Improved the bug#49174 entry summary 2009-12-13 20:51:15 +00:00
Felipe Pena 0d4bf4110f - Fixed bug #49174 (crash on queryString set) 2009-12-13 19:53:44 +00:00
Felipe Pena 6b838aa6d2 - Opss, wrong place 2009-12-13 17:13:58 +00:00
Felipe Pena ef54c9c5ed - Fixed bug #50209 (Compiling with libedit cannot find readline.h)
(patch by tcallawa at redhat dot com)
2009-12-13 17:06:47 +00:00
Felipe Pena 481a5d8b18 - Fixed tests for when running using libedit 2009-12-13 16:53:24 +00:00
Felipe Pena cf9e914754 - Fixed bug #50445 (PDO-ODBC stored procedure call from Solaris 64-bit causes seg fault).
(Original patch by davbrown4 at yahoo dot com)
2009-12-11 22:30:46 +00:00
Jani Taskinen 9c445100c8 fix test 2009-12-11 15:06:50 +00:00
Jani Taskinen ff8c39c8e9 - Fix problem with SKIPIF failing to skip in some cases (deprecated warnings f.e.) 2009-12-11 07:34:06 +00:00
Ilia Alshanetsky 2e9192926f Back to dev 2009-12-10 13:16:23 +00:00
Ilia Alshanetsky 6512c8669f 5.2.12RC4 2009-12-10 13:07:39 +00:00
William Martin faee4c72b8 Backported 5.3 tests to 5.2 and added more RecursiveIteratorIterator tests 2009-12-08 19:51:56 +00:00
Dmitry Stogov f79bc0ac21 - Forgotten patch for trunk
- Fixed stdin filename in error messages
2009-12-08 10:16:38 +00:00
Sriram Natarajan 028ffa75f3 - Fix NEWS (48752 not relevant for 5.2 release) 2009-12-07 20:13:16 +00:00
Moriyoshi Koizumi 428088c848 - Take account of surrogate pairs. 2009-12-07 15:41:43 +00:00
Jani Taskinen 9fca678c47 - Fix NEWS 2009-12-07 07:30:41 +00:00
Pierrick Charron fcf959ad3e Fixed bug #50323 (Allow use of ; in values via ;; in PDO DSN even in the middle of a string). 2009-12-06 21:32:58 +00:00
Ilia Alshanetsky c21c2da229 Fixed bug #50323 (Allow use of ; in values via ;; in PDO DSN). 2009-12-06 19:34:12 +00:00
Felipe Pena be06106d62 - Fixed bug #50162 (Memory leak when fetching timestamp column from Oracle database)
- Fixed bug #34852 (Failure in odbc_exec() using oracle-supplied odbc driver) (patch by tim dot tassonis at trivadis dot com)
2009-12-06 18:53:16 +00:00
Ilia Alshanetsky cfa096dd4d BFN 2009-12-04 14:18:11 +00:00
Felipe Pena 69097f305c - Fixed tests 2009-12-04 11:32:39 +00:00
Stanislav Malyshev 86529ad73c protect http_session_vars from interrupt corruption
improve save_path check
2009-12-04 01:21:32 +00:00
Jani Taskinen b109e5bd82 bfn 2009-12-03 22:24:04 +00:00
Rob Richards 69ed9840ef fix bug #47848 (importNode doesn't preserve attribute namespaces)
add tests
2009-12-03 20:19:38 +00:00
Pierrick Charron 5a64467cba Fixed bug #45120 (PDOStatement->execute() returns true then false for same statement). 2009-12-03 15:24:43 +00:00
Felipe Pena 553191ea5c - Fixed bug #49472 (Constants defined in Interfaces can be overridden) 2009-12-03 12:34:50 +00:00
Jani Taskinen 84bc7c449c - Fixed bug #50345 (nanosleep not detected properly on some solaris versions) 2009-12-02 08:54:50 +00:00
Jani Taskinen eb3a2ee1b7 - Sync files 2009-12-02 08:22:05 +00:00
Ilia Alshanetsky 596dd39fa3 fixed typo 2009-12-01 13:23:28 +00:00
Felipe Pena 1ca7c27638 - Fixed bug #49660 (libxml 2.7.3+ limits text nodes to 10MB). (Felipe)
- Added LIBXML_PARSEHUGE constant to overrides the maximum text size of a
  single text node when using libxml2.7.3+. (Kalle)
[DOC]
2009-12-01 02:05:28 +00:00
Gwynne Raskind aa1904f4ab The old Darwin hack is BROKEN and INCORRECT. It works only for Darwin 9, not 10, and uses an ugly CFLAGS hack that messes with the entire build. This version sets one cached value to the correct result for Darwin 9 and 10. It's cleaner, has no side effects, has nothing to do with Autoconf versions, and works for everyone. 2009-11-30 21:38:44 +00:00
Jani Taskinen 565cec5cfc - Fix tests assuming wrong ini options and extensions that might not be there 2009-11-30 20:31:52 +00:00
Jani Taskinen be62e2c702 MFH: removed last test for MAX_INT, did not work on x64 and this case is covered by bug47745.phpt 2009-11-30 19:52:16 +00:00
Ilia Alshanetsky fb44cca847 bfn 2009-11-30 15:22:01 +00:00
Dmitry Stogov 38ba16b060 Fixed bug #50168 (FastCGI fails with wrong error on HEAD request to non-existant file) 2009-11-30 14:43:22 +00:00
Jani Taskinen 3487ab7eb9 MF53: sync 2009-11-30 14:10:11 +00:00
Stanislav Malyshev 43d6b87ccb proper fix for bug #50006
add modify protection to all user array sorts
2009-11-29 08:35:01 +00:00
Rasmus Lerdorf 42c4e5c148 Revert attempt at supporting both autoconf 2.13 and
modern versions in the same build chain.  There are
simply too many broken things in 2.13 to make it work.
Cache handling is broken as well which is why I need
to revert the pdo_inc_path cache fix as well.

trunk is now 2.60+ only and I'll work on cleaning out
all the legacy cruft from there.
2009-11-29 06:13:22 +00:00
Stanislav Malyshev 50e31fe9c1 fix interrupt problem in serialize() 2009-11-29 04:38:46 +00:00
Jani Taskinen f34f334638 - Use correct revision 2009-11-28 00:47:42 +00:00
Jani Taskinen 87230feb91 - Fixed bug #50266 (conflicting types for llabs) 2009-11-28 00:38:05 +00:00
Jani Taskinen 8eb333ffa2 - No dots here 2009-11-28 00:35:56 +00:00
Jani Taskinen af0595c40b - Fix bad merge (Sorry Ilia..) 2009-11-28 00:06:54 +00:00
Rasmus Lerdorf c4ec9018f5 Fix bug #50315 2009-11-27 23:41:13 +00:00
Ilia Alshanetsky abb6a035d3 back to dev 2009-11-27 14:50:28 +00:00
Ilia Alshanetsky ee12cbd751 5.2.12RC3 2009-11-27 14:25:58 +00:00
Jani Taskinen e85a2dd296 - Partially revert the autoconf 2.6x "fix" to make configure work with release 2009-11-27 12:51:41 +00:00
Jani Taskinen 01ba3e44b3 - Re-fixed bug #47104 (Linking shared extensions fails with icc) 2009-11-27 12:50:29 +00:00
Ilia Alshanetsky 14909202a8 Back to dev 2009-11-27 03:17:06 +00:00
Ilia Alshanetsky df4b288737 5.2.12RC2 2009-11-27 03:14:36 +00:00
Ilia Alshanetsky ea3faadf6a Revert gmp patches as they require a newer lib 2009-11-27 03:13:59 +00:00
Ilia Alshanetsky 5ef06b0c62 Fixe build 2009-11-27 03:02:01 +00:00
David Soria Parra fa955848f6 Also allow base 62 for gmp_init as requested in (#50283) 2009-11-25 23:38:34 +00:00
Rasmus Lerdorf ce6bb055e1 There is no ENT_IGNORE in 5.2 2009-11-25 18:58:14 +00:00
David Soria Parra 6bdc96f68b Really use 62 as the upper boundary as requested and not 32. 2009-11-25 18:15:25 +00:00
Rasmus Lerdorf fbd9757a39 Missing _cv_ here 2009-11-25 16:53:23 +00:00
Ilia Alshanetsky a08f0425de Fixed bug #50195 (pg_copy_to() fails when table name contains schema). 2009-11-25 14:28:00 +00:00
Jani Taskinen 8c3509c894 - Fixed bug #49677 (ini parser crashes with apache2 and using ${something} ini variables) 2009-11-25 12:35:42 +00:00
Jani Taskinen 1eaf99d866 ws 2009-11-25 12:26:10 +00:00
Jani Taskinen 4e4cd57658 - Do not forget NEWS for 5.2.. 2009-11-25 07:21:38 +00:00
Rasmus Lerdorf fbfef72ba5 Another test that doesn't work as root 2009-11-25 04:00:55 +00:00
Rasmus Lerdorf 707074aa6f These tests don't work when run as root 2009-11-25 03:53:50 +00:00
Felipe Pena 50ca6f0fa1 - Fixed bug #50285 (xmlrpc does not preserve keys in encoded indexed arrays) 2009-11-25 02:03:02 +00:00
Rasmus Lerdorf e5f42bfd06 Missed a few - now it really works with autoconf-2.64+ 2009-11-25 01:36:41 +00:00
Rasmus Lerdorf cb397e86ea Someone strap down Jani and give him a sedative please.
This makes our toolchain work with the latest versions
of autoconf and avoids a lot of end-user grief.
2009-11-25 01:30:06 +00:00
Felipe Pena a12e272b9a - Fixed bug #50255 (isset() and empty() silently casts array to object) 2009-11-24 21:54:12 +00:00
Jani Taskinen eba3dd019e - Fix news 2009-11-24 14:14:13 +00:00
Rasmus Lerdorf bee4607345 Fix null deref found by Michael Maclean 2009-11-24 13:57:39 +00:00
Ilia Alshanetsky e91b12acc7 Add myself as pdo_pgsql maintainer 2009-11-24 13:51:53 +00:00
David Soria Parra 0dc1918687 Implement feature request #50283 (allow base in gmp_strval to use full range: 2 to 62, and -2 to -36) 2009-11-24 13:33:35 +00:00
Felipe Pena 7a5348280e - Fixed bug #50282 (xmlrpc_encode_request() changes object into array in calling function) 2009-11-24 11:32:31 +00:00
Jani Taskinen 0dd637ea57 - Upgraded bundled libtool to 1.5.26 2009-11-23 21:54:46 +00:00
Rasmus Lerdorf 452ffe21a2 Need the PCNTL extension loaded since that is where the SIGKILL constant comes from 2009-11-23 21:24:20 +00:00
Rasmus Lerdorf 89a570638b This will only get a permission defined error if not running as root. 2009-11-23 21:13:26 +00:00
Rasmus Lerdorf 87a7fa0abf Don't try to remove an empty output_obj here.
This gets rid of the annoying:
rm: invalid argument: `'
I was seeing.
(I really shouldn't be hacking libtool)
2009-11-23 16:51:45 +00:00
Rasmus Lerdorf 84a4d1c20c When Ilia fixed bug #49470 and removed the '/' as a valid
email char, he forgot to make the corresponding change in
filter test 033.
2009-11-23 14:54:57 +00:00
Ilia Alshanetsky 54727670c3 Extend the previously added large string concatenation validation 2009-11-23 04:12:36 +00:00
Jani Taskinen 6c621b15cd - Fixed error_log() to be binary safe when using message_type 3 (message appended to file). 2009-11-22 18:31:01 +00:00
Pierre Joye d2c593017d - add tests dir 2009-11-22 12:34:10 +00:00
Felipe Pena 07db754f8d - Fixed bug #50258 (typos in error strings) 2009-11-21 19:43:00 +00:00
Pierrick Charron 8f3677601e Fixed bug #50219 (soap call Segmentation fault on a redirected url). 2009-11-21 01:22:32 +00:00
Ilia Alshanetsky d3949380b8 Don't ignore the 2nd parameter to PDO's quote() method that identifies the data type 2009-11-20 18:54:08 +00:00
Ilia Alshanetsky 1a174b0828 Fixed bug #50207 (segmentation fault when concatenating very large strings
on 64bit linux).
2009-11-19 14:04:34 +00:00
Jani Taskinen 237feb2149 - Fix news 2009-11-18 17:59:18 +00:00
Jani Taskinen da729f3874 - Fixed "make test" in phpize builds when ini file(s) contain extension directives 2009-11-18 17:52:22 +00:00
Jani Taskinen 2ce1d0056d - Fixed bug #50185 (ldap_get_entries() return false instead of an empty array when there is no error).
# This is also revert of bad patch to bug #48469 and fixes it properly.
2009-11-18 17:44:58 +00:00
Rasmus Lerdorf 9a7db58096 News entry for post_max_size fix 2009-11-17 20:41:47 +00:00
Rasmus Lerdorf 456c790c63 Make it possible to disable post_max_size 2009-11-17 20:33:51 +00:00
Ilia Alshanetsky dea8172f6d tz news 2009-11-17 15:04:20 +00:00
Derick Rethans 2767484162 - Updated to version 2009.19 (2009s) 2009-11-16 15:57:13 +00:00
Ilia Alshanetsky 87c7c2a3d1 Simpify the max_file_uploads handling code 2009-11-16 13:34:57 +00:00
Felipe Pena 0e8c20106f - Improve test 2009-11-15 17:05:48 +00:00
Felipe Pena ff62865fc0 - Fixed bug #50158 (FILTER_VALIDATE_EMAIL fails with valid addresses containing = or ?).
(Patch by Pierrick)
2009-11-15 16:53:40 +00:00
Felipe Pena ae35c47a4b - Fixed bug #49521 (PDO fetchObject sets values before calling constructor)
(patch by Pierrick)
2009-11-15 16:20:37 +00:00
Jani Taskinen 0d71754a2e - Temporary hack to fix bug #49816 (works fine in HEAD which has working output buffering..) 2009-11-15 00:13:19 +00:00
Felipe Pena df042dc98e - Fixed bug #50174 (Incorrectly matched docComment) 2009-11-14 19:17:22 +00:00
Ilia Alshanetsky 38e95f692f Back to dev 2009-11-12 15:52:23 +00:00
Ilia Alshanetsky 6880bcc319 5.2.12RC1 2009-11-12 15:42:52 +00:00
Jani Taskinen 84543c1ee7 bfn 2009-11-12 09:07:51 +00:00
Rasmus Lerdorf d5dacfc274 NEWS entries for mysqli crash fix bug 2009-11-12 08:26:43 +00:00
Rasmus Lerdorf 9dc54d8483 Fix for bug #49098 2009-11-12 08:20:57 +00:00
Felipe Pena bb524935a3 - Fixed bug #50005 (Throwing through Reflection modified Exception object makes segmentation fault) 2009-11-12 00:10:00 +00:00
Ilia Alshanetsky 1d2a24f530 tz news 2009-11-10 13:18:33 +00:00
Jani Taskinen c94ac24231 - Fix bad section names (extra - in the end..) 2009-11-09 17:08:48 +00:00
Rasmus Lerdorf d6fd508045 Fix bug #50128 2009-11-09 16:47:47 +00:00
Derick Rethans cd1195c44e - Updated to version 2009.18 (2009r) 2009-11-09 15:39:15 +00:00
Ilia Alshanetsky 57b251cee8 Fixed typo 2009-11-09 13:28:13 +00:00
Rasmus Lerdorf 67259ce03b Fix bug #50115 2009-11-08 15:18:10 +00:00
Felipe Pena 4f8253338c - Added SKIPIF 2009-11-08 15:02:54 +00:00
Felipe Pena 4f6fa0ba12 - Fixed bug #50090 (Typo in IteratorIterator constructor) 2009-11-07 21:27:15 +00:00
andy wharmby b614214638 Fix tests 2009-11-05 22:44:02 +00:00
Ilia Alshanetsky 53952fef26 Make sure that max_file_uploads is set to 20 by-default in all places 2009-11-05 13:29:34 +00:00
Jani Taskinen 9096aef11a - The dot 2009-11-05 11:32:53 +00:00
Dmitry Stogov 1d5c137b00 Avoid invoking setitimer when timeouts have been disabled (Arvind Srinivasan) 2009-11-05 10:38:56 +00:00
Dmitry Stogov 1e52beff0f Fixed unnecessary invokation of setitimer when timeouts have been disabled (Arvind Srinivasan) 2009-11-05 09:33:19 +00:00
Matteo Beccati 2a481b01fb - Properly fixed bug #49985 (pdo_pgsql prepare() re-use previous aborted transaction).
# Removed usage of the memory address when generating prepared statemend names
# as uniqueness can't be enforced. Used a statment counter instead.
2009-11-04 19:32:27 +00:00
Matteo Beccati c4bee3fa96 - Reverting previous fix for bug #49985
# Unmerged changes from revision 289924
2009-11-04 19:16:39 +00:00
Ilia Alshanetsky 18a433f0d9 Fixed bug #50073 (parse_url() incorrect when ? in fragment). 2009-11-04 13:44:10 +00:00
Guenter Knauf c6b89853ef fixed build-in module list for NetWare. 2009-11-03 19:03:49 +00:00
Guenter Knauf 170b33dec0 cleaned up includes for NetWare. 2009-11-03 18:56:47 +00:00
Guenter Knauf 2dcdcd8d5f added magic.mine path define for NetWare. 2009-11-03 18:44:11 +00:00
Guenter Knauf 5703dbea03 added timezone define for NetWare. 2009-11-03 18:24:57 +00:00
Guenter Knauf 389811a6c5 removed now obsolete NetWare hack since I fixed this
with Novell some longer time ago in their SDK header.
2009-11-03 18:03:02 +00:00
Guenter Knauf b256c06592 removed now obsolete NetWare hack since I fixed this
with Novell some longer time ago in their SDK header.
2009-11-03 17:58:17 +00:00
Guenter Knauf c75d7f3af5 removed now obsolete NetWare hack since I fixed this
with Novell some longer time ago in their SDK header.
2009-11-03 17:50:10 +00:00
Guenter Knauf 693e138d5d removed now obsolete NetWare hack since I fixed this
with Novell some longer time ago in their SDK header.
2009-11-03 17:38:44 +00:00
Guenter Knauf 1434f64b7d removed now obsolete NetWare hack since I fixed this
with Novell some longer time ago in their SDK header.
2009-11-03 17:32:58 +00:00
Guenter Knauf 44f8c63ff5 removed now obsolete NetWare hack since I fixed this
with Novell some longer tiem ago in their SDK header.
2009-11-03 17:16:45 +00:00
Guenter Knauf dad7ada835 removed now obsolete NetWare hack since I fixed this
with Novell some longer tiem ago in their SDK header.
2009-11-03 17:11:09 +00:00
Ilia Alshanetsky 9676c4b0ea TZ update 2009-11-03 13:14:33 +00:00
Felipe Pena 4dbc65c7b7 - Fixed bug #49244 (Floating point NaN cause garbage characters). (patch by Sjoerd) 2009-11-02 17:37:32 +00:00
Derick Rethans a1fe3c1401 - Updated to version 2009.17 (2009q) 2009-11-02 16:12:20 +00:00
Ilia Alshanetsky 0b4c25d916 Fixed compiler warnings 2009-11-02 13:33:24 +00:00
Ilia Alshanetsky 31a64059ca TZ news 2009-11-02 04:06:57 +00:00
Felipe Pena fa23faaca4 - Fixed bug #50006 (Segfault caused by uksort()) [5_2 only] 2009-11-01 17:30:55 +00:00
Felipe Pena caa28c2a22 - Fixed bug #49719 (ReflectionClass::hasProperty returns true for a private property in base class) 2009-11-01 15:12:34 +00:00
Takeshi Abe 494877cbd1 Fixed a possible memory leak in case that FT_Glyph_To_Bitmap() fails 2009-11-01 05:04:35 +00:00
Pierre Joye b7fe1fe3d8 - back to dev #2 and fix snap :) 2009-10-31 09:45:53 +00:00
Ilia Alshanetsky 6105b12333 Lower the max upload default to 20 2009-10-28 13:04:42 +00:00
Jani Taskinen a3268aef52 - Fix news 2009-10-27 22:18:25 +00:00
Jani Taskinen 094bb76bbf - You add, remove, fix or implement. Introduce yourself to someone else. 2009-10-27 22:15:19 +00:00
Felipe Pena cf7e439938 - Fixed bug #50018 (Typo in spl_limit_it_seek()) 2009-10-27 21:57:26 +00:00
Felipe Pena dda3dfff9b - Fixed memory leak in openssl_pkcs12_export_to_file() 2009-10-27 21:37:03 +00:00
Pierre Joye 1d51c0f7d6 - Fixed crash in com_print_typeinfo when an invalid typelib is given 2009-10-27 19:16:55 +00:00
Felipe Pena 7b6dce6a62 - Fix build 2009-10-27 16:21:03 +00:00
Ilia Alshanetsky 10a048bc3f Introduced a max_file_uploads INI setting, which is set to limit the
number of file uploads per-request to 100 by default, to prevent possible
DOS via temporary file exhaustion.
2009-10-27 16:13:48 +00:00
Pierre Joye 0b18abd2f2 - #48752 2009-10-27 10:44:11 +00:00
Pierre Joye 2c210cadd6 - #48752, crash during date parsing with invalid date 2009-10-27 10:41:45 +00:00
Derick Rethans a5f518f00a - Updated to version 2009.16 (2009p) 2009-10-26 14:09:23 +00:00
Ilia Alshanetsky 91be772174 Fixed bug #49921 (Curl post upload functions changed). 2009-10-26 12:57:01 +00:00
Ilia Alshanetsky 4d7a588951 - Fixed bug #49985 (pdo_pgsql prepare() re-use previous aborted transaction). 2009-10-26 02:02:28 +00:00
Jani Taskinen 1719e7c300 - Fixed bug #49990 (SNMP3 warning message about security level printed twice). 2009-10-25 20:17:04 +00:00
Johannes Schlüter e5e26d817e Fix #49972 (AppendIterator undefined function crash) 2009-10-23 16:47:35 +00:00
Ilia Alshanetsky e94965d0a7 Fixed test 2009-10-22 19:39:08 +00:00
Derick Rethans 697277d152 - Updated to version 2009.15 (2009o) 2009-10-19 16:29:13 +00:00
Jani Taskinen 880b090479 - It is not const in PHP_5_2 but it is in HEAD and PHP_5_3 2009-10-19 15:34:50 +00:00
Jani Taskinen c0677af865 - It is close to next 5.2 release, ILIA! 2009-10-19 12:42:10 +00:00
Scott MacVicar eb9ca1bf82 Fix bug #49332 - Unable to compile with Snow Leopard due to some DNS funsies 2009-10-16 16:09:49 +00:00
Ilia Alshanetsky 33b43d710f Fixed bug #49855 (import_request_variables() always returns NULL). 2009-10-15 12:26:54 +00:00
Guenter Knauf 85037bbfad zend_module_dep is no const and breaks strict compilers
like CodeWarrior for NetWare.
2009-10-14 19:29:37 +00:00
Ilia Alshanetsky 22d7581a9b tz update news 2009-10-14 12:28:37 +00:00
Ilia Alshanetsky 1bc451744f Fixed bug #49847 (exec() fails to return data inside 2nd parameter, given output lines >4095 bytes). 2009-10-14 01:32:07 +00:00
Derick Rethans 29aa08e3a8 - Updated to version 2009.14 (2009n) 2009-10-13 08:16:35 +00:00
Moriyoshi Koizumi f77a222897 - Bug #49785: take 5. What the hell happened to me... 2009-10-13 05:18:37 +00:00
Felipe Pena ac2bdbaeb0 - BFN 2009-10-12 19:23:07 +00:00
Felipe Pena b46243e2e2 - Fixed possible crash when calling SQLiteDatabase::{ArrayQuery, SingleQuery} methods using Reflection 2009-10-12 19:04:00 +00:00
Felipe Pena 3ef866882a - Fixed PDORow and PDOStatement crashes when instantiating throught Reflection 2009-10-12 17:09:11 +00:00
Moriyoshi Koizumi 040871458c - Bug #49785: take 4 - typo. this flaw is unharmful since the return value of get_next_char() is only used when UTF-8 is specified to the third argument. 2009-10-12 14:29:45 +00:00
Moriyoshi Koizumi 18b0a78708 - Bug #49785: take 3 - fixed infinite loop bug (only for 5.2) (reported by T.Komura. Thanks) 2009-10-12 14:25:51 +00:00
Pierre Joye e394a130f6 - check max colors while loading gd2 palette image (patch by Tomas Hoger) 2009-10-12 10:01:37 +00:00
Moriyoshi Koizumi b8175c7919 - A couple more fix for my previous fix.
(one of the fix by Arnaud Le Blanc. Thanks!)
2009-10-11 23:52:33 +00:00
Moriyoshi Koizumi efacbfff88 - More tests to go. 2009-10-09 17:13:05 +00:00
Moriyoshi Koizumi 2594c77511 - Fixed bug #49785 (insufficient input string validation of htmlspecialchars()). 2009-10-09 10:02:38 +00:00
Ilia Alshanetsky 2595252ebf Syntax 2009-10-09 02:15:22 +00:00
Jani Taskinen 98a8665383 - Fixed bug #49809 (time_sleep_until is not available on solaris) 2009-10-08 14:21:53 +00:00
Jani Taskinen 875c91b415 - Fixed bug #49503 (invalid warning for failed semaphore file creation)
# I have no idea why I had added this. Might have been some debug code.. :(
2009-10-08 10:33:26 +00:00
Ilia Alshanetsky f9b8139e65 Revert fix, not relavent for this branch 2009-10-08 02:21:36 +00:00
Matteo Beccati 29b7b871b7 - Fixed bug #48764 (PDO_pgsql::query always uses implicit prepared statements if v3 proto available)
# original patch by Mark Kirkwood
2009-10-07 17:40:16 +00:00
Ilia Alshanetsky a6321016da Fixed bug #49800 (SimpleXML allow (un)serialize() calls without warning).
# original patch by wmeler at wp-sa dot pl
2009-10-07 12:46:29 +00:00
Etienne Kneuss cf2c0f3ee3 Fix bug #49263 (Offset error when unserializing self-references in SplObjectStorage) 2009-10-06 13:34:56 +00:00
Ilia Alshanetsky 5007c77a31 Formatting tweaks 2009-10-06 12:52:32 +00:00
Jani Taskinen bf34edee8f pff 2009-10-06 10:00:53 +00:00
Ilia Alshanetsky c21d59c08e Fixed bug #49757 (long2ip() can return wrong value in a multi-threaded applications).
# original patch by Florian Anderiasch
2009-10-05 14:45:54 +00:00
Dmitry Stogov 25209f9a71 Fixed bug #49627 (error_log to specified file does not log time according to date.timezone) 2009-10-05 13:56:49 +00:00
Sriram Natarajan 0de483dcf4 - Fixed bug #49738 (calling mcrypt after mcrypt_generic_deinit crashes). 2009-10-02 00:13:53 +00:00
Ilia Alshanetsky bbc9b86f0d Fixed typo 2009-10-01 23:21:36 +00:00
Ilia Alshanetsky ce1b22fd85 Fixed bug #48805 (IPv6 socket transport is not working). 2009-09-30 20:48:41 +00:00
Felipe Pena 4c2d3cace1 - Fix build 2009-09-30 11:25:13 +00:00
Ilia Alshanetsky 67303f2999 Fixed bug #49517 (cURL's CURLOPT_FILE prevents file from being deleted after fclose). 2009-09-30 02:34:17 +00:00
Felipe Pena c5d06308b1 - Fix build 2009-09-29 23:36:30 +00:00
Rafael Machado Dohms 98ce43e431 Fixing tests for head and wrong SKIPIF blocks 2009-09-29 14:34:06 +00:00
Rasmus Lerdorf bbd230d119 Fixed a safe_mode bypass in tempnam() identified by Grzegorz Stachowiak. 2009-09-29 14:14:02 +00:00
Rasmus Lerdorf d5ee6d613d Add missing open_basedir check in posix_mkfifo 2009-09-29 14:02:50 +00:00
Rasmus Lerdorf 4ddffe7b35 Fix date_sunrise/date_sunset tests 2009-09-29 13:56:51 +00:00
Rafael Machado Dohms 198361e012 Adding tests for bug #49692 2009-09-28 22:57:41 +00:00
Kalle Sommer Nielsen bc72db169b NEWS for Rasmus' bug fix 2009-09-28 15:07:37 +00:00
Rasmus Lerdorf 5803d3b029 Fix for bug #49698 2009-09-28 13:29:53 +00:00
Ilia Alshanetsky 3758a57bba Fixed build 2009-09-28 13:11:21 +00:00
Felipe Pena 22693aa7fb - Fixed tests 2009-09-26 17:59:33 +00:00
Felipe Pena 6a1736de17 - Fixed tests 2009-09-26 16:55:11 +00:00
Rasmus Lerdorf 2b2fb3fd49 Refix bug #49558 as per bug #49676 2009-09-26 00:53:59 +00:00
Andrey Hristov ef17ae4ecb Fix returned value, if mysql_stmt_attr_set fails
then mysqli returns true, otherwise false. Wrong logic.
2009-09-25 12:35:58 +00:00
Antony Dovgal d5cf5939f8 MFH: save LDFLAGS in EXTRA_LDFLAGS before unsetting
this patch makes sure that LDFLAGS are taken into account when
configuring the build
2009-09-25 07:10:29 +00:00
Felipe Pena 845bfd0a0c - Reverted last Ilia's change (looks as accidental in this branch, as it was in popen() not tempnam(), and it doesnt need to be changed here) 2009-09-25 01:53:02 +00:00
Jani Taskinen fc79d27624 fn 2009-09-24 22:40:15 +00:00
Ilia Alshanetsky 722b937b8f Make tempnam() return FALSE on error as documented 2009-09-24 18:59:28 +00:00
Sriram Natarajan cc83bf0be2 - Rollback fix for bug #49571 (CURLOPT_POSTREDIR not implemented).
# - Features don't go into PHP 5.2
2009-09-24 18:45:09 +00:00
Sriram Natarajan bbba732e79 - Fixed bug #49571 (CURLOPT_POSTREDIR not implemented). 2009-09-24 18:20:49 +00:00
Rob Richards 8324654b13 MFH: Fixed bug #49647 (DOMUserData does not exist) 2009-09-24 15:10:21 +00:00
Rob Richards 976fbc7006 fix memleak 2009-09-24 12:40:59 +00:00
Moriyoshi Koizumi c2471b4950 - Fixed bug #49354 (mb_strcut() cuts wrong length when offset is within a
multibyte character).

(This bug was introduced by the commit by r202895. Please double-check the
 specification of the function you are going to *fix*.)
2009-09-23 15:22:47 +00:00
Moriyoshi Koizumi 4a391f68d5 * Merge two patches from 5.3 branch (intentionally uncommited because 5.2.11
was about to come at that time).
2009-09-23 14:26:51 +00:00
Dmitry Stogov 5bd58e538e Fixed ext/standard/tests/streams/stream_get_contents_002.phpt 2009-09-23 10:25:54 +00:00
Felipe Pena c0735c68da - Fixed bug #49531 (CURLOPT_INFILESIZE sometimes causes warning "CURLPROTO_FILE cannot be set ...") 2009-09-23 02:08:19 +00:00
Felipe Pena 7cbdfd2757 - Fixed bug #49630 (imap_listscan function missing)
# Missing PHP_FE(), though nowdays it is used through of two aliases. (imap_scan() and imap_scanmailbox())
2009-09-22 18:18:57 +00:00
Dmitry Stogov 02dd12385b Fixed tests which fail from time to time because of race conditions ("echo" command didn't wait for all the data php tried to send and as result php got a SIGPIPE) 2009-09-22 14:52:47 +00:00
Dmitry Stogov 5c51b3f11a Fixed test (it failed from time to time because of very small timeouts) 2009-09-22 10:15:10 +00:00
Jani Taskinen ca1692fe16 - Move tests in the right location 2009-09-22 09:41:39 +00:00
Dmitry Stogov c2dbf60325 Fixed test 2009-09-22 08:47:30 +00:00
Dmitry Stogov d5d77c1beb Fixed test (removed "bad" locale) 2009-09-22 08:22:29 +00:00
Dmitry Stogov 88586426d4 Fixed tests ("none" is an alias of "false" and it can't be used as a string value of ini option) 2009-09-21 14:32:20 +00:00
Dmitry Stogov 943d08ee0f Fixed tests/lang/bug22592.phpt 2009-09-21 13:32:10 +00:00
Dmitry Stogov b164d2b97c Fixed memleak in tests/lang/engine_assignExecutionOrder_001.phpt 2009-09-21 13:01:17 +00:00
Dmitry Stogov 76ff5590c2 Fixed tests 2009-09-21 11:30:38 +00:00
Dmitry Stogov 4061a72664 Fixed memory leak 2009-09-21 11:22:13 +00:00
Ilia Alshanetsky 6db1f59938 WS 2009-09-21 02:51:15 +00:00
Hannes Magnusson c6bc88db3a BFN 2009-09-17 11:43:29 +00:00
Hannes Magnusson dc2f690377 Fixed bug#49578 (make install-pear fails)
# Apparently this script was using 5.3 functionality
# Workaround would be to install 'wget'
2009-09-17 11:36:29 +00:00
Sriram Natarajan b91f37fdc0 - Fixed bug #49572 (use of C++ style comments causes build failure) 2009-09-17 02:45:25 +00:00
Ilia Alshanetsky 77fd5b8075 5.2.11 news cleanup 2009-09-16 22:46:37 +00:00
Ilia Alshanetsky ba855e4824 Back to dev 2009-09-16 12:55:51 +00:00
Ilia Alshanetsky 9a983f9ccf 5.2.11 2009-09-16 12:54:51 +00:00
andy wharmby 80e91e8f0d Fix SKIPIF sections 2009-09-15 21:44:08 +00:00
Rasmus Lerdorf 4c92f98c4e Fix for bug #49558 for 5.2 and HEAD as well. 2009-09-15 20:34:54 +00:00
Moriyoshi Koizumi 911228f106 - WS fix (spaces to tabs) 2009-09-15 00:09:13 +00:00
Jani Taskinen 80fee52884 pfft 2009-09-14 17:18:27 +00:00
Ulf Wendel 58c3410689 Backport of http://news.php.net/php.cvs/60381 to PHP 5_2 which fixes a potential crash with ext/mysqli and Prepared Statements if the MySQL Server sends faulty metadata, see also http://news.php.net/php.cvs/60389 . I don't know of a way to crash PHP using a recent MySQL. But metadata has been a troublemaker in the past. Just in case... 2009-09-14 16:51:11 +00:00
Ilia Alshanetsky 4d4871f578 Fixed certificate validation inside php_openssl_apply_verification_policy 2009-09-14 12:50:30 +00:00
Moriyoshi Koizumi e5b872a817 - Looks like bug #48697 has already been fixed in RC1. 2009-09-14 04:11:29 +00:00
andy wharmby c6849dc9ba Add missing SKIPIF 2009-09-11 21:57:04 +00:00
Ilia Alshanetsky d32efcaeaf Back to dev 2009-09-10 12:16:30 +00:00
Ilia Alshanetsky 82d6e7855d 5.2.11RC3 2009-09-10 12:14:51 +00:00
Ilia Alshanetsky 275909c813 Fixed test 2009-09-10 02:15:08 +00:00
Felipe Pena c068f17a31 - Possible fix for bug #49344 on Windows (pdo_mssql fails to connect,throws PDOException SQLSTATE[] (null) (severity 0)) 2009-09-10 01:20:42 +00:00
Jani Taskinen 5f4a55c67f Ihnetd. 2009-09-09 07:38:03 +00:00
Ilia Alshanetsky 8f584b3207 TZ news 2009-09-08 22:14:29 +00:00
Derick Rethans dbac748812 - Updated to version 2009.13 (2009m) 2009-09-08 14:03:53 +00:00
Ilia Alshanetsky f21a5b2332 Fixed tests 2009-09-07 14:18:46 +00:00
Ilia Alshanetsky 27fb503751 Fixed bug #49470 (FILTER_SANITIZE_EMAIL allows disallowed characters). 2009-09-07 02:35:25 +00:00
Pierre Joye d5ab5a6452 - revert last commit, breaks the build and needs test case(s) 2009-09-06 15:56:58 +00:00
Moriyoshi Koizumi 1fee2957ae - Fix leaks. 2009-09-06 14:43:09 +00:00
Pierre Joye 98c32cf3b0 - WS 2009-09-05 19:01:06 +00:00
Pierre Joye ac40eed89d - don't hide early declaration 2009-09-05 19:00:05 +00:00
Pierre Joye 8d17f0c2cc - fix #49274, filter_var does not accept object without a toString implementation 2009-09-05 17:35:26 +00:00
Jani Taskinen 0be7c56f86 - This was not supposed to be committed.. 2009-09-05 17:11:44 +00:00
Jani Taskinen 06f5b207c9 - Fixed bug #49182 (PHP CGI always outputs the shebang line) 2009-09-05 17:07:14 +00:00
Jani Taskinen d12cfe5b07 - some styling 2009-09-04 22:11:32 +00:00
Sriram Natarajan 8926fbaf26 - Fixed bug #49447 (php engine need to correctly check for socket API
return status on windows). (Sriram Natarajan)
2009-09-04 07:59:48 +00:00
Matteo Beccati 2acedb40e6 MFH
- Fixed bug #48060 (pdo_pgsql - large objects are returned as empty)
# Backported from 5.3.0, per gripe from Konstantin Ryabitsev
# Permission granted by Ilia
2009-09-03 22:53:25 +00:00
Sebastian Bergmann d9eeb2e6e6 Make invokeArgs() error messages consistent with invoke(). 2009-09-03 14:02:51 +00:00
Pierre Joye 1b7cad9a28 - missing ) 2009-09-03 12:54:46 +00:00
Jani Taskinen 9c6d53b68c - Prepare for b-day :D 2009-09-03 12:20:26 +00:00
Ilia Alshanetsky efcefa9fd9 Back to dev 2009-09-03 12:16:47 +00:00
Ilia Alshanetsky a2c78531df 5.2.11RC2 2009-09-03 12:14:58 +00:00
Pierre Joye 79868f8566 - Fix sanity check for the color index in imagecolortransparent 2009-09-03 09:45:56 +00:00
Ilia Alshanetsky e46f05a0a2 Fixed return value to comply with tests 2009-09-02 13:07:44 +00:00
Jani Taskinen ca5c15efe4 - Add missing bug fixing news 2009-09-02 06:30:47 +00:00
Patrick Allaert 3891e2a52e Merging last tests made in HEAD 2009-09-01 13:41:18 +00:00
Patrick Allaert 7c56a4d498 Fixing #49424 (#48696): segfault while using ldap_search(), ldap_read(),... 2009-09-01 08:42:10 +00:00
Jani Taskinen 9251699926 fix typo 2009-08-31 21:19:29 +00:00
Jani Taskinen 532e142459 - Fixed zlib.deflate compress filter to actually accpet level parameter. 2009-08-31 21:18:55 +00:00
Zoe Slattery f03552c27d add missing skipifs 2009-08-31 19:22:29 +00:00
Ilia Alshanetsky ec9c7a4599 Fixed bug #49361 (wordwrap() wraps incorrectly on end of line boundaries). 2009-08-31 12:28:46 +00:00
Jani Taskinen 780bda4ce1 MF53: - Fixed bug #49000 (PHP CLI in Interactive mode (php -a) crashes when including files from function), see also bug #49405 2009-08-31 12:07:27 +00:00
Zoe Slattery 58aeff1978 The last of the 2009 testfest tests 2009-08-30 18:18:50 +00:00
Pierre Joye a966ab428a - Fixed leak on error in popen/exec (and related functions) 2009-08-30 17:13:45 +00:00
Zoe Slattery 7aa125747e More tests from 2009 testfest 2009-08-30 12:19:50 +00:00
Zoe Slattery ffa06648fd bc math tests from testfest 2009 2009-08-30 11:10:20 +00:00
Zoe Slattery 076ada3a46 server for ftp tests 2009-08-30 09:31:54 +00:00
Zoe Slattery 28c5f6948b More tests from 2009 testfest 2009-08-30 09:30:13 +00:00
Zoe Slattery 77cd4db9cc Fixed to allow for http etc 2009-08-30 08:18:53 +00:00
andy wharmby 62426919df New basic network function tests. Tested on Windows, Linux and Linux 64 bit 2009-08-28 22:46:43 +00:00
Zoe Slattery fa2b95c95a More tests from 2009 testfest 2009-08-28 14:31:19 +00:00
andy wharmby b5145cb74d Fix time_sleep_until() tests; not supported on Windows on 5.2 2009-08-27 19:30:35 +00:00
andy wharmby 9ea28dd365 Fix tests. Add missing SKIPIF sections so test do not run when POSIX extension not available. 2009-08-27 12:21:19 +00:00
Rasmus Lerdorf e71fee906e This needs to be larger to avoid an overflow on the bit-shifting in this function 2009-08-27 05:05:42 +00:00
Pierre Joye 0d332b4edb - fix #49372, segfault in php_curl_option_url 2009-08-26 22:24:10 +00:00
Pierre Joye 1cbf3eb6c3 - silent warning (fix for #28038) 2009-08-26 21:59:54 +00:00
Pierre Joye b80812021e - update 2009-08-26 20:03:49 +00:00
Pierre Joye f19b49815c - fix #44683, popen crashes when an invalid mode is passed (works on 2k8/vista/win7) 2009-08-26 19:57:01 +00:00
Pierre Joye 963575b07f - fix build (pls at least try to compile before committing) 2009-08-26 19:15:13 +00:00
Zoe Slattery 7e791e6e19 Test from 2009 testfest 2009-08-26 17:17:58 +00:00
Ilia Alshanetsky 56510b5aaf Fixed variable clobbering 2009-08-26 15:29:06 +00:00
Dmitry Stogov a56bb8e06e Fixed bug #47273 (Encoding bug in SoapServer->fault) 2009-08-26 14:05:48 +00:00
Guenter Knauf 7a4e20ca25 fix bug #48640: cleaned up ifdef whoes, removed duplicate code. 2009-08-26 02:16:41 +00:00
Ilia Alshanetsky ef5691ff42 Don't clober variables 2009-08-24 18:40:13 +00:00
Rafael Machado Dohms bfa792bb3c Adding tests for imagecolorallocatealpha 2009-08-24 02:50:19 +00:00
Mikko Koppanen 6b20ef8197 Fixes a memory leak in ssl streams. The context was not properly freed 2009-08-22 02:31:23 +00:00
Jani Taskinen 2d8ddcb682 - Fixed bug #49286 (php://input (php_stream_input_read) is broken) 2009-08-20 12:40:15 +00:00
Jani Taskinen af7d5f950d - WS + CS + sync 2009-08-20 12:17:32 +00:00
Jani Taskinen c935d23791 - Fixed bug #49289 (bcmath module does not compile with phpize configure). 2009-08-20 11:19:20 +00:00
andy wharmby c934b1e7c9 New basic test for md5(). Tested on Windows, Linux and Linux 64 bit 2009-08-19 08:39:33 +00:00
Stanislav Malyshev 50fa1e7a2f fix crash when unexpectedly passed by-ref parameter is modified 2009-08-18 20:51:49 +00:00
Garrett Serack 2b682228e2 - Fixed bug #28038 (Sent incorrect RCPT TO commands to SMTP server) 2009-08-18 18:58:33 +00:00
Ilia Alshanetsky c3e759372e NULL the value after free 2009-08-18 12:44:32 +00:00
andy wharmby 8c84e5256b New str_replace() tests. All tested on Windows, Linux and Linux 64 2009-08-17 22:41:30 +00:00
Jani Taskinen 223a8da69d - Fix news 2009-08-17 20:14:25 +00:00
Dmitry Stogov 161dbf90ad Fixed bug #49144 (import of schema from different host transmits original authentication details) 2009-08-17 18:23:48 +00:00
Jani Taskinen 844d49f80c - Fixed bug #49236 (Missing PHP_SUBST(PDO_MYSQL_SHARED_LIBADD)). 2009-08-17 17:57:40 +00:00
Jani Taskinen b589d82176 - Fixed bug #49248 by fixing bug #48994 properly 2009-08-17 17:30:32 +00:00
Jani Taskinen d6439e0920 - Try disabling zlib.output_compression always for images. (zlib extension might be compiled as shared and not same time as the main PHP binary) 2009-08-17 16:54:39 +00:00
andy wharmby 09e01d4384 Make test more portable. 2009-08-17 15:54:51 +00:00
Derick Rethans f5f8a3cee2 - Updated to version 2009.12 (2009l) 2009-08-17 14:46:58 +00:00
andy wharmby b000227f0a New basic tests for uniqid(). Tested on Windows, Linux and Linux 64 bit 2009-08-17 14:22:02 +00:00
andy wharmby 78846dab86 New basic string tests - includes back-porting a few existing tests back to 5.2. All tested on Windows, Linux and Linux 64 2009-08-17 10:37:30 +00:00
Dmitry Stogov 2a6b53de4b Fixed bug #49269 (Ternary operator fails on Iterator object when used inside foreach declaration). (Etienne, Dmitry) 2009-08-17 07:40:18 +00:00
Ilia Alshanetsky 60d0e60d87 Added missing sanity checks around exif processing 2009-08-16 14:31:27 +00:00
Dmitry Stogov 85cee656e4 Fixed crash in usort() and uasort() in case user comparison function modifyes the array. 2009-08-14 06:18:47 +00:00
Ilia Alshanetsky ae38f7ad1c Back to dev 2009-08-13 12:34:56 +00:00
Ilia Alshanetsky 672cf89dea Back to RC1 for a second (still learning svn ;( ) 2009-08-13 12:33:19 +00:00
Ilia Alshanetsky 872d28d545 Back to dev 2009-08-13 12:22:12 +00:00
Ilia Alshanetsky 51b01fca74 5.2.11RC1 2009-08-13 12:17:04 +00:00
Scott MacVicar 42aa79cd97 BFN 2009-08-12 00:21:42 +00:00
Scott MacVicar ed57e50fca MFB 5.3: Fix bug #48284 (r283144) - adler32 is in the wrong order. Changed to match what zlib produces. 2009-08-12 00:18:36 +00:00
Sriram Natarajan 77e32a6371 - Simplify default flags for Sun C compiler. 2009-08-11 23:45:35 +00:00
Stanislav Malyshev e88345d268 fix potential memory issue on serialization
# When internal class uses zend_mangle_property_name it's malloc()
# so it should be freed with free()
2009-08-11 22:46:07 +00:00
Scott MacVicar 0125a3620b We should check /usr/local/include last 2009-08-11 21:40:15 +00:00
Ilia Alshanetsky fdd4a42546 Fixed typo 2009-08-11 16:11:23 +00:00
Pierre Joye a212a16419 - fixed bug #49072, feof never returns true for damaged file in zip 2009-08-11 15:12:00 +00:00
Scott MacVicar bae879486a Search /usr/include too for those wanting to use a system PCRE. 2009-08-11 12:03:29 +00:00
David Soria Parra 60a8b1f6fb Add actions for the gitclean target. 2009-08-11 02:21:09 +00:00
Rasmus Lerdorf 545b5fcd54 Tweak a few tests that failed on OSX 2009-08-10 06:53:49 +00:00
Rasmus Lerdorf a207b7ea69 Make these socket tests less Linux-specific 2009-08-09 14:50:51 +00:00
Rasmus Lerdorf 73de7b29b6 The system error here may not be "Filename too long". On OSX, for example,
it is "Invalid ioctl" in this case.
2009-08-09 14:20:54 +00:00
Rasmus Lerdorf 1c439aacf8 Skip this test on osx because ceil(-0.5) doesn't return -0 like
everywhere else because of weird optimizations.
2009-08-09 05:16:17 +00:00
Rasmus Lerdorf 5c729bb28c Restore intra-string whitespace collapsing broken in the previous change. 2009-08-08 14:39:34 +00:00
Rasmus Lerdorf a63ce91cd6 Oops, true/false are not defined on Linux. They are on OSX. 2009-08-07 17:32:31 +00:00
Rasmus Lerdorf a2b373d224 Only skip leading 0's - fixes a test I broke a while ago 2009-08-07 17:14:19 +00:00
Scott MacVicar 6d78ad0f01 Merge r286857: Change dns.h to php_dns.h, part of my dns cleanup 2009-08-06 14:07:16 +00:00
Rasmus Lerdorf bcabef3c9f More eol crap 2009-08-06 13:31:03 +00:00
Rasmus Lerdorf 2ce7143347 Fix more tests messed up by svn 2009-08-06 13:26:43 +00:00
Rasmus Lerdorf 4638a9c78e Fix test 2009-08-06 13:08:13 +00:00
Ilia Alshanetsky a358e4d0dd Make test more generic 2009-08-06 12:23:35 +00:00
Jani Taskinen ababa2eabd - Fix CS and remove extra strlen() call 2009-08-06 11:11:15 +00:00
Rasmus Lerdorf 76f8041036 The user argument cannot be NULL here - fixes 2 tests 2009-08-06 10:56:00 +00:00
Kalle Sommer Nielsen aaea1e8b58 MFH: Fixed compiler warnings in ext/date 2009-08-05 21:25:39 +00:00
andy wharmby 3b9ebac846 Basic test for is_resource() and isset() functions. tested on Windows, Linux and Linux 64 2009-08-05 16:10:46 +00:00
andy wharmby a00d5aa5bd Add new use-case to parse_str() test. Tested on Windows, Linux and Linux 64 2009-08-05 08:54:27 +00:00
andy wharmby 316d82625a Fix tests 2009-08-04 23:16:25 +00:00
Jani Taskinen caa09a360e - Add test (yes, it fails still :) 2009-08-04 12:16:40 +00:00
Jani Taskinen 07c8bb9d6c - Fixed bug #48608 (Invalid libreadline version not detected during configure) 2009-08-04 11:20:49 +00:00
Antony Dovgal 4ee2949d68 cosmetic fix 2009-08-04 09:27:15 +00:00
Antony Dovgal cebcb49215 fix memleak and possible segfault in HTTP fopen wrapper 2009-08-04 09:24:48 +00:00
Jani Taskinen 1f4ba45991 - Fix title 2009-08-04 02:55:24 +00:00
Jani Taskinen b1fbbea818 - Fixed bug #49056 (parse_ini_file() regression in 5.3.0 when using non-ASCII strings as option keys) 2009-08-04 02:34:04 +00:00
andy wharmby fbb3bc2b8c New basic tests for get_defined_constants(), get_loaded_extensions() and get_resource_type() functions. Tested on Windows, Linux and Linux 64 bit 2009-08-03 23:12:43 +00:00
andy wharmby cb28009c72 Add missing SKIPIF sections to tests 2009-08-03 22:40:58 +00:00
Felipe Pena 017670317f - Fixed bug #49095 (proc_get_status['exitcode'] fails on win32) 2009-08-03 19:05:56 +00:00
Jani Taskinen 329c258148 - Fixed bug #48994 (zlib.output_compression does not ouput HTTP headers when set to a string value)
# also fixes bug #35936 (ini.zlib.output-compression Documentation :)
2009-08-03 18:15:30 +00:00
Felipe Pena 748590c6ab - CS 2009-08-03 15:58:18 +00:00
Felipe Pena 1e21fd1777 - Improved. No ugly copy. (Tony) 2009-08-03 13:26:15 +00:00
Felipe Pena c46c584f97 - Re-fix stream_is_local() memory leaks 2009-08-03 13:16:24 +00:00
Jani Taskinen 28e248da9b - Fixed bug #48400 (imap crashes when closing stream opened with OP_PROTOTYPE flag) 2009-08-03 13:02:53 +00:00
Jani Taskinen 4bc219eadb - Fixed bBug #48873 (Using both --with-libedit and --with-readline cause unknown option warning)
# This isn't worth of NEWS entry, it's just cosmetic
2009-08-03 11:21:44 +00:00
Jani Taskinen f3d7bf9cf3 - These tests fail if mbstring is enabled, not because of bad libc.. 2009-08-03 10:23:23 +00:00
Uwe Schindler a525ea8c5b MFH: Fix bug #46020: With Sun Java System Web Server 7.0 on HPUX, #define HPUX 2009-08-03 10:14:20 +00:00
Antony Dovgal b691c34579 revert bogus memleak fix causing Valgrind to scream 2009-08-03 08:45:28 +00:00
Rasmus Lerdorf 7f594baaa3 Fix broken json tests in all branches 2009-08-03 04:01:57 +00:00
Rasmus Lerdorf 5624073f74 Missed a merge 2009-08-02 23:12:04 +00:00
Greg Beaver c624bfb376 add missing fetch.php 2009-08-02 19:13:43 +00:00
Greg Beaver 63a7abc493 fix Bug #43857 2009-08-02 19:11:15 +00:00
Jani Taskinen 4bf6310b15 - More and more missing svn:ignore entries. 2009-08-02 01:48:27 +00:00
Jani Taskinen b36044f633 - No ignore here 2009-08-02 01:42:40 +00:00
Jani Taskinen 5ef997b7eb - More missing svn:ignore entries 2009-08-02 01:16:41 +00:00
Felipe Pena 888669dd69 - Fixed paths 2009-08-01 23:26:02 +00:00
Felipe Pena 3135976b14 - Fixed bug #49125 (Error in dba_exists C code)
patch by: jdornan at stanford dot edu
2009-08-01 23:10:11 +00:00
Felipe Pena a4a09a00ab - Fixed ReflectionClass::getStaticProperties() to do not return the private properties from parent class;
behavior already adopted in ReflectionClass::getDefaultProperties() and ReflectionClass::getProperties().
2009-08-01 20:44:00 +00:00
Felipe Pena da73057c2a - Fixed bug #49132 (posix_times returns false without error)
patch by: phpbugs at gunnu dot us
2009-08-01 18:22:31 +00:00
Derick Rethans 3627bd185a - Added a function to print all CVs from the local scope. 2009-08-01 12:55:36 +00:00
Jani Taskinen df61b3c6eb - Fixed bug #43510 (stream_get_meta_data() does not return same mode as used in fopen) 2009-08-01 03:17:31 +00:00
Jani Taskinen 2f577607b0 - Missing svn:ignore 2009-08-01 01:32:57 +00:00
Jani Taskinen 4caca3b57d - Missing svn:ignore 2009-08-01 01:32:34 +00:00
Jani Taskinen 1679a25308 - Added test for bug #49074 2009-08-01 01:01:43 +00:00
Jani Taskinen f9e548a9e5 - Fixed bug #49074 (private class static fields can be modified by using reflection) 2009-08-01 00:48:04 +00:00
Garrett Serack bdcc7e1460 - Updated fix for bug #48911 (embed sapi misses SAPI_API)
#- Windows didn't need SAPI_API
2009-07-30 20:20:56 +00:00
Jani Taskinen 24e68ba62c - Fixed compile failure with older openssl libs (< 0.9.8), fixes bug #49012 2009-07-30 11:32:08 +00:00
Kalle Sommer Nielsen 14e9fd36cd Test case for bug #42434 2009-07-30 03:54:27 +00:00
Felipe Pena 628d1d59d7 - Fixed memleak in stream_is_local() 2009-07-29 19:09:17 +00:00
Johannes Schlüter d07fcfd636 Remove .project files (doesn't exist in trunk) 2009-07-29 13:51:52 +00:00
Ilia Alshanetsky 334d154acc Fixed bug #45141 (setcookie will output expires years of >4 digits). 2009-07-29 13:44:16 +00:00
Jani Taskinen b2449e38f2 - fuck bom 2009-07-29 12:50:19 +00:00
Greg Beaver 45194181d2 sync run-tests.php with revision 286499 changes making php 6 tests with EXPECTF that can have arbitrary binary data in output work 2009-07-29 10:06:55 +00:00
Jani Taskinen 5024e00b78 - Fix news 2009-07-29 09:10:52 +00:00
Moriyoshi Koizumi 0754517cb2 * Fix bug #48645 (mb_convert_encoding() doesn't understand hexadecimal html-entities) 2009-07-29 04:44:08 +00:00
Hannes Magnusson 650ece0b75 MFH: Fixed bug #44144 & add test 2009-07-28 22:25:31 +00:00
Jani Taskinen 18d7a1b461 - Fixed bug #48911 (embed sapi misses SAPI_API) 2009-07-28 21:07:43 +00:00
Kalle Sommer Nielsen 420c0ccda9 Fixed bug #42434 (ImageLine w/ antialias = 1px shorter)
- patch by wojjie at gmail dot com
2009-07-28 20:35:06 +00:00
Sriram Natarajan 501b9f7894 - 48182 ssl handshake fails during asynchronous socket connection 2009-07-28 19:28:08 +00:00
Jani Taskinen e4e8e7b46a - Skip some tests in 32bit systems, add cleanups where missing 2009-07-28 19:16:02 +00:00
Derick Rethans 1f9610b81d - Updated to version 2009.11 (2009k) 2009-07-28 15:25:16 +00:00
Rasmus Lerdorf 0b311264b8 Get rid of this platform-specific test 2009-07-28 14:56:08 +00:00
Antony Dovgal 64ee5ebffb configure dependency has to be optional as well 2009-07-28 08:59:08 +00:00
Antony Dovgal c380c743fc fix segfault in session/tests/031.phpt by adding optional extension
dependency (php_hash_hashtable has to be initialized when setting
session.hash_function)
2009-07-28 08:54:23 +00:00
Rasmus Lerdorf 48ce6230b0 The version check was completely bogus in this test 2009-07-27 23:37:40 +00:00
Rasmus Lerdorf 007f0fd43c We don't support . as a delimiter here in PHP 5.2. Support was added in 5.3 2009-07-27 23:08:23 +00:00
Takeshi Abe 2147f3e1f5 MFB: added test for #43073 2009-07-27 22:12:35 +00:00
Takeshi Abe 93ceb2ada5 MFH: fixed #48732 (TTF Bounding box wrong for letters below baseline) and #48801 (Problem with imagettfbbox) 2009-07-27 15:11:46 +00:00
Felipe Pena 91676429a5 - Fix ZTS build 2009-07-26 23:44:59 +00:00
Jani Taskinen 802daf8f7c - Regenerated 2009-07-26 23:22:27 +00:00
Jani Taskinen acbfafef3c - Fixed bug #49064 (--enable-session=shared does not work: undefined symbol:
php_url_scanner_reset_vars). (Jani)

# Note: This does not exist in PHP_5_2. Merged there as well to keep these files synced.
2009-07-26 23:20:34 +00:00
Jani Taskinen f67eeca1ef - Removed unused code (replaced long time ago by url_scanner_ex.* 2009-07-26 22:59:46 +00:00
Rasmus Lerdorf 540bab3e67 More mime-type cleanups 2009-07-26 21:44:54 +00:00
Ilia Alshanetsky 72550b4f0a Fixed bug #49026 (proc_open() can bypass safe_mode_protected_env_vars
restrictions).
2009-07-26 15:14:18 +00:00
Rasmus Lerdorf 459b3bfa6a The test for bug #46739 doesn't actually need the remote
responder, so get rid of the skipif in PHP 5, and it was
broken in PHP 6 because the keys in the curl_info array 
were not unicode.  All internally-generated arrays should
have unicode keys.
2009-07-26 02:12:38 +00:00
Jani Taskinen 4abb6878fd - Fix tests to be more comptatible AND to test what they are supposed to test 2009-07-25 22:20:18 +00:00
Felipe Pena 3bb252a461 - Opss, fix the fix... 2009-07-25 21:56:31 +00:00
Felipe Pena 0b75925a6f - Fix test 2009-07-25 21:52:33 +00:00
Rasmus Lerdorf d1b5964a6e Fix dumb typo in the skipif 2009-07-25 21:37:04 +00:00
Jani Taskinen e30acaa428 - Fix this again :) 2009-07-25 21:07:02 +00:00
Jani Taskinen ee9e684705 - Add missing EXPERIMENTAL note (this thing REALLY is experimental at best..) 2009-07-25 20:58:51 +00:00
Jani Taskinen 6e1f000090 - Fixed bug #48637 ("file" wrapper is overwritten when using --with-curlwrappers)
# Also fixes bug #48603, basically same issue.
2009-07-25 20:44:19 +00:00
Felipe Pena 4b9b4ad0dd - Making Valgrind happy 2009-07-25 20:39:01 +00:00
Derick Rethans 5e0d5f2fa0 - MF53: Added - to the list of "unsafe" characters so that the pecl dir can
have the - character in the name.
2009-07-25 15:51:02 +00:00
Derick Rethans e5bbeae477 - Updated to version 2009.11 (2009k) 2009-07-25 15:14:33 +00:00
Jani Taskinen a231624c60 - Fix bad environment usage 2009-07-25 14:52:52 +00:00
Jani Taskinen 7c2896d60c - Fix test when responder is something like lighttpd 2009-07-25 14:49:17 +00:00
Jani Taskinen 728069b96b - Fix test 2009-07-25 14:20:38 +00:00
Jani Taskinen 89de347f92 - Merge from PHP_5_3:
r280810 | kalle: Fixed compiler warnings
r276286 | iliaa: Fixed bug #47477 (php_curl_stream_read() unnecessarily sleeps 15 secs under heavy load)
2009-07-25 13:09:03 +00:00
Jani Taskinen 1941fb2bf1 - Fixed bug #49052 (context option headers freed too early when using --with-curlwrappers) 2009-07-25 13:00:25 +00:00
Jani Taskinen fb3b83b85a - Fix test 2009-07-25 00:35:25 +00:00
Moriyoshi Koizumi 3e3099f0d0 - MFH 2009-07-24 23:50:12 +00:00
Jani Taskinen c912e1c07b - Fix test 2009-07-24 19:51:55 +00:00
Rafael Machado Dohms 918889c957 Adding tests for imagesetthickness, basic and errors for both params, and complementing imagetruecolortopalette with out of bound params 2009-07-24 03:06:05 +00:00
Jani Taskinen 1cee22e83f - Fixed tests to be more portable 2009-07-23 19:06:56 +00:00
Jani Taskinen ff9403f4c0 - Allow using huge values for chunklen in this branch too 2009-07-23 17:39:21 +00:00
Jani Taskinen bf7764ce57 - Fix test 2009-07-23 16:24:24 +00:00
Jani Taskinen ed14e50435 - fix test 2009-07-23 15:16:08 +00:00
Jani Taskinen eddb79e0ab - Fixed bug #48802 (printf() returns incorrect outputted length) 2009-07-23 14:54:04 +00:00
Jani Taskinen e02a2ac8e8 - Fixed bug #49032 (SplFileObject::fscanf() variables passed by reference) 2009-07-23 14:42:46 +00:00
Patrick Allaert 6dacd1d269 MFH: The exact error message might differ (it's "Not owner" on Solaris) (r265951) 2009-07-22 12:20:56 +00:00
Jani Taskinen ad6945538c - PHP_5_2 branch does not have these macros 2009-07-21 23:06:18 +00:00
Jani Taskinen 913ca7786c - Fix badly applied patch (bug #48774) 2009-07-21 22:57:08 +00:00
Rasmus Lerdorf 954bb8e35e Fix bug #49003 by tweaking the fix to bug #44929 slightly.
A 0 followed by any punctuation is now significant instead
of just 0's in front of a period.
2009-07-21 21:15:48 +00:00
Sriram Natarajan 7f87b7e15c - Fixed bug #48774 (SIGSEGVs when using curl_copy_handle()). 2009-07-21 20:32:32 +00:00
Ilia Alshanetsky 3050decf1e Fixed bug #48962 (cURL does not upload files with specified filename). 2009-07-21 15:56:08 +00:00
Zoe Slattery 0dab567bcc Remove empty sections. Fix bad use of --SKIP-- 2009-07-21 14:02:24 +00:00
Jani Taskinen 854ddd8c6e - There is only one Makefile that needs removing 2009-07-21 13:57:33 +00:00
Jani Taskinen e8ca212c9d - Fixed problem with vcsclean which caused it not to really clean whole tree 2009-07-21 12:01:26 +00:00
Johannes Schlüter 1d1cafd4cc CVS->SVN 2009-07-20 14:34:09 +00:00
Jani Taskinen 0158a15046 Fixed bug #48929 (Double \r\n after HTTP headers when "header" context option is an array) 2009-07-20 10:54:37 +00:00
Jani Taskinen 12a666b7e0 - Removed unused parts 2009-07-20 10:51:40 +00:00
Rafael Machado Dohms 8d3123a0a1 Removing deprecated test replaced by individual tests for imageistruecolor and imagetruecolortopalette 2009-07-20 03:48:55 +00:00
Rafael Machado Dohms 563b6ba594 Separating and complementing imageistruecolor and imagetruecolortopalette tests 2009-07-20 03:47:29 +00:00
Felipe Pena c16d5d946c - Fixed bug #48057 (Only the date fields of the first row are fetched, others are empty)
patch by: info at programmiernutte dot net
2009-07-20 00:17:24 +00:00
Felipe Pena 22bd02b4b8 - Fixed bug #48980 (Crash when compiling with pdo_firebird) 2009-07-19 23:33:50 +00:00
Felipe Pena 6346c75d15 - Revert my mistake 2009-07-19 22:46:03 +00:00
Rafael Machado Dohms d5045b3697 Adjusting tests to use EXPECTF (faster testing) and adjusting 5_2 version to lack of parameter validation 2009-07-19 22:16:35 +00:00
Felipe Pena 790b65617a - Fixed module check (Related to bug #48785) 2009-07-19 20:53:26 +00:00
Felipe Pena 995950facb - Fixed bug #48773 (Incorrect error when setting PDO::ATTR_STATEMENT_CLASS with ctor_args)
[HEAD only]
2009-07-19 18:55:31 +00:00
Pierre Joye d4afadbfbe - #49763 entry (and test commit in multiple branches :) 2009-07-19 17:02:03 +00:00
Christopher Jones 964baec5e6 MFH: Bug #48722 (Update OCI8 --enable-sigchild warning) 2009-07-19 16:28:15 +00:00
Christopher Jones 757a492651 make it easier for maintainers to set un/pw in environments that don't pass shell variables 2009-07-19 16:21:35 +00:00
Pierre Joye 1d16a525a5 - Fix #48763, create corrupt archive 2009-07-19 15:31:05 +00:00
Pierre Joye 19059ef91e - MF53 2009-07-19 15:21:13 +00:00
Felipe Pena e03540f80e - Removed unnecessary strlen() call and if statement. 2009-07-19 14:36:16 +00:00
Felipe Pena d7db4660ee - Tests related to bug #48770 2009-07-19 03:25:49 +00:00
Rafael Machado Dohms 874e9e0006 Adding tests for imagecreatetruecolor for PHP_5_2 and trunk 2009-07-19 01:44:19 +00:00
Pierre Joye 86659d4de0 - let try to be smart, read the bug report.... 2009-07-18 17:08:11 +00:00
Zoe Slattery a809e1429e Adding explanation 2009-07-18 16:53:54 +00:00
Zoe Slattery b718e008f5 removing empty XFAIL sections 2009-07-18 16:41:16 +00:00
Zoe Slattery 920290d0dc Removing unnecessary SKIPIF sections 2009-07-18 13:47:08 +00:00
Rasmus Lerdorf d13a8c30df Fix TTF Files 2009-07-18 03:18:36 +00:00
andy wharmby b2f934d74b New cURL tests. Tested on Windows, Linux and Linux 64 bit 2009-07-17 20:46:30 +00:00
andy wharmby 6cb2f1cabc Fix cURL tests 2009-07-17 20:44:50 +00:00
Alexey Zakhlestin 9ec93445a8 MFB: fixed tests. money_format() is implemented in underlying system, not in php. So, we shouldn't test for actual values returned. They are different between systems 2009-07-17 16:04:06 +00:00
Felipe Pena c9b0466df1 - Fix test 2009-07-17 14:04:51 +00:00
Jani Taskinen fe7cc3b1cf - Add missing file exts 2009-07-17 12:31:58 +00:00
Jani Taskinen 6b46e3b7b9 - Fixed bug #48947 (vcsclean does not remove all created files) 2009-07-17 12:14:21 +00:00
Jani Taskinen b7e602d74c CS 2009-07-17 11:49:50 +00:00
Jani Taskinen 5278a956f0 - Fixed bug #47481 (natcasesort() does not sort extended ASCII characters correctly) 2009-07-17 11:13:51 +00:00
Rasmus Lerdorf 7705411a87 Multi-branch test commit to see if email notifications are working 2009-07-17 04:26:33 +00:00
Stanislav Malyshev ff9a0a7811 fix memory leak 2009-07-17 00:57:28 +00:00
Felipe Pena 3e5c792a6e - MFH: Fixed bug #48762 (IPv6 address filter still rejects valid address) 2009-07-16 23:32:16 +00:00
Jani Taskinen 4e48207626 - Not supposed to be here.. 2009-07-16 16:09:18 +00:00
Jani Taskinen ae424dbb83 MFH 2009-07-16 12:19:02 +00:00
Gwynne Raskind 2c3bd3bc30 one more attempt at ridding us of some of those annoying mime types 2009-07-16 08:10:50 +00:00
Gwynne Raskind e9b85ae00c MFH: dropped some more mime types, svnclean -> clean for multiple VCS 2009-07-16 04:54:26 +00:00
Felipe Pena 86101f6162 - MFH: Removed trailing zeros on double to string conversion (noticed on #48924) 2009-07-16 01:00:22 +00:00
Stanislav Malyshev ffe840983b fix ini_restore problem 2009-07-16 00:03:18 +00:00
Stanislav Malyshev 05687be885 fix freed mem reference 2009-07-15 23:57:10 +00:00
Rasmus Lerdorf 13878ae91e Fix the buffer handling here 2009-07-15 23:50:59 +00:00
Rasmus Lerdorf 4bf10270c7 Limit db connection strings to 255 chars here - I don't trust the underlying libs 2009-07-15 19:16:58 +00:00
Pierre Joye 4b5fddfdc4 - cvs > svn 2009-07-15 17:09:19 +00:00
Pierre Joye 07530e05c4 - cvs > svn 2009-07-15 16:51:35 +00:00
Alexey Zakhlestin 53de77421d fix tests corrupted by svn's eol-style=native 2009-07-15 13:55:39 +00:00
Alexey Zakhlestin 187336aaff MFH: fix broken test 2009-07-15 10:17:04 +00:00
andy wharmby 795a087448 Fix test 2009-07-15 08:19:05 +00:00
Felipe Pena b723416322 - MFH: Fixed bug #48913 (Too long error code strings in pdo_odbc driver) 2009-07-15 02:35:43 +00:00
Gwynne Raskind 722657e641 kill bad mime types 2009-07-14 21:52:43 +00:00
Gwynne Raskind a20f01aef7 MFH: CVS->SVN 2009-07-14 21:49:36 +00:00
Stanislav Malyshev 5ae716a724 fix build 2009-07-14 18:55:06 +00:00
David Soria Parra d0a312e573 MFH: cvs->svn 2009-07-14 09:57:09 +00:00
Pierre Joye 2ad2cb4054 - remove app/js mime 2009-07-13 22:01:21 +00:00
Rasmus Lerdorf 7a2141e48a cvs->svn 2009-07-13 19:15:58 +00:00
Rasmus Lerdorf 2ec070bb56 cvs->svn 2009-07-13 17:17:19 +00:00
Pierre Joye 06eb625f50 - rename to svn 2009-07-13 16:09:39 +00:00
Pierre Joye 47d3c72622 - rename to svn 2009-07-13 16:09:21 +00:00
Pierre Joye ccfabf9644 - cvs to svn changes 2009-07-13 16:01:40 +00:00
David Soria Parra ed20cc0d63 MFB: remove ZendEngine* detection, we always have Zend now (svn) 2009-07-13 06:42:59 +00:00
Gwynne Raskind 74190c4d5e MFB: cvsclean -> svnclean 2009-07-12 22:06:53 +00:00
Ilia Alshanetsky 1e0340a447 MFB: Fixed a possible crash inside OnUpdateErrorLog() when restoring an empty value 2009-07-12 16:42:16 +00:00
Rasmus Lerdorf 79a8116f02 Test commit - but pseudo useful 2009-07-11 04:14:29 +00:00
David Soria Parra 6b560284dd MFH: Get rid of PHP 4 related buildconf and moving around directories. As we switched to svn ZE2 is in Zend by default. 2009-07-11 02:47:38 +00:00
andy wharmby fbe70a47ea Fix test 2009-07-09 11:45:36 +00:00
Ilia Alshanetsky 6295278dfc BFN 2009-07-08 03:10:32 +00:00
Ilia Alshanetsky c79ec97b29 MFB: Fixed bug #48788 (RecursiveDirectoryIterator doesn't descend into
symlinked directories).
2009-07-08 03:08:03 +00:00
David Soria Parra 36d03e10a4 MFH: Reset TZ environment variable. Some tests assume that it's not set. 2009-07-07 23:05:33 +00:00
Jani Taskinen 9eafbf0998 MFH:- Fixed bug #48247 (Infinite loop and possible crash during startup with errors) 2009-07-07 16:43:35 +00:00
Pierre Joye 910bd85c7a - #48116 2009-07-07 15:15:46 +00:00
Pierre Joye 42df1c901d - MF53: #48116, fix build with openssl 1.0 2009-07-07 15:14:03 +00:00
Jani Taskinen 66e3ea2c17 F*ckin bom 2009-07-07 12:19:42 +00:00
Pierre Joye 305f104687 - #45905 2009-07-07 11:07:50 +00:00
Pierre Joye 307bd5a23b - MF53: #45905, imagefilledrectangle() clipping error 2009-07-07 11:06:21 +00:00
Ilia Alshanetsky 043a282d1b Fixed bug #48808 (FILTER_VALIDATE_EMAIL allows some invalid e-mail syntaxes) 2009-07-07 00:44:07 +00:00
andy wharmby c6116d0ca4 Fix test 2009-07-06 19:34:56 +00:00
Jani Taskinen 0496b37bf0 - Added missing file 2009-07-06 14:10:38 +00:00
Ilia Alshanetsky 74d7af3194 Fixed bug #48718 (FILTER_VALIDATE_EMAIL does not allow numbers in domain
components).
2009-07-05 16:07:24 +00:00
Zoe Slattery 86d682ca7f fix test 2009-07-05 14:46:53 +00:00
Felipe Pena 82f9a77f57 - New tests (DutchUG testfest) 2009-07-03 22:21:09 +00:00
Antony Dovgal ef04c97e2a merge from 5_3 2009-07-03 14:03:17 +00:00
Patrick Allaert ad07fa214e MFH: Tests for ext/ldap from PHPBelgium TestFest 2009-07-03 10:57:04 +00:00
Ilia Alshanetsky 8062b50a07 Fixed bug #48733 (CURLOPT_WRITEHEADER|CURLOPT_FILE|CURLOPT_STDERR warns on
files that have been opened with r+).
2009-07-02 13:41:29 +00:00
Felipe Pena 979ed8e3f1 - MFH: New tests (NorwayUG testfest) 2009-07-02 00:07:08 +00:00
Kalle Sommer Nielsen e493bbae1d BFN #45280 2009-07-01 18:46:53 +00:00
Kalle Sommer Nielsen d972b5de5b Fixed #45280 (Reflection of instantiated COM classes causes PHP to crash) (Paul Richards, Kalle) 2009-07-01 18:45:32 +00:00
Felipe Pena c6f719b915 - Fix test 2009-07-01 12:20:08 +00:00
Felipe Pena 984737ae63 - New tests 2009-07-01 02:36:28 +00:00
Derick Rethans 25e8f839d5 - MFH: Fixed bug #47351 (Memory leak in DateTime). 2009-06-30 16:18:34 +00:00
Ilia Alshanetsky 40fff3e335 WS 2009-06-29 12:40:46 +00:00
andy wharmby 724c464ad0 Basic test for max() on 64 bit platforms. Tested on Linux 64 bit 2009-06-29 07:52:25 +00:00
andy wharmby ceee572c0b Fix tests 2009-06-29 07:45:12 +00:00
andy wharmby 9d9e57236d Basic tests for sleep() and usleep(). Tested on Windows, Linux and Linux 64 bit 2009-06-29 07:31:14 +00:00
Felipe Pena 9c602f1e6b - MFH: Fixed bug #48709 (metaphone and 'wh') 2009-06-28 18:44:28 +00:00
Jani Taskinen 9729792378 - Typo, removed BOM (this file was supposed to be just ascii..right? :) 2009-06-28 15:40:00 +00:00
Ilia Alshanetsky 6c2782c92b FN 2009-06-28 14:15:32 +00:00
Pierre Joye fdd7bbac0f - MFH: fix regression introduced by the fix for #48518 (Ilia, Rasmus) 2009-06-28 10:00:28 +00:00
Pierre Joye 0f79478716 - calloc must actually clearing the requested size (Andrei) 2009-06-28 09:47:42 +00:00
Felipe Pena ec1d2c8dc9 - MFH: Fixed bug #48539 (pdo_dblib fails to connect, throws empty PDOException "SQLSTATE[] (null)") 2009-06-28 02:09:50 +00:00
Felipe Pena ef600a05a5 - MFH: Fixed bug #48693 (Double declaration of __lambda_func when lambda wrongly formatted) 2009-06-28 01:16:36 +00:00
Rob Richards c4e0f38aa7 MFH: add libxml_disable_entity_loader function 2009-06-26 20:27:44 +00:00
Zoe Slattery 5c3c95d224 fix skipif 2009-06-25 14:49:47 +00:00
Zoe Slattery c615df97f3 fix skipif 2009-06-25 14:42:38 +00:00
Zoe Slattery 44807c9bbe fix skipif 2009-06-25 12:37:45 +00:00
Ilia Alshanetsky f01baf3965 Handle instances where TMPDIR = "" 2009-06-25 01:35:05 +00:00
Scott MacVicar bcf5793b56 MFH Fix bug #48679 - Crash in SQLite with count on an unbuffered query set 2009-06-25 00:07:20 +00:00
Ilia Alshanetsky 13cd2683cc Fixed bug #48465 (sys_get_temp_dir() possibly inconsistent when using
TMPDIR).
2009-06-24 12:21:20 +00:00
Jani Taskinen 8bb00a20d4 MFH:- Fixed bug #48661 (phpize broken with non-bash shells) 2009-06-24 07:43:18 +00:00
andy wharmby 960ac2b4b0 Fix test 2009-06-23 23:00:57 +00:00
andy wharmby 30cadad903 New and fixed html tests. Tested in Windows, Linux and Linux 64. 2009-06-23 22:45:33 +00:00
andy wharmby 4a6df1caf8 New basic parse_str() tests. Tested on Windows,Linux and Lnux 64 bit. Some tests fail on PHP 6 (tagged with XFAIL) due to bug 48658 2009-06-23 22:39:46 +00:00
Ilia Alshanetsky 4482bfd2e4 Fixed build 2009-06-23 12:43:10 +00:00
Hannes Magnusson 025891e50f MFH: fix arginfo for libxml_use_internal_errors() 2009-06-23 12:38:32 +00:00
Kalle Sommer Nielsen 5ff316f1d6 Whops, nobody saw this :) 2009-06-23 07:09:19 +00:00
Kalle Sommer Nielsen feef90243a BFN 2009-06-23 01:02:03 +00:00
Pierre Joye 5db5d77cdb - news for #48619 2009-06-22 20:43:24 +00:00
Pierre Joye db4411e768 - MF53: #48619, imap_search ALL segfaults 2009-06-22 20:42:04 +00:00
Stanislav Malyshev 34b0f569e1 fix shared build on Windows 2009-06-22 18:41:13 +00:00
Kalle Sommer Nielsen 3b4eb71a05 Should have been in previous commit 2009-06-22 15:52:59 +00:00
Kalle Sommer Nielsen 030aea969b MFH: Use correct data types here, and gdImageSaveAlpha for the alpha flag 2009-06-22 15:51:12 +00:00
Takeshi Abe c7c937fb9b MFH: fixed bug #48555 (ImageFTBBox() differs from previous versions for texts with new lines) 2009-06-22 15:50:18 +00:00
Ilia Alshanetsky 5ee03b46d2 Fixed bug #48636 (Error compiling of ext/date on netware). 2009-06-22 13:42:29 +00:00
Felipe Pena 01c9097c74 - Fixed bug #48629 (get_defined_constants() ignores categorize parameter) 2009-06-22 00:03:24 +00:00
Scott MacVicar 74de9b7c6f BFN 2009-06-21 22:33:48 +00:00
Scott MacVicar 49638f0f8f MFH Specific test for bug #48276 2009-06-21 22:32:19 +00:00
Scott MacVicar 624930c22f MFH Fix bug #48276 - year is a long long so we need %lld so big endian systems print the correct value. 2009-06-21 22:19:19 +00:00
andy wharmby f558744785 New lang tests. 2009-06-21 17:42:16 +00:00
Johannes Schlüter 564ea0fb1c MFH: It's 2009 2009-06-21 16:45:24 +00:00
Felipe Pena 09b3411803 - MFH: old strlen cleanup 2009-06-20 18:45:18 +00:00
Kalle Sommer Nielsen b77d833eaf MFH: Fixed arginfo for array_map, patch by Matthew Fonda <matthewfonda@gmail.com> 2009-06-20 06:07:46 +00:00
Kalle Sommer Nielsen c174177a50 MFH: Fix memleak 2009-06-19 22:15:44 +00:00
andy wharmby 6ae535aaf8 Fix test; remove spurious code 2009-06-18 21:53:18 +00:00
andy wharmby c1412ea367 Basic tests for strftime(). Tested on Windows (all tests skip), Linux and Liinux 64 bit 2009-06-18 21:14:16 +00:00
andy wharmby edd936517a Backport ob test to php 5.2 and 53. 2009-06-18 21:03:32 +00:00
Derick Rethans 9a29989bfd - Updated to version 2009.10 (2009j) 2009-06-18 09:03:02 +00:00
Zoe Slattery 01a2453496 Tests from Berlin test fest 2009-06-18 07:31:10 +00:00
andy wharmby 57e2723ce9 New test for standard object compare handler. Tested on Windows, Linux and Linux 64 2009-06-17 19:15:20 +00:00
andy wharmby 38db2b869c New foreach tests. Tested on Windows, Linux and Linux 64 bit. 2009-06-17 19:07:19 +00:00
Ilia Alshanetsky 3c56aa38e8 Back to dev 2009-06-17 12:31:58 +00:00
Ilia Alshanetsky e1583cd82e 5.2.10 2009-06-17 12:22:41 +00:00
Robin Fernandes 282eab49fb Additional class related tests. 2009-06-17 10:38:23 +00:00
Hannes Magnusson 191307c968 fix skipif 2009-06-17 10:17:52 +00:00
Rasmus Lerdorf c572a7fd8b Need the gcc version check here too 2009-06-17 08:57:04 +00:00
Felipe Pena d509bf07bd - Fixed tests 2009-06-16 19:50:38 +00:00
andy wharmby eaf01568a1 New strcoll error test. Tested on Windows, Linux and Linux 64. 2009-06-16 19:39:40 +00:00
Rasmus Lerdorf 96ea9c6e5b Another tweak to make 5.2 compile on gcc2 2009-06-16 16:09:04 +00:00
andy wharmby 2aa9a15641 Fix typo in test 2009-06-16 11:37:14 +00:00
andy wharmby 3b92265bc3 New class related tests. Tested on Windows, Linux and Linux 64. Tests written by Iain Lewis 2009-06-16 08:59:55 +00:00
Felipe Pena ee780e60b8 - MFH: Fixed bug #48562 (Reference recursion causes segfault when used in wddx_serialize_vars()) 2009-06-16 02:59:10 +00:00
Pierre Joye 30b25d0229 - #48441 and encoding 2009-06-15 22:11:47 +00:00
Felipe Pena 273bda7b21 - Drop unused code 2009-06-15 17:55:11 +00:00
andy wharmby 7f492c7f66 New test for bitwise operators. Tested on Linux 64 bit 2009-06-15 17:38:55 +00:00
Felipe Pena 51781931e2 - MFH: Fixed bug #48557 (Numeric string keys in Apache Hashmaps are not cast to integers) patch by David Zülke <david.zuelke at bitextender.com> 2009-06-15 17:36:00 +00:00
Patrick Allaert 13594f8a98 MFH: Fixing #48441 (ldap_search() with sizelimit/timelimit/deref options makes those options persistent) 2009-06-15 15:18:48 +00:00
Patrick Allaert 08c7d57d73 MFH: Refactoring that will help fixing #48441 2009-06-15 15:04:31 +00:00
Ilia Alshanetsky c570bed1da MFB: Simplify original fix for bug #33475 2009-06-15 12:38:11 +00:00
andy wharmby 04961ad0c0 New POSIX extension tests from Berlin UG TestFest 2009. 2009-06-15 12:14:59 +00:00
andy wharmby 7012611307 Backport ob test to php 5.2 and 53. 2009-06-14 16:47:12 +00:00
andy wharmby 5cd01fa48b New foreach tests. Tested on Windows, Linux and Linux 64 bit. 2009-06-14 14:17:48 +00:00
andy wharmby e4ba76cdec Basic tests for function_exists() and get_defined_functions(). Tested on Windows, Linux and Linux 64 bit. 2009-06-14 13:49:19 +00:00
andy wharmby 9e6779cfac New json extension tests. Tested on Windows, Linux and Linux 64 bit. 2009-06-14 12:08:32 +00:00
Pierre Joye 96271ff8fb - MF53: fix build (void alarm) 2009-06-14 10:05:11 +00:00
Greg Beaver aac2b9464d fix missing erealloc in fix for bug #40091, spl_autoload_register of more than 1 copy of the same method in different objects 2009-06-13 17:35:37 +00:00
andy wharmby 946c404c5d New iconv extension tests. Tested on Windows, Linux and Linux 64 bit. 2009-06-13 12:17:46 +00:00
Felipe Pena a2e4ef3ba4 - MFH some changes (from last fix on 5.3+)
- Constified method_name arg in zend_get_user_call_function()
2009-06-12 21:33:46 +00:00
Felipe Pena c34ba188cc - MFH: Fixed bug #48514 (cURL extension uses same resource name for simple and multi APIs) 2009-06-12 20:50:58 +00:00
andy wharmby f071936f47 New iconv extension tests. Tested on Windows, Linux and Linux 64 bit. 2009-06-12 18:57:12 +00:00
andy wharmby 8e2850fe3c New iconv extension tests. Tested on Windows, Linux and Linux 64 bit 2009-06-12 17:16:11 +00:00
andy wharmby 4a1ae192a6 Delete duplicate test 2009-06-11 23:04:37 +00:00
andy wharmby 1c4a6d3f32 New intval() tests. Tested on Windows, Linux and linux 64 2009-06-11 22:26:57 +00:00
andy wharmby 3f1bdda498 New 64 bit math tests. Tested on Windows, Linux and Linux 64 bit. Tests authored by Dave Kelsey 2009-06-11 21:17:10 +00:00
andy wharmby aa152b1c50 Add/Fix SKIPIF sections of cURL tests 2009-06-11 21:11:23 +00:00
andy wharmby 32c8f50ea9 New POISX tests. Tested on Windows (all test SKIP), Linux and Linux 64 2009-06-11 12:30:57 +00:00
Ilia Alshanetsky e933031ccb Back to dev 2009-06-11 12:13:55 +00:00
Ilia Alshanetsky 344a9b2c7e RC2 not final 2009-06-11 12:12:43 +00:00
Ilia Alshanetsky 823224ef8d 5.2.10RC2 2009-06-11 12:10:43 +00:00
Antony Dovgal 6b1bd0d0dc MFH: fix bug #48518 (curl crashes when writing into invalid file handle) 2009-06-11 09:49:57 +00:00
Felipe Pena 838402a1bc - MFH: Fix the fix (Bug #46973 - IPv6 address filter rejects valid address) 2009-06-10 19:05:49 +00:00
Antony Dovgal d4d49f4f12 MFH: fix arginfo for curl_multi_info_read() 2009-06-10 11:10:19 +00:00
andy wharmby de3f385e5c Fix test - remove bogus variation 2009-06-09 20:18:28 +00:00
Pierre Joye 12ab20c4fe - fix NEWS 2009-06-09 14:04:28 +00:00
David Soria Parra c52581d95e Fix bug #47042 (cgi sapi is incorrectly removing the SCRIPT_FILENAME for non apache).
The fix was provided by Sriram Natarajan.
2009-06-09 13:29:39 +00:00
Ilia Alshanetsky 8d699be646 TZ update news 2009-06-09 12:16:31 +00:00
Scott MacVicar 2229ab084c BFN 2009-06-09 01:09:28 +00:00
Scott MacVicar f250ef7824 Add test 2009-06-09 01:04:35 +00:00
Scott MacVicar 813dd91af8 MFH #46019 - Memory leak when Mysqli::init() is called multiple times. 2009-06-09 01:00:47 +00:00
Scott MacVicar ebce70c20e BFN 2009-06-09 00:43:04 +00:00
Scott MacVicar 17dc898a72 MFH fix bug #44214: crash with preg_replace_callback and global variables 2009-06-08 21:52:08 +00:00
Pierre Joye a48b65d6f5 - typo 2009-06-08 21:17:12 +00:00
Derick Rethans 3c624f108e - Updated to version 2009.9 (2009i) 2009-06-08 13:53:45 +00:00
Ilia Alshanetsky 71b075062b Re-apply patch with fixed build 2009-06-08 13:34:45 +00:00
Antony Dovgal 8ab86d944a fix build, revert faulty patch 2009-06-08 13:09:30 +00:00
Robert Nicholson 14620596ab New tests for operators. These tests were auto generated to verify correctness for a number of significant values. The work was done by Dave Kelsey. 2009-06-08 12:02:57 +00:00
Jani Taskinen 135f4ebc10 fix news 2009-06-08 10:39:25 +00:00
Pierre Joye 18ecb768d0 - #48469 2009-06-08 08:39:25 +00:00
Ilia Alshanetsky 9066f91b01 BFN 2009-06-08 01:26:53 +00:00
Ilia Alshanetsky a747855425 MFB: Fixed bug #44827 (define() is missing error checks for class constants) 2009-06-08 01:26:47 +00:00
Patrick Allaert 0ab4f57c99 MFH: Removed credit 2009-06-07 21:27:42 +00:00
Robert Nicholson 9818b12488 New tests for foreach loops. These were written by another member of the Projectzero team. 2009-06-07 21:05:10 +00:00
Matt Wilmas dd4b27e943 MFH: Fixed bug #47836 (array operator [] inconsistency when the array has PHP_INT_MAX index value)
Also simplified related array_push() test
2009-06-07 19:28:33 +00:00
Patrick Allaert 6555a5a93e MFH: Fixed bug #48469 (ldap_get_entries() memory leaks on empty search results) 2009-06-07 13:14:30 +00:00
Rasmus Lerdorf 53a63b82d4 Make this happy on gcc2 2009-06-05 22:34:30 +00:00
Rasmus Lerdorf 077ff24ef9 We don't have these in gcc2 2009-06-05 22:24:53 +00:00
Arnaud Le Blanc c3e1afc2a3 better fix for #48409 , #48428 , #48228 2009-06-05 11:21:47 +00:00
Andrei Zmievski 6a05922020 Fix invalid test against addr6 result. 2009-06-04 18:17:28 +00:00
Jani Taskinen 3999ac15b4 MFH:- Fixed bug #48419 (non-portable STDIN fileno in cgi_main.c)
# This doesn't really fix it since it's some weird Windows thing but this
# does make this code slightly more portable :)
2009-06-04 11:53:38 +00:00
Felipe Pena 3b43d3002b - Fixed tests 2009-06-04 01:16:58 +00:00
Ilia Alshanetsky 3e79cbe9b1 MFB: Fixed bug #46386 (Digest authentication with SOAP module fails against
MSSQL SOAP services)
2009-06-03 12:41:46 +00:00
Zoe Slattery ba836422c6 Commiting testfest tests from tek 2009-06-03 12:31:05 +00:00
Kalle Sommer Nielsen 09ac5ebe7f Fixed #48448 (Compile failure under IRIX 6.5.30 building cast.c)
# Only in this branch, looks like a missing merge compared to PHP_5_3/HEAD
2009-06-03 08:59:19 +00:00
Jani Taskinen ff6862b7e1 bfn 2009-06-02 19:55:07 +00:00
Jani Taskinen f68866c487 MFH:- Fixed bug #48456 (CPPFLAGS not restored properly in phpize.m4) 2009-06-02 19:54:22 +00:00
Jani Taskinen bfebb9c6aa fix test 2009-06-02 08:03:35 +00:00
Arnaud Le Blanc 1493336708 MFH: New tests
# These tests were failing on different configurations, so adding them
# all to get more chances of seeing one failing in case of problem.
2009-06-01 16:10:47 +00:00
Arnaud Le Blanc 687f673bb9 MFH: better fix for #48409 , #48428 , #48228 2009-06-01 15:08:00 +00:00
Antony Dovgal 00a461a989 fix ZTS build 2009-06-01 14:03:24 +00:00
Ilia Alshanetsky 8e7fa70fd5 Fixed bug #48273 (snmp*_real_walk() returns SNMP errors as values). 2009-06-01 13:10:57 +00:00
Zoe Slattery d033f6904a Engine execution order tests 2009-06-01 13:01:27 +00:00
Zoe Slattery e69b4a743e Fixes to work on Windows as well as Linux 2009-06-01 12:58:14 +00:00
Jani Taskinen bfa336e891 fix news 2009-06-01 09:00:54 +00:00
Stanislav Malyshev ac345b5915 fix for #48247 2009-05-31 21:31:15 +00:00
Stanislav Malyshev dc4bfd4d80 fix for #48247 2009-05-31 20:43:57 +00:00
Andrei Zmievski 63b6c3bab3 MFB 2009-05-31 18:55:36 +00:00
Ilia Alshanetsky 355ffae8dc MFB: Fixed bug #48359 (Script hangs on snmprealwalk if OID is not
increasing)
2009-05-31 14:14:07 +00:00
Jani Taskinen e636ed5789 MFH: no dots in errors 2009-05-31 13:51:23 +00:00
Andrei Zmievski 426522f4e0 Expose encode/decode API. 2009-05-31 01:43:45 +00:00
Arnaud Le Blanc 06a48156f0 BFN 2009-05-30 16:42:50 +00:00
Arnaud Le Blanc 82655fb856 MFH: Take small blocks cache into account in memory_get_usage() 2009-05-30 16:42:24 +00:00
Arnaud Le Blanc 48fc6c5237 BFN 2009-05-30 16:36:01 +00:00
Arnaud Le Blanc 32a9ff9aef MFH: Fix aliasing issue (fixes #48409 , #48428 , #48228) 2009-05-30 16:35:26 +00:00
Zoe Slattery 0bae389aa4 better fix 2009-05-29 11:45:55 +00:00
Zoe Slattery 93ed844901 fixing to work with older levels of libcurl 2009-05-29 09:46:34 +00:00
Zoe Slattery e4a93c6d0a Engine execution order tests 2009-05-29 07:52:28 +00:00
Pierre Joye 1627157cdd - #42143, the constant NAN is reported as 0 on Windows 2009-05-29 07:29:20 +00:00
Scott MacVicar b702ce45ce Bug number was wrong. 2009-05-29 02:35:56 +00:00
Ilia Alshanetsky 47fcac267c Adjust news order 2009-05-29 01:31:58 +00:00
Scott MacVicar 6621987732 BFN 2009-05-29 00:05:56 +00:00
Scott MacVicar 4b5eda20ae MFH: Fix bug #48416 - Force a cache size for ereg to stop it getting out of control. Lazy LRU here. 2009-05-29 00:03:28 +00:00
Pierre Joye f5bf2d7ed7 - fix build with system gd 2009-05-28 14:06:06 +00:00
Pierre Joye 884c20439c - #48738 2009-05-28 14:04:19 +00:00
Pierre Joye 1a836712f0 - MFB: #48378, exif_read_data() segfaults on certain corrupted .jpeg files 2009-05-28 14:03:09 +00:00
Arnaud Le Blanc 7055f3bae5 MFH: New tests 2009-05-28 13:26:52 +00:00
Antony Dovgal a524e99076 fix test 2009-05-28 13:22:50 +00:00
Arnaud Le Blanc 721fe01e55 MFH: merged http ignore_errors context option
# [DOC] "since 5.2.10". See also bug #38802.
2009-05-28 13:20:22 +00:00
Arnaud Le Blanc 632c5a775f Fix "request_startup() for zlib module failed" when client does not
accepts compression and zlib.output_compression is On
2009-05-28 10:14:22 +00:00
Pierre Joye 99eede75b1 - mf53: fix build, stderr cannot be used as var or struct member 2009-05-27 22:38:53 +00:00
Robert Nicholson e29517872b Language Tests: returnByReference 2009-05-27 22:36:04 +00:00
Ilia Alshanetsky fea7c24372 Back to dev 2009-05-27 13:51:16 +00:00
Ilia Alshanetsky d6ddd48ed0 5.2.10RC1 2009-05-27 13:47:34 +00:00
Antony Dovgal 3197576f2c fix build 2009-05-27 09:57:13 +00:00
Jani Taskinen 91e968462f - Test for bug #48203 2009-05-26 17:19:35 +00:00
Jani Taskinen 572cd2000b MFH:- Fixed bug #48203 (Crash when CURLOPT_STDERR is set to regular file) 2009-05-26 15:50:44 +00:00
Ilia Alshanetsky d080807957 timezone update news 2009-05-26 14:38:34 +00:00
Derick Rethans a6fdd53b90 - Updated to version 2009.8 (2009h) 2009-05-26 14:27:08 +00:00
Arnaud Le Blanc fb69372707 MFH: Fix return value of pcntl_wexitstatus() (fixes #47566,
patch by james at jamesreno dot com)
2009-05-26 14:02:34 +00:00
Felipe Pena 886690219d - Removed XFAIL section 2009-05-26 13:51:04 +00:00
Felipe Pena d9722865f7 - Fixed compile warning 2009-05-26 12:37:52 +00:00
Jani Taskinen b90c2e7cb1 - Revert this, was not supposed to be merged yet 2009-05-26 10:15:08 +00:00
Jani Taskinen 0b6182b683 fix test 2009-05-26 10:13:01 +00:00
Pierre Joye f974d42e18 - add a note about the actual problen so we don't forget it 2009-05-26 08:09:37 +00:00
Jani Taskinen 7d8ff0b3fc - Added note about omitted break 2009-05-26 08:03:29 +00:00
Eric Stewart ddf40dc32d Add tests:
DOMComment::__construct() with constructor called twice.
DOMDocumentFragment::appendXML() with unbound fragment.
DOMDocumentFragment::appendXML() with unbalanced chunks.
DOMDocumentFragment::__construct() called twice.
DOMDocumentType: basic access to all properties.
DOMDocumentType::name with invalid state.
DOMDocumentType::entities with invalid state.
DOMDocumentType::notations with invalid state.
DOMDocumentType::publicId with invalid state.
DOMDocumentType::publicId with empty value.
DOMDocumentType::systemId with invalid state.
DOMDocumentType::systemId with empty value.
DOMDocumentType::internalSubset with invalid state.
2009-05-26 06:06:40 +00:00
Jani Taskinen 011ec5b1af MF53: - Fixed bug #45202 (zlib.output_compression can not be set with ini_set()
# This is fixed in HEAD already. :)
2009-05-26 05:57:40 +00:00
Jani Taskinen 6abaea16ef MFH:- Fixed bug #42362 (HTTP status codes 204 and 304 should not be gzipped) 2009-05-26 04:47:05 +00:00
Jani Taskinen e3d54cd30e cs + ws 2009-05-26 04:45:21 +00:00
Kalle Sommer Nielsen 3e6435e3c4 MFH: Typo 2009-05-25 19:41:41 +00:00
Pierre Joye a42f47071f - #48202 2009-05-25 16:30:37 +00:00
Pierre Joye 88667674e2 - MFH: #48202, Out of memory error when passing non-existing filename, enable related tests (marked as XFAIL now) 2009-05-25 16:27:45 +00:00
Rasmus Lerdorf 13c65dd8f7 Argh! Please do not include entire GPL'ed packages in the PHP
distribution.  Removing test and entire phpMyAdmin distribution
in bug.tar.
2009-05-25 11:57:25 +00:00
Eric Stewart 802706c8a9 Add the following new tests:
DOMCharacterData::appendData() with no arguments.
DOMCharacterData::deleteData() with count exceeding string size.
DOMCharacterData::deleteData() with no arguments.
DOMCharacterData::deleteData() with offset exceeding string size.
DOMCharacterData::insertData() with no arguments.
DOMCharacterData::replaceData() with no arguments.
DOMComment::__construct() with more arguments than acceptable.
DOMDocumentFragment::__construct().
DOMDocumentFragment::__construct() with too many errors.
DOMDocumentFragment::appendXML() with no arguments.
DOMDocumentFragment::appendXML() with children with properties.
2009-05-25 05:58:47 +00:00
Ilia Alshanetsky 0008c005b9 Improve fix for bug #48313 2009-05-24 16:02:22 +00:00
Felipe Pena 4f89db675d - New tests (testfest BerlinUG) 2009-05-23 14:52:54 +00:00
Felipe Pena afbe0bfb19 - Fix error message 2009-05-23 14:31:15 +00:00
Eric Stewart 39d82c35c3 New test: DOMAttr read $name property.
New test: DOMAttr read $ownerElement with null parent.
New test: DOMAttr write non-string $value property
New test: DOMCDATASection __construct() with no arguments.
New test: DOMCharacterData - Invalid State Error when getting data out of content.
2009-05-23 01:43:48 +00:00
Eric Stewart 9f6c828f63 New test: DOMAttr __construct() with no arguments. 2009-05-23 01:34:05 +00:00
Felipe Pena f14ec051af - MFH: Fixed invalid date checking 2009-05-22 12:50:44 +00:00
Felipe Pena 0be28396ae - New test 2009-05-22 12:39:14 +00:00
Arnaud Le Blanc 72f551ca66 BFN 2009-05-22 11:23:21 +00:00
Arnaud Le Blanc 80f98df54e MFH: Use zend_get_property_info() in get_class_vars() (fixes #46812) 2009-05-22 11:23:11 +00:00
Arnaud Le Blanc 415b75e3f5 MFH: Fixed bug #48336 (ReflectionProperty::getDeclaringClass() does not
work with redeclared property)
(patch by Markus dot Lidel at shadowconnect dot com)
2009-05-21 16:05:11 +00:00
Arnaud Le Blanc ecf2cabcdd MFH: set second argument of gettimeofday() to NULL (fixes #48346,
patch by adriano at guiadohardware dot net)
2009-05-21 14:21:53 +00:00
Arnaud Le Blanc 011547bd36 MFH: Better fix for #45622 (patch by robinf at php do net) 2009-05-21 13:26:29 +00:00
Ilia Alshanetsky 0c3d8accbb MFB: Fixed bug #48207 (CURLOPT_(FILE|WRITEHEADER options do not error out
when working with a non-writable stream)
2009-05-21 12:53:24 +00:00
Ilia Alshanetsky 1bebeea29c Re-introduce the Matteo's patch and combine default & text handling since
they appear to be the same irregardless on notes inside sqlite3.h
2009-05-20 15:03:16 +00:00
Jani Taskinen 77816c4ed9 - Fix win32 build 2009-05-20 12:09:33 +00:00
Kalle Sommer Nielsen 020749e160 MFH: Fixed shared build 2009-05-20 10:19:28 +00:00
Arnaud Le Blanc bcfdedd53f MFH: Fix skipif 2009-05-20 10:08:42 +00:00
Antony Dovgal e0ca27fc23 sync with HEAD 2009-05-20 09:26:20 +00:00
Arnaud Le Blanc d3ec090688 MFH: set default value of "precision" ini setting,
many tests depend on this
2009-05-20 09:23:15 +00:00
Arnaud Le Blanc b43345ec0c MFH: Fix skipif 2009-05-20 09:13:39 +00:00
Arnaud Le Blanc 7728a703f6 MFH: Fixed bug #48326 (constant MSG_DONTWAIT not defined) 2009-05-20 09:06:31 +00:00
Jani Taskinen fbaed2ba81 ws 2009-05-19 19:38:00 +00:00
Ilia Alshanetsky a607ee15a8 MFB: The \0 removal is only needed prior to 3.4.0 2009-05-19 19:20:01 +00:00
Ilia Alshanetsky 1989085325 MFB: Revert faulty warning fix 2009-05-19 16:14:37 +00:00
Jani Taskinen bb33de84b0 - Revert bad compile warning fix which causes compile failures with older glibc 2009-05-19 15:37:38 +00:00
Jani Taskinen 3c984d6d4f MFH:- Fix test: since cURL 7.19.4 CURLINFO_CONTENT_LENGTH_* return -1 if the size is unknown 2009-05-19 14:05:49 +00:00
Jani Taskinen bdfcb7ca73 MFH: Sync with PHP_5_3 the WS/CS and some missing constant fixes 2009-05-19 13:50:32 +00:00
Jani Taskinen 61abd918e7 MFH: Unify macros 2009-05-19 11:12:33 +00:00
Kalle Sommer Nielsen 70ebbdea0a MFH: Fix --with-pdo-mssql build and add some warnings if header/libs are not found 2009-05-19 10:22:31 +00:00
Ilia Alshanetsky 558d25649d MFB: Fixed bug #48313 (fgetcsv() does not return null for empty rows) 2009-05-18 18:46:06 +00:00
Jani Taskinen 422a101fae MFH: Sync WS / CS changes where applicable 2009-05-18 17:23:42 +00:00
Hannes Magnusson 2b72a6df0a MFH: Print out WARNed 2009-05-18 14:08:56 +00:00
Pierre Joye d6e3b89d9b - WS 2009-05-18 09:11:31 +00:00
Felipe Pena 40cabb39c6 - New tests (testfest BerlinUG) 2009-05-17 18:08:27 +00:00
Felipe Pena fe6bbdca72 - New tests (testfet LondonUG) 2009-05-17 15:46:37 +00:00
Arnaud Le Blanc ea8bdf5d8f MFH: Fixed bug #48309 (stream_copy_to_stream() and fpasstru() do not
update stream position of plain files)
2009-05-17 14:59:24 +00:00
Felipe Pena 7323f24b58 - New tests (testfest DutchUG) 2009-05-16 23:56:23 +00:00
Arnaud Le Blanc bcfdf04cbf MFH: Fix warning when inner stream of a temp:// stream is closed before
the stream ifself
2009-05-16 20:28:02 +00:00
Arnaud Le Blanc 49fa689d5b MFH: Fixed bug #48307 (stream_copy_to_stream() copies 0 bytes when $source
is a socket)
2009-05-16 20:24:01 +00:00
Felipe Pena 8d7a9aa9a3 - New tests (testfest Quebec) 2009-05-16 18:27:19 +00:00
Felipe Pena 30ef00c15c - Added responder dir (synced) 2009-05-16 17:08:10 +00:00
Felipe Pena c299ac0bd4 - New tests (testfest ParisUG) 2009-05-16 16:38:17 +00:00
Felipe Pena 4324c10d24 - New tests (testfest DutchUG) 2009-05-16 15:14:25 +00:00
Felipe Pena 2a39c5e435 - New tests (testfest CataloniaUG) 2009-05-16 14:41:48 +00:00
Jani Taskinen 16d4cad828 - Reverted is such a strong word.. :) 2009-05-15 17:18:18 +00:00
Moriyoshi Koizumi 22ce11b711 - Not a news actually. 2009-05-15 17:06:35 +00:00
Moriyoshi Koizumi 9ebb304ed5 - MFH: Roll it back. 2009-05-15 17:03:43 +00:00
Christopher Jones 255d78111a MFH: New array_multisort() test (Simon Westcott) 2009-05-15 16:47:36 +00:00
Felipe Pena 56274f384a - Fix tests 2009-05-14 23:29:27 +00:00
Jani Taskinen 36b2ebf95f - Fix the harmless patch that caused harm :) 2009-05-14 21:23:03 +00:00
Jani Taskinen 4d82ed968e MFH 2009-05-14 21:00:37 +00:00
Moriyoshi Koizumi 3bb8d604c7 - MFH:Add a new test for the additional delimiter of the encoding conversion
filter
2009-05-14 19:07:41 +00:00
Moriyoshi Koizumi afc82c756c - MFH: Update the test as newer libc gets the bogus input through rather than
rejecting it.
2009-05-14 19:07:18 +00:00
Arnaud Le Blanc 996920a889 moved from 5.3 2009-05-14 19:04:14 +00:00
Jani Taskinen 71b329c703 MFH: Fixed module loading order and made request shutdown functions also to
be loaded in reverse like all other shutdowns are.
2009-05-14 18:34:27 +00:00
Felipe Pena 5f6b9cf5f6 - MFH: Improved fix for #42414 2009-05-14 17:25:51 +00:00
Arnaud Le Blanc 4710871ab8 MFB: Fixed bug #45622 (isset($arrayObject->p) misbehaves with
ArrayObject::ARRAY_AS_PROPS set)
2009-05-14 16:44:54 +00:00
Arnaud Le Blanc efdaf53cf5 MFB: Fixed bug #45614 (ArrayIterator::current(), ::key() can show 1st
private prop of wrapped object)
2009-05-14 16:43:38 +00:00
Arnaud Le Blanc 3008404116 moved from 5.3 2009-05-14 16:24:12 +00:00
Arnaud Le Blanc 0a9e3e3d86 MFB: Fixed #42663 (gzinflate() try to allocate all memory with truncated
data)
2009-05-14 16:17:47 +00:00
Arnaud Le Blanc f6f23616b0 MFB: fix skipifs 2009-05-14 16:17:10 +00:00
Arnaud Le Blanc f7e075e4b9 MFB: Fix test (use canonical name, fixes #45493) 2009-05-14 16:16:33 +00:00
Arnaud Le Blanc 947b9ce3f3 MFB: Fixed #45540 (stream_context_create creates bad http request) 2009-05-14 16:15:38 +00:00
Jani Taskinen 2cce527199 MFH: prevent freeing NULL 2009-05-14 13:49:50 +00:00
Jani Taskinen 33bcc088ca MFH:- Fixed bug #48256 (Crash due to double-linking of history.o) 2009-05-14 13:43:52 +00:00
Ilia Alshanetsky eaf1121b7e MFB: Fixed\ compiler\ warnings 2009-05-14 12:36:19 +00:00
Dmitry Stogov b2ce675b6a Fixed wrong return value 2009-05-14 08:21:38 +00:00
Felipe Pena 9c0cfe0d6c BFN 2009-05-14 01:31:50 +00:00
Felipe Pena 00a0efa5a2 - New tests 2009-05-14 01:29:37 +00:00
Matt Wilmas 938763c753 MFH: Fixed bug #45877 (Array key '2147483647' left as string) 2009-05-14 01:28:15 +00:00
Felipe Pena 913c81d4ad MFH:
- Fixed bug #42414 (some odbc_*() functions incompatible with Oracle ODBC driver)
  patch by: jhml at gmx dot net
2009-05-14 01:27:23 +00:00
Ilia Alshanetsky 82b940adf2 MFB: Fixed bug #44996 (xmlrpc_decode() ignores time zone on iso8601.datetime). 2009-05-13 14:25:58 +00:00
Felipe Pena 040a647481 - MFH: Fixed bug #48240 (DBA Segmentation fault dba_nextkey) 2009-05-13 02:16:36 +00:00
Felipe Pena 20fd5b9932 - MFH: Fixed bug #48248 (SIGSEGV when access to private property via &__get) 2009-05-12 23:01:38 +00:00
Matteo Beccati 299a6a2baf Added proper credits for the last commit 2009-05-12 22:01:55 +00:00
Matteo Beccati 865194fa4d MFH
- Backported fix for #44301
- Fixed bug #48070
# The backport was required to also fix #48070
2009-05-12 21:57:42 +00:00
Ilia Alshanetsky fb7437d7f1 MFB: Fixed bug #47564 (unpacking unsigned long 32bit bit endian returns
wrong result)
2009-05-12 12:35:45 +00:00
Felipe Pena e40df88ad6 - MFH: Fix code && new test 2009-05-11 15:13:35 +00:00
Felipe Pena aa1be9514f - Added missing param checks 2009-05-11 14:15:07 +00:00
Ilia Alshanetsky 3222df99d9 MFB: Fixed bug #48204 (xmlwriter_open_uri() does not emit warnings on invalid
paths)
2009-05-11 12:35:00 +00:00
Pierre Joye 3e738e7a46 - MFH: define HAVE_PQPROTOCOLVERSION and HAVE_PG_LO_CREATE (Tim Starling) 2009-05-11 10:44:25 +00:00
Jani Taskinen a05ca2c6d3 - Fix paths 2009-05-11 05:01:48 +00:00
Felipe Pena 5626bcabf2 - Starting tests for this extension 2009-05-11 03:10:31 +00:00
Etienne Kneuss a7b3f59f7b Add test for #48224 2009-05-10 20:11:37 +00:00
Etienne Kneuss c94580895f Fix #48224 (Remove incorrect shuffle) 2009-05-10 16:45:01 +00:00
Felipe Pena 8a15edc308 - Simplify test (cweiske) 2009-05-10 15:48:53 +00:00
Felipe Pena 6fbed2a9f3 - MFH: Fixed bug #48221 (memory leak when passing invalid xslt parameter) 2009-05-10 15:15:47 +00:00
Ilia Alshanetsky a18c0be994 WS 2009-05-10 13:44:13 +00:00
Felipe Pena 7e62c98201 - MFH: Fixed memory leak (patch by Christian Weiske) 2009-05-10 01:07:01 +00:00
Etienne Kneuss 251d108d58 Add test for bug #47534 2009-05-09 20:58:34 +00:00
Scott MacVicar 2c3579fdd7 BFN 2009-05-09 20:42:56 +00:00
Jani Taskinen 84208a6740 MFH: Add support for Sun CC 2009-05-09 20:36:35 +00:00
Jani Taskinen c7bc9053e1 MFH: sync + - Fixed bug #47468 (enable cli|cgi-only extensions for embed sapi) 2009-05-09 20:28:03 +00:00
Scott MacVicar a2d837585e MFH Fix bug #48206 - Iterating over an invalid data structure leads to a segfault 2009-05-09 19:48:15 +00:00
Matt Wilmas 4ad3ac09c1 MFH: Better fix for bug #42767 (at source instead of workaround); also fixes unclosed comments in tokenizer
- Plus minor cleanup of unnecessary code, to match 5.3...
2009-05-08 17:50:58 +00:00
Arnaud Le Blanc 78ecc18710 MFB5.3 fix for bug #44034 (FILE_IGNORE_NEW_LINES in file() does not work as
expected when lines end in \r\n) (fixes #48175)
2009-05-08 09:49:27 +00:00
Jani Taskinen 48c50e616a - Bug 45392 was never fixed in PHP_5_2 2009-05-07 13:45:48 +00:00
Jani Taskinen 51735ad33f MFH 2009-05-06 19:03:23 +00:00
Ilia Alshanetsky 7f3ba73b3d MFB: Fixed bug #48156 (Added support for lcov v1.7) 2009-05-06 14:05:54 +00:00
Pierre Joye 0b6e00cd64 - fix conf 2009-05-05 13:49:05 +00:00
Pierre Joye 95b9e430f4 - MFH: fix build 2009-05-05 10:58:24 +00:00
Jani Taskinen 271b03b6f7 MFH: - Fixed Bug #45092 header HTTP context option not being used (--with-curlwrappers) 2009-05-05 00:33:03 +00:00
Jani Taskinen d3d84cc152 MFH: sync 2009-05-05 00:25:40 +00:00
Derick Rethans 4ece5a103e - MFH: Fixed warnings 2009-05-04 19:55:42 +00:00
Pierre Joye a07b780bc6 - fix build 2009-05-04 17:08:43 +00:00
Antony Dovgal e3685d6918 MFH: use correct function 2009-05-04 14:46:37 +00:00
Ilia Alshanetsky d48cc34211 Fixed a possible crash 2009-05-04 14:43:14 +00:00
Ilia Alshanetsky bb451fe8ac Fixed bad merge 2009-05-04 14:12:23 +00:00
Ilia Alshanetsky 34f39a1086 MFB: Fixed bug #48131 (Don't try to bind ipv4 addresses to ipv6 ips via
bindto)
2009-05-04 13:12:35 +00:00
Derick Rethans 0bc4075753 - MFH: Fixed bug #45191 (error_log ignores date.timezone php.ini val when
setting logging timestamps).
2009-05-03 19:09:23 +00:00
Derick Rethans 6d32ad3c1f - MFH: Fixed bug #48058 (Year formatter goes wrong with out-of-int range).
- MFH: Fixed bug #45822 (Near infinite-loops while parsing huge relative offsets).
2009-05-03 18:22:59 +00:00
Derick Rethans 0c040fc5d3 - MFH: Added test for (bogus) bug #48097. 2009-05-03 14:28:38 +00:00
Jani Taskinen ca6a024965 MFH:- Fixed bug #48132 (configure fails to test curl ssl support if --disable-rpath is set) 2009-05-02 19:55:14 +00:00
Jani Taskinen 3cea6c7bf4 - SPL can be disabled in PHP_5_2 2009-05-02 18:10:44 +00:00
Jani Taskinen b6b8b5ffc6 - SPL can be disabled in PHP_5_2 2009-05-02 18:02:09 +00:00
Ilia Alshanetsky a0ef3cc010 Fixed build, zend_parse_parameters_none() does not exist in 5.2 branch 2009-05-02 15:58:39 +00:00
Jani Taskinen 30bc1b72ef - Fix test 2009-05-02 03:17:51 +00:00
Kalle Sommer Nielsen 5b05a2da10 MFH: Update copyright year + line feeds 2009-05-02 01:54:25 +00:00
Kalle Sommer Nielsen c7c4b92b38 MFH: Fix proto + use zend_parse_parameters_none() 2009-05-02 01:38:36 +00:00
Jani Taskinen c9a717fcb8 MFH:- Fix compile warning in debug mode 2009-05-01 21:47:05 +00:00
Jani Taskinen 38450822ae - ws / cs (separated from another commit coming next) 2009-05-01 20:30:59 +00:00
Felipe Pena 4b90dd8f06 - MFH: Fixed bug #48038 (odbc_execute changes variables used to form params array) 2009-05-01 03:06:39 +00:00
Felipe Pena 4121be50e9 - MFH: Fixed bug #48120 (Implementing abstract class FilterIterator in regexiterator.inc) 2009-05-01 01:55:52 +00:00
Antony Dovgal c133062470 fix test (for real) 2009-04-30 20:35:37 +00:00
Pierre Joye 802cbbd49b - #47940, memory leaks in imap_body 2009-04-30 18:55:44 +00:00
Ilia Alshanetsky 5812e33052 Fixed typo 2009-04-30 17:43:25 +00:00
Pierre Joye 5759108ed0 - 45997 2009-04-30 15:26:54 +00:00
Pierre Joye 4d2e295344 - #45997, safe_mode bypass with exec/sytem/passthru (windows only) 2009-04-30 15:25:05 +00:00
Jani Taskinen 8d7ecdfdbb MFH: fix tests 2009-04-30 13:22:24 +00:00
Jani Taskinen b91afb10af - Fix test: It is still possible to enable/disable fastcgi in PHP_5_2 2009-04-30 13:02:43 +00:00
Jani Taskinen 0bdbd69561 - Added missing tests from this branch..*sigh* 2009-04-30 11:39:01 +00:00
Jani Taskinen 0445f9025b - Reflection can be disabled in PHP_5_2 2009-04-30 11:14:09 +00:00
Jani Taskinen 6712e8680c - Fix test + add missing test 2009-04-30 10:41:32 +00:00
Jani Taskinen eb0ae9417b - It is possible to disable reflection extension in PHP_5_2 2009-04-30 09:56:15 +00:00
Jani Taskinen 8294411819 - It is possible to disable reflection extension in PHP_5_2 2009-04-30 09:50:48 +00:00
Ilia Alshanetsky 51eb7b4aea Update tests to accomodate new parameter parsing API and make long2ip() use
it as well
2009-04-29 22:06:28 +00:00
Ilia Alshanetsky a4bc21cbe5 timezone db upgrade news 2009-04-29 21:56:12 +00:00
Derick Rethans 323769820f - Updated to version 2009.7 (2009g) 2009-04-29 11:12:13 +00:00
Zoe Slattery 38576823b1 Refixing to follow documented behaviour 2009-04-29 07:52:03 +00:00
Felipe Pena 7b62380d6b - Fix test 2009-04-28 23:46:39 +00:00
Ilia Alshanetsky 1e09a216e4 MFB: Fixed bug #47365 (ip2long() may allow some invalid values on certain
64bit systems)
2009-04-28 22:31:25 +00:00
Pierre Joye de44ff21e5 - mail_criteria entry and revert previous wrong one 2009-04-28 13:01:04 +00:00
Pierre Joye 323984a1ae - MFH: SEARCHPGM struct has to be freed 2009-04-28 12:43:10 +00:00
Antony Dovgal 1ae79dfe28 fix test 2009-04-28 09:04:17 +00:00
Antony Dovgal ba70e77b43 nuke unicode crap, fix test 2009-04-28 09:02:37 +00:00
Pierre Joye f2445c083a - space to tabs
- CS
2009-04-28 08:33:25 +00:00
Felipe Pena f096e27011 - BFN 2009-04-27 20:03:16 +00:00
Felipe Pena ff12af6133 - MFH: Fixed bug #47254 (Wrong Reflection for extends class) 2009-04-27 19:54:35 +00:00
Scott MacVicar 7fbf3433c7 MFH Fix bug #47695 - xmlrpc --with-iconv-dir mangles --with-iconv if they use different iconv versions. Could also just add a dependency on iconv to fix this. 2009-04-27 18:38:58 +00:00
Pierre Joye 9f8376ead3 - utf8_mime2text is present in 5.2's cclient 2009-04-27 08:23:29 +00:00
Pierre Joye 6c80425fb1 - MFH: add latest cclient versions 2009-04-27 00:01:15 +00:00
Sebastian Schürmann 82be89d366 - fixes to tests
- spl_classes only checks  for is_array(), the output in 5_3_0 and 5_2_0 is very different,
test will run this way in 5.2 and 5.3 w.o. problems
- call user method recognizes the different errormessage in 5_2_0 now
- the php_sap_name_variation001 check now goes for cgi instead of the cgi-fcgi output string
2009-04-26 23:54:12 +00:00
Jani Taskinen 9f729f9c6b MF53: Sync the session.c file structure and some bug fixes forgotten to merge. 2009-04-26 01:20:56 +00:00
Jani Taskinen ff9c528454 - Fix test cleanup 2009-04-26 01:20:03 +00:00
Jani Taskinen 7f97b581c2 - Missing skip section 2009-04-25 21:37:00 +00:00
Sebastian Schürmann 3f511f6ddb Initial import 2009-04-25 19:06:58 +00:00
Sebastian Schürmann dd7d7e2b6e Initial commit 2009-04-25 18:59:54 +00:00
Sebastian Schürmann cb22f59dbd Initial commit 2009-04-25 18:51:52 +00:00
Sebastian Schürmann 706152d40d Initial commit 2009-04-25 18:44:42 +00:00
Sebastian Schürmann 35d506b942 - Initial commit 2009-04-25 18:36:04 +00:00
Sebastian Schürmann 055622caf2 Initial commit 2009-04-25 18:29:23 +00:00
Jani Taskinen 22717a0c8c fix .cvsignore (Tony, it is not illegal to MFH to PHP_5_2..) 2009-04-25 18:26:49 +00:00
Jani Taskinen 7c7b7b4042 - In PHP_5_2 it is still possible to disable reflection. 2009-04-25 17:29:46 +00:00
Jani Taskinen 0608b239ab MFH: add .cvsignore file 2009-04-25 17:16:59 +00:00
Jani Taskinen f5748aab6c - Added missing entry 2009-04-25 17:15:38 +00:00
Jani Taskinen 631e6fc427 MFH: Sync 2009-04-25 17:12:11 +00:00
Jani Taskinen 030bfc24ab - Fix bad check (Hannes, please test stuff you commit..) 2009-04-25 16:54:50 +00:00
Pierre Joye 89f977c117 - ws 2009-04-25 16:36:02 +00:00
Pierre Joye 28e7780326 - #47940, pass body_len 2009-04-24 14:53:59 +00:00
Pierre Joye fab09bda92 - #47940 entry 2009-04-23 22:34:47 +00:00
Pierre Joye 8abacb0292 - MFH: #47940, leaks in imap_body() 2009-04-23 22:32:41 +00:00
Takeshi Abe 4b0df64a46 MFH: check non-null before any use. 2009-04-23 16:28:39 +00:00
andy wharmby ce125a6d46 Fix test 2009-04-21 08:53:26 +00:00
Jani Taskinen 97400732ad MFH:- Added path sanity check (autotools + libtool do not cope with whitespace..) 2009-04-20 15:03:57 +00:00
Mikko Koppanen 12e8c8ddc7 NEWS entry related to #47991 2009-04-20 10:03:21 +00:00
Mikko Koppanen d34a636598 MFH: Closes #47991 SSL streams fail if error stack contains items 2009-04-20 10:00:41 +00:00
Arnaud Le Blanc b6dc5c0574 MFH: Fix test 2009-04-19 22:02:06 +00:00
Arnaud Le Blanc 91e30c22d1 MFH: Better fix for #47997 2009-04-19 17:10:52 +00:00
Ilia Alshanetsky 8b083a9938 MFB: Fixed bug #47937 (system() calls sapi_flush() regardless of output
buffering)
2009-04-19 15:01:11 +00:00
Arnaud Le Blanc ce2c662791 MFB5.3: Fixed bug #47997 (stream_copy_to_stream returns 1 on empty streams) 2009-04-19 14:44:09 +00:00
Felipe Pena 1a9b6363f4 - MFH: Fix build 2009-04-18 18:56:58 +00:00
Ilia Alshanetsky 96ec5091f5 MFB: Fixed compiler warning 2009-04-16 22:14:52 +00:00
Pierre Joye 4aab8b21ac - fix zts build 2009-04-16 14:26:09 +00:00
Hannes Magnusson 9d028122b4 BFN 2009-04-16 13:53:24 +00:00
Hannes Magnusson c3fd834e3a MFH: Fixed bug#47981 (error handler not called regardless) 2009-04-16 13:52:23 +00:00
Pierre Joye c557abeb04 - improve file:// deactivation in curl_init and do not allow to enable it again manually 2009-04-16 13:51:55 +00:00
Hannes Magnusson 3fcaf01902 MFH: sync WS 2009-04-16 13:43:28 +00:00
Hannes Magnusson a61ac8cfe6 MFH: make it possible to run on 5.2.7 2009-04-16 13:41:50 +00:00
Pierre Joye 4ebb71d265 - disable file:// when safe_mode or open_basedir are enabled 2009-04-16 09:47:33 +00:00
Pierre Joye 716cc044ef - #47978, typo in ext/sockets/sockets.c 2009-04-16 05:32:38 +00:00
Moriyoshi Koizumi adefeac748 - MFH: Just a paranoiac test. This works perfectly. 2009-04-16 02:07:53 +00:00
Antony Dovgal f2e15c11c4 sync test with other branches 2009-04-15 20:57:26 +00:00
Antony Dovgal d60e754107 fix test 2009-04-15 20:54:59 +00:00
Ilia Alshanetsky 0a68541055 MFB: Fixed bug #47969 (ezmlm_hash() returns different values depend on OS) 2009-04-15 14:25:06 +00:00
Nuno Lopes 925c892dc9 MFH: fix bug #47662: support more than 127 named subpatterns 2009-04-14 20:31:32 +00:00
Nuno Lopes 66ec8d9632 upgrade to pcre 7.9 2009-04-14 20:29:09 +00:00
Antony Dovgal 5765def870 MFH: revert wrong fix for bug #47930 2009-04-14 14:18:49 +00:00
Stanislav Malyshev 077c6ea03b add fix #47930 2009-04-13 19:38:52 +00:00
Stanislav Malyshev 3e2513d8f3 fix #47930 2009-04-13 19:37:35 +00:00
Derick Rethans af99e4e438 - Updated to version 2009.6 (2009f) 2009-04-13 13:41:47 +00:00
Ilia Alshanetsky 6b719df163 MFB: Fixed bug #47946 (ImageConvolution overwrites background) 2009-04-12 14:44:34 +00:00
Rasmus Lerdorf 629eecbf7c Don't strip leading zeros on floating point numbers
And fix the test case
2009-04-09 16:04:15 +00:00
Ilia Alshanetsky 3ac8882dc1 Added test for php_sapi_name() 2009-04-09 13:28:22 +00:00
Hannes Magnusson a987ae115d Engelsk grammatikk 2009-04-09 10:20:39 +00:00
Hannes Magnusson 053c91d1ce MFH: Fixed bug#47427 (-s outputs, not displays) 2009-04-09 10:08:14 +00:00
Rasmus Lerdorf 9f9266cd88 Fixed bug #44929 - Better handling of leading zeros 2009-04-08 18:16:06 +00:00
Sebastian Bergmann 7aea024b69 MFH: Rename reflection*.phpt to Reflection*.phpt for consistency. 2009-04-08 16:09:30 +00:00
Felipe Pena db53404011 - Fixed bug #47801 (__call() accessed via parent:: operator is provided incorrect method name) 2009-04-08 00:28:06 +00:00
Felipe Pena 22c4a22379 - MFH: Fix ZTS build 2009-04-08 00:16:50 +00:00
Ilia Alshanetsky 944f02b46d Let's actually say what was updates ;-)
# Thanks Jani & Johannes
2009-04-07 17:06:53 +00:00
Arnaud Le Blanc 2b3e1ecece MFH: Fixed bug #47893 (CLI aborts on non blocking stdout) 2009-04-07 16:11:57 +00:00
Rob Richards ff4522e7dc BFN 2009-04-07 15:34:37 +00:00
Rob Richards 8728f276f9 MFH: fix bug #47849 (Non-deep import loses the namespace)
add test
2009-04-07 15:33:20 +00:00
Ilia Alshanetsky 4399a96a6b News 2009-04-07 14:08:39 +00:00
Kalle Sommer Nielsen 88c8ecb0a7 MFB53: Revert previous commit as it was causing alot more trouble than expected 2009-04-07 11:45:50 +00:00
Felipe Pena d52ad52511 - Fixed bug #47903 ("@" operator does not work with string offsets (PHP_5_2 only!))
(MFH: #39018)
2009-04-06 23:56:20 +00:00
Ilia Alshanetsky 792218240f Fixed test 2009-04-06 14:22:51 +00:00
Derick Rethans 8e5a9e931d - Updated to version 2009.5 (2009e) 2009-04-06 13:28:44 +00:00
Hannes Magnusson 7126bbbd9e MFH: Add test for bug#42596 2009-04-06 12:13:21 +00:00
Hannes Magnusson e3fb9c3e8f MFH: Fixed segfault on invalid session.save_path 2009-04-06 11:49:33 +00:00
Hannes Magnusson 9011deb604 MFH: Use an obscure name 2009-04-06 09:32:39 +00:00
Kalle Sommer Nielsen db1fa7fa80 MFB53: Kill warning about php_localtime_r not being defined 2009-04-06 09:17:47 +00:00
Dave Kelsey 51d28a7b17 bug 47886: fix test which failed during DST. Microsoft api working as designed, but unexpected. 2009-04-06 08:30:20 +00:00
Ilia Alshanetsky 3100dc31f0 Define _php_rfc822_len() only when needed 2009-04-05 14:10:49 +00:00
Felipe Pena d602767ec5 - Backported fix for #35386 (originally commited in 5.3+), reported recently as 5.2 bug #47845 2009-04-03 22:14:05 +00:00
Felipe Pena e5912d6486 - MFH: Fixed bug #47818 (Segfault due to bound callback param) 2009-04-02 15:55:02 +00:00
Matt Wilmas 77e3667550 MFH: Fixed tests, reverted changes from bug #47546 2009-04-02 09:42:32 +00:00
Matt Wilmas 8cad08f9a3 MFH: Fixed bug #47560 (explode()'s limit parameter odd behaviour) by reverting change for bug #47546 2009-04-01 17:07:46 +00:00
Felipe Pena 79dbf136b0 - MFH: Fixed bug #47852 (Compilation failure in zend_alloc.c) (Matteo) 2009-04-01 16:56:08 +00:00
Ilia Alshanetsky 72fed70e47 WS 2009-03-31 17:21:02 +00:00
Matt Wilmas 9c3e1e96b8 - MFH: Removed unused LONG_SIGN_MASK definition, and a stray \
- Changed sign flag to int (it's no longer being used in a calculation)
2009-03-31 11:22:19 +00:00
Dmitry Stogov 02f8fe6aa0 Fixed bug #47745 (FILTER_VALIDATE_INT doesn't allow minimum integer) 2009-03-31 10:05:38 +00:00
Ilia Alshanetsky ff9bc5c5e1 Fixed bug #47831 (Compile warning for strnlen() in main/spprintf.c)
# Patch by rainer\ dot\ jung\ at\ kippdata\ dot\ de
2009-03-30 19:59:08 +00:00
Pierre Joye 0bde38f6d2 - #47828 2009-03-30 18:05:42 +00:00
Pierre Joye 252f09fbe6 - better test case, it crashes on more architecture 2009-03-30 18:05:17 +00:00
andy wharmby 65e12bbf74 Fix date tests which started failing after change to BST 2009-03-30 12:35:30 +00:00
Scott MacVicar 4904830ca5 MFH Add test for bug #47828 2009-03-30 09:18:21 +00:00
Scott MacVicar 10d64bd4a9 MFH Fix test, -2147483648 is a valid unsigned int where -2147483649 isn't. 2009-03-30 00:41:39 +00:00
Scott MacVicar 966e1e6833 BFN 2009-03-29 23:35:58 +00:00
Scott MacVicar 6e617627f6 MFH Fix bug #47828 - Converting to UTF-8 can sometimes fail, check error codes and avoid segfault. 2009-03-29 23:33:01 +00:00
Ilia Alshanetsky 947df429ca Fixed compiler warning 2009-03-29 17:04:05 +00:00
Felipe Pena 9118a6ba7d - Add test 2009-03-27 16:53:03 +00:00
Felipe Pena 65d1a3a441 MFH: - Fixed bug #47769 (Strange extends PDO) 2009-03-27 16:50:38 +00:00
Christian Seiler bf8ac5f70c MFB: Fixed memory leak in ob_get_clean/ob_get_flush. 2009-03-26 00:00:18 +00:00
Ilia Alshanetsky 255422ab1e MFB: Fixed bug #47772 (FILTER_VALIDATE_EMAIL allows foo@bar. addresses) 2009-03-25 18:53:04 +00:00
Dmitry Stogov 5dda7e709c Fixed double efree() 2009-03-24 16:36:20 +00:00
Derick Rethans c95f7e8bb7 - Updated to version 2009.4 (2009d) 2009-03-23 21:40:11 +00:00
Derick Rethans 3fdd12683f - Updated to version 2009.3 (2009c) 2009-03-22 11:50:20 +00:00
Steph Fox 4219951e86 BFN 2009-03-20 22:14:45 +00:00
Steph Fox d92e82edc2 MFH: Fixed bug #38805 ( PDO Truncates Text from SQL Server Text Data Type Field)
- Bring behaviour into line with ext/mssql
  - Several memleaks plugged
2009-03-20 22:14:17 +00:00
Uwe Schindler 2b43578d54 Fix a sigsegv on server shutdown, add missing sapi_shutdown(). 2009-03-20 15:54:36 +00:00
Zoe Slattery ea9f303dd2 clarification of wwwhether 'make test' needs the PHP xecutable to be set 2009-03-20 15:44:14 +00:00
Zoe Slattery bdfafa3dd4 added skipif for root 2009-03-20 08:57:30 +00:00
Kalle Sommer Nielsen a2ad68d054 Fix typo 2009-03-20 08:39:42 +00:00
Ilia Alshanetsky aa89f171fa Fixed bug #47721 (Aligment issues in mbstring and sysvshm extension) 2009-03-19 23:10:44 +00:00
Matt Wilmas 85c513c1fc MFH: Handle overflow when decoding large numbers and avoid 2 conversions 2009-03-19 19:27:14 +00:00
Arnaud Le Blanc d72e47f4af MFH: Better fix for #44607. Fixes #47487 (php_stream_fill_read_buffer()
performance degraded after fix of bug 44607).
2009-03-19 17:56:01 +00:00
andy wharmby 1ed6d9109e New tests for various date extension functions. Tested on Windows, Linux and linux 64 2009-03-18 23:34:57 +00:00
Moriyoshi Koizumi d2e781ff7e - MFH: Synching .dsp file (I am not sure whether I really should do this) 2009-03-18 17:34:43 +00:00
Moriyoshi Koizumi bbd2a36b74 - MFH: staticise private symbols 2009-03-18 16:53:46 +00:00
Dmitry Stogov 9e48089f65 Fixed bug #47704 (PHP crashes on some "bad" operations with string offsets) 2009-03-18 13:11:32 +00:00
andy wharmby 007685a39d New tests for date extension DateTime methods Tested on Windows, Linux and linux 64 2009-03-18 11:32:53 +00:00
andy wharmby baa0e628be New tests for date extension DateTimeZone methods Tested on Windows, Linux and linux 64 2009-03-18 11:13:00 +00:00
Pierre Joye c4e040a468 - #43073, TrueType bounding box is wrong for angle<>0 2009-03-18 08:15:27 +00:00
Felipe Pena 9d8330a389 - MFH: Year++ 2009-03-17 23:10:13 +00:00
Matt Wilmas c06fb2f274 MFH: Fixed bug #46882 (Serialize / Unserialize misbehaviour under OS with different bit numbers) 2009-03-17 22:04:57 +00:00
Christopher Jones 9d638e65c7 Fix INI blocks 2009-03-17 03:08:16 +00:00
Scott MacVicar a2374d6a81 BFN 2009-03-17 02:03:58 +00:00
Scott MacVicar 17530bbccd MFH Fix bug #47644 - Valid integers are truncated with json_decode() 2009-03-17 02:02:45 +00:00
Zoe Slattery b3542a6ec4 test for /ext/tidy from stefan priebsch 2009-03-16 20:38:51 +00:00
Felipe Pena 7e9fd69bd8 - MFH: Fixed bug #47616 (curl keeps crashing) 2009-03-16 15:09:51 +00:00
Mikko Koppanen 7edf0f9e96 Updated news file 2009-03-16 12:03:57 +00:00
Mikko Koppanen 109dc1e6f6 Closes bug #47667 2009-03-16 10:22:13 +00:00
Ilia Alshanetsky 9075bfd1d9 MFB53: Fix for get_defined_constants() 2009-03-16 00:39:09 +00:00
Moriyoshi Koizumi b48436eb77 - MFH: Fix a bug that mbstring.internal_encoding doesn't take effect within
the request encoding converter.
2009-03-15 20:44:17 +00:00
Takeshi Abe 7dcb90d877 MFH: Fixed bug #45799 (imagepng() crashes on empty image) 2009-03-14 17:48:42 +00:00
Stanislav Malyshev 0d161c7bfb record new curl options 2009-03-13 19:46:09 +00:00
Stanislav Malyshev 00f576cc97 add new CURL options 2009-03-13 19:43:49 +00:00
Rob Richards e6d3c85e89 fix build for VC9 2009-03-13 14:39:08 +00:00
Rob Richards 4103f0bfbd BFN 2009-03-13 13:45:07 +00:00
Rob Richards e5a211bafc fix bug #47430 (Errors after writing to nodeValue parameter of an absent previousSibling)
add test
2009-03-13 13:41:42 +00:00
Ilia Alshanetsky 32027f5944 MFB: Fixed bug #47639 (pg_copy_from() WARNING: nonstandard use of \\ in a string
literal)
2009-03-12 22:54:15 +00:00
Zoe Slattery d189d478e3 refixing %r in run-tests.php (thanks iain lewis for the fix) 2009-03-12 20:45:43 +00:00
Andrei Zmievski baa869110b MFH 2009-03-12 16:13:39 +00:00
Ilia Alshanetsky b4c07450d2 MFB: Fixed bug #47598 (FILTER_VALIDATE_EMAIL is locale aware) 2009-03-08 18:22:26 +00:00
Kalle Sommer Nielsen ba65b35b7f MFH: Fix tests 2009-03-08 06:20:12 +00:00
Kalle Sommer Nielsen 4d8283a3ad MFH: Fixed bug #47546 (Default value for limit parameter in explode is 0, not -1) 2009-03-03 11:50:32 +00:00
Zoe Slattery f1092fb663 Added %r section 2009-03-03 10:54:16 +00:00
Moriyoshi Koizumi 023a3caf05 - MFH: Fix typo. 2009-03-02 04:44:35 +00:00
Ilia Alshanetsky 536ed996a0 MFB: Fixed bug #47435 (FILTER_FLAG_NO_PRIV_RANGE does not work with ipv6
addresses in the filter extension)
2009-03-01 17:36:09 +00:00
Ilia Alshanetsky ae31c3c66a MFB: Fixed 2 memory corruptions in zip extension idenfied by
oo_properties.phpt test
2009-03-01 17:35:25 +00:00
Uwe Schindler 2b2874eafd Fix Bug 47495: Keep header in internal list after add, so headers_list() works correctly. Other SAPIs have the same problem, but PHP 5.3 fixes this more elegant. 2009-02-25 19:52:06 +00:00
Ilia Alshanetsky 2d1f1b1b68 Back to dev 2009-02-25 15:34:33 +00:00
Ilia Alshanetsky e95f0a0058 5.2.9 2009-02-25 14:56:50 +00:00
Moriyoshi Koizumi 7db52b84b7 - Revert the patch then. 2009-02-24 15:09:43 +00:00
Moriyoshi Koizumi c5903bd6ab - MFH: strictly check UTF-8 and UTF-32 validity 2009-02-24 13:22:47 +00:00
Kalle Sommer Nielsen 6788dcf3bc Fixed #37209 (mssql_execute with non fatal errors) 2009-02-23 21:21:23 +00:00
Felipe Pena da3fad6285 - Fix test 2009-02-20 13:30:04 +00:00
Jani Taskinen ba9cdc0ad1 - spl is not forced on everyone in 5.2 branch. 2009-02-20 13:16:21 +00:00
Ilia Alshanetsky b764a1a782 Back to dev 2009-02-19 18:33:37 +00:00
Ilia Alshanetsky 98d0c1fade .2.9RC3 2009-02-19 18:31:25 +00:00
Dmitry Stogov 80e1950121 Fixed bug #47049 (SoapClient::__soapCall causes a segmentation fault) 2009-02-18 13:25:32 +00:00
Zoe Slattery eb829c6bbc fix test 2009-02-17 20:26:11 +00:00
Ilia Alshanetsky e808403250 FN 2009-02-17 17:09:24 +00:00
Ilia Alshanetsky 013c7f1f92 Fixed bug #45327 (memory leak if offsetGet throws exception)
# Patch by Greg
2009-02-17 17:09:05 +00:00
Zoe Slattery cc96a72170 Increased the sleep() from 1 to 5 to prevent intermittent failures 2009-02-17 15:21:10 +00:00
Matt Wilmas df22f1e09a MFH: Overflow comment 2009-02-17 15:15:36 +00:00
Matt Wilmas 56fcbaa848 Entry for bug #47422 2009-02-17 14:28:15 +00:00
Matt Wilmas 0d4da18bdd MFH: Fixed bug #47422 (modulus operator returns incorrect results on 64 bit linux) 2009-02-17 14:16:36 +00:00
Johannes Schlüter 7d8db13f39 MFH: Fix #45940 MySQLI OO does not populate connect_error property on failed connect 2009-02-17 10:40:18 +00:00
Felipe Pena ccd4958088 - Missing "DROP TABLE" 2009-02-16 19:49:03 +00:00
Zoe Slattery a44816ed09 exit -1 and exit -2 don't work for all sh. changed to exit 1 2009-02-16 13:18:40 +00:00
Moriyoshi Koizumi 63a6a6ee56 - MFH 2009-02-16 02:11:02 +00:00
Moriyoshi Koizumi f456fffe04 - MFH: Fix bug #47399 mb_check_encoding() return true for some illegal SJIS
characrters.
2009-02-16 01:58:16 +00:00
Felipe Pena d87c493722 - Fix tests 2009-02-15 16:50:33 +00:00
Felipe Pena 69084a71a6 - Supressing error message for SKIPIF check works as expected 2009-02-15 16:03:49 +00:00
Ilia Alshanetsky c243cd8610 reverted fix 2009-02-15 14:31:55 +00:00
Ilia Alshanetsky 9ca087df12 Revert patch for bug #46701 as it introduces a BC break 2009-02-15 14:31:17 +00:00
Moriyoshi Koizumi 488cd17ff5 - MFH: these should have been in the previous commit. 2009-02-15 07:18:43 +00:00
Moriyoshi Koizumi ef65c8ca60 - BFN 2009-02-15 07:12:15 +00:00
Moriyoshi Koizumi c2724d08fb - MFH: Refix bug #43840.
- MFH: Fix bug #43841.
- MFH: Remove redundant trailing dots from the error messages.
- MFH: Fix tests.
2009-02-15 07:11:23 +00:00
Rasmus Lerdorf af6d9528ce 2.4.1 is safe to use. Perhaps we should just drop the 3rd part from
the check there?  Might be unsafe if they break 2.4.2 though
2009-02-14 21:04:07 +00:00
Zoe Slattery 59596a527c splitting array_chunk into smaller tests 2009-02-14 10:34:22 +00:00
Moriyoshi Koizumi fb8c6db95a - MFH: prevent unwanted overflow 2009-02-14 08:16:21 +00:00
Moriyoshi Koizumi 1557e35034 - MFH: Fix Bug #45923 (mb_st[r]ripos() offset not handled correctly) 2009-02-14 07:35:01 +00:00
Moriyoshi Koizumi 17eb9361e1 - MFH: these should be E_WARNING for consistency with strpos() 2009-02-14 07:00:24 +00:00
Andrei Zmievski c2d0db2a3a Revert bogus fix for #47370. 2009-02-13 22:26:46 +00:00
Kalle Sommer Nielsen 87a91cb7b6 MFH: Revert previous change 2009-02-13 16:55:18 +00:00
Ilia Alshanetsky 2dc6d844ef Back to dev 2009-02-12 20:32:17 +00:00
Ilia Alshanetsky 46a6126e34 5.2.9RC2 2009-02-12 20:29:36 +00:00
Moriyoshi Koizumi afeef64609 * Update for bug #47370. 2009-02-12 18:32:14 +00:00
Moriyoshi Koizumi d719c020e6 * MFH: Fix bug #47370 (BC breakage of array_unique()) 2009-02-12 18:30:31 +00:00
Kalle Sommer Nielsen d9e457bbad MFH: Fixed wrong usage of error_reporting directive 2009-02-12 14:37:27 +00:00
Scott MacVicar 921ea6a428 MFH Fix bug #45989 - json_decode() doesn't return NULL on certain invalid strings 2009-02-12 00:36:23 +00:00
Scott MacVicar 519e4c1158 MFH Fix bug #46944 - UTF-8 characters outside the BMP aren't encoded correctly.
Forgot to merge this back in January
2009-02-12 00:15:46 +00:00
Felipe Pena 2a9bb86383 MFH: Fixed test bug #47311 (PDO::PARAM_LOB columns need to be bound before execute() on PgSQL) 2009-02-11 10:44:48 +00:00
Antony Dovgal a19fb50fd6 add test 2009-02-11 10:02:28 +00:00
Antony Dovgal 120b469bb4 MFH: fix bug #47353 (crash when creating a lot of objects in object destructor) 2009-02-11 09:58:58 +00:00
Antony Dovgal 49cf106aa4 MFH: fix check for zend_extension type 2009-02-11 09:11:35 +00:00
Scott MacVicar 5ee54f12af MFH Fix debug builds for OSX, PHP_DEBUG is set to 1 at the top 2009-02-11 00:08:44 +00:00
Ilia Alshanetsky c752e95c36 MFB: Adjust condition 2009-02-10 16:14:27 +00:00
Ilia Alshanetsky 3b4540f926 Fixed typo 2009-02-10 14:21:10 +00:00
Ilia Alshanetsky 0cb1a19851 Added path truncation E_NOTICE to let people now when path resolving caused
the file path to be truncated.
2009-02-10 14:18:29 +00:00
Felipe Pena 54f742e30d - MFH: Fix tests 2009-02-09 16:59:47 +00:00
Ilia Alshanetsky 6d3be89192 MFB: Initialize optional var 2009-02-09 15:34:32 +00:00
Felipe Pena 8d06c2cf2a - MFH: Fix test 2009-02-09 12:56:09 +00:00
Felipe Pena 99afacffcd - MFH: Fix mem. leak 2009-02-09 12:07:35 +00:00
Felipe Pena 09f6582694 - MFH: Fixed test 2009-02-09 11:58:02 +00:00
Greg Beaver 300f28b58e MFB fix Bug #46026 (this is a refinement of the previous fix) 2009-02-09 03:44:59 +00:00
Ilia Alshanetsky fcc80dcb86 MFB52: Fixed bug #44874 (dead pfsockopen'ed sockets aren't reaped when the
remote end restarts)

# Patch by Richard dot Krehbiel at gmail dot com
2009-02-08 16:54:43 +00:00
Antony Dovgal 0136b5cec6 fix typo 2009-02-06 10:42:54 +00:00
Felipe Pena 79f0466eff - Improve test 2009-02-06 10:40:42 +00:00
Felipe Pena ac2a97209b - MFH: Fixed bug #47322 (sscanf %d does't work) 2009-02-06 10:22:34 +00:00
Moriyoshi Koizumi c940701612 - MFH: Fix bug #45239 (encoding detector hangs with mbstring.strict_detection
enabled).
2009-02-06 08:49:05 +00:00
Ilia Alshanetsky f492ccfec6 Back to dev 2009-02-05 20:56:12 +00:00
Ilia Alshanetsky c77343ea9e 5.2.9RC1 2009-02-05 20:53:45 +00:00
Pierre Joye 34f117411e - zip fix entry 2009-02-05 19:53:43 +00:00
Pierre Joye 74f431ed45 - Fixed a crash on extract in zip when files or directories entry names contain
a relative path. (affects only 5.2 as it is a limitation in 5.2's virtual_file_ex)
2009-02-05 19:53:22 +00:00
Felipe Pena 4cf377704b - MFH: Fixed bug #47297 (pdo_033.phpt fails on PgSQL)
Patch by matteo at beccati dot com
2009-02-04 16:41:18 +00:00
Ilia Alshanetsky c4a9c79e28 Syn spprintf fix with that of 5.3 and above 2009-02-04 15:03:12 +00:00
Ilia Alshanetsky 7f2d38d966 Return empty string when recv() does not fetch any data 2009-02-03 19:22:40 +00:00
Ilia Alshanetsky 6131780061 MFB: Fixed bug #47282 (FILTER_VALIDATE_EMAIL is marking valid email
addresses as invalid)
2009-02-02 23:51:58 +00:00
Felipe Pena 1ad22f19e2 - MFH: Fixed bug #47269 (Typo: SoapSlient instead of SoapClient) 2009-02-02 10:00:32 +00:00
Moriyoshi Koizumi 90d7d1004c - MFH: Fix bug #46843 (CP936 euro symbol is not converted properly) 2009-02-02 04:54:11 +00:00
David Soria Parra f148e5a64f MFH: Fix a typo 2009-02-01 21:52:32 +00:00
Ilia Alshanetsky e721d542ee Fixed a possible invalid read when string is not null terminated 2009-02-01 19:42:48 +00:00
andy wharmby 9acebf6f4a New set_magic_quotes() tests. Tested on Windows, Linux and linux 64 2009-02-01 19:29:34 +00:00
andy wharmby cccb875ecd New php_uname() tests. Tested on Windows, Linux and linux 64 2009-02-01 19:17:50 +00:00
andy wharmby a43447aad6 New get_defined_vars(), get_included_files(), get_magic_quotes() and getmypid() tests. Tested on Winows, Linux and Linux 64 2009-02-01 18:55:28 +00:00
andy wharmby 008ca451c1 New escapeshellarg() tests. Tested on Windows, Linux and Linux 64 2009-02-01 18:39:52 +00:00
andy wharmby b43e2722ab New floatval() tests. Tested on Windows, Linux and Linux 64 2009-02-01 18:32:42 +00:00
Felipe Pena a7e664e216 - MFH: Fixed bug #47255 (Typo in php.ini files) 2009-01-31 19:26:02 +00:00
Kalle Sommer Nielsen 783b7b5cac MFH: Fix arginfo for imagefilter() 2009-01-31 15:28:34 +00:00
Felipe Pena 23b814a8b7 - MFH: Fix test 2009-01-30 14:50:38 +00:00
Ilia Alshanetsky adfdb7a77f MFB: Improved validation checks inside str_pad() 2009-01-30 00:17:05 +00:00
Scott MacVicar d84d3e47f3 Fix bug #47245 - Double free in mb_detect_encoding() 2009-01-29 22:58:52 +00:00
Johannes Schlüter ca779b84f9 - Add .cvsignore 2009-01-28 22:35:50 +00:00
Antony Dovgal 23db743e46 fix test 2009-01-28 12:59:08 +00:00
Felipe Pena 0e3465a61f MFH:
- Fix compile warning
- Fixed test
2009-01-27 15:02:43 +00:00
Felipe Pena 13ac985397 - Fixed parameter format 2009-01-27 14:44:07 +00:00
Felipe Pena 855e9fb998 - Removed wrong '/' in parameter format 2009-01-27 14:40:13 +00:00
Felipe Pena 42b58608e5 - Fixed tests 2009-01-27 14:32:59 +00:00
andy wharmby 7f4cdc8719 Split-ip var_export.phpt and add new error tests. Tested on Windows, Linux and Linux 64 bit 2009-01-26 22:27:05 +00:00
David Soria Parra f60f40afaa Fix indention 2009-01-26 21:27:41 +00:00
Rob Richards 3ba6c9f870 BFN 2009-01-26 19:12:10 +00:00
Rob Richards 566babac58 MFH: fix bug #47220 (segfault in dom_document_parser in recovery mode) 2009-01-26 19:11:19 +00:00
Ilia Alshanetsky 3959313932 MFB: Fixed bug #47217 (content-type is not set properly for file uploads) 2009-01-26 15:25:25 +00:00
Dmitry Stogov a012002652 Fixed bug #46419 (Elements of associative arrays with NULL value are lost) 2009-01-26 11:09:14 +00:00
Antony Dovgal 78c4bc3086 MFH use example.com 2009-01-25 23:28:18 +00:00
andy wharmby a12e0a69b8 Split is_callable test. Test on Windows, Linux and Linux 64 bit 2009-01-25 22:16:28 +00:00
Ilia Alshanetsky 38969d726b MFB: Improved fix for bug #47174 & added a test 2009-01-25 18:27:39 +00:00
David Soria Parra 49b4865adb MFH: Fix compiler warning. munmap expects a void pointer. 2009-01-25 14:04:09 +00:00
David Soria Parra 8b52d17a9b MFB: Fix WS 2009-01-25 13:42:39 +00:00
David Soria Parra 8d362208e1 MFH: Fix WS 2009-01-25 13:41:01 +00:00
Zoe Slattery 29980934c0 Added INI sections 2009-01-25 11:08:21 +00:00
Sebastian Bergmann 612a5d30db MFH: Patch by David Soria Parra <dsp@php.net>. 2009-01-25 11:07:56 +00:00
Antony Dovgal 09ec05ee72 fix test 2009-01-24 22:03:06 +00:00
Antony Dovgal 59305cdc08 add missing .cvsignore 2009-01-24 13:01:06 +00:00
andy wharmby c9745da78e New get_extension_funcs() and getrusage() tests. Tested on Windows, Linux and Linux 64 bit 2009-01-24 12:47:31 +00:00
andy wharmby 8ce15a6cc3 Make test more robust; avoid hangs if fsockopen() fails. Tested on Windows, Linux and Linux 64 bit 2009-01-23 23:49:31 +00:00
andy wharmby 39c67fe48d New gzuncompress() test.Tested on WIndows, Linux and Linux 64 bit 2009-01-23 23:31:48 +00:00
andy wharmby 7861cec3ef Fix tests. Add missing SKIPIF. Tested on Windows, Linux and Linux 64 2009-01-23 20:23:25 +00:00
Dave Kelsey 58ed732623 deleted invalid test. 2009-01-23 18:56:57 +00:00
Dave Kelsey 22f64f09f2 added some mail tests. Tested on windows, linux and linux 64bit 2009-01-23 17:12:19 +00:00
Dave Kelsey 71376a9789 various network tests. tested on windows, linux, linux 64 bit 2009-01-23 15:34:27 +00:00
Zoe Slattery b0ef277d3a IMPA fetchheader tests 2009-01-23 15:32:48 +00:00
andy wharmby 3f2bc9daa6 Fix names of new image files. 2009-01-23 11:18:31 +00:00
andy wharmby 3371e54109 New image tests. Tested on WIndows, Linux and Linux 64 bit 2009-01-22 22:59:51 +00:00
Pierre Joye 5f21f1e7c8 - call the right script 2009-01-22 22:07:21 +00:00
Dave Kelsey e815e613ac fstat tests. tested on windows, linux and linux 64 bit 2009-01-22 20:49:50 +00:00
andy wharmby 21aa7d168a New date tests for getdate() and gmstrftime(). Tested on WIndows, Linux and Linux 64 bit 2009-01-22 18:47:34 +00:00
Dave Kelsey d34a68db52 final collection of zlib tests. tested on linux, windows and linux 64 bit 2009-01-22 14:15:01 +00:00
andy wharmby 18e73c14a2 New basic time()and microtime() tests. Tested on Windows, Linux and Linux 64 bit 2009-01-22 14:11:12 +00:00
andy wharmby 3cdae46259 Fix test after #46732 fix. Tested on WIndows, Linux and Linux 64 bit 2009-01-22 13:50:33 +00:00
andy wharmby a7653d9485 New image tests. Tested on Windows, LInux and Linux 64 bit 2009-01-22 13:27:22 +00:00
Dave Kelsey 81af2ad666 fixed subtle bugs regarding attempting to chdir, plus cleanup issues. improved tempnam test, removed hardcoded line number. tested on windows, linux and linux 64bit. 2009-01-22 07:57:09 +00:00
andy wharmby 0d6a4b2d12 Fix test 2009-01-22 00:23:05 +00:00
Jani Taskinen b60437a4ad MFH: fix typo 2009-01-21 19:23:03 +00:00
Ilia Alshanetsky 3a78a01817 MFB: Fixed bug #47174 (base64_decode() interprets pad char in mid string as
terminator)
2009-01-21 15:45:29 +00:00
Derick Rethans aa6595916b - Updated to version 2009.1 (2009a) 2009-01-21 15:25:24 +00:00
Dave Kelsey 3fc347d251 new tests for zlib extension, tested on windows, linux and linux64 2009-01-21 15:24:16 +00:00
Antony Dovgal 7631655051 fix tests 2009-01-21 12:49:39 +00:00
andy wharmby a16133c719 New gzuncompress() test. php6 tets fails currentlly due to #47179. Tested on Windows, Linux and Linux 64 bit 2009-01-21 12:28:35 +00:00
andy wharmby e6bca5b8a5 New gzencode() test. php6 tets fails currentlly due to #47178. Tested on Windows, Linux and Linux 64 bit 2009-01-21 11:39:14 +00:00
Sanjay Mantoor 677debbd11 New testcases for strftime function 2009-01-21 10:52:34 +00:00
Dave Kelsey 5cebc6e703 Some basic tests for mime_magic. Tested on windows only 2009-01-21 10:46:38 +00:00
Dmitry Stogov 85489ac01a Fixed bug #47165 (Possible memory corruption when passing return value by reference) 2009-01-21 10:15:49 +00:00
andy wharmby 21e8496b72 New gzinflate() error test. Tested on WIndows, Linux and Linux 64 bit 2009-01-20 23:37:50 +00:00
andy wharmby 7d1ff9b203 Fix SKIPIF logic 2009-01-20 23:19:48 +00:00
andy wharmby 574a268345 New stripcslashes() tests. Tested on Window, Linux and Linux 64 bit 2009-01-20 22:54:41 +00:00
Ilia Alshanetsky 32ecd29b07 MFB: Added an E_NOTICE when precision value is truncated 2009-01-20 18:03:19 +00:00
Felipe Pena 91ec3a8141 - MFH: Fixed bug #47152 (gzseek/fseek using SEEK_END produces strange results) 2009-01-20 15:43:06 +00:00
andy wharmby 17bf5aa167 New vfprintf() tests. Tested on Window, Linux and Linux 64 bit 2009-01-20 14:19:43 +00:00
Felipe Pena 3404865719 - MFH: Added missing "return;" 2009-01-20 00:47:03 +00:00
Ilia Alshanetsky a0d1b54bf1 Fixed bug #47131 (SOAP Extension ignores "user_agent" ini setting). 2009-01-19 21:57:46 +00:00
David Soria Parra 72eeac2581 MFH: Fix #47149. Remove check for script_filename = path_translated, as this the actual value that we get from apache. 2009-01-19 18:17:59 +00:00
andy wharmby a55dc942cd New substr_replace() and unpack() error tests. Tested on Windows, Linux and Linux 64 bit. 2009-01-19 17:13:16 +00:00
andy wharmby c72618c48c New vprintf() tests. Tested on Windows, Linux and Linux 64 bit. 2009-01-19 16:03:35 +00:00
andy wharmby e9148ca0e3 New strval() tests. Tested on Windows, Linux and Linux 64 bit. 2009-01-19 15:54:43 +00:00
andy wharmby 64c8147b91 New tests for str_pad(), str_shuffle(), stristr() and strlen(). Tested on WIndows, Linux and Linux 64 bit 2009-01-19 15:46:31 +00:00
Antony Dovgal 910107f3f4 MFH: fix memleaks in sscanf() 2009-01-19 14:41:52 +00:00
Dave Kelsey ae37ab1364 new tests for zlib extension, tested on windows, linux and linux64 2009-01-19 14:03:18 +00:00
Felipe Pena 9c1837e8da - MFH: Fixed bug #47048 (Segfault with new pg_meta_data) 2009-01-18 23:51:15 +00:00
andy wharmby 8d1e2fdfda Port similar_text test to 5.2. Tested on Windows, Linux and Linux 64 bit 2009-01-18 23:11:06 +00:00
andy wharmby 4db72b092f New nl_langinfo(), number_format() and ord() tests. Tested on Windows. Linux and Linux 64 bit 2009-01-18 22:50:58 +00:00
andy wharmby 921ed1e76e New hebrev() and hebrevc() tests. Tested on Windows. Linux and Linux 64 bit 2009-01-18 21:59:33 +00:00
andy wharmby 942cea640f New sha1f() tests. Tested on Windows. Linux and Linux 64 bit 2009-01-18 19:37:41 +00:00
andy wharmby 9331f6554a New sscanf() tests. Tested on Windows. Linux and Linux 64 bit 2009-01-18 14:40:21 +00:00
andy wharmby 4b9d2da517 New explode() tests. Tested on Windows. Linux and Linux 64 bit 2009-01-18 14:34:52 +00:00
Felipe Pena 3ed65d36f9 - New tests 2009-01-18 13:28:58 +00:00
Felipe Pena ffccfdd9ec - Fixed test 2009-01-18 13:28:03 +00:00
andy wharmby 157f45242a New money_format() tests. Tested on Windows, Linux and Linux 64 bit 2009-01-17 22:52:41 +00:00
Felipe Pena d9a51ce483 - New test 2009-01-17 17:34:45 +00:00
Felipe Pena a92f5edb70 - BFN #46282 2009-01-17 17:24:59 +00:00
Felipe Pena 30dbcfe1c8 - Fixed bug #46282 (Corrupt DBF When Using DATE)
Patch by: arne at bukkie dot nl
2009-01-17 17:21:49 +00:00
andy wharmby e0c2374a93 New trim() tests. Tested on Windows, Linux and Linux 64 bit 2009-01-17 16:41:32 +00:00
andy wharmby 91eb3c5a54 New ltrim() tests. Tested on Windows, Linux and Linux 64 bit 2009-01-17 15:48:24 +00:00
andy wharmby 89af9ac202 New string tests. Tested on Windows, Linux and Linux 64 bit 2009-01-16 22:46:31 +00:00
andy wharmby 85261c8268 New string function tests. Tested on Windows, Linux and Linux 64 bit. 2009-01-16 12:53:40 +00:00
Jani Taskinen c542cf02a1 MFH:- Fixed bug #47104 (Linking shared extensions fails with icc) 2009-01-15 14:38:19 +00:00
Dmitry Stogov 8b93b4e373 Fixed possible crash because of argument stack reallocation 2009-01-15 14:23:42 +00:00
andy wharmby b26e125eda New test for strripos() string function. All tests checked on Windows, Linux and Linux 64 bit. 2009-01-15 13:40:22 +00:00
Dmitry Stogov 84d76e82bb Fixed bug #47109 (Memory leak on $a->{"a"."b"} when $a is not an object) 2009-01-15 08:48:41 +00:00
Antony Dovgal 53e5f104e4 fix typo 2009-01-14 16:32:02 +00:00
andy wharmby a3409dc80d Fix date_suninfo_tests; add missing date_default_timezone_set() to ensure they PASS when run in any timezone. Tested on WIndows, Linux and Linux 64bit. 2009-01-14 16:28:54 +00:00
andy wharmby 638ced7d36 Fixed base64_decode variation tests and new base64_encode test. Tested on Windows, Linux and Linux64 bit 2009-01-14 14:39:20 +00:00
Jani Taskinen e649bf4aa6 Fix order 2009-01-14 10:51:35 +00:00
andy wharmby 9a86c92895 Fix new date tests. Tested on Windows, Linux and Linux 64 bit 2009-01-13 23:10:52 +00:00
Andrei Zmievski ddccfe7a12 *** empty log message *** 2009-01-13 19:25:20 +00:00
Andrei Zmievski d305bc31aa Fix bug #44336 in PHP 5.2 as well. 2009-01-13 19:23:31 +00:00
andy wharmby b405a2c230 Fix test. Tested on Windows, Linux and Linux 64 bit 2009-01-13 18:51:50 +00:00
andy wharmby 92926978a2 New date extension tests. Tested on Windows, Linux and Linux 64 bit 2009-01-13 13:38:34 +00:00
Antony Dovgal 07fb812d50 fix test 2009-01-13 12:01:00 +00:00
andy wharmby 056c0c4324 New zlib extension tests. Tested on Windows, Linux and Linux 64 bit 2009-01-13 10:08:48 +00:00
andy wharmby 984f01c1ed New math tests. Tested on Windows, Linux and Linux 64 bit 2009-01-12 17:56:45 +00:00
andy wharmby e2e013662d Fix Windows tests after #47037 2009-01-12 15:59:20 +00:00
andy wharmby 1ea392bb55 New math tests. Tested on Windows, Linux and Linux 64 bit 2009-01-12 14:31:07 +00:00
Scott MacVicar b3e3d679c5 MFH The previous error was masked by a missing entry, sync them back up. 2009-01-12 14:30:21 +00:00
Scott MacVicar 7f512a75b7 MFH This entry doesn't exist upstream any more, it also caused all error messages to be one off. 2009-01-12 13:42:15 +00:00
Rob Richards b09626373f BFN 2009-01-11 12:03:43 +00:00
Rob Richards 5db40d5a2f MFH: fix bug #45996 (libxml2 2.7 causes breakage with character data in xml_parse()) 2009-01-11 12:01:55 +00:00
Felipe Pena 646a8aabba - MFH Fix SEGV if get_method() returns a non bound function 2009-01-10 20:30:48 +00:00
Felipe Pena a0f2b8ff27 - Removed entry (not solved yet) 2009-01-10 17:39:28 +00:00
Felipe Pena 4b06c31923 - MFH: Fixed test (patch by Timm Friebe [thekid@php]) 2009-01-10 17:07:33 +00:00
Antony Dovgal 3c001f3279 cleanup garbage 2009-01-09 23:17:01 +00:00
Antony Dovgal fa4b164375 fix test: don't create tmp files in "." and clean up when done 2009-01-09 23:11:52 +00:00
David Soria Parra aa3fc14911 MFH: Fixed bug #47042 (PHP cgi sapi is removing SCRIPT_FILENAME for non apache). 2009-01-09 22:14:20 +00:00
Jani Taskinen 20eee2e5e4 fix news 2009-01-09 07:17:57 +00:00
Sanjay Mantoor c5d0d152a9 New testcases for localtime function 2009-01-09 05:08:44 +00:00
Felipe Pena ab029cf81a - Fixed tests 2009-01-09 02:35:37 +00:00
Antony Dovgal 7bad8ec1ca fix tests 2009-01-08 22:03:40 +00:00
Andrei Zmievski 7ac1f7eee7 Handle __call() on protected/private method access for callbacks too. 2009-01-08 21:39:06 +00:00
andy wharmby c957a3ae9c New PHPT tests for math functions (batch 1 of 3). Tested on Windows, Linux and Linux 64 bit. 2009-01-08 21:21:17 +00:00
Felipe Pena a6f3a6b470 - MFH: Fixed tests 2009-01-08 20:03:32 +00:00
Felipe Pena e28ad0cd28 MFH:
- Fixed bug #47037 (No error when using fopen with emty string)
Patch by Cristian Rodriguez R.
2009-01-08 19:21:25 +00:00
Arnaud Le Blanc d6296c9f33 MFH: XFAIL test 2009-01-08 18:58:46 +00:00
Arnaud Le Blanc b27f9a96e7 MFH:
Fix memleak when a user filter appends a bucket and returns != PSFS_PASS_ON
Improved tests
2009-01-08 18:40:56 +00:00
Felipe Pena 3af972a44b - BFN #47035 2009-01-08 17:28:08 +00:00
Felipe Pena 6c3a5e8d05 - MFH: Fixed bug #47035 (dns_get_record returns a garbage byte at the end of a TXT record) 2009-01-08 17:20:21 +00:00
Arnaud Le Blanc b512bab367 MFH: Fixed error conditions handling in stream_filter_append() 2009-01-08 17:03:42 +00:00
andy wharmby 74469110b3 Fix bogus file tests - addresses 2 failures in PHP GCOV reports. Tested on Windows, Linux and Linux 64 bit 2009-01-08 10:41:07 +00:00
Andrei Zmievski 518f9a3586 MFB 2009-01-08 00:39:15 +00:00
Antony Dovgal 0d08b726b2 MFH: fix test 2009-01-07 21:23:18 +00:00
Felipe Pena a49254c325 MFH:
- Added check for EWOULDBLOCK
- Using EWOULDBLOCK instead of EAGAIN by portability issues
(Related to #46917)
2009-01-07 20:41:47 +00:00
Felipe Pena 80589d3bf6 - Fixed test 2009-01-07 20:33:06 +00:00
Felipe Pena 6324a1f35c - Revert in this branch (attention++, thanks Hannes :D) 2009-01-07 17:38:13 +00:00
Felipe Pena bbced47e80 - BFN #47029 2009-01-07 17:26:20 +00:00
Felipe Pena ddb4a69a98 - Fixed bug #47029 (quoted_printable_decode() produces duplicate warning)
Patch by Andy wharmby
2009-01-07 17:24:20 +00:00
andy wharmby bf29902c14 New pcre extension tests. Tested on Windows, Linux and Linux 64-bit 2009-01-07 14:49:56 +00:00
Derick Rethans 3c15c00891 - MFH: Fixed bug #47027 (var_export doesn't show numeric indices on ArrayObject). 2009-01-07 14:36:49 +00:00
andy wharmby 3247a9c40b New hash extension tests. Tested on Windows, Linux and Linux 64-bit 2009-01-07 14:33:00 +00:00
Uwe Schindler f732dfba27 MFH: the #ifdef was never working. If Sun extends its NSAPI to support subrequests, much of this code must be rewritten. Because of that it is better to have a clean start. This commit does not change behaviour. 2009-01-06 13:46:49 +00:00
Felipe Pena 7c1d04ece1 - BFN #46701 2009-01-06 01:33:16 +00:00
Felipe Pena cde0b736c5 MFH:
- Fixed bug #46701 (Creating associative array with long values in the key fails on 32bit linux)
Patch by Shire
2009-01-06 01:29:22 +00:00
Felipe Pena 3be9fae529 - BFN 2009-01-05 22:27:31 +00:00
Felipe Pena df71cbc0d5 - Fixed bug #46760 (SoapClient doRequest fails when proxy is used) [only in this branch] 2009-01-05 22:16:58 +00:00
Antony Dovgal 962243af08 create temporary db in the current dir and cleanup on completion 2009-01-05 16:01:45 +00:00
Antony Dovgal 217b40b1aa MFH: Fix build where __USE_GNU is used instead of _GNU_SOURCE to define utsname.domainname
(c) felipe, Sun Jun 22 21:45:42 2008 UTC
2009-01-04 15:08:34 +00:00
Felipe Pena 67bbebf598 - BFN 2009-01-03 17:02:55 +00:00
Kalle Sommer Nielsen b47ae1bdb7 MFH:
* Redirect the "1 file(s) copied" message to nul
* Check if configure script was copied, and output an error if it wasn't
2009-01-03 03:27:47 +00:00
Felipe Pena 38d47b02df - MFH: Windows part 2009-01-03 00:06:59 +00:00
Felipe Pena e812a31c9b - MFH: Errr, rule nº 1: be portable :) 2009-01-02 21:43:07 +00:00
Felipe Pena 11c47b663f - MFH: Working with unintialized errno (#46917, noticed by Jost Boekemeier) 2009-01-02 21:29:04 +00:00
Scott MacVicar 1f4754a0bf Duplicate INI sections 2009-01-02 12:13:10 +00:00
Andi Gutmans 3fc970cc4f - MF PHP_5_3 2009-01-02 05:00:35 +00:00
Pierre Joye ed32a8a6e2 - news entry for #46985 and zip property read 2009-01-02 00:17:44 +00:00
Pierre Joye ab61e0138e - MFH: fix filename property read 2009-01-02 00:12:29 +00:00
Pierre Joye 597f0acfaa - restore overwrite feature (regression introduced in 5.2.8) 2009-01-01 19:32:45 +00:00
Pierre Joye 704599d3a9 - restore fix for binary mode on win (regression introduced in 5.2.8) 2009-01-01 19:32:24 +00:00
Zoe Slattery 71539c429e removing xfail sections as test passes 2008-12-31 20:17:41 +00:00
Zoe Slattery 3f41dea857 new test from Nat Mcugh 2008-12-31 20:07:47 +00:00
Zoe Slattery 575e56649c Fixed bug #46845 Test expected to fail, but pass, don't cause error 2008-12-31 17:37:21 +00:00
Felipe Pena c6dca00fbb - BFN 2008-12-31 15:42:43 +00:00
Felipe Pena 154d823ad0 - MFH: Fixed bug #46973 (IPv6 address filter rejects valid address) 2008-12-31 15:39:48 +00:00
Sebastian Bergmann ef49b9a8de MFH: Bump copyright year, 3 of 3. 2008-12-31 11:17:49 +00:00
Sebastian Bergmann 83a893a5d6 MFH: Bump copyright year, 2 of 3. 2008-12-31 11:16:23 +00:00
Sebastian Bergmann b9259ff9d1 MFH: Bump copyright year, 1 of 3. 2008-12-31 11:16:12 +00:00
Ant Phillips 73ef7ed458 Revert to the previous version for these tests as they were overwritten by mistake (checked on Windows but not on Linux... so the six skipped tests may not work correctly... but they should be ok and I'll watch the test results). 2008-12-31 10:36:10 +00:00
Ant Phillips 8fd7172306 Revert to the previous version for these tests as they were overwritten by mistake (checked on Windows but not on Linux... so the six skipped tests may not work correctly... but they should be ok and I'll watch the test results). 2008-12-31 10:18:20 +00:00
Ilia Alshanetsky 132ad2d26c Fixed bug #46964 (Fixed pdo_mysql build with older version of MySQL). 2008-12-30 19:10:59 +00:00
Ant Phillips 8bddde3f80 Revert to the previous version for these tests as they were overwritten by mistake (checked on Windows but not on Linux... so the six skipped tests may not work correctly... but they should be ok and I'll watch the test results). 2008-12-30 17:11:57 +00:00
Ant Phillips aa90a2d3e0 Revert to the previous version for these tests as they were overwritten by mistake (checked on Windows but not on Linux... so the six skipped tests may not work correctly... but they should be ok and I'll watch the test results). 2008-12-30 17:06:50 +00:00
Zoe Slattery 0f1d65592b re-adding skipifs 2008-12-30 15:36:45 +00:00
Zoe Slattery f8bcc8c15f removed commented out SKIPIF 2008-12-30 13:06:25 +00:00
Scott MacVicar 3813ffa6f9 BFN 2008-12-29 15:44:49 +00:00
Scott MacVicar 9c332b4b9e Fix bug #46959 - Can't disable PCRE in 5.2.x, too much was backported from 5.3. 2008-12-29 15:27:11 +00:00
Jani Taskinen 52252ef91d - Fix news 2008-12-29 10:02:22 +00:00
Brian Shire 29401ca5a9 MFH: fix explode behavior to respect negative limit when string is empty. 2008-12-27 05:20:27 +00:00
Arnaud Le Blanc e27731f3db MFH: Fixed bug #46873 (extract($foo) crashes if $foo['foo'] exists) 2008-12-27 03:07:46 +00:00
Felipe Pena 0540f6ddb1 - Errr, that is 32bit. and cosmetic 2008-12-25 13:40:59 +00:00
Felipe Pena dd44c11b55 - Fix tests for different platforms 2008-12-25 13:30:38 +00:00
Felipe Pena bedf300691 - Fix test 2008-12-25 13:21:35 +00:00
Felipe Pena 43c88da822 - Fixed tests (because we get different error message on different SO) 2008-12-25 12:15:51 +00:00
Felipe Pena 99e6a560dc - Fixed BC in array_unique (HASH_OF stuff), warning and CS in another part 2008-12-25 11:05:19 +00:00
Felipe Pena 89e6d5bd22 - MFH: Fixed memory leak in imap_rfc822_parse_adrlist 2008-12-24 13:31:40 +00:00
Felipe Pena e7057c6825 - New test 2008-12-24 11:51:29 +00:00
Felipe Pena 584ced66d5 BFN 2008-12-24 11:32:45 +00:00
Felipe Pena a1a4c02290 - Fixed bug #46918 (imap_rfc822_parse_adrlist host part not filled in correctly) [only in this branch] 2008-12-24 11:24:38 +00:00
Sanjay Mantoor a2de42599b New testcases for idate function 2008-12-23 09:13:28 +00:00
Sanjay Mantoor 8867ffc100 New testcases for gmmktime function 2008-12-23 07:47:00 +00:00
Scott MacVicar 99614941d7 MFH: Invalid string causes segfault within json_decode() 2008-12-19 02:13:41 +00:00
Scott MacVicar b5ca904be2 Add name of reported to security issues because we apparently need to let everyone know. 2008-12-18 21:05:55 +00:00
Derick Rethans 9fbc798d63 - Added a test case for bug #46268. (Bug itself is not present in 5.2). 2008-12-18 20:30:06 +00:00
Ilia Alshanetsky 444aba4d5f MFB: Fixed bug #46887 (Invalid calls to php_error_docref()) 2008-12-18 20:08:00 +00:00
Pierre Joye abda35380f - MFH: export php_scandir and php_alphasort 2008-12-18 17:41:59 +00:00
Arnaud Le Blanc 3572d5f2b0 MFH: Fixed test 2008-12-18 16:05:14 +00:00
Robin Fernandes dae1582b66 Additional output buffering tests. 2008-12-18 15:20:46 +00:00
Derick Rethans e3388ff043 - MFH: Fixed bug #46889: Memory leak in strtotime(). 2008-12-18 14:57:04 +00:00
Stanislav Malyshev e179d4e86b bug #46005 -> 5.2 2008-12-18 14:29:38 +00:00
Stanislav Malyshev d3dce9e02e MFH fix #46005 2008-12-18 14:28:35 +00:00
Ilia Alshanetsky eaa3298b4a MFB: remove fprintf usage 2008-12-17 21:45:31 +00:00
Zoe Slattery a54f690ae0 README for ext/imap tests 2008-12-17 15:36:44 +00:00
Zoe Slattery e780773ee6 Miscellaneous tests for ext/imap 2008-12-17 15:09:21 +00:00
Jani Taskinen 3c1bcc2c8c MFH:- Fixed bug #45161 (Reusing a curl handle leaks memory) 2008-12-17 14:20:30 +00:00
Jani Taskinen 1cd04d8739 MFH: bug tests 2008-12-17 14:05:52 +00:00
Zoe Slattery 3fff948321 New FTP test from Nathaniel McHugh 2008-12-17 12:35:53 +00:00
Ilia Alshanetsky 435cf74f45 MFH: removed unused var 2008-12-17 00:30:48 +00:00
Zoe Slattery 9919125435 bug #46837 fix 2008-12-16 21:35:42 +00:00
Zoe Slattery 2b5cd5b7fe bug #46884 fix 2008-12-16 21:11:49 +00:00
Steve Seear 071a3c3c7a call_user_func_array() tests 2008-12-15 14:12:16 +00:00
Zoe Slattery b0994638ee fixed test 2008-12-15 13:19:23 +00:00
Steve Seear 5591b9fabb Add find_tested script to 5_2 branch (for use by gcov.php.net) 2008-12-15 11:29:18 +00:00
Sanjay Mantoor d0eaa59d0f New testcases for gmdate function 2008-12-15 10:36:53 +00:00
Sanjay Mantoor 29c885c8bd New testcases for gettimeofday function 2008-12-15 08:23:58 +00:00
Scott MacVicar c9e793df5e Add CVE 2008-12-13 13:37:58 +00:00
Andrei Zmievski 844799cfd5 MFH 2008-12-13 00:38:29 +00:00
Rob Richards d6b537e8ca fix entry 2008-12-12 04:21:01 +00:00
Rob Richards dba2bf64dd BFN 2008-12-12 04:18:12 +00:00
Rob Richards f9020054d2 MFH: fix bug #46699: (xml_parse crash when parser is namespace aware)
fix a couple warnings
add test
2008-12-12 04:17:26 +00:00
Pierre Joye 22955ad4bf - fix build (all platforms) 2008-12-11 15:30:18 +00:00
Pierre Joye b2483079bb - MFH: fix build (was never used like that before recent commit to session) > local include use quotes not <> 2008-12-11 13:12:54 +00:00
Stefan Esser f2d5b34f26 Added test for magic_quotes_gpc 2008-12-11 13:06:29 +00:00
Ant Phillips 99e65a945e MCrypt tests: checked on PHP 5.2.6, 5.3 and 6.0 (Windows and Linux but not Linux 64 bit or 5.3). 2008-12-11 10:20:37 +00:00
Lars Strojny d5b6ae48f7 MFB: Fixing strict warning 2008-12-11 02:38:44 +00:00
Scott MacVicar b2863d6ecc BFN 2008-12-11 01:23:40 +00:00
Scott MacVicar 08e90b069f MFH Fix bug #35975 - Session cookie expires date format isn't the most compatible. Sync to that of setcookie(). 2008-12-11 01:21:42 +00:00
Pierre Joye 422eb1b8f6 - ws 2008-12-11 00:12:20 +00:00
Ilia Alshanetsky 8424c90476 MFB: Fixed bug #46798 (Crash in mssql extension when retrieving a NULL value
inside a binary or image column type)
2008-12-10 20:54:47 +00:00
Scott MacVicar c0defbdc81 BFN 2008-12-10 13:40:20 +00:00
Scott MacVicar ec469a9f6a MFH Fix segfault and potential security issue in imagerotate(). 2008-12-10 13:33:10 +00:00
Ant Phillips 0397dd836b Tests for bug #43841 and #45923 2008-12-10 10:35:40 +00:00
Arnaud Le Blanc 74a872c001 MFH: fixed test 2008-12-09 22:54:16 +00:00
Nuno Lopes 6499ce4847 update PCRE symbol list (sync with php 5.3). this should fix bug #46800 2008-12-09 22:00:19 +00:00
Jani Taskinen 0cc37e4a06 MFH 2008-12-09 16:05:57 +00:00
Jani Taskinen 84f868ded7 MFH: fix tests 2008-12-09 15:44:47 +00:00
Jani Taskinen 8808ffa0ff MFH 2008-12-09 15:21:33 +00:00
Zoe Slattery 7d2735fbef fix resource id 2008-12-09 13:40:25 +00:00
Jani Taskinen 6414245da6 MFH 2008-12-09 10:54:04 +00:00
Pierre Joye e3b599807c - not used anymore 2008-12-09 09:21:59 +00:00
Scott MacVicar 864632a1b1 MFB 5.3 Add test for the recent magic_quotes_gpc regression. 2008-12-09 01:48:32 +00:00
Pierre Joye 6bbb6b7df7 - MFH:
- buildconf accepts arguments (pecl dir for ex.)
 - copy configure.bat
2008-12-08 22:42:51 +00:00
Pierre Joye 743e7d8cb7 - MFH: add configure script 2008-12-08 22:40:30 +00:00
Nuno Lopes 3f3da95a4c remove unused file to avoid confusion 2008-12-08 20:18:14 +00:00
Zoe Slattery bb46ef5a6e tests for imap_fetch_overview 2008-12-08 19:14:03 +00:00
Jani Taskinen bb46aa5f97 - Sync with HEAD 2008-12-08 12:35:54 +00:00
Scott MacVicar b364219ade Fix bug #46748, segfault when SSL has more than one error message. 2008-12-08 02:33:46 +00:00
Antony Dovgal de78386d8f fix .cvsignore 2008-12-07 19:33:15 +00:00
Ilia Alshanetsky 1fa754ffd3 Back to dev 2008-12-07 19:28:01 +00:00
Ilia Alshanetsky 3cb41ad94d 5.2.8 2008-12-07 19:23:26 +00:00
Ilia Alshanetsky 34455b8ab8 5.2.8 2008-12-07 19:18:20 +00:00
Ilia Alshanetsky ff209bb97c Move active branch to 5.2.9 2008-12-07 19:08:35 +00:00
Matt Wilmas af5cb849ee MFH: Fixed bug #46782 (fastcgi.c parse error) 2008-12-07 10:55:47 +00:00
Scott MacVicar ab165076a9 Back out bugfix for #42718 as this broke magic_quotes_gpc 2008-12-06 17:16:36 +00:00
Zoe Slattery 488d12c2e5 More changes to allow the same tests to be used with PHP5 and PHP6 2008-12-06 12:02:24 +00:00
Robin Fernandes 27c06db0bd Add some class related tests, fix hard-coded object ID in serialize_001.phpt. 2008-12-05 22:12:06 +00:00
Rob Richards 3bfe758475 MFH: fix arginfo - these also accept SimpleXMLElement 2008-12-05 18:36:16 +00:00
Zoe Slattery dee98d2d9e FTP test from Nathaniel McHugh 2008-12-05 16:27:01 +00:00
Ant Phillips 19c4363c8a Remove duff comment produced by the test generator tool 2008-12-05 14:17:58 +00:00
Zoe Slattery 7c375c4879 bug #46731 fix 2008-12-05 11:59:01 +00:00
Zoe Slattery 51e0152170 Update to use norsh flag 2008-12-05 11:02:55 +00:00
Sanjay Mantoor 59338d84b7 New testcases for date_sunset function 2008-12-05 06:12:11 +00:00
Sanjay Mantoor 8f00f19419 New testcases for date_sunrise function 2008-12-05 05:35:39 +00:00
Mikko Koppanen df7ba6eb86 Fixed #46739 2008-12-04 13:17:28 +00:00
Mikko Koppanen d6593aa472 Fixes bug #46739 2008-12-04 13:13:41 +00:00
Antony Dovgal 3fbb9f50c5 fix test 2008-12-03 21:29:19 +00:00
Felipe Pena 5be5df48c9 - Fixed strange typos 2008-12-03 20:45:25 +00:00
Ant Phillips b337c7ad95 XML tests: checked on PHP 5.2.6, 5.3 and 6.0 (Windows, Linux and Linux 64 bit). 2008-12-03 19:09:22 +00:00
Felipe Pena 1000e22750 - Coverage++ 2008-12-03 16:27:50 +00:00
Ilia Alshanetsky 4efe92fa7c Back to dev 2008-12-03 15:57:52 +00:00
Ilia Alshanetsky b822f24748 PHP 5.2.7 2008-12-03 15:54:03 +00:00
Robin Fernandes 1ff15e8260 Add support for %u|b% and %unicode_string_optional% to facilitate writing tests compatible with both 5_2 and HEAD. 2008-12-03 14:27:43 +00:00
Ant Phillips 0ff050f076 MBString tests: checked on PHP 5.2.6 (Windows, Linux and Linux 64 bit). 2008-12-03 13:04:38 +00:00
Felipe Pena 2689a74cee - BFN 2008-12-03 10:15:13 +00:00
Ant Phillips b11ad90dfc Delete duff commit files 2008-12-03 09:25:42 +00:00
Felipe Pena bc7d3a9484 - Fixed tests 2008-12-02 23:06:52 +00:00
Felipe Pena 03eb1fd623 MFH:
- Fixed memory leaks
- Added new tests (Coverage++)
2008-12-02 21:02:44 +00:00
Derick Rethans 24a764e086 - MFH: Fixed bug #46732 (mktime.year description is wrong). 2008-12-02 18:01:58 +00:00
Matt Wilmas 7c53e81273 MFH: Changed logic for LONG_MIN 2008-12-02 14:50:37 +00:00
Ant Phillips 173069cead Array tests: checked on PHP 5.2.6, 5.3 and 6.0 (Windows, Linux and Linux 64 bit). 2008-12-02 13:37:21 +00:00
Ilia Alshanetsky 0902cc8651 Fixed typo 2008-12-01 20:57:11 +00:00
Iain Lewis 1b3ea47dbc Adding tests for array_multisort 2008-12-01 14:25:24 +00:00
Felipe Pena fb11097b06 - MFH: Fixed memory leak 2008-12-01 12:28:27 +00:00
Ant Phillips 0722818374 Exif tests: checked on PHP 5.2.6, 5.3 and 6.0 (Windows, Linux and Linux 64 bit). 2008-12-01 12:23:33 +00:00
Ant Phillips 72e8a2ec60 DOM tests: checked on PHP 5.2.6, 5.3 and 6.0 (Windows, Linux and Linux 64 bit). 2008-12-01 11:29:35 +00:00
Uwe Schindler e073d72618 remove unneeded includes (not needed since NSAPI 3.0, wich is very old). This is needed for cleanup of the windows build. 2008-12-01 10:11:57 +00:00
Pierre Joye 21f74ba99e - c/p fix, correct description 2008-12-01 00:03:03 +00:00
Pierre Joye 279c926f8b - Enable fix fo #42862 (IMAP toolkit crash: rfc822.c legacy routine buffer overflow) on windows (we use the latest imap) 2008-11-30 23:58:17 +00:00
Pierre Joye 26eeef7599 - fix line ending 2008-11-30 23:56:36 +00:00
Pierre Joye 07fde460a3 - fix line ending 2008-11-30 22:35:39 +00:00
Pierre Joye d70eefbaa0 - #44900 2008-11-30 21:41:57 +00:00
Pierre Joye 3d1a87fb88 - #44900, OpenSSL extension fails to link with OpenSSL 0.9.6 (5.2 only, 5.3+ requires a decent version) 2008-11-30 21:39:57 +00:00
Hannes Magnusson df9603aae0 MFH: Fix proto 2008-11-30 00:12:45 +00:00
Uwe Schindler 4560601437 MFH: support stat cache of webserver (like apache does) 2008-11-29 23:44:44 +00:00
Uwe Schindler 77972bc68a MFH: Some nsapi.h specific ifdefs unified & corrected (same like last commit, only cleanup) 2008-11-29 19:59:27 +00:00
Uwe Schindler 877cdf6862 MFH: remove one stat call and replace by cached one
(release-manager: the same like with last commit)
2008-11-29 19:38:04 +00:00
Uwe Schindler 75b081d0d1 Hallo release manager: This patch is not release critical (affects only NSAPI, but I want it to be fixed in the last version of PHP 5.2). If you do not want to have it in, revert it, a new RC is definitely not needed because of this (and I am sure nobody who tests RCs is using NSAPI :)!
MFH: Implement flushing in NSAPI, fix some problems with output buffering if the response was not started (no headers sent) before doing something in ub_write() or flush() - Writing or flushing output will fail in NSAPI, if headers were not sent before.
2008-11-29 14:51:45 +00:00
Stanislav Malyshev f9a2648d61 report fix 2008-11-29 00:49:58 +00:00
Stanislav Malyshev 8a0fc77582 properly initialize BG(page_uid) and BG(page_gid) 2008-11-28 23:27:46 +00:00
Stanislav Malyshev 7a67e94f17 init SG(server_context) before processing configs 2008-11-28 23:22:39 +00:00
Matt Wilmas 2826401afe MFH: Updated description to match docs 2008-11-28 19:07:09 +00:00
Zoe Slattery b51bb4132f Committing include files required for tests. Tests and bug reports to follow. 2008-11-28 17:41:03 +00:00
Dmitry Stogov 281fb1f2ed Fixed bug #46366 (bad cwd with / as pathinfo) 2008-11-28 11:56:50 +00:00
Ant Phillips fbdf0ba4e5 Language tests: checked on PHP 5.2.6, 5.3 and 6.0 (Windows, Linux and Linux 64 bit). 2008-11-28 10:40:37 +00:00
Stanislav Malyshev 311e37c4b1 report fix 2008-11-27 23:51:45 +00:00
Ilia Alshanetsky e0beb2850f Back to dev 2008-11-27 21:28:37 +00:00
Ilia Alshanetsky c66894df94 5.2.7RC5 2008-11-27 21:21:42 +00:00
Ilia Alshanetsky 460b6552cd Updated NEWS file with CVE #s 2008-11-27 17:29:20 +00:00
Ilia Alshanetsky e12dba474e MFB: Fixed bug #46696 (cURL fails in upload files with specified
content-type)
2008-11-27 17:01:29 +00:00
Ant Phillips 39de96fa50 Directory tests: checked on PHP 5.2.6, 5.3 and 6.0 (Windows, Linux and Linux 64 bit). 2008-11-27 14:51:16 +00:00
Dmitry Stogov ac0fc54ec4 Fixed bug #44882 (SOAP extension object decoding bug) 2008-11-27 14:49:46 +00:00
Ant Phillips 7446484181 Latest and greatest versions of these session tests - checked on 5.2.X snap on Windows, Linux and Linux 64 bit. 2008-11-27 14:30:58 +00:00
Ant Phillips bc80465549 Latest and greatest versions of these session tests - checked on 5.2.X snap on Windows, Linux and Linux 64 bit. 2008-11-27 13:51:07 +00:00
Dmitry Stogov 84ce97f43d Fixed bug #46427 (SoapClient() stumbles over its "stream_context" parameter) 2008-11-27 11:25:22 +00:00
Arnaud Le Blanc 9ed3965300 MFH: Fixed bug #46673 (stream_lock call with wrong paramater) 2008-11-26 04:20:41 +00:00
Arnaud Le Blanc fbde968865 MFH: Missed file from commit for #44181 & #44182 2008-11-26 04:08:30 +00:00
Arnaud Le Blanc 5673f9f2c1 MFH: Fixed bug #42473 (ob_start php://output and headers) 2008-11-26 01:21:10 +00:00
Arnaud Le Blanc 22f994ad4e MFH: Fixed bugs #44181 & #44182 (extract() and references)
(robin_fernandes at uk dot ibm dot com)
2008-11-26 01:00:36 +00:00
Ant Phillips 701c5a64a4 File system tests: checked on PHP 5.2.6, 5.3 and 6.0 (Windows, Linux and Linux 64 bit). There seems to be an issue with trailing slashes on 5.2.7 RC1 which may cause some tests to fail... 2008-11-25 11:33:41 +00:00
Arnaud Le Blanc 3e82b3d3ae MFH: Fixed endless loop in cli when ignore_user_abort is on 2008-11-25 03:53:00 +00:00
Stanislav Malyshev 40607b254a fix php_value application order for Apache 2008-11-24 22:18:25 +00:00
Ilia Alshanetsky 0d56cd2dfc MFB: Fixed bug #46626 (mb_convert_case does not handle apostrophe correctly) 2008-11-24 21:23:45 +00:00
Arnaud Le Blanc 90f9f11fbe MFH 2008-11-24 19:17:56 +00:00
David Soria Parra 6686c41e3d MFH: Revert fix for 43782, as it caused problems. 2008-11-24 15:37:33 +00:00
Jani Taskinen d9204dbce2 - Keep the style ;) 2008-11-24 12:49:00 +00:00
Arnaud Le Blanc d6b86e9d4d MFH: Fixed bug #46649 (Setting array element with that same array produces
inconsistent results)
2008-11-23 20:36:32 +00:00
Ilia Alshanetsky d2bb47958f BFN: Fixed bug #46643 (Upgraded PCRElib to 7.8) 2008-11-23 18:31:05 +00:00
Ilia Alshanetsky d8b835620c MFB: Fixed bug #46643 (Upgraded PCRElib to 7.8) 2008-11-23 18:30:38 +00:00
Felipe Pena 3d8b5526af - BFN 2008-11-22 11:24:15 +00:00
Felipe Pena c22036851a - Missing SKIPIF :( 2008-11-21 22:56:20 +00:00
Felipe Pena 958fcd4c65 - Fixed tests 2008-11-21 22:50:22 +00:00
Felipe Pena 572b3f83a3 - MFH: Fixed memory leak in readline_callback_handler_remove() 2008-11-21 22:48:27 +00:00
Felipe Pena f358f96deb - New tests 2008-11-21 21:44:32 +00:00
Felipe Pena d5e2d221cd - Fix test 2008-11-21 21:03:47 +00:00
Felipe Pena bec4b5a45e - New tests 2008-11-21 21:01:23 +00:00
Ilia Alshanetsky 42066c72d1 Back to dev 2008-11-21 00:12:18 +00:00
Ilia Alshanetsky 574d2c8987 5.2.7RC4 2008-11-21 00:08:49 +00:00
Felipe Pena c9f76fb96f - BFN 2008-11-20 22:29:49 +00:00
Felipe Pena 22851007ca - MFH: Fixed memory leaks in readline_completion_function() 2008-11-20 22:26:32 +00:00
Iain Lewis 2b251dc603 Adding some tests for array_product 2008-11-20 15:49:09 +00:00
Mark Karpeles dddacf337a - ext/wddx: fixed test 003 which depended on arch (32bits vs 64bits) 2008-11-20 15:12:28 +00:00
Felipe Pena f4cc20d972 - MFH: Added ZEND_FETCH_RESOURCE_NO_RETURN 2008-11-20 14:51:30 +00:00
Mark Karpeles c139ff0ae1 - MFH: ext/wddx: classes providing __sleep() are stored without properties (fixed) 2008-11-20 14:35:22 +00:00
Ilia Alshanetsky d65d363741 Proper bug id 2008-11-19 23:53:18 +00:00
Pierre Joye 6f24d39212 - #46497 2008-11-19 17:02:33 +00:00
Pierre Joye fa0e88725c - #46497, wddx_serialize treats input as ISO-8859-1 (Mark Karpeles) 2008-11-19 17:01:17 +00:00
Felipe Pena 50e05895c0 - Fixed test 2008-11-19 17:00:13 +00:00
Ant Phillips dfd31ff703 Reflection tests: checked on PHP 5.2.6, 5.3 and 6.0 (Windows, Linux and Linux 64 bit). 2008-11-18 15:36:32 +00:00
Pierre Joye 0d3534ac1d - #41033 2008-11-18 02:15:54 +00:00
Pierre Joye 0f50210635 - fix title 2008-11-18 02:03:19 +00:00
Pierre Joye a46b6655a4 - MFH: #41033, enable signing with DSA keys 2008-11-18 02:02:19 +00:00
Ilia Alshanetsky bb592b40ab More detailed bug fix description 2008-11-17 23:40:54 +00:00
Ant Phillips 29023692ce Commit tests for ext/reflection 2008-11-17 11:20:19 +00:00
Pierre Joye bb80704332 - skip if pcntl is missing 2008-11-16 23:19:33 +00:00
Pierre Joye f38c96e85f - MFH: manage references of stream context properly (Tony)
- add tests for bug #46127
2008-11-16 23:12:38 +00:00
Ilia Alshanetsky aea970fbc2 MFB: Fixed memory leak inside readline_callback_handler_install() function 2008-11-16 18:01:25 +00:00
Felipe Pena 8c6eedb868 - MFH: Better fix 2008-11-13 23:23:11 +00:00
Stanislav Malyshev 682f0c5343 add error_log change 2008-11-13 19:23:51 +00:00
Stanislav Malyshev d3376cb591 Add option to send error_log directly to SAPI 2008-11-13 19:22:01 +00:00
Hannes Magnusson 8c5fafcdb9 MFH: Document the xmlrpc_errors option 2008-11-13 19:06:59 +00:00
Ilia Alshanetsky 88dbe358e0 MFB: Fixed a bug inside dba_replace() that could cause file truncation with
invalid keys
2008-11-13 18:22:23 +00:00
Felipe Pena 83308cedf9 - Reverted last change, only in this branch 2008-11-13 14:53:55 +00:00
Felipe Pena 614d00ca89 - MFH: Fixed invalid reads 2008-11-13 13:09:47 +00:00
Felipe Pena 9bb9f270fa - MFH: Fixed a macro redefinition on BSD for different purpose 2008-11-12 23:38:15 +00:00
Felipe Pena 1bedb57dd4 - MFH: Removed unused variables 2008-11-12 17:50:37 +00:00
Felipe Pena c18fd01775 - Fix test 2008-11-12 17:29:50 +00:00
Pierre Joye 7e2f15eb3a - update NEWS for #14962 2008-11-12 12:01:29 +00:00
Pierre Joye 36b9272e3c - MFH:
- #14962, makes extractTo 2nd argument really optional
 - replace ZEND_ENGINE_2_1 by PHP_ZIP_USE_OO
 - sync tests
2008-11-12 11:59:26 +00:00
Felipe Pena cac8a72989 - Fixes and new tests 2008-11-11 18:42:00 +00:00
Felipe Pena d7a80059bb - New test 2008-11-11 16:16:20 +00:00
Felipe Pena a3de4d224a - BFN #46543 2008-11-11 13:32:55 +00:00
Felipe Pena ea70058067 MFH:
- Added ZEND_FETCH_RESOURCE2_NO_RETURN() (a version of ZEND_FETCH_RESOURCE2 but without the ZEND_VERIFY_RESOURCE() which contains RETURN_FALSE)
- Fixed bug #46543 (ibase_trans() memory leaks when using wrong parameters)
2008-11-11 13:29:50 +00:00
Arnaud Le Blanc c7411c2c96 MFH: Fixed stream_get_contents() when using $maxlength and socket is not
closed. indeyets@php.net on #46049.
2008-11-11 01:56:33 +00:00
Arnaud Le Blanc 3c01491e89 MFH: Fixed bug #44818 (php://memory writeable when opened read only) 2008-11-11 00:45:36 +00:00
Felipe Pena edd46ec6f7 - Make expected result compatible with recent Firebird version 2008-11-10 22:35:02 +00:00
Felipe Pena 13c8beed63 - New tests 2008-11-10 18:04:41 +00:00
Derick Rethans ffef452b62 - MFH: Make it work with bison 2.4. 2008-11-10 12:06:10 +00:00
Kalle Sommer Nielsen 63130eadc0 Fix NEWS 2008-11-09 11:39:27 +00:00
Timm Friebe b0419a1ef1 - Added note on bugfix for #30312
- Added entry on CS_ROW_FAIL patch fix
2008-11-09 10:33:53 +00:00
Rasmus Lerdorf 058a282133 Potential fix for bug #46525 2008-11-08 22:45:29 +00:00
Felipe Pena ab5e85b27d - MFH: Added connection checking on SKIPIF 2008-11-08 15:39:32 +00:00
Timm Friebe 6d6138d9d9 - MFB: Initial release 2008-11-08 14:28:26 +00:00
Timm Friebe 839b81668c - Adjusted tests to reality
# We select 123456789.12345679, we should have this returned and not
# something 123456789.123457 (rounded)
2008-11-08 14:24:55 +00:00
Timm Friebe ea1453a741 - MFB: Made this test independent of date format 2008-11-08 14:24:38 +00:00
Timm Friebe 00772abea5 - MFB: Fixed problems with segmentation faults when using unbuffered queries
# Double-freeing results caused these
2008-11-08 14:15:08 +00:00
Timm Friebe b42da54e51 - MFB: Changed while loop in php_sybase_fetch_result_row() to also read rows with
retcode == CS_ROW_FAIL.
# Reported by Detlef Neumerkel and Frank Irnich of Sybase
2008-11-08 12:06:08 +00:00
Timm Friebe ef15af78dd - MFB: Made this test independent of field types in master..sysprocesses
# char on ASE 11, varchar on ASE 15
2008-11-08 12:01:10 +00:00
Timm Friebe c5b45f2281 - Changed source to read host, user and password from environment
# E.g. nmake test TESTS=ext/sybase_ct PHP_SYBASE_HOST=db PHP_SYBASE_USER=sa PHP_SYBASE_PASS=***
2008-11-08 11:59:57 +00:00
Scott MacVicar df7f836d31 MFH: Support versions of valgrind from SVN. The version is shown as 3.4.0.SVN
Save the bunnies
2008-11-08 02:05:03 +00:00
Felipe Pena 9d052f239f MFH:
- Fixed bug #46521 (Curl ZTS OpenSSL, error in config.m4 fragment)
  Noticed by: jd at cpanel dot net
2008-11-07 21:18:45 +00:00
Ilia Alshanetsky 482d6ad927 Back to dev 2008-11-06 21:53:48 +00:00
Ilia Alshanetsky f2445bd57a 5.2.7RC3 2008-11-06 21:50:36 +00:00
Felipe Pena a054d74c4a BFN #45166 2008-11-06 01:36:40 +00:00
Felipe Pena 779adcc113 MFH:
- Fixed wrong check
- Improved test
2008-11-05 23:42:05 +00:00
Felipe Pena 347fa0eb1b - Fixed bug #45166 (substr() overflow changes) (now synced with other branches) 2008-11-05 18:55:02 +00:00
Hannes Magnusson ac10dfa0ce Fixed bug#46445 (run-tests2.php is missing or README.TESTING2 is unneeded) 2008-11-05 17:16:07 +00:00
Kalle Sommer Nielsen def82c26f2 MFH: New tests for syslog 2008-11-05 09:59:46 +00:00
Arnaud Le Blanc 9ecba09de6 BFN 2008-11-04 21:07:44 +00:00
Arnaud Le Blanc be8c7c0988 MFH: Open STDIN and php://stdin streams with the relevant
wrapper when the file descriptor is a socket (inetd, etc)
Fixes bug #43731
2008-11-04 21:05:55 +00:00
Arnaud Le Blanc 695b43a535 MFH: initialize memory 2008-11-04 20:41:37 +00:00
Arnaud Le Blanc 1ba7b093a6 MFH: Fixed stream_get_line() to behave as documented on non-blocking
streams
2008-11-04 17:07:20 +00:00
Arnaud Le Blanc 930a8feb66 MFH: Avoids fclose() from complaining that stream_socket_pair() streams
have not been closed
2008-11-04 16:48:07 +00:00
Arnaud Le Blanc c6aca784f9 MFH: Fixed bug #46024 (stream_select() doesn't return the correct number) 2008-11-04 00:43:06 +00:00
Felipe Pena 7c76add7fe - MFH: Improved fix 2008-11-03 23:45:17 +00:00
Arnaud Le Blanc 736f29a9a9 cleanup 2008-11-03 23:34:36 +00:00
Arnaud Le Blanc c644ba688b MFH: Fixed bug #44607 (stream_get_line unable to correctly identify the
"ending" in the stream content)
2008-11-03 23:29:50 +00:00
Arnaud Le Blanc 07fe6986cc Fixed bug #46379 (Infinite loop when parsing '#' in one line file)
# PHP_5_2 only
2008-11-03 23:26:24 +00:00
Felipe Pena 8290469bd6 - New test 2008-11-03 21:49:49 +00:00
Felipe Pena fc53f0b6ea MFH:
- Fixed endless loop in PDOStatement::debugDumpParams()
  patch by: Jonah H. Harris <jonah.harris at gmail dot com>
2008-11-03 20:55:01 +00:00
Elizabeth Marie Smith 3591f8b356 MFH 2008-11-03 19:28:23 +00:00
Arnaud Le Blanc 5e5e4293c3 MFH: Fixed bug #45303 (Opening php:// wrapper in append mode results
in a warning)
2008-11-03 16:59:18 +00:00
Arnaud Le Blanc 2d36d06f35 credit 2008-11-03 16:08:07 +00:00
Arnaud Le Blanc 77f82b1401 MFH: Fixed bug #43353 (wrong detection of 'data' wrapper causes notice) 2008-11-03 15:48:05 +00:00
Felipe Pena 378bd3060e - MFH: Fixed bug #44327 (PDORow::queryString property & numeric offsets / Crash) 2008-11-03 15:41:35 +00:00
Felipe Pena f4d34bb28e - MFH: Fixed bug #42855 (dns_get_record() doesn't return all text from TXT record)
patch by: a dot u dot savchuk at gmail dot com
2008-11-03 11:39:34 +00:00
Arnaud Le Blanc 2f29a1240e MFH: Fixed bug #42718 (FILTER_UNSAFE_RAW not applied when configured as
default filter)
2008-11-02 22:04:40 +00:00
Jani Taskinen ea8aea176a - Ignore crap 2008-11-02 14:48:52 +00:00
Jani Taskinen 29b9bddb0c MF53: added missing constants 2008-11-02 14:12:15 +00:00
Jani Taskinen f848fb0fa1 MFH: fixed the macros 2008-11-01 23:09:51 +00:00
Jani Taskinen 1d608d09f2 - Fix skip conditions 2008-11-01 22:48:52 +00:00
Jani Taskinen 07c3dbdc8c MF53: Sync with HEAD and PHP_5_3 2008-11-01 22:42:38 +00:00
Jani Taskinen 7fc67ed4a9 [DOC] MF53: Forward compatibility 2008-11-01 22:39:14 +00:00
Jani Taskinen 98e3ad366a - Fix for real: Actually one of these "let's not commit to other branches"
fixes some people like to do..
2008-11-01 22:12:11 +00:00
Jani Taskinen f7ced2b8af - Fix tests 2008-11-01 22:06:23 +00:00
Felipe Pena 416679fae5 - Fixed test (#46438) 2008-10-31 22:43:32 +00:00
Felipe Pena 192e130e52 - Fixed test 2008-10-31 12:55:10 +00:00
Felipe Pena cc6e678224 - MFB: Fixed memory leak when using offset out of range. (php_stream_copy_to_mem returns 0, but the empty string is alloced) 2008-10-30 15:56:23 +00:00
Felipe Pena 94e5be1bdc MFH:
- Fix the fix
- Improved test
2008-10-30 14:36:34 +00:00
Lars Strojny 930fad7381 MFH: #44938 2008-10-30 14:23:03 +00:00
Jani Taskinen 3e32e77243 - had nothing else to do :) 2008-10-30 11:04:10 +00:00
Felipe Pena 756ab17389 - MFH: Fixed bug #46426 (3rd parameter offset of stream_get_contents not works for "0") 2008-10-30 10:11:52 +00:00
Dmitry Stogov 4c3bc2ab43 Fixed contributors 2008-10-30 08:56:38 +00:00
Dmitry Stogov e173d61581 Fixed ability to use "internal" heaps in extensions. 2008-10-30 08:55:09 +00:00
Antony Dovgal 250fec018a fix test 2008-10-30 08:45:21 +00:00
Rob Richards dcba47f8dc BFN 2008-10-29 21:23:45 +00:00
Rob Richards a27ca9810a MFH: fix bug #46406 (Unregistering nodeclass throws E_FATAL) 2008-10-29 21:22:34 +00:00
Ilia Alshanetsky b0ab190e62 MFB: Fixed bug #44938 (gettext functions crash with overly long domain). 2008-10-29 20:41:43 +00:00
Ilia Alshanetsky 3f9d6e9d7c MFB: Fixed bug #42294 (Unified solution for round() based on C99 round). 2008-10-29 20:17:33 +00:00
Felipe Pena acecc06940 - BFN #46064 2008-10-29 13:36:47 +00:00
Felipe Pena a04ec69406 - MFH: Fixed bug #46064 (Exception when creating ReflectionProperty object on dynamicly created property) 2008-10-29 13:34:08 +00:00
Ilia Alshanetsky 3b7b54ac68 NEWS 2008-10-28 21:23:12 +00:00
Derick Rethans 7922a83ac0 - Updated to version 2008.9 (2008i) 2008-10-28 08:17:47 +00:00
Arnaud Le Blanc 617a8855b8 MFH: Fix compile error 2008-10-27 14:59:14 +00:00
Andrey Hristov dc710ce12f MFH: Fix an issue with mysql.default_port not being used 2008-10-27 14:36:02 +00:00
Felipe Pena 77bce434a0 - Fixed test 2008-10-26 23:00:53 +00:00
Kalle Sommer Nielsen e486197f1e MFB: Fixed #44748 (php.ini comments on magic_quotes_gpc promote bad practices) 2008-10-26 15:39:44 +00:00
Ilia Alshanetsky a5e30d595f MFB: Fixed compiler warning 2008-10-26 14:35:59 +00:00
Felipe Pena d1eb03eec7 - MFH: Fixed bug #46388 (stream_notification_callback inside of object destroys object variables) 2008-10-26 13:48:16 +00:00
Derick Rethans 21490362dd - MFH: Fixed weekdays adding/subtracting algorithm.
- MFH: Fixed some ambiguities in the date parser.
- MFH: Fixed bug #45529 (new DateTimeZone() and date_create()->getTimezone()
  behave different).
- 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).
- MFH: Fixed a bug with the YYYY-MM format not resetting the day correctly.
- MFH: Fixed a bug in the DateTime->modify() methods, it would not use the
  advanced relative time strings.
- MFH: Fixed a segfault - simply a forgotten return;
2008-10-26 11:27:32 +00:00
Felipe Pena 93d952884d - BFN #46389 2008-10-26 02:24:23 +00:00
Felipe Pena e18c762764 - MFH: Fixed bug #46389 (NetWare needs small patch for _timezone) (patch by guenter at php.net) 2008-10-26 02:02:05 +00:00
Felipe Pena 48d1b3a51a - MFH: Fixed bug #46382 (Mismatching allocation and deallocation in stresstest.cpp) (dvice_null at yahoo dot com) 2008-10-24 23:17:04 +00:00
Antony Dovgal 334e8973db fix test 2008-10-24 20:15:34 +00:00
Antony Dovgal d3bf8e3016 BFN 2008-10-24 13:56:27 +00:00
Antony Dovgal 340bd30aa6 fix bug #46381 (wrong $this passed to internal methods causes segfault) 2008-10-24 13:55:37 +00:00
Felipe Pena 9fca0051a6 - MFH: Fixed bug #46082 (stream_set_blocking() can cause a crash in some circumstances) 2008-10-24 10:46:05 +00:00
Felipe Pena 44c184862b - MFH: Removed unnecessary check for array (#46273, noticed by serovov at gmail dot com) 2008-10-24 10:28:56 +00:00
Ilia Alshanetsky 51466116c0 Back to dev 2008-10-23 22:38:19 +00:00
Ilia Alshanetsky 705f67c884 5.2.7RC2 2008-10-23 22:36:05 +00:00
Arnaud Le Blanc 6928982fb3 BFN 2008-10-23 20:23:38 +00:00
Arnaud Le Blanc 8b969f44d7 MFH: Fixed bug #46360 (TCP_NODELAY constant for socket_{get,set}_option)
[DOC] Added TCP_NODELAY constant to sockets extension, to be used with
socket_set_option() to disable TCP's Nagle algorithm. Avail in PHP>=5.2.7.
2008-10-23 20:21:30 +00:00
Felipe Pena a29aef485a - BFN #43925 2008-10-23 18:57:07 +00:00
Felipe Pena 8d88e230fc - MFH: Fixed bug #43925 (Incorrect argument counter in prepared statements with pgsql) 2008-10-23 18:56:05 +00:00
Jani Taskinen baccc9b2e9 - It is past, not command. Reorder. 2008-10-23 17:55:57 +00:00
Pierre Joye c49953a8f6 - entries for zip changes 2008-10-23 16:22:01 +00:00
Pierre Joye 08a1795767 - remove unused files 2008-10-23 16:16:56 +00:00
Pierre Joye 4fc1246d11 - add missing files 2008-10-23 16:15:54 +00:00
Pierre Joye 047bda3cb8 - MFH
- Update ziplib
 - flatten path and make them relative before extraction
 - remove unnecessary export
2008-10-23 16:13:51 +00:00
Ilia Alshanetsky 8d916b2ec6 MFB: revert define() fix for now 2008-10-22 23:29:28 +00:00
Arnaud Le Blanc bb9e8e6924 MFH: Fixed FCGI_GET_VALUES requests (fixes #45522) 2008-10-21 16:43:59 +00:00
Zoe Slattery f432258b02 Committing test for till 2008-10-21 09:37:41 +00:00
Ilia Alshanetsky 1b0d1d6bcb MFB:Fixed bug #46343 (IPv6 address filter accepts invalid address) 2008-10-20 23:23:45 +00:00
Rob Richards c9e4d5b668 BFN 2008-10-20 19:30:56 +00:00
Rob Richards 8767f16ff3 MFH: fix bug #46323 (compilation of simplexml for NetWare breaks) 2008-10-20 19:29:40 +00:00
Arnaud Le Blanc f31c8fb4aa MFB PHP_5_3: Fixed #46313 (Magic quotes broke $_FILES) 2008-10-20 18:45:24 +00:00
Rob Richards 68a04f616b BFN 2008-10-20 12:46:57 +00:00
Rob Richards 6a2fe2ad1a MFH: fix bug #46335 (DOMText::splitText doesn't handle multibyte characters)
add test
2008-10-20 12:46:23 +00:00
Ilia Alshanetsky 0e91f80a4d MFB: Fixed bug #46341 (Added missing validation checks into define() for
class constants)
2008-10-19 18:16:43 +00:00
Johannes Schlüter 0e306ec3bc Add %S and %A to EXPECTF, they work like %s and %a but match empty strings, too 2008-10-19 18:07:04 +00:00
Etienne Kneuss c31e0c803e MFB: Fix #46317 (Iterator class not properly checked) 2008-10-19 18:00:42 +00:00
Antony Dovgal 8d7590996d revert the patch, it's not needed in this branch 2008-10-18 09:33:21 +00:00
Antony Dovgal 4768b28fb1 MFH: fix memleak 2008-10-17 22:10:27 +00:00
Zoe Slattery a82df14bef missed one! 2008-10-17 15:00:54 +00:00
Zoe Slattery 7d46d0480e Replacing explicit object ID with %d 2008-10-17 14:57:03 +00:00
Zoe Slattery 867546efca Committing for Robin Fernandes 2008-10-17 14:26:46 +00:00
Dmitry Stogov 739c75b050 Fixed bug #46308 (Invalid write when changing property from inside getter) 2008-10-17 10:25:56 +00:00
Ilia Alshanetsky 0621602408 MFB: Fixed bug #46319 (PHP sets default Content-Type header for HTTP 304
response code, in cgi sapi)
2008-10-17 01:32:59 +00:00
Moriyoshi Koizumi f87643038f * MFH remainder 2008-10-16 17:38:42 +00:00
Dmitry Stogov e0f657a729 Fixed bug #42862 (IMAP toolkit crash: rfc822.c legacy routine buffer overflow) 2008-10-16 16:20:53 +00:00
Dmitry Stogov 9973dfd839 ws 2008-10-16 15:49:18 +00:00
Dmitry Stogov 35f7c44a7d Fixed bug #43723 (SOAP not sent properly from client for <choice>) 2008-10-16 15:36:46 +00:00
Moriyoshi Koizumi d896ea0b9a - MFH & BFN 2008-10-16 01:02:39 +00:00
Felipe Pena 0f6f3c4771 MFH:
- Fixed:
  . Memory leak in pg_delete() when using PGSQL_DML_STRING.
  . Bug #24679 (pg_insert problem!)
  . Bug #35996 (pg_meta_data should take the schema into account)
  . Bug #40808 (pg_insert problem)
  . Bug #42078 (pg_meta_data mix tables metadata from different schemas)
- Improved:
  . Error messages
- Added:
  . Tests
2008-10-16 00:45:21 +00:00
Felipe Pena 2976c867a1 - Fixed possible efree(NULL) 2008-10-15 13:34:45 +00:00
Ilia Alshanetsky 208d8e75f1 MFB: Fixed bug #46271 (local_cert option is not resolved to full path) 2008-10-14 23:40:25 +00:00
Felipe Pena eff30bdfcb - MFH: Fixed bug #46292 (PDO::setFetchMode() shouldn't requires the 2nd arg when using FETCH_CLASSTYPE) 2008-10-14 17:43:20 +00:00
Felipe Pena 4045a51376 - BFN #37100 2008-10-13 13:47:24 +00:00
Felipe Pena 043c66806a MFH:
- Fixed bug #37100 (data is returned truncated with BINARY CURSOR)
  Patch by Tony
2008-10-13 13:46:25 +00:00
Derick Rethans 78253b53e3 - Updated to version 2008.8 (2008h) 2008-10-13 11:45:48 +00:00
Ilia Alshanetsky 09b63f25d8 WS 2008-10-12 19:00:58 +00:00
Felipe Pena 338d7dbca0 - MFB: Fixed compiler warnings 2008-10-12 15:01:40 +00:00
Felipe Pena 736efdcfc1 - MFB: Removed unnecessary strcmp call (thanks Tony) 2008-10-12 13:46:51 +00:00
Felipe Pena 7429cd2181 - New tests 2008-10-12 13:25:35 +00:00
Felipe Pena 5adf804213 - MFB: Complete the fix for #46274, and tests 2008-10-12 13:03:31 +00:00
Felipe Pena 9c16e1d9d2 - BFN: #46274, #46249 2008-10-11 19:20:41 +00:00
Greg Beaver fcec48fcc2 fix Bug #46026: bz2.decompress/zlib.inflate filter tries to decompress after end of stream 2008-10-11 19:12:11 +00:00
Felipe Pena 5feb5e5a89 MFH:
- Fixed bug #46249 (pdo_pgsql always fill in NULL for empty BLOB)
- Fixed bug #46274 (pdo_pgsql - Segfault when using PDO::ATTR_STRINGIFY_FETCHES and blob)
2008-10-11 19:05:30 +00:00
Pierre Joye 8e87cdf7ac - MFH: add nts postfix to the dist filenames 2008-10-10 23:38:15 +00:00
Felipe Pena 661569eba6 - Fixed test 2008-10-10 22:10:11 +00:00
Felipe Pena c073b42ba2 - Added skipif 2008-10-10 19:53:38 +00:00
Felipe Pena 64fcd3b4e1 - New test 2008-10-10 19:50:04 +00:00
Felipe Pena 6843a38b2c - MFH: Static'fication 2008-10-10 19:35:49 +00:00
Felipe Pena 7b952b33c6 - BFN #46139 2008-10-10 16:49:26 +00:00
Felipe Pena 177c1f128b MFH:
- Fixed bug #46139 (PDOStatement->setFetchMode() forgets FETCH_PROPS_LATE)
  Initial patch by: chsc at peytz dot dk
2008-10-10 16:48:13 +00:00
Dmitry Stogov a1a1249753 Fixed bug #46246 (difference between call_user_func(array($this, $method)) and $this->$method()) 2008-10-10 15:53:31 +00:00
Antony Dovgal 27fbfa3d08 backport convenience macro 2008-10-10 14:47:17 +00:00
Felipe Pena 16021cb6e3 - BFN: #44251, #41125 2008-10-10 12:15:43 +00:00
Felipe Pena f6221397ac MFH:
- Fixed bug #44251 (Question mark and an escaped singel quote lead to an exception)
- Fixed bug #41125 (PDO mysql + quote() + prepare() can result in seg fault)
  Patch by: tsteiner at nerdclub dot net
2008-10-10 12:11:36 +00:00
Ilia Alshanetsky d4523d6678 Back to dev 2008-10-09 23:16:41 +00:00
Ilia Alshanetsky 3e92d040f6 5.2.7RC1 2008-10-09 23:12:20 +00:00
Felipe Pena b66673da7d - MFH: Fixed bug pecl#9641 (Unable to add driver specific methods to PDOStatement) (patch by Christopher Jones) 2008-10-09 13:01:40 +00:00
Felipe Pena 4237bea6fe - MFH: Fixed bug #45575 (Segfault with invalid non-string as event handler callback)
patch by Christian seiler
2008-10-07 18:23:05 +00:00
Felipe Pena afc82532cc - MFH: Fixed bug #46247 (ibase_set_event_handler() is allowing to pass callback without event) 2008-10-07 15:31:48 +00:00
Ilia Alshanetsky bef0a451e3 MFB:
Fixed bug #46042 (memory leaks with reflection of mb_convert_encoding())
 Fixed bug #46110 (XMLWriter - openmemory() and openuri() leak memory on
  multiple calls).
 Fixed bug #46206 (pg_query_params/pg_execute convert passed values to
  strings).
2008-10-07 14:35:04 +00:00
Felipe Pena 73042afe10 - MFH: Fixed code ("Division by zero" anymore) 2008-10-07 12:53:08 +00:00
Felipe Pena 2f2a0d8259 - MFH: Fixed compiler warning 2008-10-06 15:14:17 +00:00
Felipe Pena 8b603dfa07 - BFN #45373 2008-10-06 15:11:43 +00:00
Felipe Pena 32f7c6a42d - MFH: Fixed bug #45373 (php crash on query with errors in params) 2008-10-06 14:37:13 +00:00
Derick Rethans 5bade4dcab - Updated to version 2008.7 (2008g) 2008-10-06 14:27:51 +00:00
Etienne Kneuss af17616e0e MFH: bug #46115 (Fixes nothing in 5.2, but sync code) 2008-10-06 13:45:42 +00:00
Etienne Kneuss 47d935664a Fix #46222 (Allow indirect modifications of Arrays inside ArrayObject + fix EG(uninitialized_zval_ptr) overwrite) 2008-10-05 14:49:25 +00:00
Arnaud Le Blanc 487e14d89c MFH: Fixed #46164 (stream_filter_remove() closes the stream) 2008-10-05 01:40:38 +00:00
Felipe Pena e5a7ea3293 MFH:
- Fixed bug #44991 (Compile Failure With freetds0.82)
  patch by:
  - jklowden at freetds dot org (ext/mssql)
  - matthias at dsx dot at (ext/pdo_dblib)
2008-10-04 13:19:22 +00:00
Felipe Pena 5e95dc593a - Fixed compiler warning 2008-10-04 13:11:36 +00:00
Jani Taskinen 619b8bb5ea reorder 2008-10-03 14:52:52 +00:00
Mikko Koppanen 4273a9b4dc Adds signal handling around popen/pclose in mail.c.
Related information on bugs #8992 and #14032
Original patch by D. Parthey
2008-10-03 13:59:33 +00:00
Felipe Pena df9dc12b1e - MFH: Fixed bug #46215 (json_encode mutates its parameter and has some class-specific state) 2008-10-02 03:41:24 +00:00
Antony Dovgal 3a4b2c8437 remove BOM 2008-10-01 12:37:15 +00:00
Kalle Sommer Nielsen 9cd9d67790 Fix bugs order 2008-10-01 11:09:02 +00:00
Scott MacVicar 33addf0ac5 MFH: Fix bug #46209 - Remove license condition that is no longer required. 2008-10-01 11:04:27 +00:00
Dmitry Stogov f289abf4d7 Fixed bug #43045 (SOAP encoding violation on "INF" for type double/float) 2008-10-01 08:42:26 +00:00
Rob Richards 9370d047ef BFN 2008-09-28 12:02:59 +00:00
Rob Richards 87ddfb9fbd MFH: fix bug #46191 (BC break: DOMDocument saveXML() doesn't accept null) 2008-09-28 12:01:21 +00:00
Antony Dovgal 763eda2f57 fix test 2008-09-24 13:13:26 +00:00
Felipe Pena eff8a93ded - MFH: Fixed bug #46157 (PDOStatement::fetchObject prototype error) 2008-09-23 23:10:01 +00:00
Rob Richards 842b350891 MFH: fix hints causing phpdoc crash 2008-09-22 15:10:24 +00:00
Felipe Pena d7064d84cb - BFN #46088 2008-09-22 13:17:58 +00:00
Felipe Pena c1b5abf605 - MFH: Fixed bug #46088 (RegexIterator::accept - segfault) 2008-09-22 13:15:16 +00:00
Greg Beaver e6f7b32deb fix Bug #46147: after stream seek, appending stream filter reads incorrect data 2008-09-22 01:25:44 +00:00
Arnaud Le Blanc fe49acfcb9 MFH: Fixed #46059 (Compile failure under IRIX 6.5.30 building posix.c) 2008-09-20 22:12:59 +00:00
Antony Dovgal 10b69e0f0f fix test 2008-09-18 13:26:05 +00:00
Antony Dovgal 31458c1a0d fix typo 2008-09-18 13:23:00 +00:00
Antony Dovgal 64125d247f fix test 2008-09-18 08:39:23 +00:00
Johannes Schlüter 0f6e281034 MFH Fix #44424 (Extending PDO/MySQL class with a __call() function doesn't work) 2008-09-16 23:37:35 +00:00
Antony Dovgal 03f74b711e MFH 2008-09-16 14:36:39 +00:00
Derick Rethans 8f037b3fe4 - Updated to version 2008.6 (2008f) 2008-09-15 18:03:10 +00:00
Dmitry Stogov 11900b10a3 Fixed bug #43053 (Regression: some numbers shown in scientific notation). (int-e at gmx dot de)
some 64bit test files may need to be fixed
2008-09-15 11:47:03 +00:00
Ilia Alshanetsky 929a21247c MFB: Fixed bug #45580 (levenshtein() crashes with invalid argument) 2008-09-14 05:15:15 +00:00
Moriyoshi Koizumi 772cf98e95 - MFH: Reenable ini_set("mbstring.internal_encoding", VALUE) to work on runtime.
(noticed by Antony. Thanks!)
2008-09-13 19:53:53 +00:00
Moriyoshi Koizumi 6a4057d932 - MFH: Properly initialize/finalize the library. This plugs the leaks caused by
onig_new().
2008-09-13 02:34:23 +00:00
Moriyoshi Koizumi a86756745c - MFH: WS 2008-09-13 00:24:12 +00:00
Moriyoshi Koizumi 0caab530d5 - MFH: Add missing =DIR 2008-09-13 00:14:49 +00:00
Moriyoshi Koizumi 1d7f071044 - Remove unexposed functions. 2008-09-12 23:56:06 +00:00
Moriyoshi Koizumi 2dd8e6ec27 - MFH: Use memcmp() for binary safety. 2008-09-12 23:37:21 +00:00
Felipe Pena 071deec12a - MFH: Fixed unexpected zval changes 2008-09-12 01:16:55 +00:00
Arnaud Le Blanc 114982b068 MFH: Fixed #46053 (SplFileObject::seek - Endless loop) 2008-09-11 15:32:15 +00:00
Arnaud Le Blanc 9b04ebc3c8 MFH: Fixed #46051 (SplFileInfo::openFile - memory overlap) 2008-09-11 15:24:12 +00:00
Rob Richards 914437fd97 BFN 2008-09-11 14:24:28 +00:00
Rob Richards 7d5fe7701b MFH: fix bug #46047 (SimpleXML converts empty nodes into object with nested array)
add test
2008-09-11 14:23:33 +00:00
Rob Richards 88bce658af MFH: fix bug #45901 (wddx_serialize_value crash with SimpleXMLElement object)
add test
2008-09-11 14:18:27 +00:00
Rob Richards 6a2daa2673 BFN 2008-09-10 16:29:42 +00:00
Rob Richards 01d4ee611e MFH: fix bug #46003 (isset on nonexisting node return unexpected results)
add test
2008-09-10 16:29:18 +00:00
Rob Richards 972a2192f4 BFN 2008-09-10 15:41:04 +00:00
Rob Richards 77494520a4 MFH: fix bug #46029 (Segfault in DOMText when using with Reflection) 2008-09-10 15:40:34 +00:00
Felipe Pena 56ed148d64 - MFB: Fixed mem. leak 2008-09-10 13:48:14 +00:00
Felipe Pena 098c1b5397 - Union #45226 + #18916 2008-09-10 13:26:38 +00:00
Rob Richards c5ff10fdc9 BFN
fix order
2008-09-10 11:22:40 +00:00
Rob Richards 6dc4be7100 MFH: fix bug #45553 (Using XPath for attributes with a namespace does not work)
add test
2008-09-10 11:21:48 +00:00
Arnaud Le Blanc 667a563da0 MFH: Fix test 2008-09-10 11:12:38 +00:00
Felipe Pena e4c744789d BFN #45226, #18916 2008-09-10 00:20:49 +00:00
Felipe Pena da2f2ab130 MFH:
- Merged fix from SF project (Import Jeff Lawsons patches for XML datetime bug fixes)
  Fixed bugs:
  #45226 (xmlrpc_set_type() segfaults with valid ISO8601 date string)
  #18916 (xmlrpc_set_type() "not working")
2008-09-10 00:09:04 +00:00
Arnaud Le Blanc fe30db5faf MFH: Fixed bug #46031 (Segfault in AppendIterator::next) 2008-09-09 19:44:25 +00:00
Antony Dovgal b1b7471f73 add missing file 2008-09-08 10:24:38 +00:00
Felipe Pena d4979adb80 BFN #46010 2008-09-07 23:10:07 +00:00
Felipe Pena b886771f69 - MFH: Fixed bug #46010 (warnings incorrectly generated for iv in ecb mode) 2008-09-07 23:00:31 +00:00
Johannes Schlüter 7b668c6a7d - MFH: The exact error message might differ (it's "Not owner" on Solaris) 2008-09-07 22:35:15 +00:00
Arnaud Le Blanc 21482dd1e6 MFH: More accurate max_file_size / upload_max_filesize (fixes #45124) 2008-09-07 14:18:11 +00:00
Arnaud Le Blanc 3062692e49 MFH: Fixed #43540 (rfc1867 handler newlength problem) 2008-09-06 17:19:15 +00:00
Alexey Zakhlestin 2450cf4c0f MFB: Fixed bug #45405 (snmp extension memory leak) 2008-09-06 08:18:38 +00:00
Dmitry Stogov f45b732abf Fixed bug #45860 (header() function fails to correctly replace all Status lines) 2008-09-02 13:22:00 +00:00
Dmitry Stogov bc053b7628 Fixed Bug #43958 (class name added into the error message) 2008-09-02 09:45:36 +00:00
Jani Taskinen 42eaadd128 - Fixed bug entries 2008-09-02 08:58:00 +00:00
Patrick van Kleef 331c423dbe MFH: - Added odbc.default_cursortype to control the ODBC cursormodel
(bug #43668)
2008-09-01 15:48:09 +00:00
Patrick van Kleef e624492e40 MFH: - Fixed code to use ODBC 3.52 datatypes for 64bit systems (bug #43666) 2008-09-01 15:36:56 +00:00
Dmitry Stogov 70063c1195 Fixed bug #42318 (problem with nm on AIX, not finding object files) 2008-09-01 13:15:15 +00:00
Jani Taskinen 69378b449c [DOC]- Fixed bug #45956 (parse_ini_file() does not return false with syntax errors in parsed file)
[DOC] note: change will be in since 5.2.7
2008-08-31 00:21:19 +00:00
Rasmus Lerdorf 6e1fad3505 Fix the assert 2008-08-30 18:28:01 +00:00
Rasmus Lerdorf a1ee496a50 Fix for bugs 13961, 39927 and 45947 2008-08-30 16:50:24 +00:00
David Soria Parra 8555d34ba5 MFH: Fixed bug #43782 (feof() does not detect timeout on socket) 2008-08-27 07:48:37 +00:00
Jani Taskinen 77e07a631a MFH 2008-08-26 23:26:27 +00:00
Jani Taskinen e83e18b8f8 MFH: sendmail mess cleared (PHP_PROG_SENDMAIL was not used at all, see also bug #42946) 2008-08-26 23:19:22 +00:00
Dmitry Stogov 9a4918af76 Fixed destruction of dl() loaded extensions 2008-08-22 15:31:38 +00:00
Antony Dovgal 72daf80c47 MFH: fix zend_register_functions() not displaying duplicate functions (reported by Gopal) 2008-08-22 14:52:47 +00:00
Felipe Pena 500d715ed3 - New tests 2008-08-22 13:40:54 +00:00
Sebastian Bergmann 20cc5b498f Fix ZTS build. 2008-08-22 08:17:02 +00:00
Felipe Pena ebdf8d3637 MFH:
- Fixed bug #45862 (get_class_vars is inconsistent with 'protected' and 'private' variables)
- Added some tests
2008-08-22 01:06:55 +00:00
Stanislav Malyshev 55612e2b06 report merged fix 2008-08-21 18:11:49 +00:00
Stanislav Malyshev 279f79570d merge fix for #43941 2008-08-21 18:10:48 +00:00
Dmitry Stogov a1672ca3e2 Fixed bug #45751 (Using auto_prepend_file crashes (out of scope stack address use)). (basant dot kukreja at sun dot com) 2008-08-21 13:42:36 +00:00
Dmitry Stogov d0c05b2643 Adder error code into error message 2008-08-21 11:27:42 +00:00
Rasmus Lerdorf b94207ccb8 Fix OSX build problem in this branch as well 2008-08-20 20:04:52 +00:00
Jani Taskinen 3a6cac2e6c MFH: - Fixed bug #44925 (preg_grep() modifies input array). (Nuno) 2008-08-20 01:21:47 +00:00
Jani Taskinen 244b57f272 MFH: test for bug #42737 2008-08-20 01:11:06 +00:00
Jani Taskinen 81d5bba936 MFH: Fix for bug #42737 (and #45850) 2008-08-20 00:52:13 +00:00
Felipe Pena 5b9e18dd61 - New test 2008-08-18 17:52:35 +00:00
Antony Dovgal 79b6a241ab MFH: fix bug #45028 (CRC32 output endianness is different between crc32() and hash()) 2008-08-18 14:33:00 +00:00
Jani Taskinen 1fd9b3f536 MFH: fix include 2008-08-18 10:50:10 +00:00
Antony Dovgal 2781ddf65e reverted because of test failures 2008-08-18 07:47:04 +00:00
Arnaud Le Blanc 42a2c5308e MFH: Fix tests (closes #45841) 2008-08-18 04:46:05 +00:00
Arnaud Le Blanc 6f44413558 MFH: Fixed bug #45392 (ob_start()/ob_end_clean() and memory_limit). 2008-08-18 04:09:38 +00:00
Moriyoshi Koizumi 6d8afbca87 - MFH: beware of signedness 2008-08-18 03:26:40 +00:00
Dmitry Stogov 16e6e2f04a Fixed double call to MSHUTDOWN in case of php-cgi -m 2008-08-15 07:30:31 +00:00
Felipe Pena 345ae37686 - Fixed tests (synced with 5_3 and HEAD) 2008-08-15 02:26:56 +00:00
Jani Taskinen 0e8700167a MFH: fix skipifs 2008-08-14 23:46:55 +00:00
Jani Taskinen 2712eb9b31 MFH 2008-08-14 23:45:22 +00:00
Jani Taskinen c901678ab1 MFH: fix tests 2008-08-14 23:42:01 +00:00
Jani Taskinen cb2b9fcf8b MFH 2008-08-14 22:51:50 +00:00
Jani Taskinen 26d7d2519d MFH:fix test 2008-08-14 21:56:13 +00:00
Jani Taskinen 1cd7ce6cf8 MFH: fix tests, add missing test 2008-08-14 20:57:13 +00:00
Jani Taskinen 8b0cd10768 do not leave crap behind 2008-08-14 20:55:31 +00:00
Jani Taskinen 84c5066dec MFH: fix tests 2008-08-14 20:53:31 +00:00
Jani Taskinen 7489a81e38 - Nuke annoying errors already silenced elsewhere too 2008-08-14 20:53:00 +00:00
Felipe Pena f26f786362 - New test 2008-08-14 19:17:13 +00:00
Felipe Pena 9915046344 - MFH: move declaration on top and fix build error 2008-08-14 16:34:30 +00:00
Jani Taskinen 85b00d1dd4 typoh 2008-08-13 19:43:48 +00:00
Antony Dovgal 02f8e3770d MFH: fix compile warnings (patch by Phil Oleson) 2008-08-13 08:09:55 +00:00
Dmitry Stogov fbb885cd6c Fixed bug #45805 (Crach on throwing exception from error handler) 2008-08-13 07:19:43 +00:00
Jani Taskinen 26f13b4b70 MFH: [DOC]- Added methods to change/disable --with-config-file-scan-dir=PATH at
MFH: [DOC]  startup:
MFH: [DOC]
MFH: [DOC]  To disable: Override default php.ini by using both -c and -n with
MFH: [DOC]              CGI/CLI or set "PHP_INI_SCAN_DIR" environment variable
MFH: [DOC]              to an empty string.
MFH: [DOC]
MFH: [DOC]  To change: Simply set "PHP_INI_SCAN_DIR" environment variable to point
MFH: [DOC]             to another path.
MFH: - Fixed bug #42604 ("make test" fails with  --with-config-file-scan-dir=/some/path)
MFH: - Implemented FR #45114 (Option to change --with-config-file-scan-dir)
2008-08-13 01:01:29 +00:00
Christian Seiler e08c90c68d - News: http://news.php.net/php.cvs/52239 2008-08-12 21:03:35 +00:00
Arnaud Le Blanc 43709499f9 MFH: clear stat cache in chroot() 2008-08-11 23:16:41 +00:00
Arnaud Le Blanc 6057b04dd0 news 2008-08-11 22:40:02 +00:00
Arnaud Le Blanc a1311b8bc2 MFH: Fixed #45181 (chdir() should clear relative entries in stat cache) 2008-08-11 22:39:42 +00:00
Christian Seiler b9ab70c0d2 - Fixed segmentation fault (test added) 2008-08-11 22:08:58 +00:00
Arnaud Le Blanc b28b6977bf MFH: Missing files in previous commit (Check the relevant path for open_basedir
in symlink())
2008-08-11 15:33:14 +00:00
Arnaud Le Blanc cf273715fb MFH: Check the relevant path for open_basedir in symlink() 2008-08-11 15:31:01 +00:00
Felipe Pena e249e02481 - BFN: #45765 2008-08-11 00:52:41 +00:00
Felipe Pena e0e1648359 - MFH: Fixed bug #45765 (ReflectionObject with default parameters of self::xxx cause an error) 2008-08-11 00:50:03 +00:00
Arnaud Le Blanc 02fc0f0255 MFH: Fixed bug #45581 (htmlspecialchars() double encoding &#x hex items) 2008-08-10 13:26:25 +00:00
Arnaud Le Blanc 969e64ad33 MFH:
Do not expand $target in symlink(). This made it impossible to symlink to a
symlink. This also caused the target to be wrongly expanded relatively to
the CWD when target was not an absolute path.
2008-08-10 11:55:26 +00:00
Felipe Pena 8df7dc9693 - Fixed test (LF) 2008-08-10 00:44:55 +00:00
Antony Dovgal 476aa6b90d disable the test on AIX 2008-08-09 22:35:34 +00:00
Antony Dovgal 1dd367b62d MFH: do not fail & segfault if malloc(0) returns NULL, that's expected 2008-08-09 22:01:35 +00:00
Arnaud Le Blanc 23cea0a4df *** empty log message *** 2008-08-08 09:34:08 +00:00
Antony Dovgal 5dd6078c14 not experimental anymore 2008-08-07 13:11:28 +00:00
Antony Dovgal ec9c01b2b2 remove EXPERIMENTAL flag 2008-08-07 13:07:33 +00:00
Antony Dovgal 78acd746d4 fix test
NaN != NaN
2008-08-07 08:52:11 +00:00
Kalle Sommer Nielsen 718da04673 Backport #45406 (session.serialize_handler declared by shared extension fails) to PHP_5_2 2008-08-06 21:33:13 +00:00
Kalle Sommer Nielsen b6c6759799 Backport fix for #45406 - Patch by oleg dot grenrus at dynamoid dot com 2008-08-06 21:28:38 +00:00
Jani Taskinen d9535fbf69 useless entry 2008-08-05 21:48:18 +00:00
Stanislav Malyshev dda8d74cb5 ok, clarify :) 2008-08-05 21:40:48 +00:00
Stanislav Malyshev 1ce390f2c2 add bugfix 2008-08-05 21:24:42 +00:00
Stanislav Malyshev adf6be4bfb fix memnstr bug, by Laurent Gaffie 2008-08-05 20:11:17 +00:00
Jani Taskinen ddcb5042f5 MFH:- Add test for bug #45712 2008-08-05 12:37:09 +00:00
Jani Taskinen c078127291 MFH:- Fixed bug #45705 (rfc822_parse_adrlist() modifies passed address parameter) 2008-08-04 21:16:22 +00:00
Moriyoshi Koizumi fecf5bc681 - MFH: Added .libs to .cvsignore 2008-08-04 21:11:19 +00:00
Moriyoshi Koizumi 108d9dd8e7 - MFH: More fixes for bug #45691 2008-08-04 21:06:50 +00:00
Jani Taskinen 09eebe78d8 MFH: proper version check 2008-08-04 20:54:20 +00:00
Jani Taskinen 59b98545e8 MFH 2008-08-03 12:11:13 +00:00
Jani Taskinen 843d6eecc3 MFH: no c++ comments in c files 2008-08-03 11:59:00 +00:00
Moriyoshi Koizumi cf4e80bd50 - MFH:Forgot to take account of the case when mbstring.language is processed
afterwards.
2008-08-03 00:04:30 +00:00
Moriyoshi Koizumi 2184c092d4 - MFH: Fixed bug #45691 (Some per-dir or runtime settings may leak into other requests). 2008-08-02 20:49:48 +00:00
Arnaud Le Blanc 70143b88a2 MFH: Avoid leaks when zlib streams can not be closed properly. 2008-08-02 02:36:59 +00:00
Moriyoshi Koizumi 840e508dc6 - MFH: Fixed bug #43993 (mb_substr_count() behaves differently to substr_count() with overlapping needles) 2008-08-01 22:58:20 +00:00
Moriyoshi Koizumi c530921598 - Move finalization code to the proper place 2008-08-01 22:53:20 +00:00
Moriyoshi Koizumi 22a0734469 - MFH: Fixed bug #44617 (wrong HTML entity output when substitute_character=entity). 2008-07-31 17:39:14 +00:00
Jani Taskinen ecc135ae21 MFH:- fix test 2008-07-31 11:50:54 +00:00
Rasmus Lerdorf 17d4ecdbb1 Fix test to test higher nesting level 2008-07-31 11:49:55 +00:00
Rasmus Lerdorf 7305654b69 Fix for bug #45030 2008-07-31 09:22:17 +00:00
Jani Taskinen 51a01a9a6d typo 2008-07-31 00:51:06 +00:00
Jani Taskinen 874a609723 MFH:- Fixed bug #45568 (ISAPI does not property clear auth_digest in header). 2008-07-31 00:49:16 +00:00
Jani Taskinen 461e12bb47 MFH:- Applied the missing parts to phpize.m4 for zend extension builds 2008-07-31 00:45:46 +00:00
Jani Taskinen d235cfb948 MFH: sync build stuff 2008-07-30 23:57:14 +00:00
Jani Taskinen fbca704073 MFH: sync 2008-07-30 23:27:26 +00:00
Rasmus Lerdorf a948a2605d We can afford a larger stack here and other json parsers out there
go deeper than 128.
2008-07-30 13:55:27 +00:00
Antony Dovgal 9ce5ea020f MFH: fix copy/paste error (patch by Mikko) 2008-07-29 10:42:59 +00:00
Antony Dovgal 635ce992a6 this shouldn't have been backported 2008-07-29 08:33:52 +00:00
Derick Rethans 7d8a27b3d1 - Updated to version 2008.5 (2008e) 2008-07-28 19:32:08 +00:00
David Soria Parra 4331f57597 - Fixed the fix for not requiring C++ always 2008-07-27 20:42:56 +00:00
Jani Taskinen e36ce120ae MFH:- Fixed the fix for not requiring C++ always 2008-07-27 15:05:48 +00:00
Jani Taskinen 68fb7a1252 MFH: Partial sync 2008-07-27 15:01:41 +00:00
Dmitry Stogov d3aa5682b1 Fix for bug #43487 (Wrong conversion of float to string) 2008-07-27 11:28:53 +00:00
Jani Taskinen 96fe692335 MFH: Fixed a minor problem in not enabling c++/g++ when not needed. 2008-07-25 12:36:59 +00:00
Felipe Pena 9c51f3c841 - MFB: Removed unused variable. 2008-07-24 16:01:59 +00:00
Dmitry Stogov d2f478af6a Fixed bug #45178 (memory corruption on assignment result of "new" by reference) 2008-07-24 11:47:14 +00:00
Dmitry Stogov ec1e964f5c Fixed test 2008-07-24 11:23:57 +00:00
Jani Taskinen 2b667e86f2 MFH: Fix test (bug #44985) 2008-07-23 14:15:37 +00:00
Jani Taskinen 4fafb9bddc MFH: some fixes to allow certain tests to pass regardless of system php.ini settins 2008-07-23 13:43:05 +00:00
Felipe Pena 99487f9ce3 - Change credits for #44246 2008-07-23 12:05:21 +00:00
Antony Dovgal 990de890fa MFH: invert the logics - FLAG_FCLOSE -> FLAG_NO_FCLOSE 2008-07-23 11:25:50 +00:00
Jani Taskinen 41e64a728c MFH: missing test 2008-07-23 10:30:41 +00:00
Antony Dovgal 8673660619 fix test 2008-07-23 10:26:55 +00:00
Antony Dovgal c7b3bc0d99 fix test 2008-07-23 09:29:32 +00:00
Antony Dovgal b54305bc7d MFH: add PHP_STREAM_FLAG_FCLOSE to zip streams 2008-07-23 09:09:20 +00:00
Antony Dovgal cffe7a2d3c MFH: add PHP_STREAM_FLAG_FCLOSE, bz2 streams can be closed with fclose() 2008-07-23 08:56:37 +00:00
Felipe Pena 20de4ba98f - BFN: #44246 2008-07-22 14:12:54 +00:00
Felipe Pena 4ca3f3b99a - MFH: Fixed bug #44246 (closedir() accepts a file resource opened by fopen()) 2008-07-22 14:11:25 +00:00
Jani Taskinen fbc897f4bb Tidy language and order 2008-07-21 20:02:34 +00:00
Felipe Pena 16fb63384c - MFB: Fixed securities issue detailed in CVE-2008-2665 and CVE-2008-2666.
(patch by Christian Hoffmann)
2008-07-21 19:34:45 +00:00
Dmitry Stogov 69bbae848e Added check for small ZEMD_MM_SEG_SIZE 2008-07-21 17:06:55 +00:00
Felipe Pena 71a5d27676 - BFN: #45556, #45555 2008-07-18 17:41:59 +00:00
Felipe Pena e6087a0548 - New test 2008-07-18 17:35:18 +00:00
Felipe Pena 157856f0d0 - Fixed bug #45556 (Return value from callback isn't freed) 2008-07-18 17:34:07 +00:00
Felipe Pena f3549c2276 - Fixed bug #45555 (Segfault with invalid non-string as register_introspection_callback)
(patch by chris_se at gmx dot ne)
2008-07-18 15:52:38 +00:00
Felipe Pena 721be7f87c - MFB: Fix ws 2008-07-18 14:56:58 +00:00
Derick Rethans 8a1172fe8f - Updated to version 2008.4.1 (2008d) 2008-07-18 13:46:15 +00:00
Pierre Joye 9df7af2326 - MFB: fix crash when some crafted font are given 2008-07-17 22:58:23 +00:00
Jani Taskinen e1fdf15fee -nuke weird char 2008-07-16 16:30:04 +00:00
Jani Taskinen 00fb7be378 MFH:- Prevent errors in CVS builds when bison is not there (for Sean :) 2008-07-16 16:23:59 +00:00
Jani Taskinen 273b3b8ac0 - Regenerated using more recent re2c 2008-07-16 14:26:30 +00:00
Jani Taskinen 65c908dcfe MFH:- Fixed bug #44127 (UNIX abstract namespace socket connect does not work) 2008-07-16 14:10:50 +00:00
Moriyoshi Koizumi 5b603fb1b7 * MFH: indentation fix only. 2008-07-15 18:07:42 +00:00
Jani Taskinen 2975bbb347 MFH: Fixed potentially confusing error message on failure when no errors are logged 2008-07-15 16:10:32 +00:00
Scott MacVicar 56f7e28f5d MFH: Fix bug when < is used within attribute. 2008-07-15 14:58:58 +00:00
Dmitry Stogov f4617349f8 Fixed bug #45151 (Crash with URI/file..php (filename contains 2 dots)) 2008-07-15 13:38:29 +00:00
Jani Taskinen 8fc55787d5 Fix news 2008-07-15 13:16:25 +00:00
Dmitry Stogov 51619fa391 Fixed bug #45423 (fastcgi parent process doesn't invoke php_module_shutdown before shutdown) (basant dot kukreja at sun dot com) 2008-07-15 13:10:07 +00:00
Felipe Pena 0bccc60ec2 - Reverted fix for #44197 (unsuitable for minor versions) 2008-07-15 11:20:06 +00:00
Jani Taskinen 9f0c8398d6 MFH: fix test 2008-07-15 01:57:37 +00:00
Jani Taskinen 02c937c251 MFH:- Fix tests (do NOT assume things in php.ini always to be same...or sane) 2008-07-15 01:00:17 +00:00
Rui Hirokawa 9609669572 MFPHP5_3 2008-07-13 01:36:15 +00:00
Felipe Pena b56b2d3013 BFN: #45220 2008-07-12 21:14:57 +00:00
Felipe Pena 0a0f24f8bf - Fixed bug #45220 (curl_read callback returns -1 when needs to return size_t (unsigned)) 2008-07-12 21:11:56 +00:00
Felipe Pena a256d977ff BFN: #45485 2008-07-12 01:44:04 +00:00
Felipe Pena 198a9af479 - BFN: #45449, #45486 2008-07-11 18:31:56 +00:00
Felipe Pena 6074163f74 - Fixed bug #45449 (filesize() regression using ftp wrapper) (patch by crrodriguez at suse dot de) 2008-07-11 18:28:25 +00:00
Felipe Pena 9a58cb0b3c - Fixed bug #45486 (mb_send_mail(); header 'Content-Type: text/plain; charset=' parsing incorrect) 2008-07-11 13:48:11 +00:00
Jani Taskinen 596f8bf885 MFH: silence warning 2008-07-11 13:12:18 +00:00
Felipe Pena fc2cf6e19f - Fixed bug #45485 (strip_tags and <?XML tag) 2008-07-11 12:16:06 +00:00
Felipe Pena b2f1de8924 - BFN: #45460 2008-07-11 11:18:58 +00:00
Felipe Pena a8c4bc3257 - Fixed the string sizes in imap_headerinfo 2008-07-11 11:09:05 +00:00
Felipe Pena 26da69af35 - Fixed bug #45460 (imap patch for fromlength fix in imap_headerinfo doesn't accept lengths of 1024) 2008-07-10 17:44:09 +00:00
Derick Rethans 72c5f9c02d - MFH: Memory issues
- MFH: // style comments
2008-07-08 18:02:32 +00:00
Scott MacVicar 6732d3f170 This change was backed out of 5.2 and is now in 5.3+ 2008-07-08 10:31:34 +00:00
Derick Rethans 5a70cfb8d7 - Updated to version 2008.4 (2008d) 2008-07-07 14:36:26 +00:00
Etienne Kneuss 1cd238a5df Avoid a leak on return_value 2008-07-07 00:02:22 +00:00
Dmitry Stogov 9132607dc7 Fixed bug #45352 (Segmentation fault because of tick function on second request) 2008-06-25 12:18:22 +00:00
Uwe Schindler c1bb953c71 MFH: Response to: [PHP-DEV] cleaning up the functions - any volunteers? :) 2008-06-22 18:10:33 +00:00
Christopher Jones 79301a3677 MFH:
Fix bug #45266 (Fix build with BDB 4)
Fix bug #45267 (Revert invalid assumption about BDB 4 locking; let DBA handle locking)
Fix bug #45268 (Fix error callback prototype)
2008-06-19 22:41:33 +00:00
Dmitry Stogov 764f6144d3 Fixed bug #45312 (Segmentation fault on second request for array functions). 2008-06-19 12:09:22 +00:00
Dmitry Stogov c55fc5cfa4 Fixed SOAP binding selection 2008-06-18 07:23:42 +00:00
Philip Olson cf6ae88c42 MFH: updated website team info 2008-06-18 05:21:08 +00:00
Felipe Pena c4bc06b480 - MF5.3: Improved warning message to call-time pass-by-reference when used with internal function
(http://news.php.net/php.internals/38252)
2008-06-15 18:31:10 +00:00
Rob Richards 4c65f7b0a2 BFN
fix ordering
2008-06-14 11:25:52 +00:00
Rob Richards b3a2fffb83 MFH: fixed bug #45251 (double free or corruption with setAttributeNode())
add test
2008-06-14 11:24:00 +00:00
Rui Hirokawa d2f21677d5 MFH 2008-06-13 14:49:19 +00:00
Steve Seear a640702789 Filesystem tests. 2008-06-11 12:38:16 +00:00
Dmitry Stogov 6cd3a97ce2 closeder/readdir/rewinddir must work only with directories 2008-06-11 09:02:09 +00:00
Dmitry Stogov 32b6c60dea Fixed memory leaks 2008-06-11 07:46:43 +00:00
Dmitry Stogov d3d8886e3e Fixed test (5.2 doesn't contain GC) 2008-06-11 07:46:28 +00:00
Philip Olson 4b898c5e57 MFH: fixed imap_listscan() proto 2008-06-11 02:32:22 +00:00
Antony Dovgal 26e2d61588 fix typo 2008-06-10 08:14:59 +00:00
Rasmus Lerdorf a583cad157 Merge from 5.3 branch - no point in echoeing the raw values here 2008-06-09 14:03:44 +00:00
Scott MacVicar c4fa4d5361 Backout fix for spaces in both the program name and argument name, this will be fixed in PHP 5.3+ only 2008-06-06 23:05:37 +00:00
Christopher Jones 50db74684d Update 2008-06-06 01:00:20 +00:00
Christopher Jones 8c9e028a76 (Bugs 41348, 41563, 42456, 42939) Appease the masses and fix
compilation with Oracle 8.1.  This gives cleaner support for older
releases now that PHP 5.3 is firmly Oracle 9.2+ only.  No plans to
MTH.
2008-06-06 00:59:44 +00:00
Christopher Jones 44e82f5789 Sync for PECL OCI8 1.2.5 release 2008-06-05 23:26:01 +00:00
Felipe Pena fba1e9d0c5 - Fixed bug #45139 (ReflectionProperty returns incorrect declaring class) 2008-06-01 03:08:59 +00:00
Matt Wilmas b3abcd8a34 MFH: Only check args once in php_array_diff_key/intersect_key, not on each iteration. This also makes sure ALL args are checked (pre-5.2.5 behavior) 2008-05-30 10:55:44 +00:00
Matt Wilmas 76a95184ef MFH: Fixed overflow crash (at least on Windows) in div_function with LONG_MIN / -1 2008-05-29 11:45:28 +00:00
Scott MacVicar 8063c11142 MFH: Fix a bug when command is quoted and parameters are quoted during call to exec, the result is that cmd.exe /c strips the first and last quote. 2008-05-29 11:41:50 +00:00
Matt Wilmas 70c5d7fcb5 Fixed tests on Windows 2008-05-29 07:33:03 +00:00
Ant Phillips 6e79f8f999 DOM tests from TestFest 2008-05-27 12:44:52 +00:00
Derick Rethans 8df7662306 - Updated to version 2008.3 (2008c) 2008-05-27 12:20:02 +00:00
Ilia Alshanetsky c29dac2f32 When dumping entire document to file via asXml() don't lose the encoding 2008-05-23 15:46:54 +00:00
Antony Dovgal fa6c5d5429 MFH 2008-05-21 12:31:31 +00:00
Dmitry Stogov e9b91783c2 proper fix 2008-05-20 07:41:23 +00:00
Ilia Alshanetsky 92512da2b0 MFB: Fixed bug #45004 (pg_insert() does not accept 4 digit timezone format) 2008-05-19 15:18:39 +00:00
Dmitry Stogov a806380376 Fixed win32 related realpath cache bug 2008-05-19 10:49:13 +00:00
Felipe Pena a0e34ecfee - Reverted the accidental previous commit 2008-05-18 22:32:33 +00:00
Felipe Pena 0f3bde23fd - MFB: Making compatible with 64bit platform 2008-05-18 21:50:58 +00:00
Ilia Alshanetsky 9d3385ff08 MFB: Added missing INI handler 2008-05-18 14:36:59 +00:00
David Soria Parra bb1840dcf9 Wrong file 2008-05-18 14:27:52 +00:00
David Soria Parra e3fbf25a02 MFH: Tests from Munich PHP Testfest 2008 2008-05-17 23:31:31 +00:00
Ilia Alshanetsky 4b7d16ec33 BFn 2008-05-14 23:53:54 +00:00
Antony Dovgal c7d2788311 fixed more titles 2008-05-14 13:10:30 +00:00
Antony Dovgal d01d7450a7 fix test titles 2008-05-14 13:07:17 +00:00
Felipe Pena 908b6e7808 - MFH: Add check for avoid segfault when trying instantiate PDORow manually 2008-05-14 12:34:10 +00:00
Christopher Jones 20eb83c3fe MFH: PECL #13523 (x86_64 build) 2008-05-13 16:06:55 +00:00
Christopher Jones d89a570ad0 MFH: new test 2008-05-13 00:17:59 +00:00
Antony Dovgal cafbf45c13 MFH 2008-05-12 15:31:20 +00:00
Felipe Pena 670ed18df4 - Fixed test 2008-05-12 11:24:07 +00:00
Antony Dovgal 86cf005ca2 MFH: revert patch that causes invalid reads/crashes on Linux 2008-05-12 08:47:29 +00:00
Matt Wilmas 1d30a554a4 MFH: Fixed test after fixing bug #44830 2008-05-12 05:09:28 +00:00
Matt Wilmas e4f6cab2c3 MFH: Fixed error message typo 2008-05-11 11:47:01 +00:00
Sebastian Bergmann 3bf703845f MFH: Add tests for ReflectionFunction::getExtension*(). 2008-05-11 04:57:27 +00:00
Sebastian Bergmann 032d0355e7 MFH: dos2unix *.phpt 2008-05-11 04:53:26 +00:00
Matt Wilmas e8d5d67ff2 MFH: Restore end check for "escape" strings 2008-05-10 09:18:27 +00:00
Matt Wilmas fcef7403cf MFH 2008-05-09 14:41:31 +00:00
Felipe Pena daf04269f5 - New tests 2008-05-09 14:17:42 +00:00
Scott MacVicar f73f5c1aa5 MFH: Fix compile error if _GNU_SOURCE is defined 2008-05-09 12:59:41 +00:00
Matt Wilmas 6c7ae8825d MFH: Test for loss of backslash at end of heredoc; For bug #44830 (Very minor issue with backslash in heredoc) 2008-05-09 11:06:45 +00:00
Matt Wilmas 4d478c9b67 MFH: Fix loss of backslash at end of heredoc; For bug #44830 (Very minor issue with backslash in heredoc) 2008-05-09 10:29:01 +00:00
Ant Phillips c6822cd936 Collect all the open_basedir security tests into one place 2008-05-09 08:36:41 +00:00
Ant Phillips f6b00dcf5b open_basedir tests for error_log 2008-05-09 08:33:55 +00:00
Dmitry Stogov c36ea5eb07 Fixed test 2008-05-08 09:15:49 +00:00
Antony Dovgal 9af8ebe9c7 fix test 2008-05-08 07:09:17 +00:00
Hannes Magnusson 88d4da5097 BFN 2008-05-07 20:03:26 +00:00
Hannes Magnusson 58be64ce2b MFH: Fixed bug #44712 (stream_context_set_params segfaults on invalid
arguments).
2008-05-07 20:02:42 +00:00
Hannes Magnusson fa6ab4ca82 MFH: Fixed bug #44716 (Progress notifications incorrect) 2008-05-07 20:01:56 +00:00
Christopher Jones fc4cfc3c83 MFH: new tests and test cleanup 2008-05-07 15:29:27 +00:00
Antony Dovgal fbbbd2b334 fix test title 2008-05-07 15:23:11 +00:00
Antony Dovgal 845e9001b3 reorder 2008-05-07 15:08:42 +00:00
David Coallier e5f281acf1 - Added NEWS item for fixation of bug 44811 2008-05-07 15:03:17 +00:00
David Coallier 3a37e3f5eb - Fixed Bug #44811: Improved error message when creating a new
SoapClient has invalid data.
2008-05-07 14:57:56 +00:00
David Coallier 8a346e1257 - Test for bug #44811 (Improve error message when new SoapClient has invalid data) 2008-05-07 14:56:37 +00:00
Ilia Alshanetsky fe5e6c081e MFB: Fixed bug #44836 (putenv() crashes, avoid direct reference of environ
in POSIX systems).
2008-05-06 18:03:52 +00:00
Ilia Alshanetsky 3ffd3e8b8c MFB: Specify the necessary precision 2008-05-05 23:05:06 +00:00
Ilia Alshanetsky 8fde9d7701 MFB: Fixed bug #44798 (Memory leak assigning value to attribute). 2008-05-05 23:00:13 +00:00
Andrey Hristov 05b2a03297 Fix build with libmysql 6.0.x 2008-05-05 12:30:38 +00:00
Etienne Kneuss c54c42dcf3 MFH: Fix protos 2008-05-04 21:19:18 +00:00
Rob Richards 029a4c8213 BFN 2008-05-04 15:26:25 +00:00
Rob Richards f5bf8c94f7 MFH: fix bug #44891 Memory leak using registerPHPFunctions and XSLT Variable 2008-05-04 15:15:01 +00:00
Zoe Slattery 8e23d68942 Committing corrected test from Eric Stewart 2008-05-03 20:34:16 +00:00
Etienne Kneuss b6e7b8e09a MFB: Fix #44838 (static class reference restricting overwriting) 2008-05-03 16:00:40 +00:00
Derick Rethans 0685a79356 - Fixed an issue in date() where a : was printed for the O modifier after a P
modifier was used.
2008-05-02 21:36:00 +00:00
Ant Phillips 6bec04b0a3 open_basedir tests for directory functions 2008-05-01 12:36:45 +00:00
Ant Phillips 18da1a2ff4 open_basedir tests for directory functions 2008-05-01 11:46:20 +00:00
Ilia Alshanetsky ba307b2aff Back to dev 2008-04-30 18:33:33 +00:00
Ilia Alshanetsky 6a7f02001d 5.2.6 2008-04-30 18:27:56 +00:00
Ant Phillips ab211d72a3 Fix session test failures as reported by Antony Dovgal.
These were caused by the tests assuming default values for some session
configuration settings, in particular session.save_path and session.name.
The tests now explicitly set these settings in the --INI-- section.
2008-04-30 15:20:16 +00:00
Ant Phillips 3946b4727b Break up complicated rename tests into some smaller more consumable chunks 2008-04-30 13:53:49 +00:00
Ant Phillips 3a30d703c0 Fix session test failures as reported by Antony Dovgal.
These were caused by the tests assuming default values for some session
configuration settings, in particular session.save_path and session.name.
The tests now explicitly set these settings in the --INI-- section.
2008-04-30 09:27:59 +00:00
Scott MacVicar ad86c485cd MFH Fixed bug #44720 (Prevent infinite recursion within session_register) 2008-04-29 14:42:38 +00:00
Ant Phillips 597adbfef1 More session tests to improve code coverage for untested extension code 2008-04-29 09:24:17 +00:00
Ant Phillips 2d2ad8e8d3 More session tests to improve code coverage for untested extension code 2008-04-29 08:57:12 +00:00
Jani Taskinen f2c9167ebb MFH 2008-04-28 12:30:33 +00:00
Ant Phillips 0ccb772f10 Extra open_basedir tests 2008-04-24 16:40:53 +00:00
Ant Phillips 138a1160ab Allow for chmod() to fail on symbolic links 2008-04-24 13:58:29 +00:00
Ant Phillips e9da49eaf5 open_basedir tests for file system functions (v5.2, 5.3 and 6.0 branches) 2008-04-23 14:10:23 +00:00
Ant Phillips 64de2d2d45 New set of session extension tests for PHP 5.2 branch.
These hopefully test a reasonable set of basic, error and variations for
the twenty or so session functions. Note however that they do not
test all the session configuration settings, nor do they test anything
with register_globals enabled.
2008-04-22 16:04:00 +00:00
Ant Phillips 1f4fa0ba1f These tests were backported from the PHP 6.0 branch, which in turn were ported from this branch and then updated to remove any dependencies on register_globals. With register_globals removed they are useful tests to run against the 5.X branches. 2008-04-22 15:58:34 +00:00
Robin Fernandes 1d943ee85e Fix some ereg tests for 64bit platforms. 2008-04-22 15:31:56 +00:00
Felipe Pena 5c605854b8 - Fixed tests 2008-04-20 01:55:05 +00:00
Felipe Pena 11d09ac646 - Better error message 2008-04-20 01:43:18 +00:00
Antony Dovgal 269aac9ee9 fix test 2008-04-18 08:22:01 +00:00
Ilia Alshanetsky 7204e7ba5a BFN 2008-04-18 01:00:56 +00:00
Antony Dovgal 59dde7cbeb make Matt happy =) 2008-04-17 11:48:53 +00:00
Felipe Pena 11a13337ff - Fix typo 2008-04-17 11:04:49 +00:00
Derick Rethans 8649483a69 - Fixed bug #44703 (htmlspecialchars() does not detect bad character set
argument).
2008-04-16 17:21:46 +00:00
Antony Dovgal d9b443095f change %d to %ld and silence the warning 2008-04-16 08:54:44 +00:00
Felipe Pena 9db0be61ad Fixed bug #44703 (htmlspecialchars() does not detect bad character set argument) (patch by Andy Wharmby) 2008-04-11 19:01:25 +00:00
Robin Fernandes 29c12bd254 Fix test parse_url_variation_002.phpt for 64bit platforms. 2008-04-11 14:35:04 +00:00
Antony Dovgal ef1f2c1b7b fix tests 2008-04-11 11:06:18 +00:00
Antony Dovgal 1e20b1ed7d MFH: fix 2 segfaults in ZTS mode 2008-04-11 11:00:24 +00:00
Steve Seear 9d700f942f POSIX extension error tests 2008-04-11 09:32:32 +00:00
Steve Seear 35ca4a5cb4 POSIX extension variation tests 2008-04-11 09:27:42 +00:00
Robin Fernandes fdb9b9d8c8 Adding some tests for ereg and url functions. 2008-04-11 08:57:11 +00:00
Ilia Alshanetsky a1f0e80436 Back to dev 2008-04-10 22:31:09 +00:00
Ilia Alshanetsky 1e29c1716d 5.2.6RC5 2008-04-10 22:24:05 +00:00
Christopher Jones 7788b67557 Bump OCI8 version to 1.2.5 (This change is for 5.2 branch only) 2008-04-10 21:53:46 +00:00
Nuno Lopes 5baa766b21 MFB53 2008-04-10 19:16:00 +00:00
Nuno Lopes 60d622bdb0 MFB5.3: fix SKIPIF 2008-04-10 19:09:49 +00:00
Philip Olson 63ca897356 MFH: Updated the documentation credits 2008-04-10 05:32:26 +00:00
Scott MacVicar b584600e1d Fix heredoc handling. (Patch by Matt Wilmas) 2008-04-09 21:40:13 +00:00
Felipe Pena 52127174e2 Fixed bug #44678 (spliti error message includes wrong function name) 2008-04-09 13:47:35 +00:00
Dmitry Stogov a548d2f19b Fixed bug #44673 (With CGI argv/argc starts from arguments, not from script) 2008-04-09 09:16:40 +00:00
Ilia Alshanetsky edf54b5468 MFB: Bug #44650 escaepshellscmd() does not check arg count (port from 5.3) 2008-04-08 17:17:07 +00:00
Joe Orton 8611785073 MFH: Fixed bug #32979 (OpenSSL stream->fd casts broken in 64-bit build)
(stotty at tvnet dot hu)
MFH: Fix another case of a broken stream->fd cast in 64-bit builds.
2008-04-08 14:11:49 +00:00
Jani Taskinen 8f6f281866 MFH: Fixed test on systems where order is not guaranteed 2008-04-08 10:35:36 +00:00
Jani Taskinen a9f2587716 MFH: - Fixed bug #44667 (proc_open() does not handle pipes with the mode "wb" correctly) 2008-04-08 08:45:52 +00:00
Jani Taskinen 5f7df8099a MF53: Fix tests 2008-04-08 08:45:04 +00:00
Ilia Alshanetsky b615180021 MFB: various bug fixes 2008-04-08 00:03:34 +00:00
Antony Dovgal 7a4f2f9a00 fix test 2008-04-07 12:14:46 +00:00
Antony Dovgal 339414deea initialize variable 2008-04-07 10:44:03 +00:00
Marcus Boerger 98f4d8c5f6 - MFH add new tests 2008-04-06 17:53:35 +00:00
Felipe Pena e8795126ea Fixed bug #44591 (imagegif's filename parameter) 2008-04-04 17:39:52 +00:00
Derick Rethans d80a51181a - Fixed typo. 2008-04-04 07:26:41 +00:00
Ilia Alshanetsky cb9be83c31 Back to dev 2008-04-04 00:16:53 +00:00
Ilia Alshanetsky 62c865e21f 5.2.6RC4 2008-04-04 00:12:22 +00:00
Felipe Pena 1054bfbb0b - Fixed tests 2008-04-03 22:01:59 +00:00
Dmitry Stogov 889ba3c824 fixed name 2008-04-03 14:44:19 +00:00
Dmitry Stogov 1dd17ad54a - Fixed possible stack buffer overflow in FastCGI SAPI. (Andrey Nigmatulin)
- Fixed sending of uninitialized paddings which may contain some information.
  (Andrey Nigmatulin)
2008-04-03 10:24:44 +00:00
Ilia Alshanetsky 357cadb362 MFB: imap bug fixes 2008-04-02 16:31:51 +00:00
Antony Dovgal 8f16e0b75c MFH 2008-04-02 14:56:43 +00:00
Derick Rethans b0b7f4eed1 - MFH: Fixed a bug in formatting timestamps when DST is active in the default
timezone.
2008-03-31 09:12:15 +00:00
Felipe Pena 3e663ebfef Fixed bug #44564 (escapeshellarg removes UTF-8 multi-byte characters) 2008-03-30 12:17:39 +00:00
Felipe Pena fd6f77d569 Fixed bug #44557 (Crash in imap_setacl when supplied integer as username) (patch by Thomas Jarosch) 2008-03-28 16:43:49 +00:00
Ilia Alshanetsky dd040e75c3 Back to dev 2008-03-27 22:53:49 +00:00
Ilia Alshanetsky 1de0c2f27c 5.2.6RC3 2008-03-27 22:44:02 +00:00
Andrey Hristov 64af7df7d0 Recreate 2008-03-27 14:48:00 +00:00
Jani Taskinen 40655e4104 MF53:- Fix test (readdir() does not sort the results..) 2008-03-27 10:45:06 +00:00
Steve Seear 8cc6227b45 Adding tests for gethostbyaddr() and gethostbynamel() 2008-03-26 18:18:07 +00:00
Marcus Boerger 13a67db7f5 MFH:
- Fix memory leak found by Osman
- Merge strlen to sizof change from CLI
2008-03-26 13:21:57 +00:00
Antony Dovgal b103a34cda MFH: check if return value of write() is -1 and abort upload, setting the correct error status 2008-03-26 12:59:42 +00:00
Dmitry Stogov c6aef571dd Fixed test (removed leaks becaue of cyrcular references) 2008-03-25 07:01:22 +00:00
Antony Dovgal 00779cc424 MFH: disabled mmap() when copying files to memory 2008-03-24 16:28:56 +00:00
Derick Rethans 94cfbb5448 - Updated to version 2008.2 (2008b) 2008-03-24 13:01:10 +00:00
Dmitry Stogov 193801fbda Fixed tests (file order is undefined, so we need to sort() them) 2008-03-24 09:00:18 +00:00
Marcus Boerger 7e071024d3 - MFH Add .cvsignore 2008-03-23 16:53:57 +00:00
Marcus Boerger 03c3cfbde3 - MFH Add tests 2008-03-23 13:39:27 +00:00
Marcus Boerger 978886a3a8 - Make multibyte a tad bit less crappy 2008-03-22 18:53:08 +00:00
Antony Dovgal 708cbe15d1 add missing .cvsignore 2008-03-21 08:30:02 +00:00
Antony Dovgal 28331f99e2 fix ZTS build 2008-03-21 08:28:36 +00:00
Ilia Alshanetsky 8c4653fbb6 MFB: Refine fix for multibyte char hanling inside command names and args 2008-03-20 23:25:42 +00:00
Rob Richards 5a94926037 BFN
re-order
2008-03-20 16:49:41 +00:00
Rob Richards 4a4711eb36 MFH: fix bug #44478 (Inconsistent behaviour when assigning new nodes)
add test
2008-03-20 16:48:45 +00:00
Antony Dovgal 3baf31907a MFH 2008-03-20 12:14:15 +00:00
Antony Dovgal 83a3d76e37 fix tests 2008-03-20 11:34:50 +00:00
David Soria Parra bb4e8b10e3 MFH: Fix bug #44487 (call_user_method_array issues a warning when throwing an exception). 2008-03-20 00:55:26 +00:00
Steve Seear bc8c649878 Adding language tests. 2008-03-19 18:06:26 +00:00
Steve Seear 9e8d58e54b Added some class tests; Replaced some hardcoded instance ids with %d. 2008-03-19 17:56:12 +00:00
Steve Seear c441dafbf4 Adding tokenizer test 2008-03-19 17:43:52 +00:00
Steve Seear 6744f65d51 Adding streams tests 2008-03-19 17:38:25 +00:00
Steve Seear 946190d453 Adding filesystem tests 2008-03-19 17:23:29 +00:00
Antony Dovgal 236b0c1bde fix test 2008-03-19 12:36:17 +00:00
Dmitry Stogov 9b8fdcf63f Fixed test 2008-03-19 09:17:21 +00:00
Felipe Pena b781627d85 Fixed bug #43614 (incorrect processing of numerical string keys of array in arbitrary serialized data) 2008-03-19 03:00:40 +00:00
Ilia Alshanetsky 34f0981808 MFB: Bug #44445 (email validator does not handle domains starting/ending
with a -)
2008-03-18 23:32:42 +00:00
Robin Fernandes dc2a59a970 Adding more tests for serialize() and unserialize(). 2008-03-18 15:11:12 +00:00
Felipe Pena d202354263 Fix build 2008-03-18 00:25:24 +00:00
Stanislav Malyshev 7be2f35865 report printf fix 2008-03-17 23:09:06 +00:00
Ilia Alshanetsky 233c3ade12 MFB: Properly address incomplete multibyte chars inside escapeshellcmd() 2008-03-17 23:02:26 +00:00
Stanislav Malyshev 5273e2163b fix integer overflow in length calculation 2008-03-17 23:00:41 +00:00
Josie Messa 9a859a31ab - new tests for ctype functions 2008-03-17 09:50:42 +00:00
Derick Rethans d1e3634d13 - Updated to version 2008.1 (2008a) 2008-03-16 07:22:10 +00:00
Felipe Pena 681859cdc4 BFN: #41828, #44440 2008-03-15 10:46:48 +00:00
Felipe Pena 27f2d54784 Fixed bug #44440 (st_blocks undefined under BeOS) 2008-03-15 10:28:53 +00:00
Felipe Pena 655610a5bb Add SKIPIF (32bit platform only) 2008-03-14 23:13:07 +00:00
Ilia Alshanetsky 62b1449e47 Fixed bug #43677 (Inconsistent behaviour of include_path set with
php_value).
2008-03-13 15:56:21 +00:00
Felipe Pena a8fc46afa7 Fix valgrind version validation (accepting "valgrind-3.2.1-Debian") 2008-03-13 13:51:40 +00:00
Felipe Pena 3958a09990 Sync with fix for #44394 2008-03-12 19:33:46 +00:00
Felipe Pena 69663666c1 Fixed bug #42177 (Warning "array_merge_recursive(): recursion detected" comes again...) 2008-03-12 19:13:00 +00:00
Christopher Jones 0befe23833 MFH: New test for existing behavior 2008-03-12 17:52:48 +00:00
Ilia Alshanetsky 0f1e56bc3a MFB: Fixed bug #44388 (Crash inside exif_read_data() on invalid images) 2008-03-12 17:33:14 +00:00
Etienne Kneuss f2c14fd8b0 Fix bug #41828 (Fix crash on wrong instantiation) 2008-03-12 13:24:24 +00:00
Felipe Pena a000cbd955 Fixed bug #44394 (Last two bytes missing from output) 2008-03-12 11:27:42 +00:00
Antony Dovgal 40f85eb585 MFH: fix segfault - error_string may be NULL, in this case we have to follow the old behavior 2008-03-11 10:27:23 +00:00
Josie Messa c857ec6c98 - Replace with previous commit 2008-03-11 10:15:18 +00:00
Josie Messa 02be1a8d19 - Fix test 2008-03-11 10:01:31 +00:00
Josie Messa 052670121b - Modified tests 2008-03-11 09:55:26 +00:00
Josie Messa 2a93e109e1 - Added extra whitespace around error messages in expected output 2008-03-11 09:45:30 +00:00
Andrey Hristov 031e443b44 char **error_string was passed but not used. This causes problems in cases
of getaddrinfo() failure, because the upper layers don't get the error.
initialize a variable because we were reading initialized in case of error.
2008-03-10 20:09:22 +00:00
Josie Messa 977f7b6716 - New tests for getcwd() function 2008-03-10 15:21:17 +00:00
Josie Messa 63c1185096 - Modified expected output to allow tests to work on all platforms 2008-03-10 15:07:20 +00:00
Felipe Pena d4888d7410 Fixed compilation warnings 2008-03-10 14:54:47 +00:00
Josie Messa 14a393d6a2 - New tests for scandir() function 2008-03-10 14:09:05 +00:00
Felipe Pena d39fbb1548 Fix typo (#44381) 2008-03-09 16:06:33 +00:00
David Coallier ff962d9de1 - MFH . Libxml version < 2.6.21 it fails. Patch from scoates 2008-03-08 19:14:38 +00:00
Zoe Slattery 4ec1845b52 Countable requires SPL 2008-03-08 17:13:06 +00:00
Andrey Hristov ecf84f8b6b Fix introduced in 5.0.46, not in 5.0.42 2008-03-08 14:59:37 +00:00
Felipe Pena 1c9c9daa78 BFN: #44373 2008-03-08 14:10:34 +00:00
Felipe Pena e1cf7f0ca6 Fixed bug #44373 (PDO_OCI extension compile failed) 2008-03-08 14:01:49 +00:00
Nuno Lopes 2e161037fa MFB53 skipif patch as asked by gentoo guys 2008-03-08 12:12:22 +00:00
Pierre Joye 6d3101b8f4 - #44355, compilation breaks due illegal const usage (Guenter Knauf)
I suppose it must break on other platform, it is not used anywhere else
  but here, and it was introduced after 5.2.5 (why no news)
2008-03-07 18:41:02 +00:00
Josie Messa 1b07a0988b - Tests awaiting fix of bug #44246 2008-03-07 16:19:40 +00:00
Josie Messa 46db94819f - New tests for rewinddir() function 2008-03-07 16:08:59 +00:00
Josie Messa f9f818959a - New tests for closedir() function 2008-03-07 15:58:39 +00:00
Scott MacVicar 216e57bf23 Typo, bundled version is really 3.3.7 2008-03-07 10:38:33 +00:00
Antony Dovgal 77f40d6d5b fix build 2008-03-07 08:56:45 +00:00
Stanislav Malyshev 0d6cdac9ff improve seed calculation
# better solution would be to port mt's multi-value seed procedure
2008-03-07 03:34:47 +00:00
Ilia Alshanetsky 3e51cc7a8c Back to dev 2008-03-07 00:36:12 +00:00
Ilia Alshanetsky d4689143e1 5.2.6RC2 2008-03-07 00:27:39 +00:00
Antony Dovgal ba9ad966c3 MFH: fix segfault when trying to clone uncloneable object 2008-03-06 17:28:47 +00:00
Robin Fernandes 1af0116cf0 Add new tests for class/object functions and features. 2008-03-06 10:56:07 +00:00
Ilia Alshanetsky abc6363462 MFB: Revert patch for bug #44325 2008-03-05 23:53:23 +00:00
Pierre Joye 77fee69a7e - #40013, php_uname() does not return nodename on Netware (Guenter Knauf) 2008-03-05 21:09:29 +00:00
Pierre Joye 38b94446a4 - #42505, new sendmail default path breaks on Novell (Guenter Knauf) 2008-03-05 20:58:08 +00:00
Jani Taskinen 2a4a4fbcaf MF53: Fix tests 2008-03-05 15:37:53 +00:00
Jani Taskinen 90f420baa5 - fix test (MF53) 2008-03-05 15:12:27 +00:00
Antony Dovgal 6eee168067 add missing .cvsignore 2008-03-05 12:13:00 +00:00
Jani Taskinen 26116d7285 - Fix tests 2008-03-05 12:10:38 +00:00
Antony Dovgal eb81041b0a MFH: apply better fix 2008-03-05 12:10:18 +00:00
Antony Dovgal 1a65748249 cosmetic fixes 2008-03-05 10:46:46 +00:00
Antony Dovgal 31683f4bfa MFH: fix memory corruption due to double destruction of default dir handle 2008-03-05 09:29:37 +00:00
Felipe Pena b47aea1094 Fixed bug #44333 (SEGFAULT when using mysql_pconnect() with client_flags) 2008-03-04 22:25:35 +00:00
Ilia Alshanetsky c36af9e2b5 MFB: Fixed bug #44325 (mssql_bind not correctly bind empty strings as
parameter value)
2008-03-04 19:39:08 +00:00
Josie Messa 6d48ddaf8f - new tests for readdir() function 2008-03-04 17:06:47 +00:00
Zoe Slattery 77a1339755 re-fixing to skip on 64 bit 2008-03-04 13:25:30 +00:00
Dmitry Stogov f4068e65ba Fixed SIGSEGV because of acess to uninitialized data 2008-03-04 12:23:10 +00:00
Dmitry Stogov 0d7d139700 Fixed wrong result of cascading assignment to string offset 2008-03-04 11:49:31 +00:00
Dmitry Stogov 43a9fd4c4a Fixed wrong result of cascading assignment to string offset
Fixed memory corruption on cascading assignment of IS_TMP_VAR into string offset
Fixed opcode caches shared memory corruption on cascading assignment of IS_CONST into string offset
2008-03-04 11:48:53 +00:00
Dmitry Stogov 7089db25e0 Fixed shared memory corruption of opcode caches 2008-03-04 11:46:09 +00:00
Antony Dovgal f3213ecacd MFH 2008-03-04 11:16:39 +00:00
Josie Messa 94565fb450 - new tests for opendir() function 2008-03-04 10:39:32 +00:00
Ilia Alshanetsky 0418676cc6 MFB: Fixed bug #44166 (Parameter handling flaw in
PDO::getAvailableDrivers())
2008-03-03 21:14:33 +00:00
Ilia Alshanetsky 5d66c33385 MFB: Fixed bug #44166 (Parameter handling flaw in
PDO::getAvailableDrivers())
2008-03-03 21:14:19 +00:00
Ilia Alshanetsky c4d4183f96 MFB: Fixed bug #44306 (Better detection of MIPS processors on Windows) 2008-03-02 15:36:09 +00:00
Ilia Alshanetsky 73550dd6b5 Set proper RC version (Thanks Hannes) 2008-02-28 15:36:07 +00:00
Ilia Alshanetsky 0dd068331a Back to dev 2008-02-28 00:35:26 +00:00
Ilia Alshanetsky 743bb87a57 5.2.6RC1 2008-02-28 00:30:35 +00:00
Ilia Alshanetsky 9c3f699ed8 Fixed security issue detailed in CVE-2008-0599 2008-02-28 00:29:29 +00:00
Antony Dovgal 0c0fb4be83 MFH 2008-02-27 09:35:10 +00:00
Felipe Pena 5db9cbbc40 MFB: Fixed bug #43559 (array_merge_recursive() doesn't behave as expected with duplicate NULL values) 2008-02-27 02:04:09 +00:00
Felipe Pena 45e379b49d Improved fix for #44242 2008-02-27 01:10:56 +00:00
Ilia Alshanetsky 45c443576e MFB: Fixed bug #44233 (MSG_PEEK undefined under BeOS R5) 2008-02-27 00:32:39 +00:00
Josie Messa 7c28ec2e54 - New tests for chdir() function 2008-02-26 09:31:16 +00:00
Christopher Jones 8b43d4de96 Fix test noise 2008-02-26 01:06:37 +00:00
Ilia Alshanetsky 86647d648f MFB: Better fix for bug #44189 2008-02-26 00:14:04 +00:00
Christopher Jones 8bdaeafc23 Add recent OCI8 bug fixes 2008-02-26 00:04:18 +00:00
Christopher Jones 2ce86f5e5a OCI8: fix bug #44008 (OCI-Lob->close) & bug #44206 (ref cursor leak) 2008-02-25 23:52:10 +00:00
Felipe Pena 9b730870a1 Fixed bug #44242 (metaphone(CMXFXM) crashes PHP) 2008-02-25 22:40:45 +00:00
Derick Rethans a58f8d2a9b - MFH: Fixed tests on 64bit platform. 2008-02-25 22:34:11 +00:00
Derick Rethans 08e237cc6d - MFH: Fixed a problem with parsing timezones as part of a format.
#- It doesn't actually fix anything, but atleast it's consistent with HEAD.
2008-02-25 18:28:18 +00:00
Steve Seear d4e61a3042 Replace hardcoded resource ids with %d in fgetc() tests. 2008-02-25 10:28:43 +00:00
Felipe Pena 7af1de82e3 New test 2008-02-24 18:49:40 +00:00
Felipe Pena f75a2de1c1 Fixed segfault in filter extension when using callbacks. (reported & patched by Arnar Mar Sig) 2008-02-24 18:34:30 +00:00
Ilia Alshanetsky c2805b88e5 MFB: Fixed bug #44200 (A crash in PDO when no bound targets exists and yet
bound parameters are present)
2008-02-24 16:09:05 +00:00
Derick Rethans 8241ee2226 - MFH: Fixed bug #44216 (strftime segfaults on large negative value). 2008-02-22 17:49:30 +00:00
Derick Rethans dfd8f3f735 - MFH: Fixed bug #44209: strtotime doesn't support 64 bit timestamps. 2008-02-22 09:48:18 +00:00
Josie Messa 6dc4795a66 - New tests for reset() function 2008-02-22 09:18:25 +00:00
Dmitry Stogov 6c7fe8df9f Fixed test 2008-02-22 08:16:32 +00:00
Felipe Pena fcffdf2285 Fix test 2008-02-22 02:45:37 +00:00
Josie Messa d8794230ed - New tests for end() and next() function 2008-02-21 16:38:12 +00:00
Dmitry Stogov 7eb1befffe Fixed bug #43483 (get_class_methods() does not list all visible methods) 2008-02-21 15:14:13 +00:00
Josie Messa ffa42113ff - New tests for key() function 2008-02-21 14:34:02 +00:00
Felipe Pena 3ed933811b Fix test 2008-02-21 14:22:04 +00:00
Dmitry Stogov 28306e3439 Fixed bug #44141 (private parent constructor callable through static function) 2008-02-21 13:55:22 +00:00
Ilia Alshanetsky 744d8992b3 MFB: Fixed bug #44189 (PDO setAttribute() does not properly validate values
for native numeric options)
2008-02-21 13:37:52 +00:00
Felipe Pena 4421fc2204 Cosmetics change 2008-02-21 13:32:03 +00:00
Antony Dovgal 00315b1d42 MF53 2008-02-21 11:53:51 +00:00
Dmitry Stogov 7c40e93b69 Fixed test 2008-02-21 08:17:00 +00:00
Felipe Pena 48952c1b1d Fix typo 2008-02-21 02:39:43 +00:00
Felipe Pena e0379278af Fixed Bug #44197 (socket array keys lost on socket_select) 2008-02-21 02:34:50 +00:00
Felipe Pena 50bdcc203b Fixed Bug #44191 (preg_grep messes up array index) 2008-02-20 22:08:18 +00:00
Felipe Pena 2778d2ad59 New test 2008-02-20 21:56:45 +00:00
Ilia Alshanetsky de270b4d6e MFB: Fixed bug #44152 (Possible crash with syslog logging on ZTS builds). 2008-02-20 15:28:37 +00:00
Josie Messa 18dc5aaed6 - New tests for current() function 2008-02-20 14:19:44 +00:00
Dmitry Stogov 39c4c3971d Fixed bug #44184 (Double free of loop-variable on exception) 2008-02-20 12:04:50 +00:00
Ilia Alshanetsky 766b688c8e MFB: Fixed bug #44171 (Invalid FETCH_COLUMN index does not raise an error) 2008-02-20 03:12:16 +00:00
Josie Messa 5c394578de - New tests for each() function 2008-02-19 17:00:58 +00:00
Dmitry Stogov 981603b55c Reverted wrong commit (debug code) 2008-02-19 16:44:43 +00:00
Dmitry Stogov 12e8e280c7 Fixed memory leaks 2008-02-19 16:39:02 +00:00
Dmitry Stogov 59f4a9381f Fixed test 2008-02-19 16:33:17 +00:00
Felipe Pena 5ccd0528fe New test 2008-02-19 14:53:44 +00:00
Felipe Pena d0fea14428 Fixed Bug #44159 (Crash: $pdo->setAttribute(PDO::STATEMENT_ATTR_CLASS, NULL)) 2008-02-19 12:09:47 +00:00
Dmitry Stogov ee82eac68a Fixed memory leak 2008-02-19 12:00:36 +00:00
Josie Messa ae105adfd9 - New tests for natcasesort() function 2008-02-19 10:51:44 +00:00
Sebastian Bergmann 87784c32b3 MFH: Fugbix typo. 2008-02-19 06:52:58 +00:00
Dmitry Stogov 8187dbfa4d Made code opcode-cache friendly. (It is disallowed to change code during execution) 2008-02-18 14:30:25 +00:00
Rui Hirokawa f17936083a fixed some failures on test scripts caused by bug fix. 2008-02-18 14:28:13 +00:00
Ilia Alshanetsky 304923d187 MFB:Fixed a possible crash 2008-02-18 13:29:00 +00:00
Dmitry Stogov 4a3df17f43 Removed redundant refcount manipulations 2008-02-18 12:11:34 +00:00
Dmitry Stogov 63fbdfb3e1 Fixed test 2008-02-18 09:02:16 +00:00
Ilia Alshanetsky f506f6254a Mbstring bug fixing news 2008-02-17 17:20:40 +00:00
Rui Hirokawa 65ef397b3c MF PHP5_3 (fixed #43841) 2008-02-17 02:06:56 +00:00
Rui Hirokawa 419b7283d3 MF PHP5_3 (fixed #43994) 2008-02-17 02:04:12 +00:00
Rui Hirokawa e2fa604b0a MF PHP5_3 (fixed #43998) 2008-02-17 02:01:41 +00:00
Rui Hirokawa bd98b8a3e0 MF PHP5_3 (fixed #43840) 2008-02-17 01:59:03 +00:00
Rui Hirokawa ba670d01b5 MF PHP5_3 2008-02-16 08:32:57 +00:00
Rui Hirokawa ee71417ef0 MF PHP5_3 2008-02-16 08:25:11 +00:00
Christopher Jones 7ac84b8607 Test existing LOB error messages 2008-02-16 03:01:17 +00:00
Christopher Jones 6c0abfe077 Bug #44113 (New collection creation can fail with OCI-22303) 2008-02-15 23:05:19 +00:00
Josie Messa 9da1ec78c0 - New tests for rsort() function 2008-02-15 16:05:28 +00:00
Antony Dovgal e3189410c4 MFH: recursion protection in count() 2008-02-15 09:33:26 +00:00
Dmitry Stogov f29c6b45a8 MFH: Fixed bug #43128 (Very long class name causes segfault) 2008-02-15 07:44:46 +00:00
Dmitry Stogov 5ef434d175 Fixed bug #43507 (SOAPFault HTTP Status 500 - would like to be able to set the HTTP Status) 2008-02-15 06:50:39 +00:00
Dmitry Stogov 0be31f3f3c Fixed test 2008-02-15 06:38:37 +00:00
Josie Messa 5ae0fb0628 - New tests for count() function 2008-02-14 16:49:17 +00:00
Josie Messa 5ce503459d - removing .project file 2008-02-14 16:20:19 +00:00
Josie Messa 87e2a75f70 - New variation test for array_values() 2008-02-14 16:15:16 +00:00
Dmitry Stogov af3aecb688 Fixed bug #44069 (Huge memory usage with concatenation using . instead of .=) 2008-02-14 14:47:25 +00:00
Josie Messa 592f5f384e - New tests for array_values() function 2008-02-14 14:21:48 +00:00
Felipe Pena a69ea8773d Fixed Bug #42838 (Wrong results in array_diff_uassoc) 2008-02-14 14:02:02 +00:00
Felipe Pena cf2c1c59aa New test 2008-02-14 13:49:55 +00:00
Josie Messa f56d34a230 - New tests for array_slice() function 2008-02-14 11:15:54 +00:00
Dmitry Stogov 8448591096 Fixed memory leak 2008-02-14 08:46:08 +00:00
Josie Messa 079c7f0cd6 - New tests for array_shift() function 2008-02-13 16:41:27 +00:00
Josie Messa b289acb3af - New tests for array_push() function 2008-02-13 16:10:43 +00:00
Josie Messa 2554f5ca00 - committing tests for array_merge() function 2008-02-13 14:20:22 +00:00
Josie Messa 064bbbb04e - committing tests for array_key_exists() function 2008-02-13 13:15:11 +00:00
Marcus Boerger 697b79f6a3 - MFH Make this behave like in <= 5.2.5 and test for it 2008-02-13 12:23:26 +00:00
Greg Beaver 26f6c26c8c MFH: fix potential memleak due to destruction of filterparams zval 2008-02-12 23:29:18 +00:00
Johannes Schlüter 201a2ec1f0 - MFH: Make clear what's going on and avoid overwriting parameters 2008-02-12 20:43:50 +00:00
Hannes Magnusson 8fbb789d04 Fix test 2008-02-12 20:06:10 +00:00
Josie Messa fa7ab79523 - committing array_change_key_case variation tests 2008-02-12 17:43:54 +00:00
Felipe Pena d1f536595e MFB: array_slice() - Fixed behavior when NULL is given in third parameter (BC) 2008-02-12 12:47:30 +00:00
Felipe Pena 13e939679b MFB: Fixed Bug #44094 (SEGFAULT when using mysql_connect()) 2008-02-12 10:24:35 +00:00
Zoe Slattery a628bc8856 Fixing 44092 2008-02-12 07:27:49 +00:00
Ilia Alshanetsky 2e6320425b MFB: Fixed test on 64bit machines 2008-02-11 16:23:12 +00:00
Johannes Schlüter eaa1662a75 MFH: The exact message differs on different systems 2008-02-11 00:03:30 +00:00
Johannes Schlüter c04ac43efa - Fix typo (see #44095) 2008-02-11 00:01:29 +00:00
Jani Taskinen 839abfabcc MFH 2008-02-06 19:14:07 +00:00
Jani Taskinen c717b41784 MFH:- Fixed bug in handling arrays which caused the original array being modified too. 2008-02-06 19:07:36 +00:00
Marcus Boerger 745fe9004f - BFN 2008-02-06 11:10:07 +00:00
Marcus Boerger dd570d65ce - WS 2008-02-06 11:09:48 +00:00
Zoe Slattery 44b091a30d Tests for assorted Maths functions 2008-02-06 09:51:19 +00:00
Ilia Alshanetsky 5b0fbbefe1 MFB: Fixed bug #44046 (crash inside array_slice() function with an invalid
by-ref offset).
2008-02-05 16:01:21 +00:00
Robert Nicholson 95121ed073 - fix arsort_variation3.phpt which was missing its EXPECT section 2008-02-05 11:18:00 +00:00
Marcus Boerger f26c177b2d - Damnit you flags (wrong commit) 2008-02-04 21:49:44 +00:00
Marcus Boerger 9a90cfc99c - MFH Really last flag change (got confused with code) 2008-02-04 21:37:55 +00:00
Ilia Alshanetsky 2c92d82a02 Revert fix for bug #43981, not yet ready for 5.2 2008-02-04 21:31:52 +00:00
Marcus Boerger 80907e4a91 - MFH Flag handling and documentation 2008-02-04 20:43:50 +00:00
Sebastian Bergmann 0d516bf7ec Add NEWS entry for ext/dom arginfo changes. 2008-02-04 19:43:34 +00:00
Sebastian Bergmann cc0b2dd120 MFH: Add missing Reflection API metadata for DOM classes. 2008-02-04 15:23:11 +00:00
Robert Nicholson 622504d7a3 - added some new tests for arsort 2008-02-04 00:04:26 +00:00
Ilia Alshanetsky e002e2ec1c MFB: Fixed bug #44028 (crash inside stream_socket_enable_crypto() when
enabling encryption without crypto type)
2008-02-03 16:15:30 +00:00
Derick Rethans 3bcef3b39d - Fixed invalid read errors as found by GCOV. 2008-02-03 14:22:55 +00:00
Antony Dovgal 20b39a9806 fix test, add 64bit version 2008-02-02 23:44:39 +00:00
Derick Rethans d7ae91bea7 - MFH: Make timezone_open() work again. 2008-02-02 17:26:23 +00:00
Zoe Slattery cc0b147a2f A few new tests for math functions - Note the "constants" test will fail on Windows - Bug 42143. 2008-02-01 17:27:43 +00:00
Robert Nicholson 801ce5ee03 - a few more gd tests (committed on behalf of andy wharmby) 2008-02-01 16:33:37 +00:00
Josie Messa bb5f5da561 - Committing new tests for MBString extension.
More details can be found here: http://news.php.net/php.qa/62382
2008-02-01 15:27:57 +00:00
Rob Richards 390b033755 BFN 2008-01-31 22:00:22 +00:00
Rob Richards 1dc8e72874 MFH: fix bug #42369 (Implicit conversion to string leaks memory)
add test
2008-01-31 21:59:41 +00:00
Antony Dovgal caf57b0532 BFN 2008-01-31 20:23:33 +00:00
Christopher Jones dece018a41 Fixed bug #42841 (REF CURSOR and oci_new_cursor PHP crash) 2008-01-31 00:26:44 +00:00
Ilia Alshanetsky 6f1c2f04a0 MFB: Fixed bug #43981 (gmp_div_r() does not preserve the sign of 1st
argument)
2008-01-30 18:27:03 +00:00
Zoe Slattery 51f63718cf Removing superfluous --INI-- section 2008-01-30 17:44:54 +00:00
Rob Richards 82a3271eda BFN 2008-01-30 15:30:44 +00:00
Rob Richards 005ece078a MFH: fix bug #41562 (SimpleXML memory issue) 2008-01-30 15:29:51 +00:00
Robin Fernandes 5912128780 Adding tests for class features, including __autoload(), property inheritance rules and class constants. 2008-01-30 14:24:47 +00:00
Rasmus Lerdorf 529092df9b Copy-paste typo 2008-01-30 08:50:02 +00:00
Sebastian Bergmann 410fb2b6d4 MFH: Fix arginfo. 2008-01-30 06:48:20 +00:00
Rasmus Lerdorf b8af6b08db This one depends on the precision setting 2008-01-30 05:37:23 +00:00
Rasmus Lerdorf 7b624a37bc Fixed bug #43957 (utf8_decode() bogus conversion of partial multibyte UTF8 char) 2008-01-29 23:21:20 +00:00
Sebastian Bergmann 088d2d98b8 MFH: Fix arginfo and prototype. 2008-01-29 21:21:28 +00:00
Nuno Lopes 8cb33d2c04 upgrade to pcre 7.6 2008-01-29 20:25:47 +00:00
Dmitry Stogov 7c51430b37 Fixed bug #43968 (Extending internal class causes a crash)
The fix is a workaround for GCC optizer bug.
2008-01-29 20:01:14 +00:00
Sebastian Bergmann fef277ab76 MFH: Add Reflection API metadata for DOMXPath. 2008-01-29 15:55:29 +00:00
Sebastian Bergmann 0c685dc3c0 MFH: Add Reflection API metadata for DOMNode. 2008-01-29 15:23:25 +00:00
Dmitry Stogov f8d7d6fc90 Fixed bug #43491 (Under certain conditions, file_exists() never returns) 2008-01-29 14:23:19 +00:00
Antony Dovgal 1a4c15d5e1 MFH: fix #43927 (koi8r is missing from html_entity_decode())
patch by andy at demos dot su
2008-01-29 13:39:03 +00:00
Dmitry Stogov e4782cddf4 Fixed bug #43505 (Assign by reference bug) 2008-01-29 10:44:53 +00:00
Dmitry Stogov c9fd5b3010 Fixed test 2008-01-29 10:43:42 +00:00
Antony Dovgal c86f396edf BFN 2008-01-29 09:30:08 +00:00
Sebastian Bergmann 984b2c84a5 MFH: Add Reflection API metadata for XSLTProcessor. 2008-01-29 07:51:46 +00:00
Antony Dovgal 65d0aca95c MFH: fix type and bug #43646 2008-01-29 00:08:08 +00:00
Scott MacVicar 20809972dc MFH: Fixed bug #43954 (Memory leak when sending the same HTTP status code more than once.) 2008-01-28 16:12:55 +00:00
Hannes Magnusson 1e0125e9a4 Remove bogus test (should be in HEAD) 2008-01-27 18:20:27 +00:00
Marcus Boerger f2e8119bf5 - Add second parameter to SplObjectStorage::attach()
- Add SplObjectStorage::setInfo()
- Add SplObjectStorage::getInfo()
2008-01-27 18:04:56 +00:00
Rob Richards 86ae2781fb MFH: add missing export 2008-01-27 16:33:22 +00:00
Derick Rethans da11bc2b32 - MFH Bugfixes:
- Fixed bug #43808 (date_create never fails (even when it should)).
	- Fixed bug #43527 (DateTime created from a timestamp reports environment
	  timezone).
	- Fixed bug #43003 (Invalid timezone reported for DateTime objects
	  constructed using a timestamp).
	- Fixed bug #42190 (Constructing DateTime with TimeZone Indicator
	  invalidates DateTimeZone).
	- Fixed bug #41599 (setTime() fails after modify() is used).
2008-01-26 16:26:47 +00:00
Robert Nicholson 905f0d086b - Add a basic test for array_shuffle() 2008-01-25 00:30:52 +00:00
Robert Nicholson db0c290db4 - add some basic tests for array diff and intersection functions 2008-01-25 00:16:14 +00:00
Antony Dovgal ab8436fc87 MFH 2008-01-24 23:11:15 +00:00
Robert Nicholson 6b7d50ead4 - New tests for compact() 2008-01-24 14:52:38 +00:00
Rob Richards e660e038a4 MFH: fix zts build 2008-01-24 14:10:21 +00:00
Dmitry Stogov bab919b91b Fixed error message 2008-01-24 08:51:04 +00:00
Ilia Alshanetsky cfcb262dfb MFB:Fixed bug #43912 (Interbase column names are truncated to 31 characters) 2008-01-23 01:22:57 +00:00
Antony Dovgal 5331163715 add new test 2008-01-22 15:43:09 +00:00
Hannes Magnusson 66d39db51e MFH: Fixed bug #43875 (Two error messages returned for $new and $flag argument in mysql_connect()) 2008-01-20 14:13:11 +00:00
Christopher Jones a4c915c855 MFH: Add ifdef 2008-01-18 16:03:35 +00:00
Antony Dovgal 45353a5c39 fix test 2008-01-18 12:41:24 +00:00
Antony Dovgal f66f94b4b0 fix test 2008-01-18 12:12:19 +00:00
Antony Dovgal ff7be14077 BFN 2008-01-18 07:10:21 +00:00
Pierre Joye c1fa811b5c - reflect the correct version 2008-01-18 00:51:38 +00:00
Greg Beaver 736e23a4c5 MF5.3: install headers, use correct zip version 2008-01-18 00:31:23 +00:00
Greg Beaver 42b320bca1 MFH: add errors when missing dependencies (Steph) 2008-01-17 21:17:29 +00:00
Ilia Alshanetsky 23994f9150 MFB: Fixed bug #42779 (Incorrect forcing from HTTP/1.0 request to HTTP/1.1
response)
2008-01-16 15:50:37 +00:00
Antony Dovgal b42398f850 MFH: fix #43863 (str_word_count() breaks on cyrillic "ya" in locale cp1251)
patch by phprus at gmail dot com
2008-01-16 08:35:59 +00:00
Dmitry Stogov bb084caec1 Fixed wrong type cast 2008-01-16 06:14:45 +00:00
Christopher Jones 65bec2edc8 MFH: fix #41941 (oci8 extension not lib64 savvy) 2008-01-16 00:42:02 +00:00
Christopher Jones ea2d2d6bb6 MFH: Testcase for #43492 (nested cursors) 2008-01-15 20:54:22 +00:00
Christopher Jones f4a29d5432 fix #43497 (OCI8 XML/getClobVal aka temporary LOBs leak UGA memory) 2008-01-15 20:42:13 +00:00
Rob Richards 844d6ee35b MFH: fix memleak in sign and verify functions 2008-01-15 15:13:37 +00:00
Brian Shire 751b0807b1 MFH: Fix bug #42850 array_walk_recursive() leaves references, refix bug #34982 2008-01-14 22:10:09 +00:00
Ilia Alshanetsky a2581f81d1 MFB: Missing patch bit from the FETCH_GROUP fix 2008-01-14 18:41:41 +00:00
Nuno Lopes 0f9729404f MFH: fix bug #42945, as asked by Ilia 2008-01-14 09:46:55 +00:00
Nuno Lopes 255a7b9cf0 upgrade PCRE to version 7.5 (as asked by Ilia 2008-01-14 09:39:41 +00:00
Greg Beaver c98f8dc302 merge in cgi fixes from PHP_5_3 2008-01-14 04:34:17 +00:00
Greg Beaver b24c96616a add missing alias .h files 2008-01-14 03:58:03 +00:00
Greg Beaver 1d3604c1b1 MFH: export libzip symbols 2008-01-14 03:19:41 +00:00
Greg Beaver 1d28516b79 MFH: far better fix for bug #40189 2008-01-12 22:04:03 +00:00
Greg Beaver ee16647cfd MFH: fix faulty fix for Bug #40189, and provide real fix for the bug 2008-01-12 21:35:44 +00:00
Greg Beaver 5d96f54cf9 revert last commit, was to wrong branch 2008-01-12 03:46:47 +00:00
Greg Beaver 9ce5990880 MFH: export symbols for use by other extensions like phar 2008-01-12 03:43:06 +00:00
Rob Richards 0d1fe9c73b MFH: starting with 2.6.30, standard libxml2 build can be used 2008-01-11 13:37:24 +00:00
Ilia Alshanetsky aa51dce93a MFB: Fixed a bug with PDO::FETCH_COLUMN|PDO::FETCH_GROUP mode when a column
# by which to group by data is specified.
2008-01-11 01:47:55 +00:00
Brian Shire 0c855571c3 - MFH fix truncation of large values on 64-bit systems in http_build_query 2008-01-10 20:32:41 +00:00
Antony Dovgal c2f8930033 correct number of symbols 2008-01-10 08:45:39 +00:00
Antony Dovgal 2fe13db7ac fix test 2008-01-10 08:45:06 +00:00
Dmitry Stogov d5bd104d9d Fixed broken soap.wsdl_cache_enabled 2008-01-09 16:45:30 +00:00
Greg Beaver 8a1cd11e0b apply proper fix of bug #43793 to zlib.deflate (window+16 = gzip) 2008-01-09 08:12:26 +00:00
Dmitry Stogov b58a5db130 Fixed bug #43703 (Signature compatibility check broken) 2008-01-09 07:57:23 +00:00
Greg Beaver a603c8d71b apply same fix of bug #43793 to zlib.deflate 2008-01-09 07:03:41 +00:00
Greg Beaver ad7f030c6d fix Bug #43793: zlib filter is unable to auto-detect gzip/zlib file headers 2008-01-09 06:45:15 +00:00
Pierre Joye 3dd5e7854c - #43790, fix crash when no family name has been found 2008-01-09 01:50:59 +00:00
Ilia Alshanetsky c73247fe2c MFB: Fixed bug #43498 (file_exists() on a proftpd server got SIZE not
allowed in ASCII mode).
2008-01-08 19:10:16 +00:00
Ilia Alshanetsky 0b25a9fb8c Fixed a safe_mode bypass in cURL identified by Maksymilian Arciemowicz. 2008-01-06 17:12:29 +00:00
Greg Beaver 4490673e0e remove potential preg warnings if --EXPECTHEADERS-- is combined with --EXPECTF-- or --EXPECTRE-- 2008-01-05 21:39:47 +00:00
Greg Beaver 32f4ff69b5 implement --FILE_EXTERNAL-- section for using an external file as --FILE--, use CGI for --EXPECTHEADERS--, fix --POST_RAW-- 2008-01-05 21:05:14 +00:00
Raghubansh Kumar d380d052af New testcases for array_diff() function 2008-01-04 14:04:26 +00:00
Raghubansh Kumar 5fe2521143 New testcases for array_diff_assoc() function 2008-01-04 14:03:57 +00:00
Ulf Wendel 8e0bb2d72c MFH: Fix for bug #43036 2008-01-04 09:19:49 +00:00
Ilia Alshanetsky 0c882b2645 MFB: Skip test for PostgreSQL driver since error is too dissimilar to other
drivers
2008-01-03 16:47:08 +00:00
Raghubansh Kumar b054ae8716 this testcase has been split into many smaller testcases and committed. 2008-01-03 09:50:05 +00:00
Raghubansh Kumar 5a6c4393cb new smaller testcases for array_map() function 2008-01-03 09:48:42 +00:00
Steve Seear 425646f98b Adding PHPT tests for the ReflectionMethod class. 2008-01-03 09:06:08 +00:00
Ilia Alshanetsky 02967f7040 MFB: Fixed bug #43647 (Make FindFile use PATH_SEPARATOR instead of ";") 2008-01-02 19:20:15 +00:00
Ilia Alshanetsky 660fac9dc0 MFB: Update copyright 2008-01-01 18:30:41 +00:00
Hartmut Holzgraefe 3e34e202d5 MFH: Fix for bug #42548 "PROCEDURE xxx can't return a result set" 2008-01-01 16:51:09 +00:00
Derick Rethans aaeded2ac7 - Updated to version 2007.11 2008-01-01 15:32:28 +00:00
Hannes Magnusson 30ff9a85cf MFH: Fix test 2008-01-01 14:36:08 +00:00
Sebastian Bergmann 58fea2b990 MFB: Leftover: Bump copyright year. 2008-01-01 06:15:48 +00:00
Sebastian Bergmann dfa693b392 Leftover: Bump copyright year. 2007-12-31 07:25:08 +00:00
Sebastian Bergmann d9f3a1305f MFH: Bump copyright year, 2 of 2. 2007-12-31 07:20:42 +00:00
Sebastian Bergmann e78105b103 MFH: Bump copyright year, 1 of 2. 2007-12-31 07:17:40 +00:00
David Soria Parra e81a660bae - Fixed bug #43663 (Extending PDO class with a __call() function doesn't work). 2007-12-30 17:59:31 +00:00
Jani Taskinen 3b2ca90699 MFH:- This makes no sense with non-ipv6 builds. (and fixes lot of issues with misconfigured servers) 2007-12-29 18:46:37 +00:00
Hannes Magnusson 5a5f3e6dff Fix test when additional ini files are used (patch by <confins_de_l_univers at yahoo dot fr>) 2007-12-29 11:38:06 +00:00
Antony Dovgal 6db1f40e32 correct fix for bug #43522 2007-12-29 10:52:51 +00:00
Hannes Magnusson dbbd4bf1b8 MFH: Update the class method documentation links 2007-12-29 02:22:23 +00:00
Dmitry Stogov df9e324f35 Fixed test related to bug #38469 2007-12-28 13:38:30 +00:00
Dmitry Stogov 2705adc4b9 Fixed bug #38469 (Unexpected creation of cycle). 2007-12-28 13:38:20 +00:00
Hannes Magnusson 97c1cc8925 BFN 2007-12-27 02:12:48 +00:00
Hannes Magnusson 7c9ab52ca4 MFB5.3: Fixed bug#43105 (PHP seems to fail to close open files.) 2007-12-27 02:10:26 +00:00
Hannes Magnusson 6bcf63c567 MFH: Fix typo (TAKAGI Masahiro) 2007-12-26 21:03:12 +00:00
Raghubansh Kumar 8774eb1ae9 fix test : do not run when run as root 2007-12-25 16:16:32 +00:00
Dmitry Stogov 24957a15e0 Fixed %f regex 2007-12-25 12:06:22 +00:00
Raghubansh Kumar cb165e184d new testcases for dir() function 2007-12-24 05:21:08 +00:00
Raghubansh Kumar 63ff78e2f3 fix tests 2007-12-24 04:26:41 +00:00
Raghubansh Kumar 77245e4907 Changing the regex for %f so the it will match e-, e+ and e. 2007-12-24 04:24:20 +00:00
Johannes Schlüter bb52c198ce -Fix name (arg, new keyboard is coming...) 2007-12-21 21:18:01 +00:00
Johannes Schlüter 0bc875c9ca -Fix name 2007-12-21 21:17:31 +00:00
Johannes Schlüter 42add0f2e1 - MFH: Fix #43450 (Memory leak on some functions with implicit object
__toString() call) (Davic C.)
2007-12-21 20:58:11 +00:00
Dmitry Stogov ab6121f686 Fixed test 2007-12-21 09:44:13 +00:00
Raghubansh Kumar 59ddc3b287 fix tests 2007-12-20 17:28:36 +00:00
Dmitry Stogov 6789574da2 x86_64 assembler optimization (Brain Shire) 2007-12-20 13:22:22 +00:00
Robert Nicholson 6194af1343 New test - Indexing - various special cases 2007-12-20 11:41:40 +00:00
Robert Nicholson 847f462905 new tests for array_map usage variations - string keys and references 2007-12-20 11:18:55 +00:00
Ilia Alshanetsky c21ef044a7 MFB: Fixed bug #43635 (mysql extension ingores INI settings on NULL values
passed to mysql_connect())
2007-12-20 00:31:49 +00:00
Raghubansh Kumar a81fccc47d fix test 2007-12-19 10:40:18 +00:00
Derick Rethans dc30b0035d - MFH: Fixed var_export() for array keys
- MFH: Fixed broken explode() test
2007-12-19 08:45:16 +00:00
Steve Seear fd81f61e0d Adding PHPT tests for the ReflectionProperty class. 2007-12-18 17:20:05 +00:00
Ilia Alshanetsky a68454f659 MFB: Fixed bug #43620 (Workaround for a bug inside libcurl 7.16.2 that can
result in a crash)
2007-12-18 13:47:37 +00:00
Jani Taskinen b9fabc8ae6 MFH:- Fix indent of macros 2007-12-17 08:52:30 +00:00
Johannes Schlüter bbfe422bd1 - MFH: Fix #43611 SplObjectStorage is available since 5.1.2 2007-12-16 22:19:58 +00:00
Hannes Magnusson 327109fab1 MFB5.3: Fix test 2007-12-16 19:18:44 +00:00
Ilia Alshanetsky 1643c14e5f MFB: Fixed bug #43589 (a possible infinite loop in bz2_filter.c) 2007-12-16 17:22:31 +00:00
Ilia Alshanetsky 6dc859da75 MFB: Fixed bug #43606 (define missing depencies of the exif extension) 2007-12-16 17:14:54 +00:00
Hannes Magnusson 25a7740600 Fix protos 2007-12-15 12:52:11 +00:00
Raghubansh Kumar ee8d2395e1 New testcases for token_get_all() function 2007-12-14 16:23:12 +00:00
Antony Dovgal eb324c4cce MFH 2007-12-13 22:30:28 +00:00
Douglas Goldstein 45dba3ecc7 add tests for ldap_dn2ufn() 2007-12-13 17:59:52 +00:00
Douglas Goldstein 2013cd57cd expand ldap_explode_dn() tests. 2007-12-13 17:46:46 +00:00
Dmitry Stogov 853adf67f9 Fixed test 2007-12-13 07:57:24 +00:00
Ilia Alshanetsky c35249d45e MFB Fixed bug #43580 (removed bogus declaration of a non-existent php_is_url()
function)
2007-12-13 00:33:26 +00:00
Antony Dovgal 0e70b8fea0 MFH: add valgrind 3.3.0 support 2007-12-12 20:21:57 +00:00
Douglas Goldstein 8f8e19dc7b add skipif case if the ldap extension is not loaded 2007-12-11 17:35:11 +00:00
Douglas Goldstein 57dbd0837a put ldap_explode_dn.phpt in proper directory 2007-12-11 17:33:51 +00:00
Douglas Goldstein becf94003a Adding initial tests for LDAP module. Adding tests for ldap_explode_dn() function 2007-12-11 17:20:58 +00:00
Jani Taskinen 0644aff586 MFH:- Revert previous patch, it was correct to do this, error is logged if logging is enabled 2007-12-11 12:26:16 +00:00
Jani Taskinen 882bd652df MFH: fix error displaying 2007-12-11 11:29:37 +00:00
Raghubansh Kumar b1c09efa90 New testcases for array_walk() function 2007-12-11 10:50:17 +00:00
Raghubansh Kumar 1ed9911cfa New testcases for array_merge_recursive() function 2007-12-11 09:09:12 +00:00
Christopher Jones e2c7f9c485 Fix #42496. Cursor leak fetching LOBs 2007-12-11 06:07:13 +00:00
Ilia Alshanetsky 8a9ad0081d MFB: Fixed bug #43522 (stream_get_line() eats additional characters) 2007-12-10 14:18:02 +00:00
Derick Rethans 63dcbb73f0 - MFH: Fixed Bug #42272 (var_export() incorrectly escapes char(0)). 2007-12-09 16:55:46 +00:00
Ilia Alshanetsky 2caccf3136 Fixed bug #43533 (escapeshellarg('') returns null).
# Backport of code from 5.3
2007-12-09 16:37:02 +00:00
Raghubansh Kumar e31fd8027f new testcases for array_unique() function 2007-12-09 14:44:18 +00:00
Marcus Boerger f012dee00c -MFH: db 4.6 detection 2007-12-06 14:17:43 +00:00
Ilia Alshanetsky f6829cf90f MFB: Fixed bug #43495 (array_merge_recursive() crashes with recursive
arrays)
2007-12-05 20:04:13 +00:00
Ilia Alshanetsky e3ec29a3f1 MFB: fixed test 2007-12-04 13:05:24 +00:00
Ilia Alshanetsky bb9384cb8a MFB: Fixed bug #43493 (pdo_pgsql does not send username on connect when
password is not available)
2007-12-04 13:05:03 +00:00
Antony Dovgal 33885b64a4 MFH 2007-12-04 08:56:14 +00:00
Antony Dovgal fe8771ec81 fix typos
use the earliest bug report in the description
2007-12-03 16:33:37 +00:00
Dmitry Stogov aeae1ce48a bug numbers 2007-12-03 16:20:55 +00:00
Dmitry Stogov 0c2edc588d Fixed crash because of uninitialized SG(sapi_headers).mimetype 2007-12-03 16:04:26 +00:00
Derick Rethans 3f9a50c5bf - Updated to version 2007.10 2007-12-03 15:16:40 +00:00
Dmitry Stogov b68b2e029c Fixed weired behavior in CGI parameter parsing 2007-12-03 15:08:01 +00:00
Ilia Alshanetsky 32463e7af9 Fixed bug #43482 (array_pad() does not warn on very small pad numbers). 2007-12-03 14:11:09 +00:00
Raghubansh Kumar f0570bce0b fix tests : better float values 2007-12-03 13:04:45 +00:00
Raghubansh Kumar 0bf84145b2 fix tests: better float values 2007-12-03 11:59:55 +00:00
Raghubansh Kumar e12bef98c6 New testcases for array_pad() function 2007-12-03 11:53:04 +00:00
Raghubansh Kumar d47d025881 New testcases for array_chunk() function 2007-12-03 03:55:55 +00:00
Ilia Alshanetsky e2ed7b551f MFB: Fixed bug #43457 (Prepared statement with incorrect parms doens't
throw exception with pdo_pgsql driver)
2007-12-02 21:00:06 +00:00
Ilia Alshanetsky 83156cf04d Fixed a typo 2007-11-30 00:12:18 +00:00
Ilia Alshanetsky 056197037d MFB: Fixed tests 2007-11-28 14:50:24 +00:00
Rob Richards ff8e1a32f9 BFN 2007-11-28 10:47:36 +00:00
Rob Richards d5afff5286 MFH: Fix bug #43364 (recursive xincludes don't remove internal nodes properly)
add test
2007-11-28 10:45:16 +00:00
Raghubansh Kumar 1a8b3e0923 Marked with defect 2007-11-28 03:42:43 +00:00
Ilia Alshanetsky b1407d3709 MFB: Fixed bug #43373 (pcntl_fork() should not raise E_ERROR on error) 2007-11-27 17:14:27 +00:00
Raghubansh Kumar ea4f3ac8a3 New testcases for array_combine() function 2007-11-27 15:18:11 +00:00
Raghubansh Kumar 9de95af3db New testcases for array_sum() function 2007-11-27 15:00:55 +00:00
Antony Dovgal d3aff8310c fix test 2007-11-27 11:14:17 +00:00
Antony Dovgal 14902c89cc fix test 2007-11-27 06:44:32 +00:00
Ilia Alshanetsky 8330f31750 MFB: Revert addition of - char support for bound param names 2007-11-26 21:10:41 +00:00
Jani Taskinen a109ecaacf MFH:- Fixed bug #43365 (Several enums have trailing commas) 2007-11-26 10:59:18 +00:00
Ilia Alshanetsky 947cebee3c MFB: Fixed bug #43386 (array_globals not reset to 0 properly on init) 2007-11-25 15:56:47 +00:00
Robert Nicholson dc75c7c2a1 Fix incorrect use of assignment in where equality was intended - class tests. 2007-11-23 15:41:05 +00:00
Ilia Alshanetsky 3acbcf448f MFB: Fixed bug #43377 (PHP crashes with invalid argument for DateTimeZone) 2007-11-23 00:16:48 +00:00
Robert Nicholson 202e7f5b28 Add some more pcre tests 2007-11-21 18:21:19 +00:00
Jani Taskinen 14d5ba8aec MFH:- Fixed bug #43035: ignore_repeated_errors=On causes lot of tests to fail 2007-11-21 08:20:45 +00:00
Ilia Alshanetsky fdc2dab50b MFB: Adjusted fix for bug #42978 2007-11-20 23:12:30 +00:00
Ilia Alshanetsky a4bc590ec1 MFB: Fixed bug #42978 (mismatch between number of bound params and values
causes a crash in pdo_pgsql)
2007-11-20 14:23:47 +00:00
Antony Dovgal c39a2f7143 fix test 2007-11-19 11:12:36 +00:00
Dmitry Stogov 06a116cd53 Fixed tests 2007-11-19 08:01:56 +00:00
Derick Rethans 62fb0402db - MFH: Initialize the reserved resource bits so that they can be reliably used. 2007-11-18 21:30:30 +00:00
Ilia Alshanetsky 99a1f9e0b2 MFB: Fixed bug #42261 (Incorrect lengths for date and boolean data types) 2007-11-18 14:20:17 +00:00
Sara Golemon d92f11b9d6 MFH(r-1.192) Remove extraneous space in error/notice messages (felipe) 2007-11-17 21:52:06 +00:00
Raghubansh Kumar b99048d5c7 New testcases for sizeof() function 2007-11-16 17:55:55 +00:00
Raghubansh Kumar 9b85655327 fix tests: removed values that generate diff. output on Linux64 2007-11-16 17:04:19 +00:00
Jani Taskinen 369a97713c MFH: - Fixed bug #43092 (curl_copy_handle() crashes with > 32 chars long URL) 2007-11-16 14:19:35 +00:00
Jani Taskinen aaa295fa35 MFH:- Fixed bug #43301 (mb_ereg*_replace() crashes when replacement string is
invalid PHP expression and 'e' option is used)
2007-11-16 12:28:34 +00:00
Antony Dovgal 332e1b8482 MFH: fix test 2007-11-15 22:14:29 +00:00
Ilia Alshanetsky 81676a4b6e MFB: Fixed bug #43276 (Incomplete fix for bug #42739, mkdir() under
safe_mode).
2007-11-15 18:58:43 +00:00
Hannes Magnusson 177ed895d3 MFH test 2007-11-15 13:14:19 +00:00
Ilia Alshanetsky dbdbfe37f2 MFB: Don't show file names being examined 2007-11-14 23:45:39 +00:00
Elizabeth Marie Smith b9580cd54e MFB 2007-11-14 19:48:57 +00:00
Raghubansh Kumar b298641605 New testcases for uasort() function 2007-11-14 17:17:51 +00:00
Raghubansh Kumar bfe5708953 fix test for linux64 - choosing smaller float values 2007-11-14 16:30:09 +00:00
Hannes Magnusson d3fd30265a MFB5.3: Fixed bug#43293 (Multiple segfaults in getopt()) 2007-11-14 15:19:29 +00:00
Hannes Magnusson 1dd3064045 Fix test 2007-11-14 13:07:07 +00:00
Ilia Alshanetsky 916ad03b84 MFB: Fixed bug #43279 (pg_send_query_params() converts all elements in
'params' to strings)
2007-11-13 20:08:04 +00:00
Dmitry Stogov 5c6a2679c8 Fixed bug #42692 (Procedure 'int1' not present with doc/lit SoapServer) 2007-11-13 15:10:05 +00:00
Antony Dovgal 3258e0cef2 fix typo 2007-11-13 10:31:34 +00:00
Dmitry Stogov 6c7761c807 Fixed Bug #43248 (backward compatibility break in realpath()) 2007-11-13 09:46:39 +00:00
Zoe Slattery 332c87b12a MFH: Changing the regex for %f so the it will match E-, E+ and E. 2007-11-12 21:16:27 +00:00
Rob Richards fe13ae813d BFN 2007-11-12 19:00:04 +00:00
Rob Richards 376d5f828d MFH: fix bug #43221 (SimpleXML adding default namespace in addAttribute)
add test
2007-11-12 18:59:26 +00:00
Ilia Alshanetsky 5d09ce66a3 Fixed bug #43182 (file_put_contents() LOCK_EX does not work properly on
file
2007-11-12 18:47:46 +00:00
Antony Dovgal 144419b3a1 MFH: fix error message (reported by Felipe Nascimento) 2007-11-12 16:56:39 +00:00
Raghubansh Kumar 7a39cd0117 New testcases for ksort() function 2007-11-12 15:55:10 +00:00
Raghubansh Kumar 09e35a5107 New testcases for krsort() function 2007-11-12 15:54:35 +00:00
Antony Dovgal 7a369dc593 MFH: fix #42736 (xmlrpc_server_call_method() crashes) 2007-11-12 11:24:13 +00:00
Dmitry Stogov 2ea3105939 Fixed bug #42937 (__call() method not invoked when methods are called on parent from child class). 2007-11-12 09:11:49 +00:00
Ilia Alshanetsky 9ed8465d1b MFB: Fixed parse error described in bug #43228 2007-11-11 13:38:28 +00:00
Johannes Schlüter 6ff45cf55e - Use #if instead of #ifdef there (by Mikko Koppanen) 2007-11-10 19:52:08 +00:00
Raghubansh Kumar ad732b6140 fix tests 2007-11-09 12:00:57 +00:00
Dmitry Stogov 1ea2e504e3 Fixed bug #43216 (stream_is_local() returns false on "file://") 2007-11-09 09:37:42 +00:00
Dmitry Stogov 84c1ac4385 Fixed bug #43201 (Crash on using unitialized vals and __get/__set) 2007-11-09 09:28:18 +00:00
Dmitry Stogov 85a2d87bae Fixed bug #43175 (__destruct() throwing an exception with __call() causes segfault) 2007-11-09 09:16:45 +00:00
Raghubansh Kumar a91fe5ca49 fix test: better float values 2007-11-09 08:57:18 +00:00
Raghubansh Kumar 6ca1fdbc25 fix tests: better float values 2007-11-09 07:09:52 +00:00
Ilia Alshanetsky 9623aa59eb Fixed win32 build 2007-11-09 03:51:12 +00:00
Ilia Alshanetsky 0125436439 Back to dev 2007-11-08 13:53:14 +00:00
Ilia Alshanetsky af81b9d973 5.2.5 2007-11-08 13:44:12 +00:00
Antony Dovgal e9e1ba64e9 MFH 2007-11-08 11:39:59 +00:00
Antony Dovgal 2bb2bcdcce fix tests 2007-11-08 11:19:46 +00:00
Antony Dovgal f237b06942 fix test 2007-11-08 10:30:08 +00:00
Antony Dovgal 9958658fc3 MFH: fix test 2007-11-08 10:13:47 +00:00
Antony Dovgal 527f581a6b MFH 2007-11-08 08:12:01 +00:00
Dmitry Stogov 76a5faaf8f Fixed tests 2007-11-08 07:06:55 +00:00
Antony Dovgal 0e6b470417 fix tests 2007-11-07 12:07:59 +00:00
Antony Dovgal 295c1cc04e MFH 2007-11-07 08:31:04 +00:00
Jani Taskinen df35a307cc MFH: - Fixed bug #43196 (array_intersect_assoc() crashes with non-array input) 2007-11-06 13:28:21 +00:00
Raghubansh Kumar c6779ec584 New testcases for asort() function 2007-11-05 16:37:45 +00:00
Raghubansh Kumar f87b27a84e better test title 2007-11-05 16:24:37 +00:00
Raghubansh Kumar bbc87a14eb New testcases for sort() function 2007-11-05 15:38:03 +00:00
Raghubansh Kumar c1ee9eeecf New testcases for array_intersect_assoc() function 2007-11-05 14:39:42 +00:00
Derick Rethans db4b1f7f46 - Updated to version 2007.9 2007-11-05 10:36:50 +00:00
Mattias Bengtsson 5697c1a9ac - Right filename 2007-11-05 01:14:18 +00:00
Mattias Bengtsson 7f57a366dc - Fixed Bug #43121 (gdImageFill with IMG_COLOR_TILED crashes httpd) 2007-11-04 23:56:00 +00:00
Raghubansh Kumar 72c994d464 fix tests: proper temp file names 2007-11-02 03:54:05 +00:00
Raghubansh Kumar 5302a164b1 fix tests: proper temp file names 2007-11-02 03:16:22 +00:00
Raghubansh Kumar 72a009a2f2 Fix test: better float values 2007-11-02 03:00:18 +00:00
Ilia Alshanetsky 79cd4dc1c3 back to dev 2007-11-01 22:37:35 +00:00
Ilia Alshanetsky e3eb1b9bed 5.2.5RC2 2007-11-01 22:33:31 +00:00
Antony Dovgal f6966f28d0 MFH: initialize correct variable 2007-11-01 19:13:49 +00:00
Jani Taskinen e207cc58ac MFH: nuke unused variables 2007-11-01 17:32:26 +00:00
Dmitry Stogov 67f6979df2 Another fix for bug #42773 2007-11-01 15:41:13 +00:00
Dmitry Stogov e468aa44a2 Fixed bug #42848 (Status: header incorrect under FastCGI) 2007-11-01 15:23:14 +00:00
Dmitry Stogov fc6d3652f9 Fixed bug #41635 (SoapServer and zlib.output_compression with FastCGI result in major slowdown) 2007-11-01 14:11:47 +00:00
Dmitry Stogov 375bf36e42 Fixed bug #42773 (WSDL error causes HTTP 500 Response) 2007-11-01 14:10:19 +00:00
Robert Nicholson 997925db9f delete .project file 2007-11-01 10:34:38 +00:00
Robert Nicholson fa0e4863a2 update min_error and max_error testcases to take into account bug fix for bug#43125 2007-11-01 08:42:32 +00:00
Dmitry Stogov 2e869a00ac Added CGI SAPI -T option, to measure execution time of script repeated several times. 2007-10-31 18:24:42 +00:00
Jani Taskinen 171184b64d MFH: fix typo 2007-10-31 13:39:14 +00:00
Jani Taskinen bdbcc4b6d3 MFH: - Fixed Bug #43137 (rmdir() and rename() do not clear statcache) 2007-10-31 13:23:07 +00:00
Ilia Alshanetsky f4cd343b6c MFB: Fixed bug #43139 PDO ignores ATTR_DEFAULT_FETCH_MODE in some cases with
fetchAll()
2007-10-31 12:58:24 +00:00
Ilia Alshanetsky e5db0d8077 MFB: Test not relavent for sqlite that uses built-in bound syntax 2007-10-30 23:03:54 +00:00
Ilia Alshanetsky 68893b0cb4 MFB: Fixed bug #43130 (Bound parameters cannot have - in their name) 2007-10-29 22:37:25 +00:00
Jani Taskinen caa0de9205 MFH 2007-10-29 09:05:55 +00:00
Ilia Alshanetsky 39f1f2fcd3 MFB: Fixed bug #42976 (Crash when constructor for newInstance() or
newInstanceArgs() fails)
2007-10-28 13:47:14 +00:00
Raghubansh Kumar b89ab4a4d5 New testcases for shuffle() function 2007-10-27 12:29:25 +00:00
Raghubansh Kumar 6d9165b332 New testcases for array_intersect() function 2007-10-27 12:16:57 +00:00
Stanislav Malyshev b196fbece9 add attribution 2007-10-26 17:45:26 +00:00
Robert Nicholson 85122b5ae6 Remove unneeded INI sections 2007-10-26 16:08:34 +00:00
Raghubansh Kumar 8ba0f7f275 more testcases for array_unshift() function 2007-10-26 11:47:50 +00:00
Robert Nicholson 8ae4fa2810 new testcases for array_splice 2007-10-26 11:07:31 +00:00
Robert Nicholson b6900cb61d new testcases for max and min 2007-10-26 11:02:04 +00:00
Jani Taskinen 9a6012ff21 fix news 2007-10-26 08:13:15 +00:00
Antony Dovgal ef0652c7f3 MFH 2007-10-25 13:01:16 +00:00
Antony Dovgal 54e44a4707 MFH 2007-10-25 11:54:23 +00:00
Dmitry Stogov 602f26dc08 Added ability to control memory consumption between request using ZEND_MM_COMPACT environment variable 2007-10-25 07:30:29 +00:00
Ilia Alshanetsky 68f328560d MFB: Fixed bug #43099 (XMLWriter::endElement() does not check # of params) 2007-10-24 22:50:19 +00:00
Dmitry Stogov 1155200b02 Fixed realpath cache for existent file with CWD_FILEPATH flag on win32 2007-10-23 05:57:35 +00:00
Mattias Bengtsson a04472df2e - Be paranoid and dont allow multiplication with zero 2007-10-23 01:58:08 +00:00
Ilia Alshanetsky 521048a9ae MFB: Fixed bug #4294 (Move *timeout initialization from RINIT to connect
time)
2007-10-22 22:43:44 +00:00
Raghubansh Kumar 4846f7e349 more testcase for array_filter() function 2007-10-22 11:13:51 +00:00
Andrey Hristov 7c21b37a2f Make it compile with libmysql 3.23 2007-10-22 10:35:33 +00:00
Dmitry Stogov f8e5189286 forgotten description 2007-10-22 07:52:03 +00:00
Dmitry Stogov 9926736605 Fixed move_uploaded_file() to always set file permissions of resulting file according to UMASK (Andrew Sitnikov) 2007-10-22 07:37:20 +00:00
Ilia Alshanetsky 0139100668 MFB: Fixed bug #42944 (test failing due to expectation that /etc/passwd has
0644 permissions).
2007-10-21 15:41:45 +00:00
Raghubansh Kumar 083c7f05ca New tetscases for array_rand() function 2007-10-19 18:39:52 +00:00
Raghubansh Kumar ff9f6404dd New testcases for array_fill() function 2007-10-19 18:34:16 +00:00
Raghubansh Kumar ee0c90556e New testcases for array_filter() function 2007-10-19 18:18:17 +00:00
Raghubansh Kumar 5516f0a247 New testcases for array_unshift() function 2007-10-19 09:12:22 +00:00
Robert Thompson 586ceb9d40 formatting 2007-10-19 05:35:05 +00:00
Robert Thompson 08433295c4 News for getcwd() failure fix. 2007-10-19 01:22:24 +00:00
Ilia Alshanetsky c6ec417654 Back to dev 2007-10-18 23:09:54 +00:00
Ilia Alshanetsky 63f4dc835e 5.2.5RC1 2007-10-18 22:59:43 +00:00
Scott MacVicar 3e47b3cb7b MFB53: Fixed bug #43020 (Warning message is missing with shuffle() and more than one argument) 2007-10-18 14:39:08 +00:00
Dmitry Stogov 168f127abb Fixed bug #42722 (display_errors setting ignored for E_PARSE and HTTP 500 page) 2007-10-18 13:11:30 +00:00
Marcus Boerger 2e2a566c15 - BFN 2007-10-18 05:32:50 +00:00
Marcus Boerger 9f6936fc0c - MF53 Fix for #41692, #42703
# Now in correct branch with fixed checkout and so on
2007-10-18 05:26:55 +00:00
Marcus Boerger efc78b635b - Fix test expectation 2007-10-18 04:51:53 +00:00
Marcus Boerger 017fa36d3f - MFB #42654, #42704 2007-10-18 04:49:55 +00:00
Dmitry Stogov c43fe1c6cf Fixed possible crash because of uninitialized value (Zdash Urf) 2007-10-17 12:08:46 +00:00
Dmitry Stogov 82264b0b45 Fixed bug #42637 (SoapFault : Only http and https are allowed) 2007-10-17 11:17:46 +00:00
Antony Dovgal 7a9cd0a4fd MFH 2007-10-17 08:19:50 +00:00
Antony Dovgal 36e950eb5f avoid double free and use zval_dtor() where neccessary 2007-10-16 13:20:29 +00:00
Andrey Hristov c8f8766461 MFB5_3 : Shadowing of params bring undefined results. 2007-10-16 13:00:32 +00:00
Raghubansh Kumar 7a97b74637 New testcases for array_flip() function 2007-10-15 06:29:37 +00:00
Raghubansh Kumar 92642d0189 New testcases for array_reverse() function 2007-10-15 06:09:27 +00:00
Hannes Magnusson a029117eb5 MFH: fix typo and remove dots in error message 2007-10-13 11:35:35 +00:00
Ilia Alshanetsky accfde57ca MFB: Fixed bug #42917 (PDO::FETCH_KEY_PAIR doesn't work with setFetchMode) 2007-10-11 20:56:22 +00:00
Derick Rethans 94a3bb327e - Updated to version 2007.8 2007-10-11 18:54:37 +00:00
Raghubansh Kumar d7e424acbe fix test (temp. file name) 2007-10-11 11:53:16 +00:00
Jani Taskinen 979e8b5896 MFB53 2007-10-11 09:33:53 +00:00
Jani Taskinen 3c9eb61d04 MF53 2007-10-11 08:28:02 +00:00
Robert Thompson 98505945f2 Fix for bug 41899, safe mode and relative paths with Solaris's broken getcwd(). 2007-10-10 23:54:39 +00:00
Jani Taskinen 6f128d2dd7 - Generated with more recent re2c version 2007-10-10 09:28:51 +00:00
Ilia Alshanetsky 00f18d764a MFB: Fixed bug #42869 (automatic session id insertion adds sessions id to
non-local forms)
2007-10-10 00:35:52 +00:00
Scott MacVicar 6928bdc6bf MFH: Add constant to allow setting of character set with mysqli_options prior to connection. 2007-10-09 16:56:38 +00:00
Raghubansh Kumar 2a078d14c9 New testcases for strip_tags() function 2007-10-09 12:47:00 +00:00
Raghubansh Kumar 1993c9a384 fix test 2007-10-09 12:19:27 +00:00
Raghubansh Kumar ecf81d1529 fix tests 2007-10-09 12:12:19 +00:00
Raghubansh Kumar bf428e90a5 fix tests 2007-10-09 10:56:45 +00:00
Scott MacVicar 7deeb54fe1 MFH: Fix expand_filepath when including relative files, ideally you should test your code... 2007-10-09 10:06:34 +00:00
Jani Taskinen 6d078cea10 MFH: ws + cs 2007-10-09 08:40:47 +00:00
Raghubansh Kumar fdf4c22696 fix tests 2007-10-09 06:18:47 +00:00
Raghubansh Kumar be49c27d17 more tests for fseek(), ftell() & rewind() for win32 2007-10-09 04:55:14 +00:00
Raghubansh Kumar 0c9f9f8ef9 fix tests 2007-10-09 04:07:24 +00:00
Andrey Hristov 8cc2f5d576 News entry 2007-10-08 18:27:18 +00:00
Andrey Hristov 3f6b49a340 Fix for bug #42890 Constant "LIST" defined by mysqlclient and c-client 2007-10-08 18:25:52 +00:00
Raghubansh Kumar 393a686507 fix test 2007-10-08 16:02:55 +00:00
Raghubansh Kumar b8e0f7e78a fix test 2007-10-08 15:44:26 +00:00
Raghubansh Kumar 40098256fb fix tests 2007-10-08 15:36:01 +00:00
Raghubansh Kumar 50a4e50d03 New testcases for strtr() function 2007-10-08 15:19:56 +00:00
Raghubansh Kumar 99d99a0ba0 New testcases for get_html_translation_table() function 2007-10-08 15:19:27 +00:00
Raghubansh Kumar f075e78ac1 fix test 2007-10-08 06:19:11 +00:00
Robert Thompson 477e2b315b Fix for bug 41822 and 41899. expand_filepath() will now return a relative path under the specific situation where getcwd() returns NULL and the file is
still readable.  As far as I have been able to tell, this fix only applies to the Solaris OS where files in directories with (--x) cannot getcwd().
2007-10-08 02:49:26 +00:00
Antony Dovgal 98599a1c23 MFH: fix ws & folding 2007-10-06 21:35:53 +00:00
Raghubansh Kumar ea8fc31bf3 New testcases for setlocale() function 2007-10-05 19:30:51 +00:00
Raghubansh Kumar b84873aa96 New testcases for nl2br() function 2007-10-05 18:44:35 +00:00
Raghubansh Kumar 7cf81e0fe0 New testcases for strrpos() function 2007-10-05 18:31:51 +00:00
Raghubansh Kumar 620b1c63d0 New testcases for str_split() function 2007-10-05 18:16:34 +00:00
Raghubansh Kumar 2a05dfadb2 New testcases for vsprintf() function 2007-10-05 18:07:28 +00:00
Jani Taskinen 5a8c9a7d1c MFH: fix test 2007-10-05 14:57:51 +00:00
Nuno Lopes e1a402b6da allow lcov 1.6 2007-10-05 14:51:36 +00:00
Ilia Alshanetsky f9137cddf6 BFN 2007-10-04 23:26:04 +00:00
Ilia Alshanetsky 07710a5fb9 MFB: Fixed bug #42817 (clone() on a non-object does not result in a fatal
error)
2007-10-04 23:23:43 +00:00
Jani Taskinen 1be447eb95 MFH: Removed ending dots from error messages 2007-10-04 13:31:11 +00:00
Ilia Alshanetsky 91e99495af MFB: Fixed bug #42783 (pg_insert() does not accept an empty list for
insertion)
2007-10-03 23:31:58 +00:00
Michael Wallner b260f03830 MFH: fix CURLOPT_TIMEOUT_MS support 2007-10-03 20:34:48 +00:00
Dmitry Stogov 0cd4039af2 Fixed bug #42818 ($foo = clone(array()); leaks memory) 2007-10-03 09:47:25 +00:00
Dmitry Stogov c7047381f5 Fixed bug #42772 (Storing $this in a static var fails while handling a cast to string) 2007-10-03 08:02:19 +00:00
Stanislav Malyshev f422acca26 add html* utf fix 2007-10-03 05:03:12 +00:00
Stanislav Malyshev ecc9d28fed add test with invalid sequences 2007-10-03 04:58:41 +00:00
Stanislav Malyshev 5e82a38f0a do not accept partial multibyte sequences in html* functions 2007-10-03 04:53:05 +00:00
Antony Dovgal 63b3528cb1 improved recursion detection in array_walk()
fixes #42752, though the leaks are still there
2007-10-02 10:04:13 +00:00
Ilia Alshanetsky 139996e1ac MFB: Added test for bug #42785 2007-10-01 15:33:21 +00:00
Ilia Alshanetsky f89aae49a7 MFB: Fixed bug #42785 (json_encode() formats doubles according to locale
rather then following standard syntax).
2007-10-01 15:23:15 +00:00
Ilia Alshanetsky 94eb3ed91b MFB: Fixed typo in previous patch 2007-10-01 15:00:15 +00:00
Ilia Alshanetsky 191bf235ed MFB: Refactor code to make fixes for coverity issues #385 and #386 a bit
more obvious
2007-10-01 14:53:01 +00:00
Antony Dovgal 7d889d818a fix test 2007-10-01 10:41:36 +00:00
Antony Dovgal d70e63458f fix tests 2007-10-01 10:25:50 +00:00
Antony Dovgal 23d9af29d7 these dots exist since PHP3
even though Jani removed them in 5_3, I can't see how they can cause any BUGS
2007-10-01 10:22:43 +00:00
Pierre Joye 73219c9cb0 - add notice about glob regression (Lukas) 2007-10-01 08:14:03 +00:00
Raghubansh Kumar e538e493d7 smaller tests already exist 2007-09-29 17:21:41 +00:00
Raghubansh Kumar 2770262bad New testcases for sprintf() function 2007-09-29 14:13:53 +00:00
Raghubansh Kumar 69158b5e18 New testcases for chunk_split() function 2007-09-29 12:55:34 +00:00
Raghubansh Kumar f0435592a0 New testcases for stripos() function 2007-09-29 09:19:43 +00:00
Raghubansh Kumar 6eaef0712e New testcases for strrchr() function 2007-09-29 09:18:07 +00:00
Raghubansh Kumar 64f7dafa74 New testcases for join() function 2007-09-29 09:10:18 +00:00
Raghubansh Kumar 16242cd2df New testcases for htmlspecialchars_decode() function 2007-09-29 09:00:48 +00:00
Johannes Schlüter 11d5f9c7c4 - MFH: Fix type in example 2007-09-28 22:04:47 +00:00
Ilia Alshanetsky 3447b26334 MFB: Fixed coverity issue #470 Unitialized integer value used inside
zend_ini_boolean_displayer_cb
2007-09-27 17:27:15 +00:00
Jani Taskinen 12760053c1 missing folding tag 2007-09-27 16:42:11 +00:00
Jani Taskinen 52095f58a5 MFH: use Z_STR* macros 2007-09-27 16:29:27 +00:00
Jani Taskinen b024bedbdb MFH: ws 2007-09-27 16:00:20 +00:00
Jani Taskinen 5cb0b7609a MFH: ws + cs (to keep in sync with HEAD/PHP_5_3 only!) 2007-09-27 15:54:49 +00:00
Jani Taskinen 2c841333ee ws + cs fixes 2007-09-27 13:15:09 +00:00
Antony Dovgal 474f6eef5e MFH: fix coverity issue #412 2007-09-27 09:19:06 +00:00
Antony Dovgal eb2659c7b2 MFH: fix coverity issue #411 2007-09-27 09:15:20 +00:00
Ilia Alshanetsky f871988b88 BFN 2007-09-26 15:44:15 +00:00
Ilia Alshanetsky b26d5f6077 Fixed bug #42767 (highlight_string() truncates trailing comment) 2007-09-26 15:43:58 +00:00
Raghubansh Kumar 2ff92b584e new testcases for strrev() function 2007-09-26 14:40:14 +00:00
Antony Dovgal 72fc33ef6a MFH 2007-09-26 10:55:07 +00:00
Raghubansh Kumar 433d1a5d02 New testcases for crc32() function 2007-09-26 06:03:55 +00:00
Ilia Alshanetsky d0796d9d68 Another typo fix 2007-09-25 18:18:10 +00:00
Ilia Alshanetsky b89c7fcf8f Fixed typo 2007-09-24 23:33:24 +00:00
Dmitry Stogov 884b06e303 Fixed crash on POST request after dl("mbstring.so") 2007-09-24 11:53:40 +00:00
Rui Hirokawa e94f26f356 MFH: added support "entity" as substitute_character settin accoding to bug #39404 2007-09-24 11:51:36 +00:00
Dmitry Stogov b441b275b3 Fixed bug #42699 (PHP_SELF duplicates path) 2007-09-24 11:40:05 +00:00
Ilia Alshanetsky f60df047f1 Fixed bug #42739 (mkdir() doesnt like a trailing slash when safe_mode is
enabled).
2007-09-23 15:19:21 +00:00
Ilia Alshanetsky ddc1871576 Improve check for filename (fixed coverity issue #355) 2007-09-22 15:55:35 +00:00
Ilia Alshanetsky 24c806c41b Fixed memory leak inside array_intersec (coverity issues #403,#404) 2007-09-22 15:38:00 +00:00
Ilia Alshanetsky 91e8740fe4 Fixed memory leak inside array_diff() (coverity issues #401,#402) 2007-09-22 15:32:11 +00:00
Ilia Alshanetsky 9307163e67 Fixed memory leak inside pack() (coverity issues #398,#399,#400) 2007-09-22 15:25:46 +00:00
Raghubansh Kumar b17d0085f3 New testcases for strspn() function 2007-09-22 10:51:38 +00:00
Raghubansh Kumar 0aa09167c1 New testcases for strcspn() function 2007-09-22 10:36:15 +00:00
Raghubansh Kumar eb3f8fda65 New testcases for strtok() function 2007-09-22 07:39:57 +00:00
Raghubansh Kumar 32b432f878 replaced by array_search_variation1.phpt, hence removed. 2007-09-22 06:58:33 +00:00
Raghubansh Kumar 12bc950491 update and split of testcases for functions array_search() and in_array() 2007-09-22 06:53:58 +00:00
Antony Dovgal cecbe87656 MFH: add NULL check (coverity issue #385) and fix CS 2007-09-21 14:17:06 +00:00
Antony Dovgal 74ae13f933 MFH: check for NULL (coverity issue #386) 2007-09-21 14:12:52 +00:00
Antony Dovgal 074b4e51f0 MFH: check the return value of getgroups() for -1 (coverity issue #390) 2007-09-21 14:05:18 +00:00
Antony Dovgal 43cc8937b2 MFH: plug leak on error (coverity issue #405) 2007-09-21 13:51:49 +00:00
Antony Dovgal 366c113156 MFH: plug leak on error (coverity issue #407) 2007-09-21 13:37:30 +00:00
Dmitry Stogov 9ee4848c3f Improved speed of array_diff_key(), array_diff_assoc() and array_udiff_assoc(). 2007-09-21 13:10:59 +00:00
Antony Dovgal f5bf263b88 initialize all fields of the struct (it's generally good idea even though they should not be used) 2007-09-21 13:08:00 +00:00
Antony Dovgal 3587185a89 MFH: fix invalid read when opendir over FTP fails (coverity issue #462) 2007-09-21 12:57:38 +00:00
Stanislav Malyshev 7985002fc6 better fix for iconv_substr 2007-09-20 22:35:24 +00:00
Nuno Lopes fa0efe45e0 fix crash when fetching a node type that doesnt exist
# reported in a manual user note
2007-09-20 22:25:06 +00:00
Stanislav Malyshev c70e307e77 fix potential overflow (Mattias Bengtsson) 2007-09-20 21:55:14 +00:00
Stanislav Malyshev cfd8f6d775 add test for dl() with long name 2007-09-20 18:44:24 +00:00
Jani Taskinen 30dc58671d MFH 2007-09-20 14:28:12 +00:00
Jani Taskinen ba144fd417 - Fix test and tuned error message 2007-09-20 14:11:32 +00:00
Jani Taskinen c932082f7b MFH 2007-09-20 13:49:33 +00:00
Ilia Alshanetsky 84d594e4b6 Fixed test for glob() affected by previous patch 2007-09-20 13:29:04 +00:00
Rob Richards da068e5291 BFN 2007-09-20 09:32:31 +00:00
Rob Richards adb1cd835d MFH: fix bug #42139 (XMLReader option constants are broken using XML())
add test
2007-09-20 09:30:45 +00:00
Dmitry Stogov 8d377a698a Improved speed of array_intersect_key(), array_intersect_assoc() and array_uintersect_assoc(). (100 times faster on arrays with 100000 elements) 2007-09-20 09:22:59 +00:00
Antony Dovgal f67c0222fe MFH 2007-09-20 08:10:44 +00:00
Ilia Alshanetsky 47950d10cf Fixed regression in glob() when enforcing safe_mode/open_basedir checks on
paths containing '*'
2007-09-19 22:37:58 +00:00
Antony Dovgal 77951494b7 MFH 2007-09-19 11:25:57 +00:00
Stanislav Malyshev f7e4ff1054 one more test 2007-09-19 00:49:02 +00:00
Stanislav Malyshev d07b041e8a report iconv fix 2007-09-19 00:41:10 +00:00
Stanislav Malyshev 1ef91c8494 limit iconv parameters here too 2007-09-19 00:33:43 +00:00
Stanislav Malyshev 2fe9599880 limit iconv parameter sizes - workaround for glibc bug 2007-09-19 00:30:52 +00:00
Stanislav Malyshev 15a715ae73 add length tests for iconv functions 2007-09-19 00:18:01 +00:00
Rui Hirokawa beeddd8873 MFH: fixed bug #42502 va_* cannot detect. 2007-09-18 21:35:39 +00:00
Rui Hirokawa 507112e44d modified line end CR -> CR+NL 2007-09-18 21:33:29 +00:00
Stanislav Malyshev 08d3f07ced add dl() limit patch 2007-09-18 20:25:07 +00:00
Stanislav Malyshev 280e6464e8 limit dl() argument length (patch by Christian Hoffmann) 2007-09-18 20:19:34 +00:00
Ilia Alshanetsky 785b9d76f8 Fixed bug #42189 (xmlrpc_set_type() crashes php on invalid datetime
values).
2007-09-18 19:49:54 +00:00
Jani Taskinen 21f5a00183 BFN 2007-09-18 09:25:03 +00:00
Jani Taskinen c29136bd08 - Fixed bug #42629 (Dynamically loaded PHP extensions need symbols exported on MacOSX) 2007-09-18 09:24:04 +00:00
Ilia Alshanetsky 6c49087e64 Fixed typos 2007-09-17 12:44:16 +00:00
Ilia Alshanetsky 402d3eb0e0 Fixed a typo 2007-09-16 15:38:57 +00:00
Raghubansh Kumar 35990e7c5b better output matching/fixes 2007-09-15 07:29:55 +00:00
Raghubansh Kumar ec3a713fbb Removing from file dir as it was wrongly committed to this dir 2007-09-14 19:03:14 +00:00
Raghubansh Kumar b59c171e23 New testcases for strncasecmp() 2007-09-14 19:02:07 +00:00
Raghubansh Kumar 6d12620591 New testcases for chop() 2007-09-14 18:58:02 +00:00
Raghubansh Kumar e1a08e5d55 New testcases for wordwrap() 2007-09-14 18:53:38 +00:00
Raghubansh Kumar 4799047e07 New testcases for strncasecmp() function 2007-09-14 18:26:44 +00:00
Raghubansh Kumar aafdc266bf New testscases for chop() function 2007-09-14 18:24:47 +00:00
Zoe Slattery 619b218e9a Changing to use %a to match recent run-tests.php patch 2007-09-14 16:28:54 +00:00
Nuno Lopes 40085b06f2 changes to run-tests.php:
- change %s to %a
- make %s = [^\r\n]+
- fix tests accordingly
2007-09-14 15:28:03 +00:00
Nuno Lopes b121ffae92 fix expected output 2007-09-14 15:04:19 +00:00
Raghubansh Kumar 0cb6cfcd87 better comments 2007-09-14 14:31:55 +00:00
Raghubansh Kumar f22626ba5a New testcases for wordwrap() function 2007-09-14 14:14:48 +00:00
Raghubansh Kumar 4903f48eaa fix test 2007-09-14 09:38:13 +00:00
Jani Taskinen 3373aeff8e fix news 2007-09-14 08:20:15 +00:00
Stanislav Malyshev 03547dc13c register mail.force_extra_parameters change 2007-09-13 20:08:00 +00:00
Stanislav Malyshev cd836153d6 disallow setting mail.force_extra_parameters from .htaccess 2007-09-13 20:04:22 +00:00
Nuno Lopes bb2ec1c790 fix test, particularly when running with valgrind, bacause it may take more than one second to execute both instructions and thus get different dates 2007-09-13 19:58:26 +00:00
Nuno Lopes b0e393e543 attemp to set locale if it exists. fix skip condition 2007-09-13 19:51:34 +00:00
Nuno Lopes e0660a267e fix expected output 2007-09-13 19:30:19 +00:00
Nuno Lopes e3e2a62d44 fix test expected output 2007-09-13 18:55:28 +00:00
Nuno Lopes 69fbaf7d10 fix skip reasons. the word 'skip' should be followed by a single space and doesnt need any \n at the end 2007-09-13 18:24:26 +00:00
Stanislav Malyshev 4d34ae2946 List recent fixes 2007-09-13 17:15:02 +00:00
Ilia Alshanetsky 2cfdcd265d Added a note indicating that the tests may fail to due libc implementation 2007-09-13 15:36:37 +00:00
Jani Taskinen 859a017f95 MFH: cs/ws 2007-09-13 07:42:12 +00:00
Stanislav Malyshev f39d5a2f21 docs say dl() parameter can be filename only - enforce it 2007-09-13 00:56:31 +00:00
Stanislav Malyshev 1f45d49a0c fix crash if stream is empty and reader function sets buffer as null 2007-09-12 21:21:18 +00:00
Ilia Alshanetsky 910850be51 Fixed bug #42643 (CLI segfaults if using ATTR_PERSISTENT). 2007-09-12 18:26:49 +00:00
Jani Taskinen 96df4d2161 reorder 2007-09-12 11:46:02 +00:00
Jani Taskinen 0e0df5e47c BFN 2007-09-12 11:45:34 +00:00
Jani Taskinen bf132de1eb MFH:- Fixed bug #42627 (bz2 extension fails to build with -fno-common) 2007-09-12 11:44:26 +00:00
Nuno Lopes ada2b7ca41 BFN #39651 2007-09-12 11:44:25 +00:00
Nuno Lopes b24d4ddac9 fix bug #39651: proc_open() append mode doesnt work on windows 2007-09-12 11:42:43 +00:00
Jani Taskinen 26bcbca33b fix news 2007-09-12 09:49:20 +00:00
Raghubansh Kumar 99c6da86f3 marked with Bug #42038 2007-09-12 09:47:35 +00:00
Andrey Hristov dc34874dc9 Fix stupid error, which happens only on Windows. And we thought this has
been fixed. Now my_thread_end() should be called and there should be no
warnings in the error logs of exiting thread, which hasn't deinited, and
leaks.
2007-09-12 09:12:56 +00:00
Raghubansh Kumar 5e6724b122 marked with Bug# 42638 2007-09-12 08:27:35 +00:00
Ilia Alshanetsky 79325e3c55 MFH: Fixed function definition 2007-09-11 23:34:25 +00:00
Pierre Joye fd15282c77 - [DOC] add alpha support for imagefilter's IMG_FILTER_COLORIZE 2007-09-11 21:03:48 +00:00
Nuno Lopes 336111e4e9 remove the -DHAVE_CONFIG_H switch again to fix things on windows
this means that the upgrade script strips the #ifdef automatically
2007-09-11 16:17:34 +00:00
Rob Richards 7f7c158096 MFH: revert config header change 2007-09-11 11:25:20 +00:00
Jani Taskinen 3327653e19 - Fix tests (we are not interested what the old value was for the ini option) 2007-09-11 10:23:04 +00:00
Raghubansh Kumar b33ea59337 fix test 2007-09-11 05:21:40 +00:00
Ilia Alshanetsky ea6de20d86 Fixed Bug #42596 (session.save_path MODE option does not work). 2007-09-10 23:42:54 +00:00
Dmitry Stogov 96810f0ae6 Fixed bug #42587 (behaviour change regarding symlinked .php files) 2007-09-10 10:55:26 +00:00
Antony Dovgal a09eadc95b fix tests 2007-09-10 10:28:54 +00:00
Antony Dovgal 99695744ac split one more ten-in-one test
and fix \v\f stuff while we're here..
2007-09-09 22:28:06 +00:00
Ilia Alshanetsky 9f249298fc BFN 2007-09-09 16:34:05 +00:00
Ilia Alshanetsky 8ff31493b7 Fixed bug #42590 (Make the engine recornize \v and \f escape sequences) 2007-09-09 16:33:34 +00:00
Scott MacVicar e041a39e25 BFN 2007-09-09 16:12:09 +00:00
Scott MacVicar 734dfc8b75 MFH: Fixed bug 42549 (ext/mysql failed to compile with libmysql 3.23) 2007-09-09 16:08:17 +00:00
Pierre Joye 374bef4bc4 - #106 entry 2007-09-09 13:07:00 +00:00
Pierre Joye 7ea43ee23a - re-add fix for libgd #106, imagerectangle draws 1x1 rectangles
as 1x3 rectangles
2007-09-09 13:05:51 +00:00
Rob Richards 20296c625d MFH: point to valid config header 2007-09-08 09:57:22 +00:00
Pierre Joye 793956a0e1 - #42592, remove ending dot in warning msg 2007-09-07 18:23:58 +00:00
Raghubansh Kumar a14ef42c0c New testcases for ucwords() function 2007-09-07 14:44:52 +00:00
Raghubansh Kumar 67b4492c47 New testcases for strncmp() function 2007-09-07 14:20:12 +00:00
Jani Taskinen 9025c2a891 - Can not remove because of the idiotic ZEND_STR*() macros 2007-09-07 14:15:17 +00:00
Raghubansh Kumar cf2121887c New testcases for stripslashes() function 2007-09-07 13:51:26 +00:00
Zoe Slattery b7a47a439b fixing error in expected output 2007-09-07 10:28:03 +00:00
Jani Taskinen 2b69d18e49 - Added reminder for 5.3 2007-09-07 10:00:45 +00:00
Jani Taskinen 822400d78f - Missed this from previous commit to zend_ini.h 2007-09-07 09:59:50 +00:00
Jani Taskinen 2a528a158a - No need to break binary compatibility here 2007-09-07 09:55:37 +00:00
Jani Taskinen 279f8d4822 BFN 2007-09-07 09:39:11 +00:00
Jani Taskinen 82626c1868 MFH: - Fixed the rest of bug #41561 ( @ operator not working ) 2007-09-07 09:37:38 +00:00
Jani Taskinen 510ad20616 MFH: folding tags 2007-09-07 09:35:06 +00:00
Jani Taskinen f393620b9b BFN 2007-09-07 08:50:13 +00:00
Jani Taskinen fef2b33e85 MFH:- Fixed bug #42579 (apache_reset_timeout() does not exist) 2007-09-07 08:49:24 +00:00
Dmitry Stogov dd8c8d05e8 Added checks for malformated FastCGI requests (Mattias Bengtsson) 2007-09-07 08:26:47 +00:00
Ilia Alshanetsky 022d4fc0b6 Added missing safety checks for 2nd parameter of setlocale() function 2007-09-07 02:28:42 +00:00
Derick Rethans e280715150 - MFH: Add a comment why not ~0 or -1. 2007-09-06 13:28:05 +00:00
Andrey Hristov 09fbf87a6c Fixed leaks with multiple connects using one mysqli object.
HEAD will be fixed during the next mysqlnd merge

Fixed failing test for bug38710, 5.0 version is bad, 5.1 is ok.
2007-09-06 10:07:42 +00:00
Raghubansh Kumar af40765f8f New testcases for addslashes() function 2007-09-06 04:01:25 +00:00
Ilia Alshanetsky 49c91f6e33 MFH: fixed typo in function name 2007-09-05 13:03:59 +00:00
Andrey Hristov 649152ca49 Fixed bug #42378 (mysqli_stmt_bind_result memory exhaustion)
Fixed regression of bug 38710. Already fixed in HEAD.
#HEAD will be fixed when doing the next merge from svn
2007-09-05 12:36:44 +00:00
Dmitry Stogov e56466edc8 Fixed bug #42214 (SoapServer sends clients internal PHP errors) 2007-09-05 11:20:45 +00:00
Dmitry Stogov ee944bd1b5 Fixed bug #42488 (SoapServer reports an encoding error and the error itself breaks). 2007-09-05 10:18:23 +00:00
Dmitry Stogov 5d238efaa6 Fixed bug #42523 (PHP_SELF duplicates path) 2007-09-05 08:26:32 +00:00
Antony Dovgal 18ce620bdf bfn 2007-09-04 18:51:48 +00:00
Antony Dovgal 2198abb1c4 MFH: detect endianness in compile time when using Apple's GCC (fixes universal binary build) 2007-09-04 18:46:21 +00:00
Rui Hirokawa b9424cdfaf MFH: fixed bug #29955 invalid case conversion in iso-8859-9. 2007-09-04 14:14:11 +00:00
Ilia Alshanetsky 72f910c012 Fixed possible buffer overflows inside the fnmatch() and glob() functions 2007-09-04 12:51:49 +00:00
Zoe Slattery b78b25a336 Test cases for sin, cos, tan, asin, acos, atan, sinh, cosh, tanh, asinh, acosh, atanh. 2007-09-04 09:01:02 +00:00
Raghubansh Kumar 5096c8d232 fix tests 2007-09-04 08:37:51 +00:00
Ilia Alshanetsky 59a410cb76 Fixed bug #42506 (php_pgsql_convert() timezone parse bug) 2007-09-03 15:36:04 +00:00
Ilia Alshanetsky 09cad322fa Fixed bug #42468 (Write lock on file_get_contents fails when using a
compression stream).
2007-09-03 02:53:56 +00:00
Derick Rethans 152d379950 - MFH: Fixed bug #42512 (ip2long('255.255.255.255') should return 4294967295 on
64-bit PHP).
2007-09-01 18:38:39 +00:00
Nuno Lopes c6f777da1f adapt for PCRE 7.3
remove ability to include config.h from php_pcre.c, as it seems pretty useless and produces a few warnings
2007-09-01 17:51:35 +00:00
Nuno Lopes 3edd2a69f2 upgrade to PCRE 7.3 2007-09-01 17:48:43 +00:00
Nuno Lopes a3e6be974f new test 2007-09-01 17:47:13 +00:00
Antony Dovgal eaa89d2443 1.2.4 2007-08-31 22:30:27 +00:00
Antony Dovgal 19b1e39830 fix package2.xml 2007-08-31 22:26:13 +00:00
Antony Dovgal c230fa2b76 add Chris to the maintainers 2007-08-31 21:44:57 +00:00
Christopher Jones 63bfa32aee New tests for getAttribute 2007-08-31 21:09:43 +00:00
Christopher Jones af387e49ba Add $dbh->getAttribute() support for ATTR_SERVER_VERSION, ATTR_SERVER_INFO, ATTR_CLIENT_VERSION, ATTR_AUTOCOMMIT. Sync WS between PHP 5 & 6 and add a couple of casts. 2007-08-31 21:08:48 +00:00
Antony Dovgal 90d58d4668 MFH: prohibit arguments by ref in magic methods 2007-08-31 12:36:14 +00:00
Dmitry Stogov 39bceffc4a Fixed bug #42453 (CGI SAPI does not shut down cleanly with -i/-m/-v cmdline options) 2007-08-31 12:17:52 +00:00
Antony Dovgal a1ac6e1ee3 update changelog, prepare for 1.2.4 release 2007-08-31 12:10:54 +00:00
Dmitry Stogov 83647013af Fixed bug #42359 (xsd:list type not parsed) 2007-08-31 10:48:45 +00:00
Jani Taskinen cac7e107c6 MFH: ws + protos 2007-08-31 10:46:19 +00:00
Dmitry Stogov fdf96bed47 Fixed bug #42086 (SoapServer return Procedure '' not present for WSIBasic compliant wsdl) 2007-08-31 09:36:02 +00:00
Jani Taskinen 77c36cd259 MFH: ws 2007-08-31 08:35:37 +00:00
Jani Taskinen 9be89ed6f6 MFH: ws fixes 2007-08-31 08:16:13 +00:00
Jani Taskinen b9ddb5cba6 MFH 2007-08-31 08:09:50 +00:00
Dmitry Stogov ba1f56cb6d Fixed bug #42326 (SoapServer crash) 2007-08-31 08:07:28 +00:00
Jani Taskinen 6066b01d1b MFH: Revert revert. 2007-08-31 07:52:29 +00:00
Jani Taskinen 3197e135fa MFH: Moved php.ini related protos where they belong 2007-08-31 07:48:05 +00:00
Jani Taskinen 11750c315d MFH: ws 2007-08-31 07:43:37 +00:00
Jani Taskinen cd0cfdfc39 MFH 2007-08-31 07:42:05 +00:00
Christopher Jones 4450386ae0 New tests 2007-08-30 17:33:00 +00:00
Rob Richards 0ecaf04f86 BFN 2007-08-30 16:32:54 +00:00
Rob Richards 78b2aaa954 MFH: fix bug #42462 (Segmentation when trying to set an attribute in DOMElement) 2007-08-30 16:32:34 +00:00
Hannes Magnusson 2fc92c9172 - Fixed bug #42452 (PDO classes do not expose Reflection API information)
- Fixed tests
2007-08-30 14:06:12 +00:00
Sebastian Bergmann d0d1e42c75 Add optional parameter to debug_backtrace(). 2007-08-30 07:43:21 +00:00
Sebastian Bergmann 78e0e02179 Back to -dev. 2007-08-30 07:40:13 +00:00
Raghubansh Kumar 5081b960e5 fix test: do not run when noatime set 2007-08-30 04:04:58 +00:00
Ilia Alshanetsky 493b67b518 5.2.4 2007-08-29 23:36:11 +00:00
Raghubansh Kumar 16980248cc fix test: do not run on MACOS 2007-08-29 10:11:40 +00:00
Pierre Joye a83c2153f9 - gd bug #102, alternative fix when an old library is used 2007-08-29 06:26:30 +00:00
Raghubansh Kumar 3b32190c91 fix test, do not run on macos 2007-08-29 04:38:09 +00:00
Jani Taskinen ff95906878 Fix news 2007-08-27 08:35:27 +00:00
Pierre Joye 73fcf22627 - revert fix for #106
- add news entry for pslib fix
  NB: Please next time, inform us before a complete freeze is done for
      a given branch. And a week for a RC is defitively too short.
2007-08-27 08:27:45 +00:00
Pierre Joye 0d98b9a1d9 - MFB: gd #106, imagerectangle draws 1x1 rectangles as 1x3 rectangles 2007-08-26 20:35:11 +00:00
Zoe Slattery 9dfb01d3b1 adding check for rc1 to version-compare test 2007-08-24 14:47:50 +00:00
Jani Taskinen 00b9764a41 MFH:- Fix problem with non-bash compliant shells 2007-08-24 11:44:10 +00:00
Ilia Alshanetsky 6ed33cd46d Back to dev 2007-08-23 22:53:52 +00:00
Ilia Alshanetsky 43a3524f49 5.2.4RC3 2007-08-23 22:39:02 +00:00
Antony Dovgal cc44f5a09c -BFN 2007-08-23 18:44:09 +00:00
Antony Dovgal 8a3b3e9365 MFH: revert the patch which breaks multithreaded servers 2007-08-23 18:42:42 +00:00
Derick Rethans 80b4ee9f44 - MFH: Make version_compare() also understand the lower case variant of "RC". 2007-08-23 18:38:42 +00:00
Jani Taskinen de85bf4060 MFH: ws + cs changes (sync to ease merging patches around!) 2007-08-23 12:23:59 +00:00
Jani Taskinen 19401951c0 MFH: sync 2007-08-23 11:42:21 +00:00
Raghubansh Kumar ede06426ee fix tests 2007-08-23 09:32:37 +00:00
Ilia Alshanetsky 89c0ba1685 Fixed bug #37273 (Symlinks and mod_files session handler allow open_basedir
bypass).
2007-08-23 02:04:39 +00:00
Ilia Alshanetsky f30f2ef733 Fixed bug #42368 (Incorrect error message displayed by pg_escape_string). 2007-08-22 22:40:29 +00:00
Jani Taskinen 8ab9984707 MFH:- Fixed bug #42365 (glob() crashes with invalid flags) 2007-08-22 14:59:45 +00:00
Dmitry Stogov 8a61fc9b6e Fixed bug #42183 (classmap cause crashr in non-wsdl mode) 2007-08-22 14:18:10 +00:00
Dmitry Stogov 1aab36e3f2 Fixed bug #42009 (is_a() and is_subclass_of() should NOT call autoload, in the same way as "instanceof" operator). 2007-08-22 13:19:48 +00:00
Jani Taskinen 141ae73099 MFH:Fix typo in fastcgi.logging option example 2007-08-21 23:24:18 +00:00
Johannes Schlüter 254992907c - MFH: Fix Bug #42364 Crash when using getRealPath with DirectoryIterator 2007-08-21 22:45:53 +00:00
Ilia Alshanetsky 1fd7133d5a No longer experimental 2007-08-20 23:36:03 +00:00
Sebastian Bergmann 11b820bda3 - Fugbix typo. 2007-08-20 17:01:22 +00:00
Jani Taskinen c6a7e4cad4 MFH:- Part 1 of fixing problems with runpath switch (make --disable-rpath work for real) 2007-08-20 14:28:45 +00:00
Raghubansh Kumar 857aae2bd7 fix test : skip if user is root 2007-08-20 04:07:02 +00:00
Raghubansh Kumar 7f0be4f49d fix tests 2007-08-20 03:37:39 +00:00
Raghubansh Kumar b1080faf44 fix test: skip if user is root 2007-08-20 03:12:36 +00:00
Jani Taskinen 8c4b05ad66 BFN 2007-08-19 16:11:17 +00:00
Ilia Alshanetsky c5e61d4bca No longer relavent, extension is made absolete by fileinfo 2007-08-19 13:48:00 +00:00
Rui Hirokawa 1d44054407 MFH (fixed #42085) 2007-08-19 01:58:39 +00:00
Johannes Schlüter 1d48a1081c - MFH: Mark the parameter for ReflectionProperty::GetValue as optional 2007-08-17 14:21:32 +00:00
Christopher Jones 440ed3da7f PDO_OCI: fix Instant Client build broken by logic correction during previous Solaris lib/lib32 fix 2007-08-17 13:30:36 +00:00
Jani Taskinen b27d339ddb MFH:- Fixed bug #41904 (proc_open with empty env array) 2007-08-17 10:42:30 +00:00
Ilia Alshanetsky 2526d4f752 Back to dev 2007-08-17 00:38:23 +00:00
Ilia Alshanetsky 7f91d94c1d 5.2.4RC2 2007-08-17 00:35:39 +00:00
Stanislav Malyshev 5b021ac2fa fix proto 2007-08-16 23:54:24 +00:00
Jani Taskinen eb4a23c5ca - Check the length too (just like in HEAD) 2007-08-16 23:05:43 +00:00
Jani Taskinen a3e6f47ea1 MFH:- Fix bug #41946 (ip2long("") should return FALSE) 2007-08-16 22:17:10 +00:00
Raghubansh Kumar f2038206cc fix tests 2007-08-16 16:31:25 +00:00
Ilia Alshanetsky 2326c077e7 Extension is no longer experimental 2007-08-15 17:58:46 +00:00
Ilia Alshanetsky a4e199018c Docs were added 2007-08-14 23:53:34 +00:00
Raghubansh Kumar 33f46cfe00 Fix tests 2007-08-14 14:07:46 +00:00
Antony Dovgal 35591acebd MFH 2007-08-14 12:15:04 +00:00
Rob Richards 068ee42185 BFN 2007-08-14 12:12:33 +00:00
Rob Richards 07bf252ef5 MFH: fix bug #42259 (SimpleXMLIterator loses ancestry)
add test
2007-08-14 12:10:46 +00:00
Jani Taskinen 2c126513bb bfn 2007-08-14 08:43:57 +00:00
Jani Taskinen e602885e54 MFH:- Fixed bug #42292 ($PHP_CONFIG not set for phpized builds) 2007-08-14 08:43:41 +00:00
Jani Taskinen d32c991e44 fix is fix, change is something else 2007-08-14 07:36:13 +00:00
Ilia Alshanetsky 74f8114a89 Oracle news 2007-08-14 00:57:06 +00:00
Stanislav Malyshev fb5d47b1fb variable class patch was reverted for 5.2.4 2007-08-14 00:50:45 +00:00
Ilia Alshanetsky c7b4ea7820 Fixed typo 2007-08-13 23:17:38 +00:00
Stanislav Malyshev 848b1cbb91 revert variable class support for 5.2 2007-08-13 21:20:18 +00:00
Stanislav Malyshev c8f090c13e Revert variable class patch for 5.2 2007-08-13 21:16:57 +00:00
Jani Taskinen bd27a1227e touch try 2 2007-08-13 20:33:08 +00:00
Jani Taskinen b1ac58f75b touch 2007-08-13 20:14:05 +00:00
Jani Taskinen 65c77514e4 - RC2 on the run 2007-08-13 20:13:19 +00:00
Hannes Magnusson 1507d56fc6 Fix version
# RC1 is out, RC2 is in the works..
2007-08-13 20:07:58 +00:00
Antony Dovgal afed25d648 MFH 2007-08-13 12:46:40 +00:00
Raghubansh Kumar 5c98effea0 New testcase for clearstatcache() function 2007-08-13 11:40:57 +00:00
Raghubansh Kumar 4ed53a6dce New testcase for parse_ini_file() function 2007-08-13 11:34:42 +00:00
Ilia Alshanetsky fb8e3abe88 Fixed copy test as well as the directory check inside copy() function 2007-08-12 17:09:59 +00:00
Ilia Alshanetsky df9fbb6a73 Fixed test 2007-08-12 16:29:43 +00:00
Ilia Alshanetsky 69c00b75bb WS 2007-08-12 16:28:07 +00:00
Raghubansh Kumar b6e86f054c New testcases for fgetss() function 2007-08-12 06:53:04 +00:00
Raghubansh Kumar 6aa6434abf More new testcases for fopen() & fclose() functions 2007-08-12 05:16:19 +00:00
Antony Dovgal ba1cfb71ae MFH 2007-08-11 22:42:29 +00:00
Antony Dovgal 5c3fb1ec46 MFH: fix tests 2007-08-11 22:18:45 +00:00
Rui Hirokawa e2a13a5c50 fixed compilation error: S_ISDIR is undefined. 2007-08-11 04:34:59 +00:00
Raghubansh Kumar ceeeed9d19 New testcases for fscanf() function 2007-08-10 17:54:48 +00:00
Raghubansh Kumar 7893178d8d New testcases for htmlentities() and htmlspecialchars() 2007-08-10 15:06:17 +00:00
Jani Taskinen 6c305edc9c No dots in error messages! 2007-08-10 13:25:03 +00:00
Antony Dovgal e2a79ed73e .. and remove the original one 2007-08-10 12:30:21 +00:00
Antony Dovgal 296147ea6e split the test 2007-08-10 12:30:09 +00:00
Jani Taskinen c4be8ab831 - Fix the fix for bug #42233 2007-08-10 12:17:26 +00:00
Antony Dovgal e87a7388b7 fix tests 2007-08-10 12:11:46 +00:00
Antony Dovgal 2046298d47 MFH 2007-08-10 10:13:15 +00:00
Antony Dovgal 38b7d577a3 MFH: fix ws/cs & folding 2007-08-10 09:09:46 +00:00
Antony Dovgal 7fbcb745ab nuke the dot 2007-08-10 08:58:44 +00:00
Christopher Jones 9420637921 oci8: MFH with Ilia's OK: changes to build with Oracle Database 11g 2007-08-10 07:02:33 +00:00
Christopher Jones decd278a8d pdo_oci: MFH with Ilia's OK: changes to build with Oracle Database 11g 2007-08-10 07:01:47 +00:00
Raghubansh Kumar 9bdaf6ab55 more new testcases for tempnam() function 2007-08-10 03:31:56 +00:00
Raghubansh Kumar 270414f3b5 New testcases for strtolower() and strtoupper() functions 2007-08-10 03:03:49 +00:00
Raghubansh Kumar 40f54b6c21 More new testcases for copy() function 2007-08-10 02:57:30 +00:00
Ilia Alshanetsky b29b59dcd2 Fixed bug #42242 (sybase_connect() crashes) 2007-08-10 00:43:50 +00:00
Ilia Alshanetsky e9b8f37341 Fixed bug #42243 (copy() does not ouput an error when the first arg is a
dir).
2007-08-10 00:36:57 +00:00
Ilia Alshanetsky ffab827d01 Fixed bug #42261 (header wrong for date field). 2007-08-10 00:30:04 +00:00
Ilia Alshanetsky 6a752ac6df Fixed bug #42117 (bzip2.compress loses data in internal buffer) 2007-08-09 23:27:22 +00:00
Mattias Bengtsson 3126445073 - libgd #101, imagecreatefromgd can crash if gdImageCreate fails 2007-08-09 14:21:38 +00:00
Mattias Bengtsson 436a7a9767 - libgd #94, imagecreatefromxbm can crash if gdImageCreate fails 2007-08-09 12:08:29 +00:00
Jani Taskinen 2c1d8c74bd bfn 2007-08-09 08:43:09 +00:00
Jani Taskinen 8c32099c5e MFH:- Fixed bug #42247 (ldap_parse_result() not defined under win32) 2007-08-09 08:42:43 +00:00
Raghubansh Kumar f852cf4c91 New testcases for tempnam() function 2007-08-09 03:34:00 +00:00
Stanislav Malyshev 50293835bf remove unneeded variables 2007-08-08 23:51:57 +00:00
Antony Dovgal 08286bcb9f fix ws & folding 2007-08-08 22:32:24 +00:00
Stanislav Malyshev 45e907a0ee fix startup - remove unneeded variables 2007-08-08 21:57:30 +00:00
Stanislav Malyshev 1e7a23a376 initialize values 2007-08-08 21:11:53 +00:00
Stanislav Malyshev 6c8312fa03 fix TSRM embed startup 2007-08-08 21:06:28 +00:00
Dmitry Stogov ef71664817 Fixed bug #42211 (property_exists() fails to find protected properties from a parent class) 2007-08-08 13:32:46 +00:00
Raghubansh Kumar 9bd0045359 New Testcases for fgetcsv() function 2007-08-08 13:13:18 +00:00
Raghubansh Kumar af3de070e5 More testcases for fputcsv() function 2007-08-08 13:08:17 +00:00
Dmitry Stogov 50aef7ec83 - Fixed bug #42198 (SCRIPT_NAME and PHP_SELF truncated when inside a userdir
and using PATH_INFO).
- Fixed bug #31892 (PHP_SELF incorrect without cgi.fix_pathinfo, but turning
  on screws up PATH_INFO).
2007-08-08 13:01:40 +00:00
Nuno Lopes cb0e56f7c7 +- Fixed bug #41973 (./configure --with-ldap=shared fails with 2007-08-08 11:37:44 +00:00
Jani Taskinen 9c07366bb0 MFH: fix typos in comments 2007-08-08 10:00:34 +00:00
Jani Taskinen 0d5dd8829b - Fixed bug #42233 (Problems with æøå in extract()). 2007-08-08 07:41:09 +00:00
Jani Taskinen 45e96efd1d MFH: This is what we get for not doing MFH..or MFB..a mess 2007-08-08 07:01:49 +00:00
Dmitry Stogov 6aa06fc7fb Fixed test 2007-08-08 06:42:10 +00:00
Pierre Joye e507b4c4ce - fix regression introduced with #42222 (thx to tony and mattias for the
head up)
2007-08-08 06:29:46 +00:00
Christopher Jones bc890f08fb Record 'nother bug fix 2007-08-08 04:36:02 +00:00
Raghubansh Kumar 83928238c2 New testcases for fputcsv() function 2007-08-08 03:53:07 +00:00
Ilia Alshanetsky 0cb6dd5671 Fixed bug #42237 (stream_copy_to_stream returns invalid values for mmaped
streams).
2007-08-08 02:16:41 +00:00
Christopher Jones aa02056fcb Add bugs fixed 2007-08-07 23:12:31 +00:00
Antony Dovgal 15de12187e update changelog 2007-08-07 21:56:10 +00:00
Hannes Magnusson d937ffa999 Fix test 2007-08-06 23:35:46 +00:00
Hannes Magnusson 42e003cd6c MFH: - Fix isset/empty($ZipArchive->property)
MFH: - Add test
2007-08-06 22:02:32 +00:00
Christopher Jones a289952c47 MFH: oci8: flush persistent connection after password change 2007-08-06 20:32:55 +00:00
Pierre Joye 455cd3d837 - #42222, forgot this one (thanks mattias) 2007-08-06 19:49:45 +00:00
Jani Taskinen 0018bc6ac5 - move entry to right place.. 2007-08-06 19:40:21 +00:00
Pierre Joye 3f05f1f6fd - #42222 entry 2007-08-06 19:16:40 +00:00
Pierre Joye bca0912296 - #42222, truncate the _default to the buffer size (was 200 since day #1, we don't need dynamic alloc here) 2007-08-06 19:11:20 +00:00
Jani Taskinen c07aeab868 Touch generated file 2007-08-06 18:33:29 +00:00
Jani Taskinen 6bd9f53a63 - fix ws 2007-08-06 18:23:16 +00:00
Ilia Alshanetsky 57f3c5b343 Fixed compiler warning 2007-08-06 16:45:23 +00:00
Rob Richards 8f17ded3d7 BFN 2007-08-06 16:23:08 +00:00
Rob Richards 9abc90728d MFH: fix bug #42082 (NodeList length zero should be empty). (Hannes)
add and update tests
2007-08-06 16:22:24 +00:00
Antony Dovgal 12ddff7032 update changelog & list of files 2007-08-06 15:57:27 +00:00
Jani Taskinen 67940a9c29 MFH:- Fixed bug #42195 (C++ compiler required always) 2007-08-06 14:33:51 +00:00
Antony Dovgal 83e7324dae fix build 2007-08-06 12:54:57 +00:00
Ilia Alshanetsky cd32b4e2bb Fixed bug #42208 (substr_replace() crashes when the same array is passed
more than once)
2007-08-05 14:47:42 +00:00
Sara Golemon 6f25b84a3a MFH(r-1.49)Bugfix#36492 Userfilters can leak buckets 2007-08-04 07:53:00 +00:00
Antony Dovgal 515aaeda10 'I32' and 'I' support 2007-08-03 14:31:28 +00:00
Jani Taskinen a847d2c6fe MFH: fix for broken shells 2007-08-03 14:01:56 +00:00
Antony Dovgal fd088beb06 fix test names 2007-08-03 13:50:20 +00:00
Jani Taskinen 82559ff7e5 - Hopefully this fixes the "test: argument expected" error on solaris.. 2007-08-03 10:45:23 +00:00
Antony Dovgal 4a43566b19 fix folding 2007-08-03 09:51:12 +00:00
Antony Dovgal 57daf22d8f MFH: add I64 support to spprintf() 2007-08-03 09:48:58 +00:00
Jani Taskinen 77f9d22a0e - Sync with apache2handler 2007-08-03 09:33:30 +00:00
Jani Taskinen b8470c4ca0 ws 2007-08-03 09:33:17 +00:00
Jani Taskinen fc2fef68ac - ws + sync apache2filter apache_config.c with the one from apache2handler 2007-08-03 09:32:34 +00:00
Christopher Jones 1fbba60dcb New oci8 test for oci_password_change() 2007-08-03 01:55:15 +00:00
Stanislav Malyshev df11ce1ece check correct value 2007-08-03 01:30:21 +00:00
Stanislav Malyshev 6b7f164803 correct fix for access control for save_path and .htaccess 2007-08-03 01:16:40 +00:00
Stanislav Malyshev 1b131c46ad make error_log setting access-controlled by safe_mode/open_basedir 2007-08-03 01:15:51 +00:00
Stanislav Malyshev c94dee8696 implement separate .htaccess stage 2007-08-03 01:14:44 +00:00
Stanislav Malyshev 0ad85237ea add stage for .htaccess 2007-08-02 23:57:52 +00:00
Stanislav Malyshev a019d99e3f it's 4 either way, but it's customary to use 1<< 2007-08-02 23:54:19 +00:00
Stanislav Malyshev f361b07629 use hardcoded ini like CLI 2007-08-02 23:45:28 +00:00
Christopher Jones 864a08d1cb Test existing PHP 5 safe mode functionality and make consistent. No MTH. 2007-08-02 22:39:54 +00:00
Ilia Alshanetsky 56a947a3f7 Back to dev 2007-08-02 22:28:18 +00:00
Antony Dovgal 00b3df2ad3 fix test 2007-08-02 22:28:06 +00:00
Ilia Alshanetsky 6879ccfa7d 5.2.4RC1 2007-08-02 22:18:30 +00:00
Johannes Schlüter b3c6a9dffc - Add possibility to call static class members using variables (Etienne Kneuss) 2007-08-02 21:55:23 +00:00
Antony Dovgal 48d5519378 MFH: int -> zend_bool 2007-08-02 20:32:44 +00:00
Antony Dovgal cc5fd27a0e BFN 2007-08-02 20:30:31 +00:00
Christopher Jones 5534e4381d Fix message grammar and capitalization 2007-08-02 19:38:08 +00:00
Christopher Jones f894c6ece7 MFH: Bug #42173 (INTERVAL and TIMESTAMP type fixes) 2007-08-02 19:04:37 +00:00
Johannes Schlüter c0667eeaff - MFH: Respect value of the parameter for get_loaded_extensions() and only
print zend extensions if set to true
2007-08-02 16:54:44 +00:00
Stanislav Malyshev 959aa4f596 revert wrong fix 2007-08-01 23:51:45 +00:00
Ilia Alshanetsky 3f1b9990a4 Fixed bug #41831 (pdo_sqlite prepared statements convert resources to
strings).
2007-08-01 22:45:31 +00:00
Christopher Jones e942c16f7c MFH: New test for error handling 2007-08-01 15:18:37 +00:00
Pierre Joye 6387c99f83 - fix win32 build 2007-08-01 15:13:40 +00:00
Johannes Schlüter 25848bff61 - MFH: Fix #42164 Internal Sendmail Support is ALWAYS disabled 2007-08-01 12:49:34 +00:00
Antony Dovgal d5a59064f9 MFH 2007-08-01 11:43:05 +00:00
Dmitry Stogov a382ede3e8 Fixed bug #42119 (array_push($arr,&$obj) doesn't work with zend.ze1_compatibility_mode On) 2007-08-01 10:56:45 +00:00
Dmitry Stogov 8589a7f473 Fixed bug #42151 (__destruct functions not called after catching a SoapFault exception) 2007-08-01 10:39:33 +00:00
Johannes Schlüter 8566193449 - MFH: Use a script to generate tokenizer data from zend_language_parser.h 2007-07-31 23:24:11 +00:00
Ilia Alshanetsky c72d39f763 Fixed bug #41971 (PDOStatement::fetch and PDOStatement::setFetchMode causes
unexpected behavior).
2007-07-31 22:48:42 +00:00
Johannes Schlüter 4db96af53f - BFN 2007-07-31 22:47:43 +00:00
Johannes Schlüter ebaba40774 - MFH: Add additional param to get_loaded_extensions() for returning Zend
extensions (Fixes #41278) [DOC]
2007-07-31 22:47:25 +00:00
Jani Taskinen 52bb8f78a0 MFH:- Allow using * in test filenames to match pattern 2007-07-31 21:29:21 +00:00
Antony Dovgal 49fbb7770b add test 2007-07-31 21:11:33 +00:00
Antony Dovgal 287ac21d5f MFH: missing part of the fix for bug #42134 2007-07-31 21:09:01 +00:00
Antony Dovgal 9efa1d8914 MFH: fix #42134 (oci_error() returns false after oci_new_collection() fails) 2007-07-31 19:21:08 +00:00
Rob Richards 10fabe9092 BFN 2007-07-31 15:41:31 +00:00
Rob Richards e0a2d149f5 MFH: fix bug #41833 (addChild() on a non-existent node, no node created, getName() segfaults) 2007-07-31 15:40:49 +00:00
Rob Richards ce582024a5 MFH: fix possible crash 2007-07-31 15:07:54 +00:00
Jani Taskinen 8af7bc2044 MFH: Fix some lib vs $PHP_LIBDIR issues 2007-07-31 13:02:00 +00:00
Antony Dovgal 095fdf88ce fix typo 2007-07-31 12:23:50 +00:00
Antony Dovgal d78c7c9421 fix test 2007-07-31 07:09:08 +00:00
Stanislav Malyshev fb927452c9 sometimes c-client lib returns non-null entry with null host 2007-07-31 00:31:10 +00:00
Pierre Joye 6ed7c8f3aa - fix gd bug #102, < 0 means that no load are loaded, return false
- add error code in the warning
2007-07-30 21:42:36 +00:00
Rob Richards b96718ba20 allow user specified class to be returned from transformToDoc 2007-07-30 16:33:22 +00:00
Ilia Alshanetsky f8217712a4 Fixed bug #42142 (substr_replace() returns FALSE when length > string
length).

[doc] Adjust length validation check inside substr_replace() to be similar
to that inside substr() so that excessive length is truncated to string
length.
2007-07-30 14:22:06 +00:00
Ilia Alshanetsky 3034092111 Fixed bug #42135 (Second call of session_start() causes creation of SID) 2007-07-29 14:43:30 +00:00
Rob Richards 7d8734e5ca BFN 2007-07-28 08:35:09 +00:00
Rob Richards b96a8a79ba Fixed Bug #42112 (deleting a node produces memory corruption)
add test
2007-07-28 08:32:51 +00:00
Dmitry Stogov 786621893e Improved fix for bug #41633 (self:: doesn't work for constants) to support function define() 2007-07-27 16:29:12 +00:00
Ilia Alshanetsky d3571ea2a9 WS 2007-07-27 00:20:43 +00:00
Jani Taskinen 8684e7495f MFH: - Made build system less major version dependant to ease MFB/MFH 2007-07-26 22:45:59 +00:00
Jani Taskinen 68b823564d MFH: - Fixed bug #42107 (sscanf broken when using %2$s type format parameters) 2007-07-26 15:24:06 +00:00
Jani Taskinen 9fe59f509c MFH: cs + ws fixes 2007-07-26 14:30:22 +00:00
Raghubansh Kumar dcc62b53bf file.inc : Added dumping of stat array in functions (compare_self_stat() & compare_stats() )
Smaller testcases for lstat_stat_variation[1-7].phpt files
2007-07-26 13:38:24 +00:00
Hannes Magnusson 423982ac97 MFH: arginfo 2007-07-26 13:20:21 +00:00
Antony Dovgal 0c10470842 BFN 2007-07-26 08:26:47 +00:00
Jani Taskinen 5a1c39f71d MFH: - Allow using extra headers in PHP_CHECK_SIZEOF 2007-07-25 22:49:39 +00:00
Ilia Alshanetsky 2600cf9c20 Already exists in PECL 2007-07-25 22:26:14 +00:00
Dmitry Stogov 2d3d745bd9 Fixed EOF handling in case of reading from file opened in write only mode. 2007-07-25 16:34:06 +00:00
Dmitry Stogov d0ef6e9a95 Fixed bug #41713 (Persistent memory consumption on win32 since 5.2) 2007-07-25 11:13:00 +00:00
Antony Dovgal 934b97d611 MFH 2007-07-25 09:41:06 +00:00
Hannes Magnusson d2d88e74a0 MFH: Show "wrong parameter count" error messages 2007-07-25 09:06:22 +00:00
Johannes Schlüter 179c67a64b - New ReflectionExtension::info() function to print the phpinfo() block
for an extension. [DOC]
2007-07-24 23:15:58 +00:00
Hannes Magnusson e3b8cf0f66 MFH: Fixed bug#42090 (json_decode causes segmentation fault) 2007-07-24 22:57:13 +00:00
Antony Dovgal 3afa134717 [DOC] MFH: add PCRE_VERSION constant to ext/pcre 2007-07-24 22:35:18 +00:00
Antony Dovgal 99a162bb8b fix ZTS build 2007-07-24 20:32:32 +00:00
Dmitry Stogov af0e8612af Fixed test 2007-07-24 20:08:33 +00:00
Dmitry Stogov e13b4c2c4e Fixed bug #40705 (Iterating within function moves original array pointer)
Fixed bug #40509 (key() function changed behaviour if global array is used within function)
2007-07-24 19:24:40 +00:00
Dmitry Stogov 4035a8ebc0 Fixed bug #41372 (Internal pointer of source array resets during array copying)
Fixed bug #37715 (array pointers resetting on copy)
2007-07-24 18:28:39 +00:00
Dmitry Stogov 78932ba2f9 Fixed bug #41984 (Hangs on large SoapClient requests) 2007-07-24 14:24:44 +00:00
Jani Taskinen 335cac3c6a MFH:- Changed "display_errors" php.ini option to accept "stderr" as value which
MFH:  makes the error messages to be outputted to STDERR instead of STDOUT with
MFH:  CGI and CLI SAPIs (FR #22839).
2007-07-24 14:21:36 +00:00
Ilia Alshanetsky 1bc2880c46 Test name formatting fixes 2007-07-24 14:07:42 +00:00
Dmitry Stogov 7ec48cb37f Fixed bug #40757 (get_object_vars get nothing in child class)
Fixed bug #41929 (Foreach on object does not iterate over all visible properties)
2007-07-24 11:39:56 +00:00
Jani Taskinen c96c5ca91f MFH:- Added missing MSG_EOR and MSG_EOF constants 2007-07-24 11:35:08 +00:00
Jani Taskinen 10da2d994b MFH: removed useless file 2007-07-24 11:15:59 +00:00
Dmitry Stogov 7a847f1086 Fixed bug #41983 (Error Fetching http headers terminated by '\n') 2007-07-24 09:27:46 +00:00
Jani Taskinen b555062576 - fix NEWS 2007-07-24 09:26:34 +00:00
Andrey Hristov 38ae7f47c0 Fix build with latest 5.1 sources where gptr is no more. 2007-07-24 09:22:16 +00:00
Dmitry Stogov db97db9430 Fixed bug #42027 is_file() / is_dir() matches file/dirnames with wildcard char or trailing slash 2007-07-24 09:07:33 +00:00
Ilia Alshanetsky 5cdae5bdbb Fixed bug #42072 (No warning message for clearstatcache() with arguments). 2007-07-23 23:03:09 +00:00
Antony Dovgal fe25997d44 fix test 2007-07-23 22:46:03 +00:00
Antony Dovgal 48f4ea9fba fix test 2007-07-23 22:14:47 +00:00
Antony Dovgal a13e153942 remove the tests, they've been splitted into smaller ones 2007-07-23 19:19:09 +00:00
Jani Taskinen 4b1afad123 BFN 2007-07-23 16:18:10 +00:00
Jani Taskinen c9f6d5941e MFH: - Fixed buf #42071 (ini scanner allows using NULL as option name).
MFH: Use Z_* macros to access the zvals.
2007-07-23 16:17:10 +00:00
Jani Taskinen e8fcd7477c MFH: Fixed str_pad() when passed huge negative pad length. 2007-07-23 13:27:59 +00:00
Antony Dovgal 17ee976404 fix ws/folding 2007-07-23 12:24:52 +00:00
Jani Taskinen 5b71d45eff MFH: sync 2007-07-23 11:53:58 +00:00
Jani Taskinen 0dd60dd1cd MFH: fix descriptions 2007-07-23 10:47:13 +00:00
Antony Dovgal ecb986892c more tests 2007-07-23 09:14:34 +00:00
Dmitry Stogov 1f5310747e Fixed wrong expectation 2007-07-23 08:58:17 +00:00
Dmitry Stogov 4ddde21059 Fixed rename() in ZTS to allow renaming of symbolic links;
Consistent handling of trailing slash
2007-07-23 08:57:04 +00:00
Raghubansh Kumar e4bf2268bf more testcases for glob() function 2007-07-23 07:32:08 +00:00
Raghubansh Kumar 6e8d7aa85d New testcases for glob() function 2007-07-23 05:22:59 +00:00
Hannes Magnusson e6e823c844 Avoid endless loop 2007-07-23 01:13:43 +00:00
Jani Taskinen 0b40ec1f19 MFH:- Fixed bug #21197 (socket_read() outputs error with PHP_NORMAL_READ) 2007-07-22 23:01:20 +00:00
Jani Taskinen 815d8a9743 MFH: ws fix + sync U stuff for patches to MFB easier 2007-07-22 22:47:18 +00:00
Jani Taskinen 542d413277 MFH: sync 2007-07-22 22:22:09 +00:00
Jani Taskinen 257405eda6 - Test properly for socketpair inside an extension. 2007-07-22 22:18:41 +00:00
Raghubansh Kumar 8c01bf9ffb More new testcases for fread() function 2007-07-22 17:41:25 +00:00
Raghubansh Kumar 58bae48bf4 New testcases for fread() functions 2007-07-22 17:27:35 +00:00
Ilia Alshanetsky 3fea65b0dc Fixed "Floating point exception" inside wordwrap() 2007-07-22 15:55:16 +00:00
Ilia Alshanetsky 20c4198341 Added test for KEY_PAIR code and fixed KEY_PAIR detection code 2007-07-22 15:50:17 +00:00
Ilia Alshanetsky 285316fcff Fixed PDO_FETCH_KEY_PAIR implementation for fetchAll() 2007-07-22 15:14:21 +00:00
Raghubansh Kumar a6278717f5 New testcases for stat() function on windows 2007-07-22 12:37:09 +00:00
Raghubansh Kumar 66e901b9d5 New testcases for ftruncate() function 2007-07-22 12:35:03 +00:00
Raghubansh Kumar 6b81cef355 fix tests 2007-07-22 12:26:18 +00:00
Raghubansh Kumar 5b83920434 New testcases for umask() function 2007-07-21 18:16:17 +00:00
Raghubansh Kumar 1797c6870e New testcases for lstat() and stat() functions 2007-07-21 17:35:37 +00:00
Raghubansh Kumar a47f464e6e New testcases for is_file() function 2007-07-21 17:34:03 +00:00
Raghubansh Kumar 7cefd7792c New testcases for is_dir() function 2007-07-21 17:31:42 +00:00
Raghubansh Kumar 0e6b39f515 New testcases for fseek(), ftell() and rewind() functions 2007-07-21 17:30:23 +00:00
Raghubansh Kumar ff2a77b1d3 New testcases for fflush() function 2007-07-21 17:14:50 +00:00
Derick Rethans 51431a7660 - MFH: Allow the use of a user defined template.rc file to override the
default ones. This makes it possible to include the extension's version
  inside the version properties of the generated extension DLL instead
  of the PHP version the extension is build against.
2007-07-21 11:24:53 +00:00
Raghubansh Kumar 0b4fc7c768 New testcases for fgetc() and fgets() functions 2007-07-21 07:55:07 +00:00
Jani Taskinen d271071067 MFH: Fixed compile warnings 2007-07-21 01:43:33 +00:00
Jani Taskinen a22a6711ad MFH: Fixed compile warnings 2007-07-21 01:24:26 +00:00
Jani Taskinen 10a6af6bd0 MFH: cs+ws+compile warning fixes 2007-07-21 00:51:17 +00:00
Jani Taskinen 226c56fe76 MFH: Fixed compiler warnings 2007-07-21 00:35:15 +00:00
Jani Taskinen bffb8c406c MFH: fix warnings 2007-07-20 23:53:40 +00:00
Raghubansh Kumar d62163292f Fix for fill_file() in file.inc
New testcases for readfile() and umask() functions
2007-07-20 18:07:02 +00:00
Antony Dovgal bfed3520c9 MFH: fix #41691 (ArrayObject::exchangeArray hangs Apache) 2007-07-20 10:53:56 +00:00
Antony Dovgal 93af1c1f84 MFH: fix #41989 (move_uploaded_file() & relative path in ZTS mode) 2007-07-19 15:49:45 +00:00
Jani Taskinen fb7efdab86 MFH: Use SEPARATE_ZVAL_IF_NOT_REF for cleaner code. 2007-07-19 15:29:30 +00:00
Antony Dovgal a091268eef MFH 2007-07-19 15:15:26 +00:00
Antony Dovgal 0806c6c804 add new tests from HEAD 2007-07-19 15:04:15 +00:00
Antony Dovgal 79e53b202c fix ws & folding 2007-07-19 14:32:55 +00:00
Jani Taskinen 184b2e5d20 MFH 2007-07-19 13:57:16 +00:00
Jani Taskinen a547182c79 MFH:- Stop configure if scanner files are not found and invalid/no flex is found 2007-07-19 12:36:06 +00:00
Antony Dovgal 297f069eb6 MFH 2007-07-19 12:16:30 +00:00
Jani Taskinen 09d9338040 MFH:- Fixed bug #41433 (DBA: configure fails to include correct db.h for db4) 2007-07-19 10:50:16 +00:00
Ilia Alshanetsky 7966ff120b Fixed typo 2007-07-18 23:10:33 +00:00
Nuno Lopes b89637687d fix oci8 entries for Chris Jones 2007-07-18 18:06:55 +00:00
Christopher Jones d2219c0a1a MFH: add casts to fix compilation warnings 2007-07-18 15:10:42 +00:00
Jani Taskinen 6b4b1e7431 MFH: cleanup & sync 2007-07-18 15:04:22 +00:00
Antony Dovgal 521917bdfa MFH 2007-07-18 11:46:50 +00:00
Jani Taskinen 741c74a25e MFH: Use correct macro name 2007-07-18 09:04:58 +00:00
Raghubansh Kumar 9d7e023e37 New testcases for filesystem handling function : unlink() 2007-07-18 04:59:46 +00:00
Ilia Alshanetsky 20aa854940 Allow file uploads to bypass open_basedir checks (fixes regression) 2007-07-17 23:46:40 +00:00
Jani Taskinen 2c05c8c6b3 MFH: ws fix 2007-07-17 13:29:33 +00:00
Jani Taskinen dd23eb0c88 MFH:- Fixed bugs #36796, #36918, #41371 (stream_set_blocking() does not work) 2007-07-17 13:28:44 +00:00
Jani Taskinen addd471501 MFH:- Fixed bug #42019 (configure option --with-adabas=DIR does not work) 2007-07-17 12:12:26 +00:00
Nuno Lopes e73b3b0dc4 update for latest library rlease 2007-07-17 10:29:32 +00:00
Jani Taskinen e8f3167cd3 MFH: removed dots from error messages 2007-07-17 09:09:42 +00:00
Jani Taskinen 0b31350607 MFH:- Fixed bug #42015 (ldap_rename() gets server error "DSA is unwilling to perform") 2007-07-17 08:40:24 +00:00
Antony Dovgal aaa16ad82b initialize glob struct 2007-07-16 20:29:21 +00:00
Ilia Alshanetsky 39c1705848 Fixed a possible crash inside the constructor 2007-07-16 18:00:18 +00:00
Raghubansh Kumar 38002b9f7f fix tests 2007-07-16 17:55:39 +00:00
Raghubansh Kumar c9aedbdda1 New testcases 2007-07-16 17:34:44 +00:00
Antony Dovgal b355edcc3a MFH 2007-07-16 13:29:47 +00:00
Antony Dovgal 2399b208db MFH: split test 2007-07-16 10:59:17 +00:00
Jani Taskinen 76b92b6d5d - Fix issue in differentiating between --with-* and --enable-* 2007-07-16 10:00:44 +00:00
Jani Taskinen c77bcba737 - Remove ereg/ from PHP_5_2 branch. (not yet wanted here :) 2007-07-15 19:43:06 +00:00
Jani Taskinen cc7342ef72 MFH: folding tags and some more ws fixes 2007-07-15 15:34:28 +00:00
Jani Taskinen aad63942b8 MFH: ws fixes (sync!) 2007-07-15 15:21:12 +00:00
Jani Taskinen 268808ad76 MFH: removed unused macros 2007-07-15 15:10:04 +00:00
Ilia Alshanetsky a2fa9bbe84 Clear out last error & last error file information at the end of the
request to ensure that they don't propogate to the next request
2007-07-15 14:15:02 +00:00
Nuno Lopes c5e892b213 ignore *.gcda 2007-07-14 17:29:45 +00:00
Derick Rethans cd34e1c27a - MFH: Let's always use the macro as llabs() requires c99. 2007-07-13 17:49:50 +00:00
Antony Dovgal 241e66a708 MFH: split the test 2007-07-13 16:47:39 +00:00
Zoe Slattery a7b240b337 Assert test cases 2007-07-13 15:20:12 +00:00
Jani Taskinen ad61002dc4 MFH: fix wrong logic 2007-07-13 15:09:19 +00:00
Jani Taskinen 9d53e19697 MFH: cleanups + fixes 2007-07-13 14:23:59 +00:00
Dmitry Stogov 6c5e9cc6e4 Fixed bug #41635 (SoapServer and zlib.output_compression with FastCGI result in major slowdown 2007-07-13 14:00:05 +00:00
Rob Richards 01fe5a0f22 MFH: use macro - llabs not always available on win32 2007-07-13 12:50:00 +00:00
Jani Taskinen 06877d0064 - Do not break thousands of scripts.. (will remove in 5.3) 2007-07-13 10:55:43 +00:00
Antony Dovgal 40e44e99d6 MFH: don't allow $PHP_OCI8 to be empty if OCI8 is enabled
fixes bug #41988
2007-07-13 09:24:30 +00:00
Dmitry Stogov 1e768865dc Fixed memleak 2007-07-13 09:14:03 +00:00
Jani Taskinen 3dff7a7dba MFH: - Make sure people call ldap_first_attribute() before ldap_next_attribute() 2007-07-13 02:00:39 +00:00
Jani Taskinen 95f8148f18 MFH:- Fixed bug #41127 (Memory leak in ldap_{first|next}_attribute functions)
# This removes an useless parameter from 2 functions. Perhaps the next
# release should be 5.3.0, there are lot of other new things done already.
# Sneak in namespaces too.. ;)
2007-07-13 01:24:16 +00:00
Johannes Schlüter 43bbbe8899 MFH: - Mention [DOC] tag in the README
- PHP_5_1 is closed meanwhile
- Fixed a small typo
2007-07-12 23:44:43 +00:00
Ilia Alshanetsky 33329c065c revise test to reflect recent code 2007-07-12 23:34:32 +00:00
Ilia Alshanetsky 4e68effc2e Commit previously missing patch for bug #41919 2007-07-12 23:33:50 +00:00
Jani Taskinen f54f453209 MFH: - Fixed bug #39291 (ldap_sasl_bind() misses the sasl_authc_id parameter). 2007-07-12 22:08:58 +00:00
Zoe Slattery 55ff728d73 reflectionObject tests 2007-07-12 21:03:39 +00:00
Derick Rethans af88e0b52c - MFH: Commit generated file. 2007-07-12 18:59:55 +00:00
Derick Rethans 7588023b65 - MFH: Missing file in previous commit. 2007-07-12 18:59:05 +00:00
Derick Rethans 4b64dbb9a1 - MFH: Fixed bug #41964 (strtotime returns a timestamp for non-time string of
pattern '(A|a) .+').
- MFH: Fixed bug #41844 (Format returns incorrect number of digits for negative
  years -0001 to -0999).
- MFH: Fixed bug #41842 (Cannot create years < 0100 & negative years with
  date_create or new DateTime).
- MFH: Fixed bug #41709 (strtotime() does not handle 00.00.0000).
- MFH: Fixed bug #41523 (strtotime('0000-00-00 00:00:00') is parsed as
  1999-11-30).
2007-07-12 18:58:00 +00:00
Seiji Masugata e206802652 Synced mail function in mb_send_mail function(Escape mail.force_extra_parameters value). 2007-07-12 15:31:54 +00:00
Jani Taskinen 921eb8939b MFH: fix invalid logic + prevent non-integers to be passed 2007-07-12 11:33:37 +00:00
Jani Taskinen 28a2fe07b4 MFH: close file handles 2007-07-12 11:14:22 +00:00
Jani Taskinen efe310579e MFH: - Fixed bug #41815 (Concurrent read/write fails when EOF is reached) 2007-07-12 11:03:46 +00:00
Dmitry Stogov ed10530eb5 Fixed bug #41961 (Ensure search for hidden private methods does not stray from class hierarchy). (robin_fernandes at uk dot ibm dot com) 2007-07-12 10:32:09 +00:00
Antony Dovgal f0dd5f5d52 new test 2007-07-12 09:29:07 +00:00
Antony Dovgal 9069dde1a4 fix test 2007-07-12 09:26:42 +00:00
Jani Taskinen eb923bf6fc MFH: - Changed AC_ARG_* options to PHP_ARG_* options.
MFH: - Some cleanups here and there
MFH: - Enabled PHP_CHECK_CONFIGURE_OPTIONS (checks for unknown configure
MFH:   options)
# Note to Marcus: ext/dba/config.m4 needs to be "converted" to use
# the PHP_ARG_* options. I did't touch it needs quite a lot of work to keep
# it's current behaviour regarding "enabled-by-default" parts of it.
#
# Hint: By using the PHP_ARG_* options you have the "default" option.. ;)
2007-07-11 23:20:37 +00:00
Antony Dovgal 4ef905ae59 MFH 2007-07-11 22:16:11 +00:00
Antony Dovgal d3ac984385 MFH 2007-07-11 22:06:54 +00:00
Jani Taskinen 0261432888 MFH 2007-07-11 21:51:55 +00:00
Zoe Slattery addad71048 More reflectionClass tests 2007-07-11 20:11:34 +00:00
Johannes Schlüter dc8d09bbbd - MFH: Always enable mail() function 2007-07-11 17:36:56 +00:00
Jani Taskinen 90b9d6241e - Introducing 1st part of "show unknown configure options" and nuked PHP_REGEX macro for good 2007-07-11 15:16:56 +00:00
Dmitry Stogov 5c28db4a9c Fixed wrong warning 2007-07-11 14:33:30 +00:00
Antony Dovgal 40f32634c2 MFH: fix copy/paste type and bug #41962 2007-07-11 13:27:49 +00:00
Dmitry Stogov 1ad841d53a mproced openssl_x509_parse() to return extensions in readable form 2007-07-11 12:18:14 +00:00
Jani Taskinen 3067f6a937 MFH: Nuked unnecessary AC_MSG_CHECKING 2007-07-11 11:56:03 +00:00
Jani Taskinen a0a2b24df5 MFH: cleanup, removed unnecessary macro definitions 2007-07-11 11:50:37 +00:00
Jani Taskinen 7b016d72a1 MFH: No return values for void function 2007-07-11 10:24:04 +00:00
Raghubansh Kumar f0a8003c23 better check for skip 2007-07-11 09:13:47 +00:00
Jani Taskinen 45c85130af MFH: Changed AC_ARG_ENABLE to PHP_ARG_ENABLE 2007-07-11 08:47:45 +00:00
Dmitry Stogov f765f73e5f Fixed memory leak 2007-07-11 07:36:12 +00:00
Dmitry Stogov 2821378c33 Fixed crash on non-string passphrase 2007-07-11 07:26:52 +00:00
Stanislav Malyshev 06d76f722d add CVE ref 2007-07-10 20:25:49 +00:00
Stanislav Malyshev 37781a5a84 Escape mail.force_extra_parameters value 2007-07-10 20:21:24 +00:00
Stanislav Malyshev 6f1b3ea73a suppress warnings to avoid potential loop 2007-07-10 17:58:19 +00:00
Stanislav Malyshev 62ec6b17a6 fixes 2007-07-10 17:46:15 +00:00
Stanislav Malyshev 84c9050805 check if write is allowed before writing to error log 2007-07-10 17:42:29 +00:00
Stanislav Malyshev 143badba52 always check save_path (issue reported by Maksymilian Arciemowicz) 2007-07-10 17:40:41 +00:00
Zoe Slattery 90fd8fd7e8 tests for reflectionClass 2007-07-10 16:25:15 +00:00
Dmitry Stogov ca854215db Fixed symlink("", "somthing") and link("", "somthing") in ZTS mode 2007-07-10 13:21:11 +00:00
Rob Richards b8383203a2 BFN 2007-07-10 12:27:15 +00:00
Rob Richards 796d9cd783 fix bug #41947 (SimpleXML incorrectly registers empty strings as namespaces
add test
2007-07-10 12:24:51 +00:00
Dmitry Stogov 510bee631f Fixed warning 2007-07-10 11:57:34 +00:00
Antony Dovgal d0ee4977e7 MFH: use safe_emalloc() 2007-07-10 11:08:08 +00:00
Jani Taskinen b0ef04af84 MFH: Removed --enable-versioning 2007-07-10 10:18:48 +00:00
Raghubansh Kumar c5254dbc1d These testcases are now split into smaller testcases, hence being deleted 2007-07-09 17:55:34 +00:00
Raghubansh Kumar f159642284 Fix and smaller testcases for mkdir_rmdir_variation.phpt, popen_pclose_error.phpt, readlink_realpath_basic.phpt, readlink_realpath_error.phpt & readlink_realpath_variation.phpt 2007-07-09 17:38:33 +00:00
Dmitry Stogov 539f67ed8f Added ability to create local or remote (URL) user streams
Local user streams must not be able to open(), URLs if allow_url_include is off
Implemented new function stream_is_local()
[
- stream_wrapper_register() extended with additional optional argument "flags"
  of type long. This time only one flag is implemented
- STREAM_IS_URL, that means that userstream wrapper is remote (URL).
  By default stream is local.
- stream_is_local() is a new function that accepts stream and tell if this
  stream is local or remote (URL)
]
2007-07-09 17:27:24 +00:00
Dmitry Stogov fe9a826605 Proper fix for MOPB-29 2007-07-09 14:31:56 +00:00
Jani Taskinen 21290220f7 MFH: use defined values instead of plain integers 2007-07-09 13:42:05 +00:00
Zoe Slattery 5d0ee5b518 array copy on write tests 2007-07-09 13:23:37 +00:00
Zoe Slattery 4c22d54e23 ReflectionClass constructor tests 2007-07-09 13:22:10 +00:00
Jani Taskinen 2d098d1856 bfn 2007-07-09 12:55:50 +00:00
Jani Taskinen cab5c25dc2 MFH:- Fixed bug #35981 (pdo-pgsql should not use pkg-config when not present) 2007-07-09 12:54:11 +00:00
Jani Taskinen fb8aedb046 MFH 2007-07-09 12:38:02 +00:00
Jani Taskinen 7c6f0bd42b MFH: - Use $PHP_LIBDIR where appropriate 2007-07-09 12:33:43 +00:00
Dmitry Stogov 3a5501e0d4 ECONNABORTED is not a critical error (Andrei Nigmatulin) 2007-07-09 11:48:39 +00:00
Jani Taskinen d56933b179 MFH: Fixed bug #41870 (PDO_ODBC module linking fails with iODBC) 2007-07-09 11:13:56 +00:00
Jani Taskinen 9d82ead2bc fix news 2007-07-09 10:17:51 +00:00
Antony Dovgal e79091eb13 MFH 2007-07-09 09:08:59 +00:00
Dmitry Stogov 9f62beabfd Fixed bug #41919 2007-07-09 08:53:14 +00:00
Ilia Alshanetsky aeaf26b86d Fixed bug #41919 (crash in string to array conversion) 2007-07-08 15:28:46 +00:00
Raghubansh Kumar a1fdbe88a6 These files are now split into one or more smaller testcases, hence being deleted. 2007-07-08 12:41:44 +00:00
Raghubansh Kumar 0affea112a Run only on 32-bit OS 2007-07-08 05:01:11 +00:00
Christopher Jones ebf7807668 *** empty log message *** 2007-07-06 23:29:44 +00:00
Raghubansh Kumar fda3f33554 Fix and smaller testcases for is_readable_variation.phpt, is_executable_variation.phpt & is_writable_variation.phpt 2007-07-06 18:30:46 +00:00
Antony Dovgal 0cfa8b1a66 MFH 2007-07-06 12:17:58 +00:00
Antony Dovgal 793800c78e MFH: fix #41908 (CFLAGS="-Os" ./configure --enable-debug fails)
patch by christian at hoffie dot info
2007-07-06 10:44:23 +00:00
Raghubansh Kumar 28b73af90f better check for root user 2007-07-06 03:40:31 +00:00
Ilia Alshanetsky fd784655a2 Fixed NOTICE message 2007-07-06 00:13:56 +00:00
Derick Rethans 2ea0137d6c - Marking already fixed bug in NEWS file (Bug #41909). 2007-07-05 20:54:59 +00:00
Raghubansh Kumar 87b2a52a16 fix test: 006_error.phpt & filegroup_basic.phpt
fix and smaller tests for symlink_link_linkinfo_is_link[basic|error|variation].phpt
2007-07-05 18:53:34 +00:00
Derick Rethans 7dcf89d7d5 - MFH: Updated timezone database to 2007.6 (2007f). 2007-07-05 13:49:43 +00:00
Antony Dovgal 86a022f7c7 MFH: add CURLINFO_PRIVATE & CURLOPT_PRIVATE
patch by Andrey A. Belashkov
2007-07-04 13:34:23 +00:00
Dmitry Stogov a3ba415e91 Fixed "make test" 2007-07-04 10:16:22 +00:00
foobar e20d798623 do not fax the fixes :) 2007-07-04 07:45:10 +00:00
Sara Golemon 1ac512f547 MFH (r-1.240)
Fix behavior of empty($sxe->element) and empty($sxe['prop'])
when used on empty elements properties (apply PHP emptiness rules)
2007-07-04 05:05:57 +00:00
Ilia Alshanetsky 26f2367d2d v2 package file 2007-07-03 23:59:13 +00:00
foobar 7ed3c4536d MFH: Fix some configure --help texts 2007-07-03 17:25:43 +00:00
Dmitry Stogov 2fd4e8146c Fixed "make test" mistakes 2007-07-03 15:56:21 +00:00
Christopher Jones 20fece8f76 New test 2007-07-03 15:10:41 +00:00
Rob Richards 36722ebc31 BFN 2007-07-03 15:03:16 +00:00
Rob Richards d6756845e8 fix bug #41861 (getNamespaces() returns namespaces of node's siblings)
add test
2007-07-03 14:55:53 +00:00
Dmitry Stogov e99013d039 Store existent file in realpath cache 2007-07-03 14:48:01 +00:00
Raghubansh Kumar 9beffb1971 Smaller testcases for 006_variation.phpt, file_get_contents_file_put_contents_variation.pht, filesize_variation.phpt, filesize_variation-win32.phpt, fwrite_variation.phpt, fwrite_variation-win32.phpt"
Fix for filesize_variation to match filesize using %d
2007-07-03 07:10:01 +00:00
Christopher Jones 38af2c5741 Added basic PDO->quote() functionality to PDO_OCI 2007-07-03 04:32:27 +00:00
Ilia Alshanetsky 921294e0d7 Fixed bug #41770 (SSL: fatal protocol error due to buffer issues). 2007-07-02 16:42:10 +00:00
Ilia Alshanetsky 46c508e92c oracle BFN 2007-07-02 15:54:08 +00:00
Ilia Alshanetsky adcfdf7fa4 Fixed bug #41845 (pgsql extension does not compile with PostgreSQL <7.4) 2007-07-02 15:37:43 +00:00
Rob Richards 19f89a22c0 BFN 2007-07-02 11:37:26 +00:00
Rob Richards 4938221a36 fix bug #41867 (getName is broken)
add test
2007-07-02 11:35:18 +00:00
foobar 320a41603e MFH: - Fixed bug #41865 (fputcsv(): 2nd parameter is not optional) 2007-07-01 21:28:16 +00:00
Christopher Jones d6e320d849 Fix Bug #11345 Seg fault after NLS environment initialization error 2007-06-30 02:30:35 +00:00
foobar e5b21a95e1 MFH 2007-06-29 15:13:40 +00:00
Christopher Jones 82c2452bf9 Test for old bug fixed in some previous, unknown change 2007-06-29 15:01:51 +00:00
foobar 9e1c9cad2d MFH 2007-06-29 14:30:35 +00:00
foobar a074d2d66b typo 2007-06-29 14:01:11 +00:00
foobar 0f15eeda46 oops 2007-06-29 14:00:21 +00:00
foobar ad0beee01f - Added missing SKIPIFs 2007-06-29 13:51:27 +00:00
Antony Dovgal e4450111cc divide the test into smaller tests 2007-06-29 12:56:49 +00:00
Antony Dovgal 83bc0eb739 MFH 2007-06-29 11:47:36 +00:00
foobar cc2bcefc47 oops 2007-06-29 11:36:29 +00:00
Dmitry Stogov e45dab8c49 Fixed CGI tests 2007-06-29 09:49:21 +00:00
Antony Dovgal 9f4ff35af0 MFH 2007-06-29 09:14:49 +00:00
Christopher Jones 952a281aec Un-DOSify line terminators. No merge to 6 required. 2007-06-29 05:29:48 +00:00
Christopher Jones 3443d9be3f Add testing steps 2007-06-29 04:30:53 +00:00
foobar 4d63c09661 MFH:- Improved php-config:
MFH:  . Added --configure-options option to get configure line for current build
MFH:  . Added --php-sapis option which shows SAPIs available
MFH:  . Fixed problem with missing php binary when CLI is not build but CGI is.
MFH:- Fixed broken sed issues in phpize script
2007-06-29 01:10:35 +00:00
Ilia Alshanetsky d34bfe5c37 When working with persistent connections re-initialize options on each
connection. Flags like error reporting may differ.
2007-06-28 19:22:52 +00:00
Antony Dovgal dd44c6a093 add env vars for test settings (like in PDO) 2007-06-28 17:26:54 +00:00
Antony Dovgal 37e0738f3a MFH 2007-06-28 17:23:07 +00:00
Antony Dovgal 030252067e MFH 2007-06-28 16:07:12 +00:00
Antony Dovgal 4948afff78 MFH 2007-06-28 15:27:09 +00:00
Antony Dovgal 93dfce49ca remove 32bit restriction 2007-06-28 15:10:57 +00:00
Antony Dovgal 6b75f7bb82 more smaller tests 2007-06-28 15:04:47 +00:00
Antony Dovgal b4e74fe9b5 MFH 2007-06-28 14:51:35 +00:00
Andrey Hristov e1f222858f Remove dot at the end of the message 2007-06-28 09:07:40 +00:00
Ilia Alshanetsky 37d1bfed25 Added support for ATTR_TIMEOUT inside pdo_pgsql driver.
Fixed a bug inside PDO's "use persistent" connection detection mechanism
that would trigger connections on "" and "0" values
2007-06-28 03:13:29 +00:00
Antony Dovgal 4b2c457288 ksh is a pita 2007-06-27 22:05:31 +00:00
Antony Dovgal 6e48ec45dd fix test 2007-06-27 17:04:15 +00:00
Zoe Slattery af85497e8f Tests constant initialisation 2007-06-27 14:50:21 +00:00
foobar 3d88f40d51 MFH:- Added PHP_CHECK_SIZEOF macro (special version of AC_CHECK_SIZEOF) 2007-06-27 14:40:08 +00:00
Antony Dovgal f132df4f66 MFH: fix #41692 (ArrayObject shows weird behaviour in respect to inheritance) 2007-06-27 12:30:28 +00:00
Antony Dovgal aa15254e41 BFN 2007-06-27 08:56:38 +00:00
Antony Dovgal feb142cb79 add test 2007-06-27 08:55:27 +00:00
Antony Dovgal 8e26df9523 fix #41813 (segmentation fault when using string offset as an object)
patch by judas dot iscariote at gmail dot com
2007-06-27 08:51:40 +00:00
Ilia Alshanetsky abffe87d42 Fixed a crash inside PDO when there is more then one instance of a
persistent connection inside a script and PDO object is extended by class
with a destructor
2007-06-27 02:02:18 +00:00
Ilia Alshanetsky e8de152ddd Added persistent connection status checker to pdo_pgsql 2007-06-27 02:00:46 +00:00
Dmitry Stogov e5909f149c Fixed bug #40419 (Trailing Slash in CGI request don't work) 2007-06-26 14:47:16 +00:00
Antony Dovgal a61d445360 fix tests as discussed 2007-06-26 12:12:31 +00:00
Antony Dovgal ce22f44493 MFH: fix #41445 (parse_ini_file() has a problem with certain types of integer as sections) 2007-06-26 12:10:08 +00:00
Antony Dovgal 7210ab5695 fix ws 2007-06-26 11:51:14 +00:00
Antony Dovgal 58ac8d559d MFH: fix #41795 (checkdnsrr does not support DNS_TXT type)
patch by lucas at facebook dot com
2007-06-26 11:04:55 +00:00
Antony Dovgal 83e33eac02 MFH 2007-06-26 10:22:48 +00:00
Ilia Alshanetsky dc1c6f74c8 Fixed bug #41698 (float parameters truncated to integer in prepared
statements).
2007-06-26 01:24:10 +00:00
Antony Dovgal 76cf8c0636 fix test 2007-06-25 21:24:44 +00:00
Antony Dovgal 5daef5cd4a fix #41773 (php_strip_whitespace sends headers with errors suppressed)
MFB is not needed, output buffering in HEAD handles this situation correctly
2007-06-25 21:12:47 +00:00
Antony Dovgal fa8a77a466 MFH: fix #41711 (Null temporary lobs not supported) 2007-06-25 18:26:52 +00:00
Antony Dovgal 386cf7889f MFH 2007-06-25 17:37:55 +00:00
Antony Dovgal be9e02fd74 fix test 2007-06-25 17:10:14 +00:00
foobar 76872ee86e MFH: - Fixed bug #41794 (build fails with external libs under Solaris) 2007-06-25 16:26:39 +00:00
Scott MacVicar 99c875a03d Fixed bug #41350 (my_thread_global_end() error during request shutdown on Windows). 2007-06-25 16:01:30 +00:00
Dmitry Stogov 305ae11a3f Fixed stat() to support rdev, blocksize and blocks on Fedora 7 2007-06-25 14:22:49 +00:00
Dmitry Stogov 48658c2512 Fixed tests 2007-06-25 09:01:53 +00:00
Dmitry Stogov 506bd484dc Better fix for bug #41655 2007-06-25 08:40:20 +00:00
Dmitry Stogov aa54d9e385 Restore big exponent letter in var_export() ('1e300' -> '1E300') 2007-06-25 08:39:10 +00:00
Dmitry Stogov c0481701be Fixed tests 2007-06-25 06:45:57 +00:00
Ilia Alshanetsky 67a2cca930 Fixed bug #41685 (array_push() fails to warn when next index is already
occupied).
2007-06-24 17:37:01 +00:00
Nuno Lopes 7f47814c4e fix memleak in sxe_prop_dim_read()
#found by coverity
2007-06-24 11:41:12 +00:00
Zoe Slattery 4d503a8807 Reverting test to original after dicsussion with Raghu. Will open bugzilla for Linux/VMware behaviour 2007-06-22 19:18:37 +00:00
Zoe Slattery 3725bf6d5f Changed expected output so that this runs on Linux under VMWare as well as Linux. 2007-06-22 14:46:18 +00:00
Pierre Joye 1b894c90e7 - MFB: add test cases for #41655 2007-06-22 12:35:41 +00:00
Raghubansh Kumar 7a1b48eeff New tests for file system handling functions 2007-06-22 08:11:45 +00:00
Stanislav Malyshev 3444305c5d Fixed bug #41765 (Recode crashes/does not work on amd64) 2007-06-22 00:10:02 +00:00
Stanislav Malyshev 44bec384ed fix #41765 2007-06-22 00:02:15 +00:00
Raghubansh Kumar e647140a82 New tests for file system handling functions 2007-06-21 21:12:18 +00:00
Raghubansh Kumar 993b689a2e New functons to compare stat array 2007-06-21 21:06:47 +00:00
Dmitry Stogov 70105187db Proper fix for bug #39215 Inappropriate close of stdin/stdout/stderr 2007-06-21 12:42:36 +00:00
Dmitry Stogov 5f82777275 Fixed default values 2007-06-21 09:02:21 +00:00
Dmitry Stogov 5d2180835a no need to return exit status of the last fastcgi request 2007-06-21 08:40:43 +00:00
Ilia Alshanetsky ebb9408202 Fixed typos 2007-06-20 23:05:52 +00:00
Ilia Alshanetsky e2b093bfcb Fixed a memory leak inside load_all_certs_file() 2007-06-19 22:09:49 +00:00
foobar 3322064025 bfn 2007-06-19 18:22:58 +00:00
Nuno Lopes a2e06e6dc8 new test 2007-06-19 17:32:36 +00:00
Nuno Lopes 034e8692b7 final PCRE 7.2 release :-) 2007-06-19 17:11:30 +00:00
Derick Rethans 3b481cef64 - MFH: Added the H modifier to create non-locale-aware non-fixed-precision
float representations.
- MFH: Fixed var_export() to use the new H modifier so that it can generate
  parsable PHP code for floats again, independent of the locale.
2007-06-19 12:20:50 +00:00
foobar 0475096ea1 rephrase 2007-06-18 22:35:30 +00:00
Stanislav Malyshev 6d754185df mysql fix 2007-06-18 22:06:33 +00:00
Stanislav Malyshev b925a9248b Fix INFILE LOCAL option handling with MySQL - now not allowed when open_basedir
or safe_mode is active
2007-06-18 21:51:32 +00:00
Raghubansh Kumar 210f091022 New tests for file system handling functions 2007-06-18 19:45:53 +00:00
foobar 4c61a3f27e rephrase 2007-06-18 16:55:36 +00:00
Ilia Alshanetsky 24bdf0e368 Fixed bug #41686 (Omitting length param in array_slice not possible). 2007-06-18 16:53:09 +00:00
Ilia Alshanetsky 161ab0aa50 Fixed bug #41724 (libxml_get_last_error() - errors survice request scope). 2007-06-18 16:46:21 +00:00
Scott MacVicar b73d2a94ae Fixed bug #41628 (PHP settings leak between Virtual Hosts in Apache 1.3). 2007-06-18 15:52:46 +00:00
Dmitry Stogov d3f2d039a5 Fixed test 2007-06-18 10:02:12 +00:00
Dmitry Stogov 738ff1277a Fixed yet another realpath cache bug and wrong tests 2007-06-18 09:50:40 +00:00
Nuno Lopes 74474a1ef8 malloc+memset == calloc (sync with libgd) 2007-06-17 19:03:58 +00:00
Pierre Joye fcd0a1e790 - Drop useless tests (Daniel Diaz) 2007-06-17 16:51:50 +00:00
Ilia Alshanetsky 32c5a87a14 Fixed zend_alter_ini_entry() memory_limit interruption vulnerability. 2007-06-17 14:31:12 +00:00
Ilia Alshanetsky e2d606e18b Fixed compiler warning 2007-06-17 14:25:46 +00:00
Pierre Joye bf348c8c46 - MFH: #41717, imagepolygon does not respect thickness
(sync with libgd)
2007-06-17 10:56:51 +00:00
Stefan Esser df7bfe0a0f MFH 2007-06-16 07:48:07 +00:00
Stanislav Malyshev 70a8f9313b Disallow characters that Cookie RFC does not allow in unquoted cookies 2007-06-15 22:40:00 +00:00
Nuno Lopes 93cf41436b sync with libgd: improve _gdImageFillTiled() 2007-06-15 19:47:10 +00:00
Nuno Lopes 4e51d2ec73 upgrade PCRE to version 7.2 RC3
# I'll update to the final version early next week when its released
2007-06-15 19:09:26 +00:00
Nuno Lopes 17db5db759 add tests for pcre 7.0 regression
update to pcre 7.2 will follow soon
2007-06-15 11:57:08 +00:00
Dmitry Stogov e1f08c8297 HTTP 500 is sent to browser in case of PHP error instead of blank page 2007-06-15 09:20:27 +00:00
Dmitry Stogov 1fe8fded5f Fixed test 2007-06-15 08:16:11 +00:00
Dmitry Stogov a81b0b5d62 Prevent memory overflow 2007-06-15 08:04:59 +00:00
Dmitry Stogov c2e04e8364 Prevent crash in case of wrong arguments to CRT functions (strftime()) on PHP complead by MS VC2005 2007-06-15 07:27:08 +00:00
Ilia Alshanetsky bab1ce1429 Fixed bug #41693 (scandir() allows empty directory names). 2007-06-14 23:28:06 +00:00
Raghubansh Kumar 788ac84cf4 New tests for file system handling functions 2007-06-14 20:12:58 +00:00
Pierre Joye f5f04f2214 - Fixed regression introduced by the fix for the libgd bug #74 2007-06-14 19:17:31 +00:00
Zoe Slattery c73237b7b9 Tests are not valid if run by root - adding check to skip is user is root. 2007-06-14 15:40:06 +00:00
Dmitry Stogov 3b27cd22b6 Fixed bug #41566 (SOAP Server not properly generating href attributes) 2007-06-14 07:09:31 +00:00
Raghubansh Kumar ed39fac5d2 New tests for file handling system functions 2007-06-13 22:38:49 +00:00
Ilia Alshanetsky c969e9005b Handle very small longs via double 2007-06-13 17:56:41 +00:00
Ilia Alshanetsky 9f28e21bb1 Fixed bug #41673 (json_encode breaks large numbers in arrays). 2007-06-13 17:07:58 +00:00
Dmitry Stogov 1c7fa8fb4c Fixed bug #41633 (Crash instantiating classes with self-referencing constants) 2007-06-13 16:48:10 +00:00
Dmitry Stogov 28bc39500a Fixed some class constant issues related to bug #41633 2007-06-13 14:50:13 +00:00
Dmitry Stogov f018ec9024 Fixed wrong fix for bug #41582 2007-06-13 13:38:26 +00:00
Johannes Schlüter 62849e3fee - MFH: Fix test 2007-06-12 17:24:38 +00:00
Nuno Lopes 5aea16e06b ignore tmp-php.ini 2007-06-12 14:54:14 +00:00
Scott MacVicar 2caf386764 Display PCRE ini entries as part of module info 2007-06-12 14:08:16 +00:00
Scott MacVicar 34d1d2eed0 Fix ZTS build 2007-06-12 13:42:32 +00:00
Ilia Alshanetsky 06b4c66f02 Fixed bug #41655 (open_basedir bypass via glob()) 2007-06-12 12:53:08 +00:00
foobar 5160f532af regroup 2007-06-11 20:22:45 +00:00
Raghubansh Kumar 648aaf250a New tests for file handling system functions 2007-06-11 16:14:59 +00:00
Raghubansh Kumar 38c095a44f New testcase for get_defined_vars() function: get_defined_vars.phpt 2007-06-11 16:04:43 +00:00
Raghubansh Kumar 4f33b594ac New testcase for unset(), isset() and empty functions : 019.phpt 2007-06-11 15:55:44 +00:00
Ilia Alshanetsky f3ad3a770e Fixed test 2007-06-11 15:09:41 +00:00
Ilia Alshanetsky b6762a8991 Fixed bug #41527 (WDDX deserialize numeric string array key). 2007-06-11 15:08:43 +00:00
Ilia Alshanetsky 3b61fd8286 Update test 2007-06-11 15:07:40 +00:00
Ilia Alshanetsky 79d58abf65 Fixed memory corruption when reading exif data of a non-file 2007-06-10 20:12:45 +00:00
foobar 37e8ce097c - Fix special case of no ini file in use or not found 2007-06-09 12:06:53 +00:00
foobar f199649ad6 MFH 2007-06-09 11:53:12 +00:00
foobar f7d22b60f0 MFH:- Added php_ini_loaded_file() function which returns the path to the actual
php.ini in use.
2007-06-09 11:44:08 +00:00
Johannes Schlüter 1351bc4e86 Fix #41640 (get_class_vars produces error on class constants) 2007-06-09 08:38:44 +00:00
Antony Dovgal f903d42867 bfn 2007-06-08 14:48:35 +00:00
Antony Dovgal 0ca8dab47d MFH: fix #41561 (Values set with php_admin_* in httpd.conf can be overwritten with ini_set()) 2007-06-08 14:47:45 +00:00
Antony Dovgal c8d54ca3fe news 2007-06-08 08:45:33 +00:00
Antony Dovgal a87f7117ff MFH: enable statement cache for non-persistent connections (patch by Chris Jones) 2007-06-08 08:44:39 +00:00
Antony Dovgal 76065b520a adjust test for 64bit 2007-06-08 08:40:28 +00:00
Antony Dovgal e5be1f55ad fix test, add 64bit version 2007-06-08 08:34:48 +00:00
Pierre Joye d5c9a6efc4 - #41630 entry 2007-06-08 05:28:40 +00:00
Ilia Alshanetsky 1bd2791cd4 Added missing error check inside bcpowmod(). 2007-06-08 00:41:57 +00:00
Ilia Alshanetsky a6340d27ae Final shot at the date issue 2007-06-07 23:16:04 +00:00
Pierre Joye c4b5196d0b - #41630, fix segfault when an invalid color index is present in the image
data
2007-06-07 21:07:33 +00:00
Antony Dovgal b1a0a4d3e4 MFH: reset active_result_id when fetching persistent connection
patch by Peter Christensen
2007-06-07 12:17:35 +00:00
Antony Dovgal 074b58b7f1 MFH: php_localtime_r() checks 2007-06-07 09:07:36 +00:00
Antony Dovgal d042fd0675 MFH: php_gmtime_r() fixes 2007-06-07 08:59:00 +00:00
Antony Dovgal c9805e7b92 MFH: check return value of *time_r() functions for NULL 2007-06-07 08:44:41 +00:00
Antony Dovgal 91da96ba71 MFH: change E_NOTICE to E_ERROR when using a class constant from non-existent class
(noticed by Jani)
add tests
2007-06-07 08:37:40 +00:00
Ilia Alshanetsky 20b5c66e14 Fixed a crash inside ncurses_panel_above() when called prior to
ncurses_init()
2007-06-07 02:29:44 +00:00
Ilia Alshanetsky 594fe5c398 Fixed typo 2007-06-07 02:21:26 +00:00
Ilia Alshanetsky d02356922a Adjust previous patch to work on all compilers 2007-06-06 23:16:34 +00:00
Ilia Alshanetsky a20bba04d5 Optimize out a loop 2007-06-06 22:58:42 +00:00
foobar 7b9e125e0c fix news 2007-06-06 22:41:23 +00:00
Stanislav Malyshev b6ddf71381 revert - already have unpack.phpt 2007-06-06 22:25:08 +00:00
Stanislav Malyshev bc35767b46 add edge case test 2007-06-06 22:21:59 +00:00
Antony Dovgal 4cf17cfc33 MFH: improve the checks for integer overflow 2007-06-06 22:09:25 +00:00
Ilia Alshanetsky 717e94c67a Added missing format validator to unpack() function 2007-06-06 22:04:05 +00:00
Antony Dovgal 2041566a12 MFH 2007-06-06 21:53:54 +00:00
Stanislav Malyshev 9295456f01 new fixes 2007-06-06 18:53:35 +00:00
foobar cb0fd15625 MFH:- Fix passing of shared extensions to run-tests.php 2007-06-06 18:28:13 +00:00
Stanislav Malyshev d114d0b0c8 fix the chunks fix 2007-06-06 18:15:41 +00:00
Stanislav Malyshev 29b9d79c2f Fix chunk_split fix - avoid using floats
Fix money_format - don't give strfmon more arguments then supplied
Fix str[c]spn integer overflow
2007-06-06 17:59:07 +00:00
Stanislav Malyshev 2e15dda50e fix test format 2007-06-06 17:46:17 +00:00
Stanislav Malyshev 8b5a2d38c4 add some edge cases 2007-06-06 17:12:40 +00:00
Stanislav Malyshev e001e11009 add test for moneyformat 2007-06-06 17:11:59 +00:00
Zoe Slattery 860c643448 New tests for file handling 2007-06-06 12:53:58 +00:00
Zoe Slattery 7a7c447a17 fixed file permission for new empty file 2007-06-06 12:53:17 +00:00
Nuno Lopes 0997342dff fix gcov build for the 100th time.. 2007-06-06 12:27:24 +00:00
Antony Dovgal e029945a02 MFH: minor optimization - make sure the objects are not the same instance before we start comparing their properties 2007-06-06 11:57:36 +00:00
Antony Dovgal 32e23d419f more details 2007-06-06 11:36:20 +00:00
Antony Dovgal 8853804482 MFH: fix several integer overflows in GD 2007-06-06 09:45:43 +00:00
Antony Dovgal 2374641e58 BFN + fix other entries 2007-06-06 08:35:44 +00:00
Antony Dovgal 3790227f9d MFH: fix #41608 (segfault on a weird code with objects and switch()) 2007-06-06 08:35:23 +00:00
Ilia Alshanetsky c38ad55e8e Fixed bug #41600 (url rewriter tags doesn't work with namespaced tags). 2007-06-06 00:00:28 +00:00
Ilia Alshanetsky c084d1c829 Fixed bug #41596 (Fixed a crash inside pdo_pgsql on some non-well-formed
SQL queries).
2007-06-05 22:55:27 +00:00
Antony Dovgal ceef5840ad fix folding 2007-06-05 13:35:26 +00:00
Antony Dovgal 03b0a479dd fix folding 2007-06-05 12:12:55 +00:00
Antony Dovgal cf53dfaff3 MFH 2007-06-05 12:02:46 +00:00
Zoe Slattery 7a03838430 Fixing incorrect comment in test cases fileinode_variation and filetype_variation 2007-06-05 11:35:04 +00:00
Antony Dovgal 0b157a6f84 enable display_startup_errors, fix test 2007-06-05 10:59:25 +00:00
Antony Dovgal 5d8ae45309 MFH: fix #41582 (SimpleXML crashes when accessing newly created element) 2007-06-05 10:03:12 +00:00
Zoe Slattery 22c68a8155 new test cases for general functions 2007-06-05 09:12:34 +00:00
Zoe Slattery ce71724def New test cases for file system functions 2007-06-05 09:10:50 +00:00
Zoe Slattery d5d297d461 Added fill_buffer() function 2007-06-05 08:02:17 +00:00
Antony Dovgal ecd42f9774 MFH: fix #41594 (Statement cache is flushed too frequently) 2007-06-05 07:49:00 +00:00
Ilia Alshanetsky 045b283a7d Fixed bug #41567 (json_encode() double conversion is inconsistent with PHP). 2007-06-04 23:51:32 +00:00
Nuno Lopes bd7c9ebeb0 ignore *.gcno 2007-06-04 18:13:53 +00:00
Antony Dovgal 31ce08253c MFH 2007-06-04 17:18:51 +00:00
Antony Dovgal 43bb6e7c3e news entry 2007-06-04 15:39:26 +00:00
Antony Dovgal 5c75e5b4f4 MFH: add missing open_basedir checks to CGI 2007-06-04 15:38:12 +00:00
Antony Dovgal 3285bd834b fix folding 2007-06-04 09:47:54 +00:00
Antony Dovgal 61d697d100 fix ws 2007-06-04 06:38:22 +00:00
Brian Shire 55b5b89ef7 fix sprintf/printf %u tests so they work correctly on both 32-bit and 64-bit. (broken in previous fix)
# just made these EXPECTREGEX expressions, if there's a prefered way to comply with both 32/64 bit let me know.
2007-06-04 01:23:07 +00:00
Hannes Magnusson d1b9c6e62e fix test 2007-06-03 23:40:01 +00:00
foobar ca1b7e7b47 fix test 2007-06-03 22:50:19 +00:00
foobar d12bbce277 MFH 2007-06-03 21:57:35 +00:00
Pierre Joye c76e5dd0bd - fix logic (goto is a gift, I should use it :) 2007-06-03 21:34:21 +00:00
Pierre Joye d5d2d6e30e - pecl bug #11216, better fix, leak removed and improved test
- typo in news, better late than never (-d)
2007-06-03 21:21:57 +00:00
foobar a4d68b26e4 bug news 2007-06-03 20:28:33 +00:00
foobar 7bd41e0715 MFH:- Fixed bug #41576 (misbehaviour when using --without-apxs) 2007-06-03 20:27:16 +00:00
Pierre Joye fd2e66bd05 - PECL #11216 test 2007-06-03 19:50:36 +00:00
Pierre Joye ef952b0383 - PECL #11216, addEmptyDir crashes if the directory already exists 2007-06-03 19:47:17 +00:00
foobar 029b4678aa fix news 2007-06-03 19:06:23 +00:00
Ilia Alshanetsky 405a15043f Corrected fix for CVE-2007-2872 2007-06-03 18:47:10 +00:00
Pierre Joye 256de924c7 - MFH: @DOC add constants GD_MAJOR_VERSION, GD_MINOR_VERSION, GD_RELEASE_VERSION
GD_EXTRA_VERSION and GD_VERSION_STRING
2007-06-03 17:46:18 +00:00
Ilia Alshanetsky 489c2d739a Fixed test for PostgreSQL 2007-06-03 17:41:21 +00:00
foobar f26145fa8c MFH:- Improved the error message for exceeding max_input_nesting_level. 2007-06-03 16:54:06 +00:00
Ilia Alshanetsky a8be5f419d Improved fix for MOPB-02-2007 2007-06-03 16:19:14 +00:00
Brian Shire 79e3c88352 MFH: Change printf %u behavior so that it does not truncate numbers at 32-bits. (Reported by Aditya Agarwal.) 2007-06-03 09:12:04 +00:00
Pierre Joye f4926a042e - sx/sy must be > 0 and < INT_MAX 2007-06-02 15:38:09 +00:00
Pierre Joye 70650810ad - enable tests even when an external GD is used. Latest releases
(2.0.34 or 2.0.35) work.
2007-06-02 15:35:34 +00:00
foobar 6567a93a2a fix test 2007-06-01 22:18:56 +00:00
foobar c5e8992942 MFH: - Fixed bug #41555 (configure failure: regression caused by fix for #41265) 2007-06-01 21:34:17 +00:00
foobar c1c44ddcf3 MFH: - Add missing CXXFLAGS_CLEAN variable. 2007-06-01 15:12:29 +00:00
Antony Dovgal 8e3eee385e MFH: fix #41518 (file_exists() warns of open_basedir restriction on non-existent file) 2007-06-01 13:35:23 +00:00
Antony Dovgal 6d76fc2834 MFH: fix #39330 (apache2handler does not call shutdown actions before apache child die) 2007-06-01 10:04:06 +00:00
Ilia Alshanetsky de64609fec Back to dev 2007-05-30 18:48:58 +00:00
Ilia Alshanetsky b604bc7200 5.2.3 2007-05-30 18:45:59 +00:00
Antony Dovgal 23eaae2211 MFH 2007-05-30 16:32:02 +00:00
Antony Dovgal df057bf78d fix test names 2007-05-30 15:40:26 +00:00
Pierre Joye f2e130c145 - add missing cert (thx Tony) 2007-05-30 15:16:31 +00:00
Antony Dovgal 568525bbb5 fix test (second try) 2007-05-30 14:43:18 +00:00
Antony Dovgal 2958037b2a fix test 2007-05-30 14:40:24 +00:00
Antony Dovgal 794ceb7bad MFH: fix lstat() function resolving symlinks 2007-05-30 10:50:47 +00:00
Antony Dovgal b529617499 fix tests 2007-05-30 10:19:39 +00:00
Antony Dovgal 770790af04 set module in internal_function struct 2007-05-30 10:17:43 +00:00
Ilia Alshanetsky 9282d4add6 Fixed an interger overflow inside chunk_split(), identified by Gerhard
Wagner
2007-05-30 00:33:13 +00:00
Antony Dovgal f7ec7197f7 fix tests 2007-05-29 10:25:33 +00:00
Marcus Boerger 407c9833ef - Bug #41525 ReflectionParameter::getPosition() not available
# This was supposed to be dropped in 5.1.4, I wonder why thisis not in
# because the functionality is documented.
# [ DOC ] Make sure the function documentation is correct for:
# ReflectionParameter::getPosition
# ReflectionParameter::getDeclaringFunction
# ReflectionFunction::getExtension
# ReflectionFunction::getExtensionName
2007-05-29 08:44:05 +00:00
Antony Dovgal 97e9bd1da0 fix test names 2007-05-28 20:03:54 +00:00
Pierre Joye b49e70f946 - MFH:
- tests for #39217
 - skip test if openssl is too old
2007-05-28 13:55:30 +00:00
Hannes Magnusson c0dd1f4d0b MFH 2007-05-28 12:19:41 +00:00
Hannes Magnusson c64a4a1359 MFH: fix logic 2007-05-28 10:46:21 +00:00
Antony Dovgal f92e99e83a reorder 2007-05-28 10:36:09 +00:00
Antony Dovgal a841027cca MFH 2007-05-28 10:07:50 +00:00
Dmitry Stogov e35679618e Removed deprecated comment 2007-05-28 08:11:59 +00:00
Antony Dovgal ccd16d09c0 MFH 2007-05-27 19:23:09 +00:00
Hannes Magnusson bcc95ae09b the binary is called php-cgi now 2007-05-27 19:00:47 +00:00
foobar 26c60afb5d MFH: add missing entries, these are in PHP_4_4 branch.. 2007-05-27 18:04:10 +00:00
Ilia Alshanetsky 47216d7de4 Adjust tests to reflect the new expected output 2007-05-27 17:57:57 +00:00
Ilia Alshanetsky e3759c2823 Fixed SQLite version 2007-05-27 17:53:04 +00:00
Ilia Alshanetsky 0f6e099d7d Fixed bug #41477 (no arginfo about SoapClient::__soapCall()). 2007-05-27 17:46:46 +00:00
Ilia Alshanetsky 6f61e84727 Fixed bug #41492 (open_basedir/safe_mode bypass inside realpath()). 2007-05-27 17:33:39 +00:00
Ilia Alshanetsky d2ec6b60da Fixed bug #41236 (Regression in timeout handling of non-blocking SSL
connections during reads and writes).
2007-05-27 17:05:51 +00:00
Ilia Alshanetsky faae3e9ecf Fixed bug #41504 (json_decode() incorrectly decodes JSON arrays with empty
string keys).
2007-05-27 16:31:35 +00:00
Nuno Lopes 2c5368c013 fix handling of &&amp; by htmlentities 'no-double-encode'
expand the test cases
2007-05-27 15:57:11 +00:00
Nuno Lopes 452524fe3a fix the new 'no-double-encoding' feature of htmlspecialchars() (the length for char search was wrong. this could lead to crashes..) 2007-05-27 15:45:18 +00:00
Nuno Lopes 8931a76101 make make_digest() output a 16-byte string so that it wont break the internal PHP API (it was breaking the SOAP extension) 2007-05-27 15:29:38 +00:00
Antony Dovgal 7e1647e524 MFH: add missing skipif sections 2007-05-27 15:12:33 +00:00
foobar 8561368787 fix news 2007-05-27 15:11:31 +00:00
foobar 8588db4b46 - Fixed bug #41511 (Compile failure under IRIX 6.5.30 building md5.c) 2007-05-27 14:50:09 +00:00
Antony Dovgal bac779d6b6 check for required func 2007-05-27 14:39:21 +00:00
Antony Dovgal 060589090d fix test 2007-05-27 14:30:06 +00:00
Rasmus Lerdorf 227fd7aa1f Remove simple optimization here for now until we clean up this SAPI/TSRM
mess.
2007-05-25 22:53:34 +00:00
Hannes Magnusson f00ea3c023 MFH: Mention why short_open_tags is off (bug#37068) 2007-05-25 19:25:15 +00:00
Hannes Magnusson df03be1a3b Allow skipping hint_charset (fixes ext/standard/tests/strings/htmlentities18.phpt) 2007-05-25 14:09:02 +00:00
Zoe Slattery eb0f324f70 New testcaes for file/strings/general_functions 2007-05-25 13:44:23 +00:00
Hannes Magnusson de4408c9af MFH: protos (patch by jeffg at activestate dot com) 2007-05-25 13:24:50 +00:00
Michael Wallner d9c97cbd47 - fix typo 2007-05-25 12:47:55 +00:00
Hannes Magnusson 194044bbdb Mention json nesting dept bump 2007-05-25 12:35:33 +00:00
Hannes Magnusson ad57583ba4 This test should only test failures 2007-05-25 12:31:03 +00:00
Hannes Magnusson 993b66b4c8 Fix test after stack limit bump 2007-05-25 12:15:38 +00:00
Rasmus Lerdorf 6e0d643783 Slightly cleaner code 2007-05-25 09:20:01 +00:00
Rasmus Lerdorf f6bffb69c5 Optimize sapi_get_request_time() slightly making it use the cached time
and also checking if there is a server_context before trying to call
the request_time sapi hook.
2007-05-25 09:12:35 +00:00
Ilia Alshanetsky 9998f67c91 Back to dev 2007-05-25 00:07:57 +00:00
Ilia Alshanetsky f0b7941067 5.2.3RC1 2007-05-25 00:05:30 +00:00
foobar a894611636 - Unify installation of SAPIs: CGI is no exception anymore. 2007-05-24 23:29:59 +00:00
Rasmus Lerdorf c7069887a4 Make the code match the commit comment 2007-05-24 22:40:02 +00:00
Rasmus Lerdorf 464d87e58b I don't see any reason to leave the stack limitation at 20. We have
reports of this limit being hit now and as far as I can tell bumping it
to 128 isn't going break anything in the parser code.
2007-05-24 22:37:59 +00:00
foobar efcdcd80b6 - Allow build without flex/bison installed (fixes builddir != srcdir build
when using distributed sources which inlude pre-generated bison/flex
  output. See bug #38762 for more..)
2007-05-24 21:40:41 +00:00
Rasmus Lerdorf 2fba3bf13b Uh, only meant to remove the null check, not the assignment 2007-05-24 21:29:27 +00:00
Rasmus Lerdorf 61b06f1527 Avoid running off the end of a non-null terminated string. Not that we
should have any of those, but a mistake in an extension could hit this
and the check doesn't actually make any sense as far as I am concerned.
2007-05-24 20:53:05 +00:00
foobar 5603bef272 - Fix previous fix. (just revert of Stefan's bad fix..) 2007-05-24 19:52:03 +00:00
foobar 91d98d2986 - Fix idiotic change in logic. (hint: flex is _REQUIRED_ for building PHP! 2007-05-24 19:35:46 +00:00
Dmitry Stogov 9bca44df22 Impoved error reporting on parser errors (Matt, Dmitry) 2007-05-24 08:56:35 +00:00
Ilia Alshanetsky 6f694fab9a Simplify code 2007-05-23 15:01:00 +00:00
Hannes Magnusson a6a989d44c new curl constants 2007-05-22 19:31:07 +00:00
Antony Dovgal 9a37c5588c fix tests 2007-05-22 16:58:33 +00:00
Antony Dovgal d14d148f66 fix test 2007-05-22 16:52:58 +00:00
Hannes Magnusson 77fda18119 Add entry about --ini 2007-05-22 16:38:50 +00:00
Raghubansh Kumar 17a6ac36da New version of gettype_settype_variation1.phpt gettype_settype_variation6.phpt
gettype_settype_variation2.phpt  gettype_settype_variation7.phpt      gettype_settype_variation3.phpt  gettype_settype_variation8.phpt
gettype_settype_basic.phpt  gettype_settype_variation4.phpt
gettype_settype_error.phpt  gettype_settype_variation5.phpt
2007-05-22 16:01:59 +00:00
Raghubansh Kumar 9f5016ef7b New version of basename_basic.phpt, basename_error.phpt, basename_variation.phpt 2007-05-22 15:59:04 +00:00
Hannes Magnusson 13feaf3620 Ladies and gentelmens,
I bring you our new documentation editor....
Philip Olson!
2007-05-22 15:44:11 +00:00
Hannes Magnusson cdd37424a8 Update proto&arginfo for double_encode in htmlspecialchars()&htmlentities() 2007-05-22 15:38:27 +00:00
Pierre Joye c1ba2927aa - add cve ref 2007-05-22 15:17:03 +00:00
Antony Dovgal a69e6e2c79 MFH: improve variable name checks
add more tests
2007-05-22 14:34:23 +00:00
Hannes Magnusson b4eb20c8aa Add max_input_nesting_level 2007-05-22 13:27:16 +00:00
Ilia Alshanetsky c98cbb6020 [DOC] Added a 4th parameter flag to htmlspecialchars() and htmlentities()
that makes the function not encode existing html entities. The feature is
disabled by default and can be activated by passing FALSE as the 4th param
2007-05-22 12:37:00 +00:00
Timm Friebe 43fccbf2b9 - Changed hardcoded "tempdb" database name to a constant 2007-05-22 12:16:32 +00:00
Timm Friebe 090cee2bdc - Fixed expectancy in for SQL query <select convert(datetime, "notadate")>
This query should return bool(false) and not a resource() because
  the above is a syntax error
# Exact message yielded by SQL server is the following:
# "Syntax error during explicit conversion of VARCHAR value `notadate`
# to a DATETIME field.
2007-05-22 11:38:57 +00:00
Timm Friebe 9181a464fe - Added constant TEMPDB, defaulting to "tempdb"
# This constant is used by some of the tests and should point
# to a database where the user has create proc|table permissions
2007-05-22 11:36:55 +00:00
Timm Friebe 6218d2d998 - Changed hardcoded "tempdb" database name to a constant
# This constant is defined in test.inc and defaults to "tempdb"
# In certain setups, create procedure permissions may not be granted
# in tempdb
2007-05-22 11:35:47 +00:00
Timm Friebe 680735fce8 - Fixed tests on Windows
# The tests expected %s/test.inc in warnings and notices, but of course,
# on Windows, the directory separator is a backslash.
# Made this work in both worlds by testing for %stest.inc
2007-05-22 11:33:36 +00:00
Antony Dovgal 083844f847 MFH: fix #41442 (imagegd2() under output control) 2007-05-22 10:22:49 +00:00
Sara Golemon 5040dbd5e8 MFH(r-1.112) Add CURLOPT_TIMEOUT_MS and CURLOPT_CONNECTTIMEOUT_MS option constants 2007-05-22 08:39:20 +00:00
Ilia Alshanetsky 89d57c7c67 Fixed typos 2007-05-21 16:50:03 +00:00
Michael Wallner 5fdcc761a1 - first check the SSL lib string in libcurl and then the header 2007-05-21 13:32:35 +00:00
Dmitry Stogov 7d1dbff79d Fixed bug #41337 WSDL parsing doesn't ignore non soap bindings 2007-05-21 13:13:50 +00:00
Antony Dovgal 007bac315d MFH: fix #41455 (ext/dba/config.m4 pollutes global $LIBS and $LDFLAGS) 2007-05-21 11:38:53 +00:00
Dmitry Stogov 23409a4bbf Fixed crash on "php -b 1234 -unknown-option" 2007-05-21 09:08:13 +00:00
Dmitry Stogov 3040a34b21 libfcgi cleanup (Andrei Nigmatulin) 2007-05-21 08:47:51 +00:00
Antony Dovgal 04aefb4e18 MFH 2007-05-21 07:12:41 +00:00
Marcus Boerger a4e3f29771 - MFH Add print_htptr, print_htstr 2007-05-20 21:46:17 +00:00
Ilia Alshanetsky 30dd6a45d3 Fixed a possible crash when PATH_INFO is not provided but the path contains
path info information
2007-05-20 15:56:10 +00:00
Pierre Joye b65cdd0793 - use the same checks for zip_stat 2007-05-19 22:25:11 +00:00
Pierre Joye 26e22f34fa - #41423. PHP assumes wrongly that certain ciphers are enabled in OpenSSL 2007-05-19 22:05:08 +00:00
Ilia Alshanetsky b828d1939f Optimized digest generation in md5() and sha1() functions by using code
from ext/hash. This makes the functions 20-50% faster on short strings.
2007-05-19 20:30:35 +00:00
Michael Wallner a349109e42 - fix compile/linker agnostic runpath switch 2007-05-19 19:36:11 +00:00
Ilia Alshanetsky c009fc8915 CS fixes
Fixed a possible crash in the event directory cannot be created, due to a
double free.
2007-05-19 19:29:37 +00:00
Ilia Alshanetsky a3899eda3e Fixed typo in constant name 2007-05-19 18:40:27 +00:00
Ilia Alshanetsky c554031b24 Eliminate memory allocation in RINIT for spl 2007-05-19 18:32:35 +00:00
Ilia Alshanetsky 9db4812366 Remove pointless RINIT 2007-05-19 17:58:22 +00:00
Ilia Alshanetsky c8a694eb45 Avoid strlen() 2007-05-19 17:52:30 +00:00
Ilia Alshanetsky 2a6442190c Fixed test to work with postgresql 2007-05-19 15:28:37 +00:00
Antony Dovgal 0db4f06f13 MFH 2007-05-19 12:53:06 +00:00
Stanislav Malyshev 3dc920d4ea and now the right number 2007-05-19 08:10:52 +00:00
Stanislav Malyshev ff95fbd692 fix reference 2007-05-19 08:08:03 +00:00
Antony Dovgal 27dcd0e5fb reorder 2007-05-18 20:56:50 +00:00
Stanislav Malyshev 9955794367 news about #41401 2007-05-18 20:49:28 +00:00
Antony Dovgal 6434290092 fix test
add separate test for 64bit
2007-05-18 20:45:50 +00:00
Antony Dovgal 7e80ad9407 fix leak and check for < 0 only of the 5th arg was passed 2007-05-18 20:34:13 +00:00
Stanislav Malyshev cfedafff67 add test for 41401 2007-05-18 20:13:28 +00:00
Stanislav Malyshev bc2b546dcc fix #41401 - parser precedence on unary operators
# now 1/-2*5 is -2.5 as it should be
2007-05-18 18:36:04 +00:00
Dmitry Stogov 80d2409fd8 Improved compilation of heredocs and interpolated strings. (Matt, Dmitry) 2007-05-18 13:12:05 +00:00
Antony Dovgal 6d41d020df MFH: fix #41430 (Fatal error with negative values of maxlen parameter of file_get_contents()) 2007-05-18 12:06:44 +00:00
Antony Dovgal 4167b0a4ce BFN 2007-05-18 11:52:47 +00:00
Antony Dovgal d7b30e457a MFH: fix #41421 (Uncaught exception from a stream wrapper segfaults) 2007-05-18 11:52:08 +00:00
Antony Dovgal ff514e208e fix tests 2007-05-18 11:47:58 +00:00
Rasmus Lerdorf 7e5f0a8380 Get rid of a stray time() syscall in tsrm and clean up lcg rinit 2007-05-18 11:36:55 +00:00
Antony Dovgal ffd09c0961 fix tests 2007-05-18 11:29:55 +00:00
Nuno Lopes 83aba2c5b9 fix gcov build....... 2007-05-17 17:57:51 +00:00
Antony Dovgal 27c32bab35 news entry 2007-05-17 15:13:51 +00:00
Antony Dovgal ae49128df4 implement FR #41416 (getColumnMeta() should also return table name) 2007-05-17 15:12:23 +00:00
Hannes Magnusson 4ad45f6566 Fix paths for ext/sqlite 2007-05-17 13:40:12 +00:00
Antony Dovgal 4bd12c4673 fix test 2007-05-17 11:43:47 +00:00
Rasmus Lerdorf 52c2d6c235 Get rid of a useless RINIT and an empty RSHUTDOWN on non-Windows 2007-05-17 06:38:13 +00:00
Pierre Joye 85f738261f - fix title 2007-05-16 22:55:27 +00:00
Pierre Joye 7807477a87 - MFH: libgd #86: Fixed possible infinite loop in libgd/gd_png.c, fix test
(Reported by Xavier Roche)
2007-05-16 22:21:41 +00:00
Pierre Joye 587de83684 - MFH: libgd #86: Fixed possible infinite loop in libgd/gd_png.c
(Reported by Xavier Roche)
2007-05-16 22:19:08 +00:00
Michael Wallner a5ce18dd47 - BFN 2007-05-16 21:22:12 +00:00
Michael Wallner 6447c82454 - fixed bug #41358: configure cannot determine libcurl's SSL lib as of v7.16.2 2007-05-16 21:18:41 +00:00
Zoe Slattery 8f06575c23 Updated range() test 2007-05-16 21:07:33 +00:00
Ilia Alshanetsky 2b46d621e6 Upgraded libsqlite3 to SQLite 3.3 2007-05-16 21:04:46 +00:00
Ilia Alshanetsky 67032ecdf0 Make test work in sqlite 2007-05-16 21:03:46 +00:00
Antony Dovgal 5e7b464517 typofix 2007-05-16 20:04:32 +00:00
Ilia Alshanetsky 7cc5c04b47 news 2007-05-16 19:36:21 +00:00
Ilia Alshanetsky efd7846d34 [DOC] Added PDO::FETCH_KEY_PAIR mode that will fetch a 2 column result set
into an associated array.
2007-05-16 19:33:57 +00:00
Marcus Boerger bfbbe4110e - MFH Extensions are indexed lowercased and not case aware 2007-05-16 18:57:15 +00:00
Antony Dovgal 3a10e5c078 MFH: fix #41394 (dbase_create creates file with corrupted header) 2007-05-16 13:17:50 +00:00
Antony Dovgal 09a575a20f MFH: fix #41403 (json_decode cannot decode floats if localeconv decimal_point is not '.') 2007-05-16 12:54:30 +00:00
Stanislav Malyshev 69650d0ebf do not send cookie when session is passed in URL, same as it happens with GET/POST 2007-05-16 01:18:14 +00:00
Antony Dovgal e72d044f9f fix tests 2007-05-15 14:25:21 +00:00
Scott MacVicar 55a3d5f8b1 MFH: Fixed bug #41390 (Clarify error message with invalid protocol scheme) 2007-05-15 13:04:43 +00:00
Antony Dovgal e5a556757e add the original author of the patch 2007-05-15 12:39:05 +00:00
Dmitry Stogov 633aff5541 Fixed bug #41378 (fastcgi protocol lacks support for Reason-Phrase in "Status:" header) 2007-05-15 08:17:08 +00:00
Ilia Alshanetsky 727109283d News file cleanup 2007-05-14 18:54:05 +00:00
Scott MacVicar 607467451d Prefix NEWS item so documentation team know of new function and typo from old parsing API spotted by bjori 2007-05-14 18:09:20 +00:00
Scott MacVicar ac38b635cb Add mysql_set_charset() so that the connection encoding can be changed. This is similar to the SET NAMES statement but allows the mysql_real_escape_string to use the correct character set. 2007-05-14 17:10:47 +00:00
Antony Dovgal a640896685 fix test 2007-05-14 16:18:02 +00:00
Antony Dovgal d85fc29edf MFH 2007-05-14 12:19:34 +00:00
Rob Richards 7d3c91bed3 free wholetext properly 2007-05-14 11:52:35 +00:00
Rob Richards 82dc0875cb BFN 2007-05-14 11:45:38 +00:00
Rob Richards f42784219a Fixed bug #41374 (wholetext concats values of wrong nodes).
add test
2007-05-14 11:44:15 +00:00
Antony Dovgal 725260ea0f fix CS 2007-05-14 11:33:34 +00:00
Antony Dovgal 2274c18cc6 remove floats, their text representation varies depending on many factors 2007-05-14 11:10:30 +00:00
Antony Dovgal 9100e9efde add 64bit tests 2007-05-14 11:04:30 +00:00
Antony Dovgal 83df9beca2 fix precision 2007-05-14 11:04:08 +00:00
Antony Dovgal b33de5d0aa fix tests - make them 32bit only, 64bit version will be later
add --INI-- section
remove recursive arrays, that thing should be in a separate test
2007-05-14 10:57:04 +00:00
Pierre Joye 19d1d24d60 - [@DOC] MFH: #41326, better fix. It restores BC and allows both canonical
and short form:
  - when $content is given, the closing tag will be generated (even for empty
  string)
  - when $content is ignored or NULL is given, the short form will be used
2007-05-14 09:23:49 +00:00
Ilia Alshanetsky f752fd4836 Fixed bug #41353 (crash in openssl_pkcs12_read() on invalid input). 2007-05-13 17:37:32 +00:00
Hannes Magnusson 909894682d MFH: bug#41361 (shell_exec() does not find binaries) 2007-05-12 16:06:46 +00:00
Raghubansh Kumar c5c162d182 New version of debug_zval_dump_b.phpt, is_array.phpt, is_null.phpt, is_string.phpt, debug_zval_dump_e.phpt, is_bool.phpt, is_numeric.phpt, print_r.phpt, debug_zval_dump_o.phpt, is_float.phpt is_object.phpt, strval.phpt,
debug_zval_dump_v.phpt, is_int.phpt, is_scalar.phpt, var_dump.phpt
2007-05-12 10:28:00 +00:00
Raghubansh Kumar 3a97c49489 New version of addcslashes.phpt, md5_file.phpt, str_replace.phpt, substr.phpt, chr_ord.phpt, strpos.phpt, strstr.phpt, trim1.phpt, implode1.phpt, str_repeat.phpt, substr_count.phpt 2007-05-12 10:15:02 +00:00
Raghubansh Kumar 42ae6b508e New version of 005.phpt, array_change_key_case.phpt, array_key_exists.phpt, array_keys.phpt, array_map.phpt, array_pop.phpt, array_search.phpt, array_values.phpt, each.phpt, end.phpt, extract.phpt 2007-05-12 09:53:30 +00:00
Raghubansh Kumar 02dd014013 New version of 009.phpt 2007-05-12 09:50:40 +00:00
Antony Dovgal bc25fc52bf MFH: remove warnings in resource dtor 2007-05-11 15:46:38 +00:00
Antony Dovgal 2b229635c2 BFN 2007-05-11 12:22:00 +00:00
Antony Dovgal c8cfd3b99a MFH: fix #41134 (zend_ts_hash_clean not thread-safe)
fix also zend_ts_hash_*destroy()
2007-05-11 12:21:26 +00:00
Antony Dovgal c1e84f1fff BFN 2007-05-11 09:39:49 +00:00
Antony Dovgal 756f3f60ca MFH: fix #41351 (Invalid opcode with foreach ($a[] as $b)) 2007-05-11 09:39:36 +00:00
Dmitry Stogov d2fe65c191 Fixed bug #39542 (Behaviour of require/include different to < 5.2.0) 2007-05-11 08:02:43 +00:00
Marcus Boerger 93583f9680 - MFH Add invert option to RegexIterator 2007-05-11 00:15:25 +00:00
Antony Dovgal 8de1ecef64 MFH: fix segfault in strripos() when offset == INT_MAX+1
identified and repoted by Joxean Koret
2007-05-10 22:10:43 +00:00
Antony Dovgal 5d8567b83b %d -> %ld 2007-05-10 21:52:10 +00:00
Ilia Alshanetsky 51e0891f0b Fixed random number generation for http auth mechanism in SOAP
# Identified by Stefan Esser
2007-05-10 21:05:14 +00:00
Hannes Magnusson 63c11738f8 use php_strtok_r() rather than strsep()
# Fixes build on, for instance, solaris
2007-05-10 19:48:30 +00:00
Antony Dovgal 7efde494d7 MFH: flush output buffer when/if highlight_string()/php_strip_whitespace()/highlight_string() fail 2007-05-10 16:28:11 +00:00
Dmitry Stogov 6e8438633b Fixed bug #41291 (FastCGI does not set SO_REUSEADDR). (fmajid at kefta dot com) 2007-05-10 15:21:02 +00:00
Dmitry Stogov fb045249e5 Fixed bug #41337 (WSDL parsing doesn't ignore non soap bindings) 2007-05-10 14:58:17 +00:00
Scott MacVicar e7577d57cd Fixed bug #41347 (checkdnsrr() segfaults on empty hostname). 2007-05-10 13:16:54 +00:00
Antony Dovgal c69b76dc52 MFH: fix segfault in iptcembed() 2007-05-10 12:23:25 +00:00
Antony Dovgal f9f456a9cd MFH: bcmath.scale must be greater or equal to zero 2007-05-10 09:53:36 +00:00
Ilia Alshanetsky 6df5384610 Fixed a typo 2007-05-09 23:59:06 +00:00
Pierre Joye 223cfe342f - MFH: #41326, Writing empty tags with Xmlwriter::WriteElement[ns] 2007-05-08 21:41:36 +00:00
Ilia Alshanetsky 75b5ce3b8d Fixed bug #41321 (downgrade read errors in getimagesize() to E_NOTICE). 2007-05-08 18:38:20 +00:00
Dmitry Stogov eec0b67cd8 Fixed bug #41304 (compress.zlib temp files left) 2007-05-08 12:08:17 +00:00
Ilia Alshanetsky 420352d8b5 Register RAW_POST_DATA even when always_populate_raw_post_data is off in
instances where content type is not known
2007-05-07 23:27:59 +00:00
Antony Dovgal c25a2f6cd2 fix tests (add precision) 2007-05-07 22:41:30 +00:00
Antony Dovgal 3a46e8ab1f fix tests 2007-05-07 22:30:16 +00:00
Antony Dovgal 56a27267f3 fix tests 2007-05-07 22:10:14 +00:00
Antony Dovgal c2c4fe75e1 fix test 2007-05-07 21:38:42 +00:00
Ilia Alshanetsky 9b661ea62e Fixed SOAP tests and added additional tests to ensure processing POST data
works based on server001.phpt
2007-05-07 18:45:03 +00:00
Ilia Alshanetsky 146a600711 Added support for --GZIP_POST-- and --DEFLATE_POST-- that allows emulation
of compressed POST input
2007-05-07 18:40:33 +00:00
Antony Dovgal 1f65545121 fix test names 2007-05-07 18:03:01 +00:00
Antony Dovgal b64823deb7 fix test names 2007-05-07 17:54:12 +00:00
Nuno Lopes 877b7c7ea7 fix test title 2007-05-07 15:23:53 +00:00
Pierre Joye 4a8e75b990 - MFH: fix build when use with a museum freetype version (1.x) 2007-05-07 14:54:36 +00:00
Antony Dovgal fa14b60e68 add 64bit version of the tests 2007-05-07 14:00:40 +00:00
Antony Dovgal 8f70937bec fix tests 2007-05-07 12:09:14 +00:00
Antony Dovgal f0dbacb715 fix test 2007-05-07 08:25:12 +00:00
Ilia Alshanetsky 0a63bd4d0b Allow SOAP extension's handler() to work even when
always_populate_raw_post_data is off.

# Tests will be updated in the next few days
2007-05-06 17:21:13 +00:00
Ilia Alshanetsky f932fe5ad4 Fixed bug #41293 (Fixed creation of HTTP_RAW_POST_DATA when there is no
default post handler).
2007-05-06 16:34:14 +00:00
Ilia Alshanetsky 636806a869 Added HTTP_RAW_POST_DATA test for instances where post length exceeds
post_max_size.
2007-05-06 16:30:09 +00:00
Ilia Alshanetsky 468dc98961 Added $HTTP_RAW_POST_DATA test 2007-05-06 16:26:11 +00:00
Ilia Alshanetsky accdf2c64c Clarify bug fix details 2007-05-06 15:37:07 +00:00
Hannes Magnusson 448dbac84f MFH: Fixed PHP CLI to use the php.ini from the binary location 2007-05-06 14:01:26 +00:00
Hannes Magnusson 1d2c53b249 Fix test 2007-05-06 13:11:31 +00:00
Johannes Schlüter 9edf1dc617 - MFH: Fix build without reflection 2007-05-06 12:57:50 +00:00
Antony Dovgal 3000c0be66 fix tests, add more 2007-05-05 21:44:52 +00:00
foobar 0d5a13ddda MFH 2007-05-05 19:26:39 +00:00
Marcus Boerger 3cd6bc54bc - MFH --ri does not require ext/Reflection
- MFH --ini to show ini files being used
2007-05-05 16:21:07 +00:00
Ilia Alshanetsky 502d68e1e7 Fixed bug #41285 (Improved fix for CVE-2007-1887 to work with non-bundled
sqlite2 lib).
2007-05-05 15:36:15 +00:00
Ilia Alshanetsky c70105610a Fixed bug #41283 (Bug with serializing array key that are doubles or
floats).
2007-05-05 15:14:56 +00:00
Antony Dovgal 9fd3c30f94 MFH 2007-05-04 22:32:57 +00:00
foobar 3f6cb452ee MFH:- Prevent bugs like #41265 being submitted from now on. 2007-05-04 21:57:47 +00:00
Rob Richards cde4621907 BFN 2007-05-04 20:18:51 +00:00
Rob Richards 78ccf4e0c2 Fix bug #41287 (Namespace functions don't allow xmlns to be optional)
add test
2007-05-04 20:16:39 +00:00
Rob Richards 3585581412 BFN 2007-05-04 19:32:53 +00:00
Rob Richards 24434e7ba2 fix bug #41257 (lookupNamespaceURI does not work as expected)
fix related issue in isDefaultNamespace
add test
reconcile namespaces when setting attribute in a new namespace
2007-05-04 19:30:59 +00:00
Edin Kadribasic 567c9daeae Update Apache 2 libs to 2.0.59 on the build box and standardize the dirs 2007-05-04 18:17:55 +00:00
Nuno Lopes b8fbcae5b3 get ride of warnings (different signdess) 2007-05-04 17:11:05 +00:00
Antony Dovgal b1b4b0a6a7 fix comments 2007-05-04 16:19:57 +00:00
Antony Dovgal 3f8c011a9a add tests 2007-05-04 12:46:18 +00:00
Antony Dovgal dadbd426c4 MFH 2007-05-04 11:30:37 +00:00
Antony Dovgal 803e6f5887 MFH 2007-05-04 09:05:32 +00:00
Antony Dovgal 1d6fea0e55 MFH 2007-05-04 08:27:33 +00:00
Dmitry Stogov 97b338afe5 - Fixed bug #41097 (ext/soap returning associative array as indexed without
using WSDL).
- Fixed bug #41004 (minOccurs="0" and null class member variable).
2007-05-04 06:19:34 +00:00
Dmitry Stogov d8ce0568ef Fixed altering $this via argument named "this" 2007-05-04 06:18:53 +00:00
Ilia Alshanetsky cd32cab680 Fixed ext/filter Email Validation Vulnerability
(MOPB-24 by Stefan Esser)
2007-05-03 23:38:27 +00:00
Johannes Schlüter f50ec4ea53 - MFH: Fix skipif 2007-05-03 12:44:48 +00:00
Antony Dovgal 0a92fdba8a improve test 2007-05-03 12:10:11 +00:00
Edin Kadribasic ee593ef3b1 Fix Windows Build 2007-05-03 04:16:32 +00:00
Ilia Alshanetsky a64c73121d Back to dev 2007-05-03 01:16:50 +00:00
Ilia Alshanetsky 0f474f9474 5.2.2 2007-05-02 23:05:14 +00:00
Dmitry Stogov df61bae636 Reverted the following fixed because of php-5.2.2 release process
- Fixed altering $this via argument named "this".
- Fixed bug #41097 (ext/soap returning associative array as indexed without
  using WSDL).
- Fixed bug #41004 (minOccurs="0" and null class member variable).
2007-05-02 17:24:16 +00:00
Antony Dovgal fca80f63fb add SKIPIF section 2007-05-02 15:41:22 +00:00
Antony Dovgal e03eadf633 MFH: add USE_ZEND_ALLOC env var 2007-05-02 15:41:06 +00:00
Dmitry Stogov 688cc5039a Fixed altering $this via argument named "this" 2007-05-02 13:21:55 +00:00
Dmitry Stogov c327dec913 Fixed bug #41192 (Per Directory Values only work for one key) 2007-05-02 10:16:34 +00:00
Dmitry Stogov 101a0f08ce Fixed bug #41004 (minOccurs="0" and null class member variable) 2007-05-02 09:38:12 +00:00
Dmitry Stogov 4b7999cd0b New test 2007-05-02 08:35:17 +00:00
Dmitry Stogov 3721cb9d8d Fixed bug #41097 (ext/soap returning associative array as indexed without using WSDL) 2007-05-02 08:22:13 +00:00
Dmitry Stogov f409fcd02a Fixed test 2007-05-02 07:27:36 +00:00
Ilia Alshanetsky 01b0f9d44d Removed completed TODO items 2007-05-01 23:04:30 +00:00
Derick Rethans 047ccbc0c2 - MFH: Added test case for bug #41252. 2007-05-01 16:04:33 +00:00
Ilia Alshanetsky e0cab44595 Remove quotes 2007-05-01 00:05:39 +00:00
Antony Dovgal 96964359af MFH: initialize optional params 2007-04-30 21:40:02 +00:00
Johannes Schlüter c52e519bc0 BFN 2007-04-30 20:01:16 +00:00
Johannes Schlüter e181e3ac7b - MFH Fix "f" modifier for zend_parse_parameters_ex in case of a __call call
# only affects iterator_apply() in 5_2 branch
2007-04-30 19:54:41 +00:00
Edin Kadribasic 618e172ec8 Sync correctly with configure.in 2007-04-30 16:18:06 +00:00
Edin Kadribasic 7bcf3ef165 Sync with zlib 2007-04-29 17:47:31 +00:00
Ilia Alshanetsky 7810fc89fa Fixed bug #41215 (setAttribute return code reversed). 2007-04-29 14:47:34 +00:00
foobar e878249669 typofix..and exactly HOW or WHAT in commandline handling was fixed? 2007-04-29 00:45:23 +00:00
foobar 1d7d3a4307 - Updated credits 2007-04-29 00:43:11 +00:00
Antony Dovgal c3b9d939e0 add new tests 2007-04-28 11:59:08 +00:00
Antony Dovgal 70e6d3d042 add new tests 2007-04-27 21:33:02 +00:00
Edin Kadribasic 9b1de77959 Sync with configure.in 2007-04-27 20:54:47 +00:00
Antony Dovgal a6cd2b4cec MFH: improve the tests 2007-04-27 11:43:45 +00:00
Antony Dovgal de4f3007e2 MFH: initialize retval_ptr_ptr before returning FAILURE
this fixes invalid read in #41209
2007-04-27 08:12:24 +00:00
Uwe Schindler 88bef568da MFH: Fix crash on server startup when log message is printed 2007-04-27 00:29:26 +00:00
Antony Dovgal 66859a74de fix tests 2007-04-26 23:30:00 +00:00
Antony Dovgal ef32c956f7 MFH 2007-04-26 23:13:25 +00:00
Ilia Alshanetsky bd7e78c48b Back to dev 2007-04-26 22:44:53 +00:00
Ilia Alshanetsky cc8ea13d5b 5.2.2RC2 2007-04-26 22:39:10 +00:00
Antony Dovgal 3c6d2617e7 MFH: fix build on Tru64 2007-04-26 19:08:58 +00:00
Antony Dovgal 3e7b4e5d1a MFH: add test & GMP_VERSION constant
do not allow zero operand in gmp_divexact()
2007-04-26 13:44:02 +00:00
Dmitry Stogov 69cfe50f74 Prevent double close() of the same file handle 2007-04-26 12:52:58 +00:00
Ilia Alshanetsky 6a6ae2f713 Update TODO: filter extension was added 2007-04-25 18:22:43 +00:00
Dmitry Stogov 4bd17132b1 ZTS fix 2007-04-25 14:18:01 +00:00
Antony Dovgal 41896020ea fix ZTS build 2007-04-25 11:05:16 +00:00
Hannes Magnusson 42170968cf MFH: php --ri main 2007-04-25 09:56:29 +00:00
Dmitry Stogov 8464abe22e Fixed crashes because of SAPI handlers overrding from inside of dl()-ed extensions 2007-04-25 08:40:07 +00:00
Ilia Alshanetsky af7a7a4e36 Fixed error message to reflect the check 2007-04-24 14:11:28 +00:00
Ilia Alshanetsky bc9f8f582c Fixed bug #41175 (addAttribute() fails to add an attribute with an empty
value).
2007-04-24 13:54:59 +00:00
foobar c8925ba493 - fix compile warning 2007-04-24 12:51:22 +00:00
Johannes Schlüter 3d7dd44ceb - MFH: Add my name (sync to CREDITS file) 2007-04-23 20:54:22 +00:00
Hannes Magnusson 5eb0037584 MFH: Plug leak when trying to write via the http wrapper 2007-04-23 16:37:28 +00:00
Ilia Alshanetsky 0e9abe13d1 Bug fixing news 2007-04-23 15:23:37 +00:00
Scott MacVicar 65408b1520 MFH: Fixed bug #40130 (TTF usage doesn't work properly under Netware). 2007-04-23 15:17:47 +00:00
Antony Dovgal b316a030aa MFH: add CURLOPT_FTP_CREATE_MISSING_DIRS 2007-04-23 14:36:56 +00:00
Ilia Alshanetsky cde610e5f0 Order by bug id 2007-04-23 14:17:52 +00:00
Antony Dovgal ea7f23b053 MFH 2007-04-23 11:19:15 +00:00
Antony Dovgal a10cd19d05 MFH: fix long options 2007-04-23 11:05:16 +00:00
Antony Dovgal 6a73be6329 fix folding 2007-04-23 10:05:33 +00:00
Dmitry Stogov 2a689a4267 64-bit support 2007-04-23 09:56:56 +00:00
Dmitry Stogov b1aea75ac1 WIN64 support 2007-04-23 09:56:30 +00:00
Antony Dovgal 5340a509f4 revert 2007-04-23 09:32:44 +00:00
Antony Dovgal a06d3b7bf3 revert 2007-04-23 09:27:07 +00:00
Antony Dovgal ba5798cb4d BFN 2007-04-22 21:33:32 +00:00
Antony Dovgal f6cef916bc MFH: fix #41118 (PHP does not handle overflow of octal integers) 2007-04-22 21:33:10 +00:00
Marcus Boerger e910699347 - MFH Update docu 2007-04-22 17:13:52 +00:00
Marcus Boerger d82779ec26 - BFN 2007-04-22 15:33:43 +00:00
Marcus Boerger f62d5c9adf - MFH getopt fixes 2007-04-22 15:31:16 +00:00
Ilia Alshanetsky 0369b693b4 Fixed bug #41159 (mysql_pconnect() hash does not account for connect
flags).
2007-04-22 15:19:08 +00:00
Dmitry Stogov 6a8b3db8bc Fixed buffer overflow 2007-04-22 10:25:18 +00:00
Dmitry Stogov 1f8f38e653 Fixed test 2007-04-22 08:37:38 +00:00
Antony Dovgal d66080d6f0 make this test 32bit only 2007-04-20 16:14:37 +00:00
Nuno Lopes 0f99cf14c1 fix gcov build 2007-04-20 14:51:16 +00:00
Nuno Lopes b6fac40b3a update install instructions (auto-generated from phpdoc XML sources) 2007-04-20 14:13:47 +00:00
Antony Dovgal cb81428054 apply correct fix 2007-04-20 10:16:46 +00:00
Antony Dovgal 8deb6294ec fix test 2007-04-20 10:15:04 +00:00
Antony Dovgal 60e1a548ff new test 2007-04-20 09:17:46 +00:00
Antony Dovgal d5dc7cbf63 MFH 2007-04-20 08:18:42 +00:00
Antony Dovgal 157ba803c6 fix test 2007-04-20 08:00:52 +00:00
Antony Dovgal 18af8baa44 MFH 2007-04-20 07:55:21 +00:00
Ilia Alshanetsky c34806e145 Fixed bug #41121 (range() overflow handling for large numbers on 32bit
machines).
2007-04-19 23:21:22 +00:00
Andrey Hristov 73da9ea31d Hmm, the right place to edit 2007-04-19 09:49:28 +00:00
Andrey Hristov 0a9360b16c Update credits 2007-04-19 09:46:54 +00:00
Antony Dovgal 9ad2c80c62 fix double-to-string conversion utils 2007-04-19 09:30:49 +00:00
Dmitry Stogov 52a9667c3a Fixed tests 2007-04-19 07:00:41 +00:00
Sascha Schumann 73cc55a070 - fix vpath build 2007-04-19 06:42:28 +00:00
Ilia Alshanetsky 111df261a5 Upgraded SQLite 3 to version 3.3.16 2007-04-18 22:53:46 +00:00
Antony Dovgal 6a0efe0b7d new tests for ext/gmp 2007-04-18 21:04:21 +00:00
Antony Dovgal 8aa441b9b8 MFH 2007-04-18 20:53:28 +00:00
Antony Dovgal efcb227198 MFH 2007-04-18 20:36:54 +00:00
Dmitry Stogov b2785c3d4c Fixed tests (win32) 2007-04-18 14:51:29 +00:00
Dmitry Stogov 41d27878de Fixed crash on win32 in case of negative size 2007-04-18 14:23:06 +00:00
Dmitry Stogov 02ee91dbb4 Fixed crash 2007-04-18 13:53:19 +00:00
Dmitry Stogov 72e7bfdedf Fixed endless loop in open_basedir check 2007-04-18 11:58:40 +00:00
Antony Dovgal 93dd417180 update to reflect current status 2007-04-18 10:58:41 +00:00
Rob Richards b6b312c020 add file locking under windows
change win build to use common clock compat files
2007-04-18 09:38:59 +00:00
Antony Dovgal bb489851e9 win32 test fixes 2007-04-18 08:06:29 +00:00
Dmitry Stogov 1d56aa095a Fixed tests (win32) 2007-04-18 07:55:52 +00:00
Antony Dovgal 16129b7024 MFH: fix putenv("var") (i.e. unset) on BSD systems
add test
2007-04-17 20:34:14 +00:00
Antony Dovgal 695e81c2cc fix test 2007-04-17 20:17:25 +00:00
foobar 4f54b301ef - Fix a possible leak when multiple -c parameters are used 2007-04-17 20:00:53 +00:00
Antony Dovgal 1668daa621 add .cvsignore 2007-04-17 20:00:03 +00:00
Antony Dovgal a0370cd797 add tests for CGI 2007-04-17 19:49:26 +00:00
foobar 75d8d28e71 - Fix a possible leak when multiple -c parameters are used 2007-04-17 19:46:13 +00:00
Antony Dovgal 44066f23b7 MFH: fix leak appearing when more than one -f option specified 2007-04-17 18:51:34 +00:00
Antony Dovgal 9ab23a7e53 fix leaks in row_get_properties()
thanks to Kellen Bombardier for noticing
2007-04-17 17:00:16 +00:00
Hannes Magnusson 8edb601981 Fix proto 2007-04-17 15:44:23 +00:00
Pierre Joye 8eb8ae051b - INFO_EX not INFO 2007-04-17 15:39:19 +00:00
Pierre Joye 2f4c6acfc8 - imagegrab* entry 2007-04-17 15:33:57 +00:00
Pierre Joye 569e8596af - MFH: add imagegrabwindow and imagegrabscreen (win32 only) [DOC]
capture a window using its handle or a full screen
2007-04-17 15:31:45 +00:00
Ilia Alshanetsky 1e0f6fe5bb Separate parm zval. 2007-04-17 15:29:13 +00:00
Ilia Alshanetsky 843d0d58a0 Fixed bug #41093 (magic_quotes_gpc ignores first arrays keys). 2007-04-17 15:06:50 +00:00
Marcus Boerger 170af7e861 - MFH Fix #41109: recursiveiterator.inc says 'implements' Iterator instead of 'extends' 2007-04-17 06:33:50 +00:00
Dmitry Stogov c60eee7046 typo 2007-04-17 06:26:32 +00:00
Ilia Alshanetsky 8b245e5aaf Fixed bug #41067 (json_encode() problem with UTF-16 input). 2007-04-16 22:31:05 +00:00
foobar 8f845b705b - Updated bundled shtool to 2.0.6 and added "platform" command in it. 2007-04-16 20:49:33 +00:00
Antony Dovgal 7a6e0a1dd2 fix test 2007-04-16 09:11:10 +00:00
Antony Dovgal e83f375c2f fix test 2007-04-16 08:14:33 +00:00
Dmitry Stogov e1814f0dbe WIN64 support 2007-04-16 08:09:56 +00:00
Brian Shire f088268f91 fix fold typo 2007-04-16 02:25:24 +00:00
foobar 2fe7267d53 MFH: Simplify previous patch. 2007-04-15 23:06:08 +00:00
foobar a40b6f5c4f - Allow using syntax highlighting under FastCGI mode. 2007-04-15 22:52:07 +00:00
foobar c71b1401ff - Synch these files from sapi/cli/ and allow using s.c. long-options
with CGI.
2007-04-15 22:50:58 +00:00
Ilia Alshanetsky 2f3e330ad0 Fixed bug #40935 (pdo_mysql does not raise an exception on empty
fetchAll()).
2007-04-15 16:50:42 +00:00
Pierre Joye 42429cadea - add reference to the initial report (helps the packager) 2007-04-14 17:39:13 +00:00
Pierre Joye ffaaaa4df0 - MFH: libgd #74, gdImageFilledArc, huge CPU usage with large angles 2007-04-14 17:33:15 +00:00
Marcus Boerger a4bf33f02d - MFH Fix warning 2007-04-14 11:15:13 +00:00
Antony Dovgal 85fe8e9663 MFH 2007-04-14 10:35:05 +00:00
Antony Dovgal 07435262b9 MFH: fix #41083 (mysql_ping() requires MYSQL_OPT_RECONNECT to be set since MySQL 5.0.13) 2007-04-14 10:19:19 +00:00
Andrei Zmievski b62d120580 Fix processing of control characters; they should be escaped as \u
sequences.
2007-04-13 21:34:12 +00:00
Derick Rethans bcd72ca5a3 - Updated timezone database to version 2007.5. (Derick) 2007-04-13 14:51:40 +00:00
Antony Dovgal 7d92fba759 BFN 2007-04-13 14:41:57 +00:00
Antony Dovgal bb0def99a8 fix #41075 (memleak when creating default object caused exception) 2007-04-13 14:41:36 +00:00
Derick Rethans 35d5a196bd - Fixed bug #39416 (Milliseconds in date()). 2007-04-13 14:09:20 +00:00
Antony Dovgal d3df2eb468 add new test 2007-04-13 13:37:17 +00:00
Antony Dovgal 61a3b763d8 fix tests 2007-04-13 12:29:32 +00:00
Derick Rethans 2e18eb3858 - Fixed bug #39965 (Latitude and longitude are backwards in date_sun_info()). 2007-04-13 08:33:48 +00:00
Derick Rethans d62dca3d48 - Fixed bug #40290 (strtotime() returns unexpected result with particular
timezone offset).
2007-04-13 08:11:07 +00:00
Brian Shire e7d68b8373 reverting incorrect changes to pack test
# only a problem on darwin, latest gcc-4.2 branch works as expected.
2007-04-13 02:15:07 +00:00
Antony Dovgal 73aa351741 MFH: add support for %I64(u|d) to sprintf() utilities 2007-04-12 22:01:20 +00:00
Ilia Alshanetsky a133297c86 Fixed bug #41034 (json_encode() ignores null byte started keys in arrays) 2007-04-12 19:40:38 +00:00
Johannes Schlüter bbcd8c5b69 - Fix bug #41061 ("visibility error" in ReflectionFunction::export()) 2007-04-12 18:39:46 +00:00
Dmitry Stogov 9f2022743b Fixed bug #41063 (chdir doesn't like root paths). 2007-04-12 15:28:58 +00:00
Antony Dovgal d1a190beea MFH 2007-04-12 12:31:39 +00:00
Antony Dovgal c668dc0a26 add missing SKIPIF sections 2007-04-12 12:29:48 +00:00
Antony Dovgal 9788d96b0c add new test 2007-04-12 12:23:30 +00:00
Antony Dovgal ad9b50ae1f MFH 2007-04-12 10:25:15 +00:00
Antony Dovgal 8d20caa848 minor improvement 2007-04-11 22:34:48 +00:00
Antony Dovgal e972fc1797 improve test 2007-04-11 22:29:53 +00:00
Ilia Alshanetsky 9ba1328702 Don't define KEY_END twice 2007-04-11 22:19:11 +00:00
Georg Richter ebdffa5ed9 added support for HOME and END key 2007-04-11 18:37:15 +00:00
Antony Dovgal a8c1bb45b4 MFH 2007-04-11 16:03:06 +00:00
Derick Rethans b15cbf69c6 - MFH: Fixed bug #40861 (strtotime() doesn't handle double negative relative
time units correctly).
2007-04-11 14:37:42 +00:00
Pierre Joye 737a66e83c - add HAVE_GD_FONTCACHESHUTDOWN to w32 build script (always here) 2007-04-11 11:44:20 +00:00
Ilia Alshanetsky 9005e996f1 Back to dev 2007-04-10 22:38:47 +00:00
Ilia Alshanetsky ba5e5fe4ed 5.2.2RC1 2007-04-10 22:31:16 +00:00
Antony Dovgal 19aa4a932f fix #40931 (open_basedir bypass via symlink and move_uploaded_file()) 2007-04-10 22:30:07 +00:00
Antony Dovgal e145f1aa2a skip test if openssl is present 2007-04-10 21:38:20 +00:00
Antony Dovgal 5f48fbb4da skip this test on MacOS 2007-04-10 21:20:44 +00:00
Antony Dovgal 903155d504 fix test name 2007-04-10 21:16:56 +00:00
Antony Dovgal ab84306fc7 fix #41043 (pdo_oci crash when freeing error text with persistent connection) 2007-04-10 20:28:49 +00:00
Marcus Boerger 5447fca028 - WS/CS 2007-04-10 15:56:31 +00:00
Marcus Boerger b15d742639 - Cleanup the cleanup 2007-04-10 15:50:34 +00:00
Antony Dovgal cf440194b0 declare THREADSAFE explicitly (it's On if undefined) 2007-04-10 11:32:48 +00:00
foobar 26761c4222 - Fixed ZEND_SIGNED_MULTIPLY_LONG() so that ext/filter/tests/046.phpt wont fail. (Integer overflow) 2007-04-10 10:57:35 +00:00
Antony Dovgal 3aaf8bbdb7 fix test 2007-04-10 10:49:16 +00:00
Antony Dovgal 562f886ecb MFH: fix #41037 (unregister_tick_function() inside the tick function crash PHP) 2007-04-10 09:37:09 +00:00
Dmitry Stogov 08daab9d1c Initial WIN64 support 2007-04-10 06:22:28 +00:00
Antony Dovgal c61cbbdc9f fix folding tags 2007-04-09 21:19:38 +00:00
foobar 191b843a02 Fix test 2007-04-09 20:07:25 +00:00
Ilia Alshanetsky eb8d30f912 Upgrade libsqlite 3 inside PDO sqlite to version 3.3.15 2007-04-09 16:35:11 +00:00
Dmitry Stogov 857f992cd3 Removed wrong size_t definition 2007-04-09 15:39:59 +00:00
Dmitry Stogov 4de76f02ea Fixed 64-bit support 2007-04-09 15:38:58 +00:00
Dmitry Stogov 1b01048cd8 Fixed 64-bit issues 2007-04-09 15:32:35 +00:00
Dmitry Stogov 6c394c8b38 ZTS fix 2007-04-09 15:32:08 +00:00
Antony Dovgal 383c7fe437 BFN 2007-04-09 07:30:26 +00:00
Antony Dovgal b2e2994a6e fix #41026 (segfault when calling "self::method()" in shutdown functions) 2007-04-09 07:30:09 +00:00
Ilia Alshanetsky 65afdf097c Fixed bug #40822 (pdo_mysql does not return rowCount() on select). 2007-04-08 15:26:21 +00:00
Johannes Schlüter 8591b20d4e - MFH: Added linenumbers to array returned by token_get_all() 2007-04-08 00:18:38 +00:00
Antony Dovgal d428314e2d MFB: clean & refactored disk_*() funcs implementation
Ilia, feel free to make these functions public, though I don't see why would want to do that
2007-04-06 22:10:56 +00:00
Antony Dovgal f2f885c023 fix test 2007-04-06 19:35:12 +00:00
Andrei Zmievski da4ba85cb4 We can't use the printf attribute here since we are supporting
non-standard formats (like 'F').
2007-04-06 19:25:52 +00:00
Andrei Zmievski fb2def7d97 Apologies. Didn't realize we were using custom snprintf(). 2007-04-06 18:27:58 +00:00
Andrei Zmievski 8a1f346162 Typo? 2007-04-06 18:25:49 +00:00
Marcus Boerger 515f4f6e6f - Fix 40442 2007-04-06 17:57:10 +00:00
Marcus Boerger 0ec117146e - Add bug name 2007-04-06 17:54:22 +00:00
Marcus Boerger b08cfa8833 - Better fix for #40091 2007-04-06 16:00:08 +00:00
Pierre Joye 17eaaea1f7 - Fix windows mutex intialization, add HAVE_GD_FONTMUTEX and HAVE_LIBFREETYPE
to config.w32 (Thanks to Frank for the report)
2007-04-06 15:38:35 +00:00
Marcus Boerger 63d8f70206 - Fix #40442 2007-04-06 15:32:30 +00:00
Ilia Alshanetsky aa18505f34 Avoid locks when appening to the error log file 2007-04-06 13:58:48 +00:00
Ilia Alshanetsky d9adb6715f Fixed foreach by-ref bug.
# Patch from Brian Shire
2007-04-05 23:48:43 +00:00
Marcus Boerger 9c5ea420ac - MFH zend_info_call_*() stuff, fixes coverity issue #328, noticed by tony 2007-04-05 19:49:42 +00:00
Rob Richards 3530b8a2c6 fix win32 build 2007-04-05 18:08:42 +00:00
Pierre Joye 12b66657d7 - reflect the "real" version to avoid confusions. Users should really use
only the bundled version
2007-04-05 11:57:57 +00:00
Pierre Joye e3bc12631b - MFB: import the right data 005_crt.txt 2007-04-05 09:38:45 +00:00
Antony Dovgal 70cd86420b MFH: fix build 2007-04-05 09:33:10 +00:00
Pierre Joye 1ace1904e4 - MFH: add missing data for 005.phpt 2007-04-05 09:00:07 +00:00
Antony Dovgal e0318e21fb fix test 2007-04-05 07:23:56 +00:00
Antony Dovgal 90a277d0ce fix ZTS build 2007-04-05 07:10:07 +00:00
Ilia Alshanetsky ed0f0e4a67 Fixed bug #40999 (mcrypt_create_iv() not using random seed). 2007-04-05 01:48:56 +00:00
Pierre Joye 6e5875b025 - nuke c++ comments 2007-04-04 22:00:51 +00:00
Pierre Joye b7fde2caa7 - #39867 and openssl MB fix 2007-04-04 21:27:55 +00:00
Pierre Joye d4fb0108bc - implement #39867, PKCS#12 support
- Fix possible multibyte issues issue in the add_assoc function
- add test for openssl_csr_get_subject
2007-04-04 21:24:01 +00:00
Pierre Joye 2a2fd69fbf - filter and gd entries 2007-04-04 21:01:51 +00:00
Pierre Joye 2caba30962 - #40947, allow a single filter as argument for filter_var_array 2007-04-04 20:50:26 +00:00
Antony Dovgal 39f9184fa6 MFH: fix #40998 (long session array keys are truncated) 2007-04-04 19:52:19 +00:00
Seiji Masugata febad95f3f Sync with mail function in mb_send_mail function(problem MOPB-33-2007:PHP and MOPB-34-2007:PHP). 2007-04-04 15:25:41 +00:00
Nuno Lopes 5833fc40dc fix race condition on font cache shutdown 2007-04-04 14:24:03 +00:00
Pierre Joye 539be2cc81 - do not try to use the global color map when none was found (Nuno, Pierre)
- free im on error
2007-04-04 11:40:11 +00:00
Antony Dovgal e07b83afb2 MFH: fix leak on error 2007-04-04 10:44:55 +00:00
Pierre Joye 89ad25f1af - MFH: don't declare MSHUTDOWN if both cachesetup and t1lib are not used 2007-04-04 01:58:24 +00:00
Pierre Joye e4749c609c - Sync with gd 2.0.35 (bug #52, #60 and #66)
- Improve TS of gif loading code (Roman Nemecek, Nuno, Pierre)
 - a frame size must be confined to the screen defition (Pierre)
 - be sure to always read the dimensions in the frame and does not use
   the screen size (see #66 for a side effect) (Pierre)
- Update #37360 test. The frame does not fit the logical screen (specs
  tell that it must fit) (Pierre)
2007-04-04 01:34:50 +00:00
Pierre Joye 6ef9642b16 - MFH:
- remove double lock (tween colors cache is created in each thread, the
   cache mutex is already locked earlier)
 - #40858, other TS improvements for gd freetype cache management
   cache initialization and shutdown is now done in MINIT and MSHUTDOWN.
2007-04-04 00:47:55 +00:00
Ilia Alshanetsky 17c0c49a54 Addres limitation of __HALT_COMPILER() that allowed only one instance
per request.

# Patch by Greg Beaver
2007-04-04 00:42:42 +00:00
Pierre Joye a9ca51ff1a . colors allocated henceforth from the resulting image overwrite
the palette colors (sync with 2.0.34) (Rob Leslie)
2007-04-04 00:30:18 +00:00
Antony Dovgal 0c168b643c BFN 2007-04-03 20:21:20 +00:00
Antony Dovgal eb25e82249 MFH: fix #39351 (relative include fails on Solaris) 2007-04-03 20:20:56 +00:00
Brian Shire bd4add59f7 correction for previous fix to bug #38770 (pack/unpack is broken on 64bit)
fix pack test, correct space to tabs
2007-04-03 19:50:40 +00:00
Rob Richards 0291924222 allow registered classes to be changed 2007-04-03 11:57:04 +00:00
Ilia Alshanetsky ba4089ac41 Fixed typos 2007-04-02 21:35:46 +00:00
Stanislav Malyshev 67cdb4927b fix #33664 2007-04-02 20:51:12 +00:00
Stanislav Malyshev 8f0d69159e fix for #33664 Console window appears when using exec() 2007-04-02 20:44:30 +00:00
foobar 3da21dc6fc - 64bit test 2007-04-02 15:09:37 +00:00
foobar bb0547029a - Make this 32bit only test. (will add 64bit version next) 2007-04-02 15:02:02 +00:00
Dmitry Stogov 36c6ad915b Fixed bug #37013 (server hangs when returning circular object references) 2007-04-02 13:43:08 +00:00
foobar 2429299507 - Changed phpinfo() to make difference between set php.ini path and what was actually loaded. 2007-04-02 12:41:07 +00:00
Dmitry Stogov 77a8b0be35 Fixed test 2007-04-02 11:44:40 +00:00
Ilia Alshanetsky 642432a5de Fixed bug #40897 (error_log file not locked) 2007-04-01 19:29:42 +00:00
Ilia Alshanetsky f80afa623d Fixed bug #40921 (php_default_post_reader crashes when post_max_size is
exceeded).
2007-04-01 19:09:36 +00:00
Dmitry Stogov 99c5cebab3 new test 2007-03-30 10:10:33 +00:00
Ilia Alshanetsky 86ca439a5d Fixed MOPB-34-2007:PHP mail() Header Injection Through Subject and To
Parameters
2007-03-30 00:28:58 +00:00
Sara Golemon 52b07d1895 Add missing #if check 2007-03-29 18:47:04 +00:00
Antony Dovgal 9de5929efa add news entry
+ minor text fixes
2007-03-29 09:33:50 +00:00
Antony Dovgal 26cf62d293 MFH: fix PECL bug #10194 (crash in Oracle client when memory limit reached in the callback)
preallocate the required buffer, so that it would fail earlier.
2007-03-29 09:33:04 +00:00
Dmitry Stogov 4a119f9a79 Improved FastCGI SAPI to support external pipe and socket servers on win32 2007-03-28 15:39:22 +00:00
foobar 1c36d38891 - Fix test: Some people actually use --enable-debug here.. 2007-03-28 12:25:33 +00:00
Zoe Slattery c18d3b56e7 new ltrim, rtrim and str_pad tests 2007-03-28 10:44:04 +00:00
Antony Dovgal 859c3c22d9 add .cvsignore 2007-03-28 10:10:04 +00:00
Antony Dovgal 481609c980 MFH: fix #40392 (memory leaks in PHP milter SAPI) 2007-03-28 10:08:31 +00:00
Zoe Slattery 517865fb6e New tests for printf and ucfirst 2007-03-28 09:38:30 +00:00
Antony Dovgal 291f3a28c9 MFH: fix compile warning 2007-03-28 09:14:08 +00:00
Zoe Slattery 23d64aeaa4 Three new string tests for funtions strcasecmp, strcmp and strlen. 2007-03-28 09:08:08 +00:00
Marcus Boerger acf92f283a - MFH Allow to load multipe extensions via -d 2007-03-27 20:28:06 +00:00
Antony Dovgal 2c06cea75b MFH: fix compile warning 2007-03-27 09:29:10 +00:00
Antony Dovgal b9bffbe019 fix compile warning 2007-03-27 09:20:27 +00:00
Ilia Alshanetsky ae1c5674cb Fixed MOPB-33-2007:PHP mail() Message ASCIIZ Byte Truncation 2007-03-27 00:13:09 +00:00
Rob Richards c0cd876a7f BFN 2007-03-26 20:17:30 +00:00
Rob Richards b7c2eb3228 fix bug #37386 (autocreating element doesn't assign value to first node)
all single SimpleXMLElements are addressable using offset 0
use correct node for xpath context node
add test
2007-03-26 20:14:58 +00:00
Antony Dovgal 7053b89072 MFH: fix #40915 (addcslashes unexpected behavior with binary input) 2007-03-26 10:25:41 +00:00
Marcus Boerger 4e085083cd - MFH Need to install headers 2007-03-25 12:53:47 +00:00
Hannes Magnusson d677506541 Typo 2007-03-25 11:47:27 +00:00
foobar f5d9f9cd27 - Check if Makefile.frag actually exists before running sed on it. 2007-03-25 10:21:02 +00:00
foobar 82023f9aac - Fixed test to skip when mysqld is not running 2007-03-25 01:14:51 +00:00
Marcus Boerger eceb7faee0 - MFH Drop double variable declaration 2007-03-24 16:28:53 +00:00
Ilia Alshanetsky bc1f7356d7 Fixed CRLF injection inside ftp_putcmd().
# Reported on BugTraq by loveshell[at]Bug.Center.Team
2007-03-24 16:25:42 +00:00
Nuno Lopes 88f48476f9 regenerate to fix gcov build. plus use re2c bitvectors 2007-03-23 20:28:40 +00:00
Stanislav Malyshev 10f7bb95e8 fix MOPB-29 - unserialize modifier S does not calculate length correctly 2007-03-23 20:22:52 +00:00
Stanislav Malyshev 0af75d6b1a fix MOPB-29 - unserialize modifier S does not calculate length correctly
# reported by Stefan Esser
2007-03-23 20:15:22 +00:00
Stanislav Malyshev 008259dba8 fix comment - guard system changed 2007-03-23 17:16:55 +00:00
Wez Furlong cbb0db124b export the module guy in the external dll version of the build 2007-03-23 14:30:00 +00:00
Dmitry Stogov 6458e42496 Fixed bug #40899 (memory leak when nesting list()) 2007-03-23 12:46:16 +00:00
Dmitry Stogov 2dd2ac6d50 Fixed bug #40883 (mysql_query() is allocating memory incorrectly). (Tony) 2007-03-23 07:59:26 +00:00
Ilia Alshanetsky 57a88f71d5 Added -- test case 2007-03-22 23:34:14 +00:00
Douglas Goldstein 4b39efa0ee Replaced all instances of ldap_get_values() with ldap_get_values_len(), which returns back the length of the data so on non-NULL terminated data we don't crash in a strlen(). Removed the PHP function ldap_get_values() since it's the same thing as ldap_get_values_len() now and made it alias ldap_get_values_len(). This should fix some random PHP<->LDAP crashes 2007-03-22 21:50:34 +00:00
Johannes Schlüter d95939d566 - MFH: Fix handling of not existing long CLI options 2007-03-22 21:35:41 +00:00
Wez Furlong 76329a99f0 Add php_pdo_sqlite_external.dll to windows build.
This allows the user to provide their own version of sqlite3.dll.
The php_pdo_sqlite.dll is still there, and will continue to be there.
It is built from the bundled sources.
[[DOC]]
 (this should cc: phpdoc, if it's wrong, please let the docs folks know :-)
2007-03-22 01:00:23 +00:00
Marcus Boerger 68c1c83149 - MFH Fix issue with long form of command line switches 2007-03-21 23:20:21 +00:00
Derick Rethans b7a791827c - Revert this patch, as the code was incorrect.
- It was also not committed to HEAD.
2007-03-21 09:40:33 +00:00
Ilia Alshanetsky 5abffb51b6 Fixed bug #40861 (Multiple +/- on relative units breaks strtotime()). 2007-03-21 00:25:55 +00:00
Marcus Boerger 4c1c431a38 - MFH Fix Bug #40872 (inconsistency in offsetSet, offsetExists treatment
of string enclosed integers)
2007-03-20 20:28:08 +00:00
Marcus Boerger 6081c2284e - MFH Optional dependency for SPL must be specified in header 2007-03-20 20:00:27 +00:00
Antony Dovgal e8bd8d03b3 BFN 2007-03-20 19:39:27 +00:00
Antony Dovgal 17d89125b2 MFH: fix shmop_open() with IPC_CREAT|IPC_EXCL flags on win32 2007-03-20 17:57:59 +00:00
Dmitry Stogov 3ee54ce924 Added ability to encode arrays with "SOAP-ENC:Array" type instead of WSDL type. To activate the ability use "feature"=>SOAP_USE_XSI_ARRAY_TYPE option in SoapClient/SoapServer constructors. 2007-03-20 09:52:14 +00:00
Dmitry Stogov ef06bfa3ec Fixed bug #36226 (Inconsistent handling when passing nillable arrays) 2007-03-20 07:51:32 +00:00
Dmitry Stogov d514bf27a6 Improved Zend Memory Manager to guarantee reasonable time for worst cases of best-fit free block searching algorithm. 2007-03-20 06:46:48 +00:00
Ilia Alshanetsky 13aac95bfc Fixed bug #40854 (imap_mail_compose() creates an invalid terminator for
multipart e-mails).
2007-03-19 22:56:57 +00:00
Dmitry Stogov b0a875104e Fixed bug #40833 (Crash when using unset() on an ArrayAccess object retrieved via __get()) 2007-03-19 18:31:30 +00:00
Antony Dovgal ddc07c90b6 new test 2007-03-19 08:11:14 +00:00
Edin Kadribasic e77f670ba0 Make DLL only once (Wez) 2007-03-19 03:15:48 +00:00
Rob Richards ded5324d49 BFN 2007-03-18 21:31:57 +00:00
Rob Richards b172d3f8cd MFH: fix bug #40836 (Segfault in ext/dom)
add test
2007-03-18 21:31:05 +00:00
Wez Furlong ff0864ebac BFN, #40848 2007-03-18 20:21:43 +00:00
Wez Furlong 16fc958508 fixes #40848 2007-03-18 20:20:23 +00:00
Ilia Alshanetsky 89939e13d6 Fixed MOPB-26-2007 mb_parse_str() can be used to activate register_globals
# Discovered by Stefan Esser
2007-03-18 16:36:13 +00:00
Antony Dovgal 8e67ec8225 MFH: fix #40794 (ReflectionObject::getValues() may crash when used with dynamic properties) 2007-03-17 23:00:49 +00:00
Antony Dovgal 722287a538 fix tests 2007-03-17 19:16:17 +00:00
Stanislav Malyshev 7b7dcc89f3 fix spprintf usage 2007-03-16 21:59:23 +00:00
Stanislav Malyshev d0c229d4cb clarify 2007-03-16 21:49:56 +00:00
Stanislav Malyshev b44c524b7c array_user_key_compare() fix 2007-03-16 19:58:19 +00:00
Stanislav Malyshev a424d65e0b add test 2007-03-16 19:55:21 +00:00
Stanislav Malyshev 90eff54400 Fix UMR in array_user_key_compare() (MOPB24 by Stefan Esser) 2007-03-16 19:38:58 +00:00
Antony Dovgal c0aae895c6 BFN 2007-03-16 09:31:20 +00:00
Sebastian Bergmann d3cb98caf0 Fugbix typo. 2007-03-16 06:41:24 +00:00
Antony Dovgal 6a45f716ae fix #40805 (Failure executing function ibase_execute()) 2007-03-15 22:33:04 +00:00
Antony Dovgal bfb599b067 BFN 2007-03-15 16:44:35 +00:00
Antony Dovgal 79ed194a64 fix #40815 (using strings like "class::func" and static methods in set_exception_handler() might result in crash) 2007-03-15 16:44:12 +00:00
Antony Dovgal f6536ed2b2 MFH: remove unnecessary warning in case of exception 2007-03-14 23:47:44 +00:00
Ilia Alshanetsky 7aab16c333 Fixed MOPB-22-2007:PHP session_regenerate_id() Double Free Vulnerability
# Discovered by Stefan Esser
2007-03-14 19:37:07 +00:00
Antony Dovgal f9d54cbb75 MFH: fix #40750 (openssl stream wrapper ignores default_stream_timeout) 2007-03-14 19:22:14 +00:00
Pierre Joye b85f4d4077 - leak in extract 2007-03-14 16:36:16 +00:00
Pierre Joye 6e074459fc - add ::open to the safemode check entry 2007-03-14 15:10:37 +00:00
Ilia Alshanetsky 5ed63dd8a9 Fixed a possible memory leak on open_basedir validation 2007-03-14 15:02:20 +00:00
Pierre Joye fc3a62ed48 - MFH: openbasedir and safemode check in ::open() 2007-03-14 12:06:20 +00:00
Antony Dovgal 6e47537a01 BFN 2007-03-14 11:58:18 +00:00
Antony Dovgal e5b5f00949 MFH: fix #40800 (cannot disable memory_limit with -1) 2007-03-14 11:58:05 +00:00
Timm Friebe b9bc7c55d4 - Changed message handler also to handle message #11021
- Adjusted expected output
# Seems newer Sybase versions yielf different error codes for getdate(NULL)
2007-03-14 11:57:45 +00:00
Timm Friebe ca75503c8f - Fixed segmentation fault in sybase_connect()
# This was introduced by changing sprintf -> spprintf and resulted
# from passing a char* to spprintf() instead of a char**
2007-03-14 11:48:49 +00:00
Timm Friebe 142357d445 - Changed expected output
# select getdate() returns something like "Mar 14 2007 12:44PM", we
# were checking for one additional (nonexistant) whitespace after "Mar"
# which was wrong. Don`t know when and how this changed
2007-03-14 11:46:06 +00:00
Timm Friebe d8ed658b78 - Changed expected output
# Due to var_export() & __set_state() changes
2007-03-14 11:44:24 +00:00
Pierre Joye b40b5b5305 - MFH: Fixed possible relative path issues in zip_open in TS mode (old API) 2007-03-14 11:32:25 +00:00
Pierre Joye 1c0b8e6f15 - rename SAFEMODE_CHECKFILE to OPENBASEDIR_CHECKPATH (can be used without
confusing in head without confusion)
- Add safemode and open basedir checks in zip:// wrapper (revert Ilia's
  patch). Bug found by Stefan Esser in his MOPB-20-2007
2007-03-14 11:08:57 +00:00
Pierre Joye 4f5303ab92 - add more cases for getComment 2007-03-14 11:02:29 +00:00
Martin Kraemer 9c62ddde34 Typo 2007-03-14 09:58:14 +00:00
Ilia Alshanetsky 6d70aa1f4e Added missing open_basedir & safe_mode checks to zip:// and bzip://
wrappers.

Issues idendtified by MOPB-20 and MOPB-21
2007-03-14 03:50:18 +00:00
Stanislav Malyshev c3e4a2854a fix odbc resource handling, patch by Dave Lawson 2007-03-13 00:04:38 +00:00
Antony Dovgal 81f99c721b return false instead of empty string when -length is greater than (len - offset) 2007-03-12 23:42:26 +00:00
Ilia Alshanetsky c829314963 malloc() -> pemalloc() 2007-03-12 23:21:41 +00:00
Antony Dovgal 165f44c9c3 MFH 2007-03-12 20:55:15 +00:00
Antony Dovgal 5088614ea1 synchronize iconv_substr() behavior with substr()
no MFB so far, since substr() changes are not MFBed either
2007-03-12 19:34:26 +00:00
Dmitry Stogov ab699d03bc Fixed bug #40770 (Apache child exits when PHP memory limit reached) 2007-03-12 16:59:52 +00:00
Antony Dovgal ed844bbb3f BFN 2007-03-12 13:10:55 +00:00
Antony Dovgal 30f45e15de MFH: fix #40784 (Case sensivity in constructor's fallback) 2007-03-12 13:10:40 +00:00
Dmitry Stogov 1e13ef2de5 Fixed compilation warning 2007-03-12 07:39:01 +00:00
Edin Kadribasic ff53da7213 Lib upgrade news 2007-03-12 03:10:08 +00:00
Ilia Alshanetsky f96245f8b4 malloc() -> pemalloc() 2007-03-11 18:42:19 +00:00
Antony Dovgal 80616688db MFH 2007-03-11 12:56:44 +00:00
Antony Dovgal e8ede1ec08 fix tests 2007-03-11 12:54:54 +00:00
Ilia Alshanetsky e82c30c845 Re-added check removed by the previous patch 2007-03-10 20:07:50 +00:00
Ilia Alshanetsky 1453879587 Added additional checks for long input arrays inside
import_request_variables().

# Missing checks identified by Stefan Esser
2007-03-10 19:20:16 +00:00
Pierre Joye cb11ba761e - MFH: CVE-2007-1001, integer overflow with invalid wbmp images 2007-03-10 12:18:36 +00:00
Pierre Joye 547e4760e0 - #40764, line thickness not respected for horizontal and vertical lines
- add test
 - NEWS entry
2007-03-10 01:13:19 +00:00
Stanislav Malyshev 1e9fd0f002 add testcase 2007-03-09 18:37:03 +00:00
Dmitry Stogov c2a71f8eb1 Return HTTP 403 in case of "access denied". 2007-03-09 16:46:07 +00:00
Antony Dovgal 982de65f6e fix substr()
it's perfectly legal to do substr("str", 0, 1000000);
2007-03-09 10:04:59 +00:00
Antony Dovgal c9ded196b4 fix tests 2007-03-09 09:45:14 +00:00
Ilia Alshanetsky 02fae929af Fixed bug #40754 (added substr() & substr_replace() overflow checks). 2007-03-09 01:58:34 +00:00
Ilia Alshanetsky b3b6db3f03 Add _SESSION to checklist 2007-03-09 01:48:56 +00:00
Ilia Alshanetsky 0fa1427c6e Fixed a possible super-global overwrite inside import_request_variables().
# Reported by Stefano Di Paola
2007-03-09 01:42:20 +00:00
Rasmus Lerdorf 5b9ec4828f Off by ! in the url control char check for file:/// urls 2007-03-09 01:20:34 +00:00
Pierre Joye 1286d9e266 - #40764, line thickness not respected for horizontal and vertical lines 2007-03-09 01:18:40 +00:00
Stanislav Malyshev 0aa13e923b more fixes 2007-03-08 22:53:37 +00:00
Stanislav Malyshev 6e460bab4e fix crash/leak in bug #38710 2007-03-08 22:49:53 +00:00
Stanislav Malyshev c4423ae27d add news 2007-03-08 22:44:22 +00:00
Nuno Lopes 95391e4f9c BFN: gd gif reading 2007-03-08 22:04:33 +00:00
Stanislav Malyshev 8779d1cdd3 fix crash on $x['x']['y'] += 1, patch by Brian Shire 2007-03-08 20:59:31 +00:00
Nuno Lopes 5116b67016 fix thread unsafety in the gif reader code (merge from libgd cvs) 2007-03-08 20:24:53 +00:00
Stanislav Malyshev 79195bfe2e clarify checks and error messages 2007-03-08 00:47:04 +00:00
Antony Dovgal af1843f866 MFH: fix #40752 (parse_ini_file() segfaults when a scalar setting is redeclared as an array) 2007-03-08 00:44:23 +00:00
Ilia Alshanetsky 8696c9bc89 Improved length parameter validation 2007-03-08 00:18:10 +00:00
Ilia Alshanetsky 42ff70ede8 Improved offset validation 2007-03-08 00:06:41 +00:00
Stanislav Malyshev 2625be4ed0 fix MOPB#14
# The error message seems wrong, so maybe better fix is needed
2007-03-07 18:15:46 +00:00
Antony Dovgal 0628f86e0e fix small typo
add --with-zlib-dir option (and simple automagic zlib detection)
2007-03-07 09:36:22 +00:00
Antony Dovgal c73225ab61 MFH: fix #40727 (segfault in PDO when failed to bind parameters) 2007-03-07 09:03:07 +00:00
Ilia Alshanetsky 0638ac7651 Fixed calloc wrapper 2007-03-07 00:55:49 +00:00
Ilia Alshanetsky 4a614cd6b1 malloc() -> pemalloc() 2007-03-07 00:52:40 +00:00
Ilia Alshanetsky f6343f45f2 Add checks around raw allocation code 2007-03-07 00:47:42 +00:00
Derick Rethans d447facb42 - Updated timezone database to version 2007.3. (Derick) 2007-03-06 21:28:37 +00:00
Antony Dovgal a806ce9700 MFH 2007-03-06 21:08:05 +00:00
Antony Dovgal a8f076d7a3 use the aliases and eliminate one more compile warning 2007-03-06 21:04:27 +00:00
Antony Dovgal db8bbdc2a9 MFH: declare zend_mm_random() only when needed 2007-03-06 20:59:13 +00:00
Uwe Schindler ad336e432a remove (large) static buffers for header names and request uri 2007-03-06 18:15:25 +00:00
Uwe Schindler e25bb8ea04 use slprintf instead of snprintf and remove 0termination things (because slprintf is always available now) 2007-03-06 15:43:49 +00:00
Antony Dovgal cc49ea3a1e MFH 2007-03-06 10:13:54 +00:00
Ilia Alshanetsky 37da90248d Added missing allocation checks 2007-03-06 03:15:41 +00:00
Stanislav Malyshev 896abc5e34 use safe_realloc 2007-03-06 02:17:13 +00:00
Stanislav Malyshev 49a7bcd60b use safe_realloc 2007-03-06 02:10:25 +00:00
Stanislav Malyshev ec71493b99 use safe_erealloc 2007-03-06 02:03:28 +00:00
Marcus Boerger 331034afbb - Revert last part and fix issue under windows 2007-03-06 01:19:47 +00:00
Marcus Boerger 3c21c05e43 - And the sizes too 2007-03-06 01:14:38 +00:00
Marcus Boerger 26ebcdfcb9 - More to go
# CVS sucks, you cannot mix -D with -r
# However, thanks edin for reminding me that we have mini version tags
# I still prefer subverison. There we don't have any problem of this kind
2007-03-06 01:13:21 +00:00
Marcus Boerger 638ffdb477 - There you go 2007-03-06 01:00:51 +00:00
Marcus Boerger 03bccc1b15 - MFH Revert back to sprintf (we could define snprintf for windows but we don't) 2007-03-06 00:56:42 +00:00
Ilia Alshanetsky ff3e825083 Fixed bug #40417 (Allow multiple instances of the same named PDO token in
prepared statement emulation code).
2007-03-06 00:52:55 +00:00
Stanislav Malyshev 7508066230 fix broken snprintf code 2007-03-06 00:24:00 +00:00
Stanislav Malyshev d856029c78 use safe_emalloc 2007-03-05 21:54:46 +00:00
Uwe Schindler f34ec4f606 snprintf patch 2007-03-05 16:29:18 +00:00
andy wharmby a252c79d53 Fixed bug #35872 (Prevent object store references during RSHUTDOWN) 2007-03-05 15:49:00 +00:00
Michael Wallner c938da6a97 BFN 2007-03-05 14:10:27 +00:00
Michael Wallner 3db2db7159 - fix ws as requested by derick 2007-03-05 14:10:18 +00:00
Michael Wallner 87b02796d8 - fix bug #40691: add comparison object handler 2007-03-05 14:05:55 +00:00
Ilia Alshanetsky ecf4e93630 Fixed bug #40703 (Resolved a possible namespace conflict between libxmlrpc
and MySQL's NDB table handler).
2007-03-04 18:24:49 +00:00
Ilia Alshanetsky 1ac71c4fe9 Fixed bug #40709 (array_reduce() behaves strange with one item stored
arrays).
2007-03-04 17:21:16 +00:00
Marcus Boerger fa29c1a2f5 - Fix copy'n'paste issues 2007-03-04 14:01:06 +00:00
Marcus Boerger ed359b4529 - MFH simplify, synch docu/implementation 2007-03-04 12:18:02 +00:00
Stanislav Malyshev 2ad036da3a ik, make it memcpy 2007-03-04 04:38:43 +00:00
Stanislav Malyshev b2673ab004 fix wrong code
# noticed by Stefan Esser
2007-03-04 02:23:47 +00:00
Edin Kadribasic 730a77f19b Check that manifest file exists before trying to embed it 2007-03-04 00:41:16 +00:00
Edin Kadribasic 285edfcd77 Library update 2007-03-03 23:10:16 +00:00
Marcus Boerger 0ad927dbf2 - MFH A stream wrapper might only allow directory access 2007-03-03 19:01:34 +00:00
Ilia Alshanetsky e769e1b49e Fixed bug #40704 (strip_tags() does not handle single quotes correctly) 2007-03-03 15:46:29 +00:00
Marcus Boerger 276aed565e - The # line does not belong here 2007-03-03 15:18:03 +00:00
Marcus Boerger e5397c076b - MFH [DOC] Add SplFileInfo::getBasename(), DirectoryIterator::getBasename
- MFH Add SplFileInfo::getLinkTarget(), SplFileInfo::getRealPath()
# All based on suggestions by Arnold Daniels
2007-03-03 15:08:59 +00:00
Ilia Alshanetsky a500d1efe9 Adjust checks to allow paths without a trailing / 2007-03-03 15:07:31 +00:00
Marcus Boerger b15d1f22ef - Catch empty class name error earlier 2007-03-03 13:45:14 +00:00
Edin Kadribasic 7fc3493c8c Lib upgrade update 2007-03-03 02:06:43 +00:00
Stanislav Malyshev a0215e9ac4 fix variable name 2007-03-02 22:03:05 +00:00
Stanislav Malyshev fc35807a38 limit input variable nesting 2007-03-02 22:00:50 +00:00
Stanislav Malyshev 32fb34e2d1 limit nesting level of input variables 2007-03-02 21:58:05 +00:00
Nuno Lopes f1d075a102 increase the stream_select() timeout, to make the test pass in a slow machine with valgrind 2007-03-02 18:54:13 +00:00
Nuno Lopes 7b37c41384 fix access to non initialized memory (check valgrind reports on http://gcov.php.net) 2007-03-02 18:41:25 +00:00
Antony Dovgal f87f4a1468 improved test 2007-03-02 09:09:49 +00:00
Ilia Alshanetsky 4735df26f8 Improve safe_mode check 2007-03-02 00:49:47 +00:00
Antony Dovgal 7a069b81d8 new tests 2007-03-01 23:29:38 +00:00
Antony Dovgal 37b4db2d00 allocate descriptors dynamically 2007-03-01 22:27:44 +00:00
Nuno Lopes e5c4b50127 merge from gd sources: unlock mutex before shuting it down 2007-03-01 18:39:49 +00:00
Antony Dovgal acd14f802c MFH 2007-03-01 11:29:43 +00:00
Antony Dovgal 6124bcda0d MFH: fix #40678 (Cross compilation fails) 2007-03-01 11:23:54 +00:00
Ilia Alshanetsky 416b31ccc9 Fixed bug #40464 (session.save_path wont use default-value when safe_mode
or open_basedir is enabled).
2007-03-01 00:01:32 +00:00
Hannes Magnusson d193017342 Typo 2007-02-28 10:37:07 +00:00
Ilia Alshanetsky 3c27b48662 Fixed typo 2007-02-28 01:10:41 +00:00
Ilia Alshanetsky a9c4107ee4 Adjust vsnprintf() usage 2007-02-28 01:01:01 +00:00
Ilia Alshanetsky efad70c2cc snprintf() -> slprintf() 2007-02-27 03:28:17 +00:00
Ilia Alshanetsky cc04404b28 snprintf() -> slprintf()
# Part 1
2007-02-27 03:04:40 +00:00
Ilia Alshanetsky 1d08a8d157 Fixed bug #40637 (Regression in strip_tags() in relation so quote handling) 2007-02-27 00:15:21 +00:00
Antony Dovgal c667c70bdb fix typo 2007-02-26 17:47:21 +00:00
Dmitry Stogov 8ae520d0b5 Fixed tests 2007-02-26 16:19:56 +00:00
Antony Dovgal f7e434969a MFH: remind about 'make test' 2007-02-26 14:51:44 +00:00
Antony Dovgal e07b611b10 fix folding 2007-02-26 14:11:34 +00:00
Rob Richards 796d5ee3ab MFH: fix win build 2007-02-26 12:38:34 +00:00
Antony Dovgal ad8c94d8cc fix
the sprintf() -> zend_spprintf() change affected this
2007-02-26 12:08:12 +00:00
Antony Dovgal 7939691523 fix ws/cs and make the ugly code less ugly.. 2007-02-26 12:05:52 +00:00
Antony Dovgal 666370d7ee add new test 2007-02-26 09:58:04 +00:00
Dmitry Stogov 94d7b8b004 poll() is not affected by FD_SETSIZE (Tony) 2007-02-26 09:38:44 +00:00
Ilia Alshanetsky 58c167168d Revert previous commit that caused a buffer overflow (Bug #40634) 2007-02-26 02:12:36 +00:00
Antony Dovgal fb3a3b72f1 MFH: do not allow db without fields 2007-02-25 23:17:12 +00:00
Antony Dovgal b42addcc54 MFH: zerofill socket structs 2007-02-25 22:59:32 +00:00
Nuno Lopes d3ddf47718 update pcre symbols list 2007-02-25 18:47:21 +00:00
Dmitry Stogov c373324692 Fixed bug #40591 (list()="string"; gives invalid opcode) 2007-02-25 16:02:43 +00:00
Dmitry Stogov 015a5655df Fixed bug #40609 (Segfaults when using more than one SoapVar in a request). (Rob, Dmitry) 2007-02-25 13:19:29 +00:00
Marcus Boerger 255c6a71d7 - MFH Readability 2007-02-25 13:09:13 +00:00
Pierre Joye dfeff9efe6 - sync with libgd.org, patch from Kees Cook 2007-02-25 02:45:06 +00:00
Rasmus Lerdorf 7b80d01aa3 Fix test 2007-02-24 22:02:16 +00:00
Antony Dovgal 914b64dd4f BFN 2007-02-24 21:30:56 +00:00
Antony Dovgal e058ba92f9 MFH: fix #40621 (Crash when constructor called inappropriately (statically)) 2007-02-24 21:30:48 +00:00
Marcus Boerger 1345740fa5 - Add [v]slprintf to overcome the returnvalues issue of snprintf 2007-02-24 18:20:46 +00:00
Ilia Alshanetsky 3588f9eed6 missing -1 2007-02-24 18:02:11 +00:00
Ilia Alshanetsky 9783f5f1f3 strncpy() -> strlcpy() 2007-02-24 18:00:56 +00:00
Ilia Alshanetsky 9651aeaf78 Pad to given length, not replace data with spaces 2007-02-24 17:57:57 +00:00
Ilia Alshanetsky afa4b732c5 Eliminate strncpy and simplify code 2007-02-24 17:40:45 +00:00
Ilia Alshanetsky 27c6f40783 Eliminate strncpy() and simplify code 2007-02-24 17:18:24 +00:00
Ilia Alshanetsky 34928eeeca strncpy > strlcpy 2007-02-24 17:16:23 +00:00
Ilia Alshanetsky 0ccf1cf9ce Only do size check on create operations 2007-02-24 16:36:56 +00:00
Ilia Alshanetsky f4a8180f65 Fixed snprintf() usage 2007-02-24 16:23:10 +00:00
Ilia Alshanetsky a2a55daf21 Segment size validation 2007-02-24 15:50:54 +00:00
Ilia Alshanetsky 1b8a85415d Fixed Bug #39396 (stream_set_blocking crashes on Win32). 2007-02-24 15:48:40 +00:00
Ilia Alshanetsky e4ff13e43e Unify validation of shm segment size inside shm_attach() 2007-02-24 15:44:43 +00:00
Ilia Alshanetsky 44aefd1ea0 Fixed test to work with new version of libtidy that strips spaces 2007-02-24 15:35:04 +00:00
Marcus Boerger 24fa61e202 - Drop superflous efree 2007-02-24 14:53:50 +00:00
Marcus Boerger d2c343a3df - Fix spprintf usage 2007-02-24 14:33:50 +00:00
Marcus Boerger 1b1c62d708 - Make debug code really safe 2007-02-24 14:28:09 +00:00
Dmitry Stogov 0caa2be91f Use poll() instead of select() if available 2007-02-24 11:20:43 +00:00
Ilia Alshanetsky 0763686034 strdup() can fail 2007-02-24 03:24:40 +00:00
Stanislav Malyshev 698f114ddc use safe allocations 2007-02-24 03:08:05 +00:00
Ilia Alshanetsky 6223b18134 Fixed a typo 2007-02-24 02:59:58 +00:00
Stanislav Malyshev b415e3da5a Unfortunately, VC does not have snprintf, and sprintf_s supported only in vc2005
Fortunately, we don't need it here too badly.
2007-02-24 02:50:58 +00:00
Stanislav Malyshev 33956fc358 fix typo 2007-02-24 02:45:24 +00:00
Stanislav Malyshev b107f3bfbe fix typos 2007-02-24 02:43:53 +00:00
Marcus Boerger 50ea26760d - Avoid sprintf, even when checked copy'n'paste or changes lead to errors 2007-02-24 02:17:47 +00:00
Stanislav Malyshev 3e262bd369 disallow negative length 2007-02-24 01:18:14 +00:00
Sara Golemon c3935671cd MFH (r-1.82): Add retry for interrupted reads and graceful handling for failed retries 2007-02-23 23:09:14 +00:00
Stanislav Malyshev 59bcd2372d use strlcat 2007-02-23 22:08:31 +00:00
Stanislav Malyshev b40c94194f use strlcat 2007-02-23 22:05:46 +00:00
Stanislav Malyshev 4019bf5370 use snprintf 2007-02-23 21:45:00 +00:00
Stanislav Malyshev e894206874 use snprintf 2007-02-23 21:38:25 +00:00
Stanislav Malyshev 43aa661c5e increase array size to fit buffer size 2007-02-23 21:14:52 +00:00
Antony Dovgal fa513e74ce MFH: fix leak 2007-02-23 20:51:02 +00:00
Stanislav Malyshev 9d3e446d80 use safe_emalloc 2007-02-23 20:40:55 +00:00
Antony Dovgal f3a9413b28 MFH: fix #40606 (umask is not being restored when request is finished) 2007-02-23 16:22:20 +00:00
Rob Richards db19c74cfe BFN 2007-02-23 11:15:08 +00:00
Rob Richards 7846ed2e84 fix bug #40598 (libxml segfault) 2007-02-23 11:12:49 +00:00
Pierre Joye b5e6c78eda - #40578, fix the 2nd race condition on shutdown when the cache is freed 2007-02-23 00:58:49 +00:00
Ilia Alshanetsky a471f75354 Simplify code by converting emalloc() + sprintf() to spprintf() 2007-02-23 00:37:36 +00:00
Antony Dovgal e0a7362646 MFH: check for buflen (on FreeBSD _SC_GETGR_R_SIZE_MAX is not implemented)
patch by stas at FreeBSD dot org
2007-02-22 23:40:39 +00:00
Marcus Boerger e3d786be4e - MFH Fix logic 2007-02-22 23:26:03 +00:00
Nuno Lopes d94e388d74 fix test on ultra-fast-machines and/or SOs with long time slices
# Thanks Tony
2007-02-22 11:48:14 +00:00
Antony Dovgal dfbc224555 MFH 2007-02-22 10:06:22 +00:00
Dmitry Stogov f027aef074 Fixed possible crash in putenv() on win32 2007-02-22 08:23:17 +00:00
Ilia Alshanetsky 609ecbfc37 One more strcpy. (Thanks Stas) 2007-02-22 00:44:08 +00:00
Ilia Alshanetsky 06e5bc9ea2 strcpy() elimination 2007-02-22 00:25:38 +00:00
Antony Dovgal e1fe2c9165 MFH 2007-02-21 22:08:08 +00:00
Antony Dovgal 4a95928d1d MFH: implement PHP_STREAM_FLAG_NO_CLOSE and avoid hacks 2007-02-21 21:57:21 +00:00
Stanislav Malyshev 2a019a14bf use snprintf 2007-02-21 21:08:58 +00:00
Antony Dovgal 26fac39d5e fix test 2007-02-21 19:57:15 +00:00
Antony Dovgal 7255b4b953 fix tests on AIX 2007-02-21 19:52:20 +00:00
Antony Dovgal 905491d6c9 wrong string len 2007-02-21 19:36:20 +00:00
Antony Dovgal d162a8fb9e add test for 64bit arch 2007-02-21 19:35:15 +00:00
Antony Dovgal a2a682975c fix test 2007-02-21 19:27:37 +00:00
Antony Dovgal 22a866818b fix test 2007-02-21 19:22:28 +00:00
Nuno Lopes 4f3150c350 use /usr/bin/nohup instead 2007-02-21 16:25:37 +00:00
Nuno Lopes 6be4ea4d97 fix gcov build (#line stuff) 2007-02-21 16:08:18 +00:00
Dmitry Stogov 2b5e7d315f Check for FD_SETSIZE limit 2007-02-21 15:46:13 +00:00
Antony Dovgal 94bab7b206 MFH: fix #40578 (imagettftext() multithreading issue) 2007-02-21 15:00:26 +00:00
Antony Dovgal bccae9a134 MFH: fix #40576 (double values are truncated to 6 decimal digits when encoding) 2007-02-21 14:25:27 +00:00
Dmitry Stogov 149dd625be Special case for last iteration 2007-02-21 14:11:00 +00:00
Dmitry Stogov d4ccfade57 Fixed bug #40560 (DIR functions do not work on root UNC path) 2007-02-21 13:09:03 +00:00
Ilia Alshanetsky 6b253ae064 Improve redirect validation 2007-02-21 04:29:15 +00:00
Ilia Alshanetsky 5ecffe6eb5 Use strlcpy() rather then strcpy() 2007-02-21 03:59:05 +00:00
Stanislav Malyshev 462d545a63 fix putenv - if there was no previous, remove variable from environ 2007-02-21 03:03:37 +00:00
Stanislav Malyshev 31a325823a Cosmetic fix - safe_emalloc(nmemb, size, offset) 2007-02-21 01:13:44 +00:00
Stanislav Malyshev a72041406b CreateInstance requires BSTR (should fix #33188) 2007-02-21 01:11:11 +00:00
Stanislav Malyshev 47e06ea821 fix unallocated free 2007-02-20 20:30:36 +00:00
Antony Dovgal 43d788ec33 MFH: move PHP_TEST_WRITE_STDOUT to acinclude.m4 and use it in configure.in 2007-02-20 20:11:11 +00:00
Antony Dovgal 748b6fdeb3 MFH: make use of startup hooks 2007-02-20 19:20:41 +00:00
Antony Dovgal 180baf0109 MFH: fix leak and errmsg
add test
2007-02-20 14:08:43 +00:00
Antony Dovgal e7544f28b8 MFH: fix #38406 (crash when assigning objects to SimpleXML attributes) 2007-02-20 13:22:41 +00:00
Marcus Boerger 2db70cb520 - BFN 2007-02-20 13:09:54 +00:00
Marcus Boerger f44b63c57f - Make stat based functions throw an exception 2007-02-20 13:08:01 +00:00
Antony Dovgal 6ba2491d37 BFN 2007-02-20 12:01:40 +00:00
Antony Dovgal 8185f4550e MFH: fix #40545 (multithreading issue in zend_strtod()) 2007-02-20 12:00:58 +00:00
Ilia Alshanetsky 03e5b080a3 Upgraded SQLite 3 library to version 3.3.13 2007-02-20 00:09:43 +00:00
Ilia Alshanetsky c6402df3a7 Eliminate strcat() usage. 2007-02-19 23:53:00 +00:00
Ilia Alshanetsky 9ae588dfb1 Fixed strlcat() usage.
# Thanks Andi
2007-02-19 23:52:13 +00:00
Marcus Boerger ba4cbbaf69 - Bugfix #40546: SplFileInfo::getPathInfo() throws an execption if directory is in root dir. 2007-02-19 20:34:29 +00:00
Antony Dovgal 19c517938e MFH: check SQLError() return value and output a meaningful errmsg when it fails 2007-02-19 20:22:38 +00:00
Antony Dovgal 13ca6ed9fa MFH: fix heap protection on SPARC, required by GCC4
patch by Dmitry
2007-02-19 18:29:31 +00:00
Edin Kadribasic 8f5907fe96 Info on new lib versions and BFN 2007-02-19 17:32:54 +00:00
Dmitry Stogov 955d3e73e8 typo 2007-02-19 17:29:19 +00:00
Edin Kadribasic f31b3b497d Fixed bug #40371 2007-02-19 17:26:15 +00:00
Marcus Boerger 58c77d3925 - MFH CachingIterator implements Countable 2007-02-19 16:18:24 +00:00
Edin Kadribasic fee1ef3463 Fixed bug #36496 2007-02-19 16:03:42 +00:00
Dmitry Stogov f49d044cee On win32 directories in the middle of the patch may be unreadable 2007-02-19 14:58:07 +00:00
Dmitry Stogov 2a170f0584 Initialize "retval" on each request 2007-02-19 14:13:02 +00:00
Dmitry Stogov 7c77611057 Fixed fcgi_putenv() semantic with NULL value 2007-02-19 13:21:14 +00:00
Antony Dovgal 772e35e99a MFH: fix test 2007-02-19 12:19:44 +00:00
Ilia Alshanetsky 26214fc15f Eliminate strcat() usage
Fixed handling of argv[] for GET
2007-02-18 18:08:22 +00:00
Ilia Alshanetsky 7605d10252 PQfreemem checks 2007-02-18 17:05:53 +00:00
Ilia Alshanetsky 5e274ea47d Fixed bug #40503 (json_encode() value corruption on 32bit systems with
overflown values).
2007-02-18 16:54:59 +00:00
Stanislav Malyshev 05584eb55a use safer functions, check error value 2007-02-17 01:45:52 +00:00
Antony Dovgal 704b191d6a fix typo 2007-02-16 23:49:48 +00:00
Stanislav Malyshev 8edc9018db use error message size 2007-02-16 18:48:53 +00:00
Stanislav Malyshev 1fd2039fdd fix snprintf size
#-1 is not needed
2007-02-16 18:32:38 +00:00
Stanislav Malyshev f1728950fe increase hebdate buffer, use snprintf 2007-02-16 18:24:16 +00:00
Stanislav Malyshev 624dd135a8 fix typo 2007-02-16 18:10:36 +00:00
Stanislav Malyshev 4274449a02 add safe_realloc 2007-02-16 18:06:28 +00:00
Dmitry Stogov a3493bd3de Optimize out RINIT() 2007-02-16 16:35:04 +00:00
Antony Dovgal 01058e9770 fix possible double free 2007-02-16 13:28:03 +00:00
Dmitry Stogov 0262f05c17 Fixed return value of assert_options(ASSERT_CALLBACK) and possible crash (Andy Wharmby) 2007-02-16 13:12:10 +00:00
Dmitry Stogov 780c66d14b Fixed bug #40286 (PHP fastcgi with PHP_FCGI_CHILDREN don't kill children when parent is killed) 2007-02-16 11:30:03 +00:00
Antony Dovgal 9208d250c2 MFH 2007-02-16 11:08:22 +00:00
Dmitry Stogov 574630190e Allow C++ extensions to use CG(), EG() ... (Caroline) 2007-02-16 08:54:17 +00:00
Dmitry Stogov b6a2b760dc Fixed zend_llist_remove_tail (Michael Wallner) 2007-02-16 08:33:28 +00:00
Ilia Alshanetsky 4a33a63ab6 Fixed bug #40465 (Ensure that all PHP elements are printed by var_dump). 2007-02-16 03:41:56 +00:00
Ilia Alshanetsky ee17c54d88 Reduce stack usage & improve boundary checks 2007-02-16 03:32:06 +00:00
Nuno Lopes 14a6567f09 fix build on cygwin with windows-style EOLs 2007-02-15 20:52:50 +00:00
Nuno Lopes fd7d6a6f0a fix cvsclean on cygwin with windows-style EOLs 2007-02-15 20:42:24 +00:00
Antony Dovgal 286dee8100 MFH 2007-02-15 19:11:48 +00:00
Dmitry Stogov ea278e8566 Fixed memory leak 2007-02-15 17:01:29 +00:00
Dmitry Stogov 2cf92f365a Fixed bug #40467 (Partial SOAP request sent when XSD sequence or choice include minOccurs=0) 2007-02-15 14:48:12 +00:00
Dmitry Stogov a79d74b694 Fixed bug #40414 (possivle endless fork() loop when running fastcgi) 2007-02-15 12:33:16 +00:00
Dmitry Stogov 12bbbf022f Fixed Bug #40352 (FCGI_WEB_SERVER_ADDRS function get lost) 2007-02-15 12:04:59 +00:00
Dmitry Stogov 0291ad5fa6 Fixed bug #40236 (php -a function allocation eats memory) 2007-02-15 10:38:28 +00:00
Ilia Alshanetsky b997390e1d use constant 2007-02-15 01:40:36 +00:00
Ilia Alshanetsky ed6725c695 Improved validation route for size parameter of the mcrypt_create_iv()
function.
2007-02-15 01:15:45 +00:00
Ilia Alshanetsky f8958c466d Fixed a possible memory corruption inside mime_content_type() on a
non-existent file.
2007-02-15 00:05:42 +00:00
Derick Rethans e254f976fb - MFH: Clarify the source of the timezone data. 2007-02-14 19:35:09 +00:00
Nuno Lopes d446564786 Fixed bug #39322 (proc_terminate() destroys process resource) 2007-02-14 19:13:31 +00:00
Andi Gutmans 71645e8c4f - Give Dmitry credit for all the FastCGI work 2007-02-14 08:12:27 +00:00
Ilia Alshanetsky fc49f98e6a Make sure p is not pointing to the start of the buffer 2007-02-13 23:55:20 +00:00
Ilia Alshanetsky a92ef5e0dc Fixed a memory leak on highlight_file() with a non-existant file 2007-02-13 23:39:14 +00:00
Antony Dovgal 32c2c7a510 MFH 2007-02-13 20:19:56 +00:00
Ilia Alshanetsky 2e35bdc5e9 Fixed a memory leak inside imap_utf8() 2007-02-13 20:12:52 +00:00
Nuno Lopes 9cc85b6030 Fixed bug #34794 (proc_close() hangs when used with two processes) 2007-02-13 19:53:42 +00:00
Antony Dovgal c8a4b13638 MFH: improve php_userstreamop_seek() 2007-02-13 19:50:59 +00:00
Nuno Lopes 3d65d6d8d9 Fixed bug #37799 (ftp_ssl_connect() falls back to non-ssl connection) 2007-02-13 18:29:10 +00:00
Antony Dovgal dc9e17faf3 fix #40455 (proc_open() uses wrong commandline when safe_mode_exec_dir is set) 2007-02-13 15:55:45 +00:00
Antony Dovgal 29a9ba9639 new/improved tests 2007-02-13 12:59:53 +00:00
Antony Dovgal 60c435df5e MFH 2007-02-13 12:56:36 +00:00
Antony Dovgal a9ed150a74 fix .cvsignore's 2007-02-13 10:07:39 +00:00
Ilia Alshanetsky 103b8c33c0 Fixed bug #40432 (strip_tags() fails with greater than in attribute). 2007-02-13 02:16:22 +00:00
Marcus Boerger e19f55bb82 - MFH Drop useless stuff 2007-02-13 00:32:32 +00:00
Marcus Boerger 5026a9fd83 - MFH Add new example 2007-02-13 00:19:00 +00:00
Antony Dovgal 2c31b1e194 fix #40451 (addAttribute() may crash when used with non-existent child node) 2007-02-12 21:06:29 +00:00
Antony Dovgal cce7545d18 upgrade to new parameter parsing API
+ mostly ws/cs fixes, sort of MFH
2007-02-12 20:40:11 +00:00
Antony Dovgal 511463854b MFH: fix #40109 (iptcembed fails on non-jfif jpegs) 2007-02-12 20:30:52 +00:00
Antony Dovgal 634615cd42 MFH: fix tests 2007-02-12 14:49:05 +00:00
Antony Dovgal 796080d8c4 MFH: add separate IPv6 test 2007-02-12 14:43:00 +00:00
Antony Dovgal b877bb70de MFH: fix pcre tests 2007-02-12 14:22:19 +00:00
Antony Dovgal 8e49f0c54c MFH 2007-02-12 09:36:23 +00:00
Antony Dovgal 23d484ff2b fix news entry 2007-02-12 08:57:41 +00:00
Ilia Alshanetsky c92668e768 Fixed a memory leak inside readline_completion_function() on non-callable
callback.
2007-02-12 01:23:17 +00:00
Antony Dovgal 45c0253f2c add test 2007-02-11 20:56:46 +00:00
Antony Dovgal f9a9eda86c MFH 2007-02-11 20:12:53 +00:00
Antony Dovgal 77d93ee6b3 fix test 2007-02-11 20:06:19 +00:00
Nuno Lopes 8b9f475ac6 merge the tidyNode::getParent() patch from HEAD 2007-02-11 16:07:30 +00:00
Pierre Joye 18e4a7aacb - Fixed bug #40428, imagepstext() doesn't accept optional parameter
(Pierre)
2007-02-11 11:11:48 +00:00
Antony Dovgal 9d26a78f6a MFH 2007-02-11 09:25:32 +00:00
Antony Dovgal 9c100b20e6 MFH 2007-02-10 20:52:42 +00:00
Nuno Lopes 1bd4f5bef4 fix gcov build (#line directives) 2007-02-10 20:26:09 +00:00
Antony Dovgal 7b12fd5492 MFH 2007-02-10 00:50:38 +00:00
Nuno Lopes da9f515648 new test to keep track of the reported pcre regression 2007-02-09 20:00:17 +00:00
Nuno Lopes b3e66c616d upgrade pcre to version 7.0 2007-02-09 19:48:47 +00:00
Antony Dovgal e6d69595af BFN 2007-02-09 10:15:56 +00:00
Antony Dovgal 2024ec6e2a MFH: fix #40410 (ext/posix does not compile on MacOS 10.3.9) 2007-02-09 10:15:46 +00:00
Ilia Alshanetsky d35449bbfb Upgraded SQLite 3 to version 3.3.12 2007-02-09 03:17:47 +00:00
Marcus Boerger 7aa2282124 - MFH Add include 2007-02-08 22:54:34 +00:00
Marcus Boerger ac3b5ebbde - MFH Rearrange code: mode Countable from spl_array.c to spl_iterator.c 2007-02-08 22:17:40 +00:00
Marcus Boerger 1d1ea0b2ca - MFH: Fix Bug #39836 SplObjectStorage empty after unserialize 2007-02-08 22:14:25 +00:00
Marcus Boerger 38201d8d12 - MFH php --ri <extension> 2007-02-08 16:55:34 +00:00
Nuno Lopes a875e10909 convert all ereg*() calls to preg_match(), so that we become future-proof (ereg is scheduled for removal in PHP 6) 2007-02-08 15:22:03 +00:00
Marcus Boerger 3bd74e422a - MFH Add new test 2007-02-08 08:44:51 +00:00
Ilia Alshanetsky d4dd117d7f Remove already done item from the todo 2007-02-08 02:10:24 +00:00
Antony Dovgal 323467f9c9 add test 2007-02-07 21:13:01 +00:00
Antony Dovgal ffe3e65ac0 fix MFHed segfault 2007-02-07 21:07:31 +00:00
Marcus Boerger 6ded8042b9 - MFH Fix memleak with temp dir 2007-02-07 21:01:06 +00:00
Marcus Boerger ee3226e50e - MFH options/exports 2007-02-07 20:59:59 +00:00
Nuno Lopes 3fdab070a9 MFH: use getenv() instead of _ENV
enable multiple error reporting on the same test
2007-02-07 11:31:22 +00:00
Antony Dovgal ed7c89cc03 MFH: check if GCC on MacOS supports -no-cpp-precomp before using it 2007-02-07 11:16:52 +00:00
Antony Dovgal 0f0fe9c967 MFH: new tests 2007-02-07 11:10:32 +00:00
Ilia Alshanetsky 3f8e222ab3 Back to dev 2007-02-07 01:01:37 +00:00
Ilia Alshanetsky ee626ccb51 5.2.1 2007-02-07 00:45:04 +00:00
Ilia Alshanetsky 629d7cf43f Fixed Bug #40274 (Sessions fail with numeric root keys). 2007-02-06 00:01:18 +00:00
Andrei Zmievski 871fb78154 Update ! docs. 2007-02-05 17:57:51 +00:00
Andi Gutmans a11e0b5ef1 - Make sure to be ANSI C compliant 2007-02-05 05:15:16 +00:00
Frank M. Kromann b436ad2af5 #39213
Fix for '' returned as ' '.
This only works with FreeTDS as microsofts library returns a length of 1 for an empty string!
2007-02-04 21:19:37 +00:00
Frank M. Kromann 850998256c Fix win32 build 2007-02-04 00:21:51 +00:00
Marcus Boerger 0709a0490f - MFH Add PHPAPI to stuff needed by streams API for shared exts
- MFH Readonly issue fix to memory streams option handling (still not
  activated in 5.2.1 though)
2007-02-03 16:40:05 +00:00
andy wharmby 74cafe0840 Fixed bug #37927 (Prevent trap when COM extension processes argument of type VT_DISPATCH|VT_REF) 2007-02-02 15:44:06 +00:00
andy wharmby cda82bc0a3 Fixed bug #34564 (COM extension not returning modified "out" argument) 2007-02-02 15:27:35 +00:00
Ilia Alshanetsky a8c006235c Better generated parser 2007-02-02 00:03:33 +00:00
Ilia Alshanetsky 79dfb302b1 Fixed test mixup 2007-02-02 00:00:33 +00:00
Dmitry Stogov 44297ddea8 Removed dead code 2007-02-01 16:23:28 +00:00
Dmitry Stogov ed30d91cd6 Fixed possible crash because of dereference of NULL 2007-02-01 15:23:46 +00:00
Dmitry Stogov 009f5a3937 Enable canary protection in DEBUG mode only. 2007-02-01 15:08:10 +00:00
Antony Dovgal c313af32a9 MFH 2007-02-01 14:21:01 +00:00
Antony Dovgal 0c84a4d927 MFH: free class_name when necessary 2007-02-01 14:07:43 +00:00
Antony Dovgal 6e8654aae1 plug leak 2007-02-01 14:02:35 +00:00
Antony Dovgal 82f70c9493 fix leaks on error 2007-02-01 13:45:25 +00:00
Ilia Alshanetsky c219c6f4a8 Fixed bug #40285 (The PDO prepare parser goes into an infinite loop in
some instances).
2007-02-01 00:12:39 +00:00
Antony Dovgal 56bb90399e BFN 2007-01-31 13:57:58 +00:00
Antony Dovgal cdaff68610 MFH: improve tests 2007-01-31 13:56:16 +00:00
Antony Dovgal 4f6f150490 MFH: fix segfault on rebindinging and rexecuting a statement with LOBs
fix compile failure in ZTS mode when collections support is missing
2007-01-31 13:55:43 +00:00
Ilia Alshanetsky 9eb6d36c39 Prepare news file for release 2007-01-30 01:27:29 +00:00
Rui Hirokawa 693c9a7d2c fixed incompatibility with PHP 5.2.0 for encoding conversion between ShiftJIS(CP932), eucJP, ISO-2022-JP. 2007-01-29 22:53:47 +00:00
Dmitry Stogov d44cb7fa7b Prevent flush of closed handle on php_module_shutdown() 2007-01-29 19:36:01 +00:00
Pierre Joye 3265d023a4 - #40228 2007-01-29 15:25:35 +00:00
Pierre Joye 601a77b3a3 - #40228, ZipArchive::extractTo does create empty directories
recursively
2007-01-29 15:25:06 +00:00
Dmitry Stogov 52f6312866 Fixed bug #40259 (ob_start call many times - memory error). (Dmitry) 2007-01-29 11:21:31 +00:00
Antony Dovgal 58e96c4c10 nullify param.parameter and avoid destroying it twice 2007-01-27 21:53:26 +00:00
Marcus Boerger 0903f26151 - Disable memory streams set option until 5.2.2 2007-01-27 20:31:51 +00:00
Marcus Boerger d10beb67c3 - MFH truncate support for mem/temp streams 2007-01-27 20:25:11 +00:00
Antony Dovgal c98dcd5a21 use length - 1 when we fetch it from hashes 2007-01-26 15:33:18 +00:00
Dmitry Stogov cb443c6e5a Fixed bug #40231 (file_exists incorrectly reports false) 2007-01-26 15:15:16 +00:00
Antony Dovgal c5732112a9 fix leak
readuce size of the buffer to prevent ORA-01461
2007-01-26 15:07:45 +00:00
Ilia Alshanetsky 7c166ddf86 Back to dev 2007-01-26 00:21:20 +00:00
Ilia Alshanetsky 15bcf9e38e 5.2.1RC4 2007-01-26 00:15:03 +00:00
Antony Dovgal 46baad774f add package2.xml 2007-01-25 16:55:40 +00:00
Antony Dovgal 40ca697a67 add missing ifdefs 2007-01-25 14:38:45 +00:00
Antony Dovgal 4cb734b05f setlocale() returns static buffer, which must be copied 2007-01-25 13:37:04 +00:00
Antony Dovgal 0bc0e57b85 MFH: fix #40189 (possible endless loop in zlib.inflate stream filter) 2007-01-25 12:22:21 +00:00
Antony Dovgal de3c2038af PHP4 compatibility 2007-01-25 09:31:23 +00:00
Rasmus Lerdorf 49dbf804ad Fix typo 2007-01-25 06:12:58 +00:00
Ilia Alshanetsky 49c0823800 Added safety checks to the code 2007-01-25 00:27:19 +00:00
Ilia Alshanetsky 094a5717b1 Eliminate strcat() and strcpy() 2007-01-25 00:26:51 +00:00
Antony Dovgal 93951f1931 prepare to release 1.2.3 2007-01-24 14:34:13 +00:00
Ilia Alshanetsky eb6b99d7df strcat() -> strlcat() 2007-01-24 00:45:54 +00:00
Antony Dovgal d32dc5bda0 MFH 2007-01-24 00:33:51 +00:00
Nuno Lopes a2b7b84685 add test 2007-01-23 19:26:24 +00:00
Nuno Lopes 8e8b369bc2 fix a few crashes 2007-01-23 19:23:29 +00:00
Dmitry Stogov 1ef02490c3 Fixed bug #40200 (The FastCgi version has different realpath results than thread safe version) 2007-01-23 18:14:52 +00:00
Dmitry Stogov dfa95b718f Fixed wrong realpath() result for unexistent files on win32 2007-01-23 17:03:48 +00:00
Hannes Magnusson 14fb4afd5c Fix typo 2007-01-23 12:37:21 +00:00
Ilia Alshanetsky 17864fc3e9 emalloc() -> safe_emalloc() 2007-01-23 00:23:17 +00:00
Antony Dovgal 725217571e fix PECL bug #7295 (ORA-01405: fetched column value is NULL on LOB fields) 2007-01-22 12:49:22 +00:00
Dmitry Stogov 933c26de41 Fixed bug #39367 (clearstatcache() doesn't clear realpath cache)
Fixed bug #40092 (chroot() doesn't clear realpath cache)
2007-01-22 09:31:46 +00:00
Antony Dovgal a4ae84d014 MFH 2007-01-22 09:08:28 +00:00
Antony Dovgal b24fd9a3d6 fix test 2007-01-22 08:55:47 +00:00
Antony Dovgal 78e610b4f9 fix classname 2007-01-22 08:36:21 +00:00
Antony Dovgal eae1072ccc MFH 2007-01-22 08:21:57 +00:00
Antony Dovgal 2c36778e47 MFH: fix #40191 (use of array_unique() with objects triggers segfault) 2007-01-22 08:17:26 +00:00
Ilia Alshanetsky 8ddcd35d17 Fixed typos 2007-01-21 19:52:44 +00:00
Marcus Boerger 8ed3a86161 - MFH Add *.mem 2007-01-21 13:05:32 +00:00
Marcus Boerger d2c8a3bb63 - Add tests 2007-01-21 12:30:19 +00:00
Antony Dovgal d2c5721f41 MFH: catch overflow right away 2007-01-20 23:10:02 +00:00
Ilia Alshanetsky 9bf088ce36 Fixed bug #39450 (getenv() fills other super-globals). 2007-01-20 22:16:24 +00:00
Antony Dovgal 1b002cf39f use getenv() 2007-01-20 22:12:55 +00:00
Rob Richards 75fdefba0c MFH: fix accessing public key from x509 resource
add test
fix test under win32
2007-01-20 22:08:29 +00:00
Antony Dovgal 6bef5f8e80 typo in the test name 2007-01-20 19:19:29 +00:00
Ilia Alshanetsky a719e16f7c CS 2007-01-20 16:22:51 +00:00
Nuno Lopes 65975bfc15 new tests. bump code coverage to 81% 2007-01-20 12:50:19 +00:00
Nuno Lopes 4b8911d062 fix another crash 2007-01-20 12:49:35 +00:00
Nuno Lopes f3f2d827db fix crash. tests will follow 2007-01-20 12:27:18 +00:00
Antony Dovgal 216d041717 MFH 2007-01-19 22:33:25 +00:00
Antony Dovgal d291b4351e MFH 2007-01-19 21:00:35 +00:00
Antony Dovgal 4c6e1df9e2 MFH: improve utf8_mime2text() signature detection 2007-01-19 20:45:09 +00:00
Antony Dovgal a5f3e15114 MFH 2007-01-19 19:43:30 +00:00
Nuno Lopes 3e45bc0a51 update install instructions from phpdoc XMl sources 2007-01-19 19:25:02 +00:00
Nuno Lopes d27d7619be fix segfaults with new libtidy. the patch is backwards compatible 2007-01-19 18:50:26 +00:00
Antony Dovgal 7e74ff0ff1 MFH 2007-01-19 18:03:33 +00:00
Antony Dovgal 504e9e31f3 MFH: fix #40169 (CURLOPT_TCP_NODELAY only available in curl >= 7.11.2) 2007-01-19 15:38:51 +00:00
Pierre Joye 4dafc7a2fa - save/restore the alpha blending mode correctly in imagefill and
imagefilltoborder
2007-01-19 15:03:56 +00:00
Antony Dovgal ebd7c13e8b MFH: fix #40168 2007-01-19 14:50:11 +00:00
Ilia Alshanetsky aeddf73dc4 Fix win32 build 2007-01-19 00:17:43 +00:00
Ilia Alshanetsky 5500a08ba3 Back to dev 2007-01-19 00:13:49 +00:00
Ilia Alshanetsky cbd3a64136 5.2.1RC3 2007-01-19 00:03:21 +00:00
Ilia Alshanetsky ef3fcf2894 Added read-timeout context option "timeout" for HTTP streams.
# A patch mostly by Hannes
2007-01-19 00:02:13 +00:00
Ilia Alshanetsky 55eef07a71 Old bug fixing news 2007-01-18 23:29:34 +00:00
Ilia Alshanetsky 4383f51c44 Syntax highlighting fix for hex numbers.
# Patch by Matt Wilmas
2007-01-18 23:28:08 +00:00
Ilia Alshanetsky 6f98a771e6 Fixed bug #39993 (tr_TR.UTF-8 locale has problems with PHP). 2007-01-18 23:20:24 +00:00
Antony Dovgal 84a827e0d4 MFH 2007-01-18 16:21:32 +00:00
Nuno Lopes 58d4b44ae7 only 2 bits are needed for shutdown(2) method (only 3 possible values). this is new code in 5.2.1, so don't worry.. 2007-01-18 16:05:48 +00:00
Antony Dovgal 5f12c71382 MFH 2007-01-18 15:55:09 +00:00
Antony Dovgal 05c11fdfb2 MFH 2007-01-18 15:41:01 +00:00
Antony Dovgal c592304ac0 MFH: use snprintf() 2007-01-18 15:29:30 +00:00
Antony Dovgal e506abc408 MFH: improve check configure for new version of utf8_mime2text() 2007-01-18 14:05:21 +00:00
Antony Dovgal 04add4c727 MFH: use strlcat() 2007-01-18 14:03:38 +00:00
Antony Dovgal 5a23201d82 moved ext/informix to PECL 2007-01-18 12:28:10 +00:00
Antony Dovgal b6a89efcda fix folding 2007-01-18 12:20:15 +00:00
Antony Dovgal fc9970a6e9 MFH: fix #40129 (iconv extension doesn't compile with CodeWarrior on Netware)
patch by gk at gknw dot de
2007-01-17 20:32:53 +00:00
Antony Dovgal d6a4586197 MFH 2007-01-17 08:25:32 +00:00
Ilia Alshanetsky b4f76016fd Fixed output code inside odbc_result_all() 2007-01-16 18:56:06 +00:00
Antony Dovgal bb691f155c MFH: return false if realpath()/getcwd() fail 2007-01-16 14:42:38 +00:00
Antony Dovgal 5b4043554a MFH: free temp cwd_state struct on error 2007-01-16 14:02:19 +00:00
Antony Dovgal bd6c862fee MFH 2007-01-16 11:19:10 +00:00
Antony Dovgal 7ad1c3c5f2 MFH: add trailing '\0' to stream hashes 2007-01-15 17:07:08 +00:00
Antony Dovgal 7dd989fd4a revert the patch temporarily, I need to test a bigger patch in HEAD.. 2007-01-15 16:03:42 +00:00
Antony Dovgal c463e98e99 MFH 2007-01-15 14:59:49 +00:00
Antony Dovgal 4fca731b0b fix test 2007-01-15 10:31:14 +00:00
Antony Dovgal 7b70e5be45 missing comma 2007-01-15 10:08:34 +00:00
Antony Dovgal 9ca5652f70 fix error message and #40111 2007-01-15 10:04:44 +00:00
Frank M. Kromann c2cfc1eeee Fix mysql -> dblib 2007-01-15 01:56:09 +00:00
Ilia Alshanetsky d4fbb3ca53 Fixed bug #40127 (apache2handler doesnt compile on Netware). 2007-01-14 16:59:05 +00:00
Ilia Alshanetsky c5588fae3a Fixed bug #40121 (PDO_DBLIB driver wont free statements). 2007-01-14 16:57:50 +00:00
Hannes Magnusson a6ff74de28 Fix typo in error message 2007-01-14 14:22:40 +00:00
Ilia Alshanetsky f7d1d3ef44 Improve validation of argnum, width and precision. 2007-01-13 16:31:17 +00:00
Nuno Lopes 8815fdf5e0 OMG, this line was really bogus (and allocating huge amounts of memory unecessarly) 2007-01-13 11:21:21 +00:00
Nuno Lopes e22c9cd775 fix valgrind error in test bug24594.phpt
while at it, remove some dead code and change the pts vector to char to save (much) memory
# Pierre: one more to merge ;)
2007-01-13 11:16:15 +00:00
Frank M. Kromann 2cca49ac01 MFH: Kill warnings when mt is not installed or is found as the tape command under cygwin 2007-01-13 03:32:28 +00:00
Dmitry Stogov 2f586e965e Fixed bug #39969 (ini setting short_open_tag has no effect when using --enable-maintainer-zts) 2007-01-12 14:37:46 +00:00
Hannes Magnusson 6b7144d0b8 Fix build
#Thanks Andy
2007-01-12 14:31:28 +00:00
Antony Dovgal e351aedbdc MFH 2007-01-12 12:32:15 +00:00
Antony Dovgal e8d2c9489d MFH: nuke skeleton leftovers 2007-01-12 12:17:32 +00:00
Hannes Magnusson b865d176de Typo 2007-01-12 12:11:18 +00:00
Antony Dovgal 7d4ea80b07 MFH 2007-01-12 12:06:45 +00:00
Antony Dovgal 5941c1d28c MFH 2007-01-12 09:10:16 +00:00
Ilia Alshanetsky 25e7373009 Use long instead of int where long is expected. 2007-01-12 02:03:59 +00:00
Ilia Alshanetsky 2ae036f038 Fixed bug #40098 (php_fopen_primary_script() not thread safe).
Adjusted previous fixes for similar issue to handle sysconf() failures
2007-01-12 01:46:11 +00:00
Antony Dovgal ed30473f7c MFH 2007-01-11 22:23:20 +00:00
Dmitry Stogov 2e1a2438b5 Fixed bug #35634 (Erroneous "Class declarations may not be nested" error raised). (Carl P. Corliss) 2007-01-11 16:47:32 +00:00
Antony Dovgal 870bd0b99f MFH 2007-01-11 16:45:37 +00:00
Antony Dovgal 7c92982b5b MFH 2007-01-11 15:51:37 +00:00
Antony Dovgal f361d9e4f0 MFH: fix #39988 (type argument of oci_define_by_name() is ignored)
patch and tests by Chris Jones
2007-01-11 12:01:08 +00:00
Antony Dovgal 12d54fa683 MFH: fix #40078 (ORA-01405 when fetching NULL values using oci_bind_array_by_name()) 2007-01-11 11:27:52 +00:00
Sara Golemon 5e74c607a2 MFH 2007-01-11 02:33:07 +00:00
Johannes Schlüter a95781d9bf - MFH: Bump year 2007-01-10 22:17:27 +00:00
Ilia Alshanetsky b5228f0c6c Fixed bug #40091 (spl_autoload_register with 2 instances of the same class). 2007-01-10 18:14:37 +00:00
Ilia Alshanetsky 1c46fc5a45 Another bug fixed by Dmitry 2007-01-10 16:14:34 +00:00
Dmitry Stogov 7c750656f1 Fixed tests 2007-01-10 16:00:31 +00:00
Dmitry Stogov e470e22e20 - Fixed bug #35106 (nested foreach fails when array variable has a reference).
- Fixed bug #36214 (__get method works properly only when conditional operator is used).
- Fixed bug #39449 (Overloaded array properties do not work correctly).
- Fixed bug #39990 (Cannot "foreach" over overloaded properties).
2007-01-10 15:58:08 +00:00
Hannes Magnusson 4e0f1992ed Add missing ifdefs for shutdown() 2007-01-10 15:25:07 +00:00
Hannes Magnusson 3e0e2bb49d Fix ifdefs 2007-01-10 14:40:06 +00:00
Hannes Magnusson 5d75262062 Fix build on system where HAVE_SETLOCALE is not defined 2007-01-10 14:37:31 +00:00
Antony Dovgal 48b4cb96e0 BFN 2007-01-10 14:11:44 +00:00
Antony Dovgal 3f3509606d use RETURN_* instead of RETVAL_* and fix #40083 2007-01-10 12:03:11 +00:00
Dmitry Stogov ae792a06b0 Fixed SIGSEGV 2007-01-10 07:04:49 +00:00
Ilia Alshanetsky 78ca1de763 Fixed bug #40079 (php_get_current_user() not thread safe).
# Original patch from wharmby at uk dot ibm dot com
2007-01-09 23:27:22 +00:00
Sara Golemon 6a8f688af2 MFH: Add CURLOPT_TCP_NODELAY constant 2007-01-09 23:13:05 +00:00
Marcus Boerger 66bad4f93b - Ups wrong place 2007-01-09 18:50:45 +00:00
Marcus Boerger da1992fdb3 - BFN 2007-01-09 18:35:32 +00:00
Marcus Boerger 023144ffa9 - MFH Fix for #40073 2007-01-09 17:55:29 +00:00
Andrei Zmievski 39fa36a0be Fix 'b' prefix in highlighting and tokenizer. (Matt W) 2007-01-09 17:37:53 +00:00
Dmitry Stogov 5709b64739 Close open files in case of failure (Amit) 2007-01-09 16:27:17 +00:00
Ilia Alshanetsky 81729c1ece Prevent SESSION/GLOBALS overload via session decoding 2007-01-09 15:31:12 +00:00
Dmitry Stogov 38f942b880 Fixed bug #40076 (zend_alloc.c: Value of enumeration constant must be in range of signed integer) 2007-01-09 15:29:14 +00:00
Ilia Alshanetsky 96a8399e2f Added key_length intialization for intergers 2007-01-09 15:20:45 +00:00
Dmitry Stogov 8c086cae23 Fixed bug #40002 (Try/Catch performs poorly) 2007-01-09 15:06:07 +00:00
Dmitry Stogov cbd9822ed9 Bump year. 2007-01-09 11:53:08 +00:00
Antony Dovgal 1e352b3ae7 MFH: zerofill info_data and fix possible segfault
partly fixes #40073
2007-01-09 11:37:17 +00:00
Nuno Lopes 43369cef58 avoid calling MSHUTDOWN when built without libt1 2007-01-08 22:52:22 +00:00
Nuno Lopes 1790b05591 remove useless MSHUTDOWN function 2007-01-08 22:34:07 +00:00
Nuno Lopes ec66c5be3d make the hash_ops structures const and save some memory
# ram memory is so expensive these days...
2007-01-08 22:29:25 +00:00
Andrei Zmievski cdfed7f757 MFH 2007-01-08 22:24:11 +00:00
Ilia Alshanetsky 60e20922eb Use safe_emalloc() rather then emalloc() 2007-01-08 14:24:59 +00:00
Ilia Alshanetsky 13f006ac69 Fixed bug #38325 (spl_autoload_register() gaves wrong line for "class
not found").
2007-01-08 04:27:29 +00:00
Ilia Alshanetsky c5fb061cbf Provide means for opening file for zend with error supression. Allows us to
avoid INI hackery such as the one used in SPL.
2007-01-08 03:39:09 +00:00
Edin Kadribasic fec9895fc3 MFH: Make mt more silent 2007-01-08 00:27:06 +00:00
Ilia Alshanetsky 8df326e003 Fixed bug #39394 (Missing check for older variants of openssl). 2007-01-07 18:38:22 +00:00
Hannes Magnusson a688c62f57 Use relative timestamp
#Thanks Nuno :)
2007-01-07 07:58:28 +00:00
Ilia Alshanetsky 5babb6d10d Fixed bug #39979 (PGSQL_CONNECT_FORCE_NEW will causes next connect to
establish a new connection).
2007-01-07 04:36:40 +00:00
Ilia Alshanetsky 5068511748 Fixed bug #40036 (empty() does not work correctly with ArrayObject when
using ARRAY_AS_PROPS).
2007-01-07 03:52:44 +00:00
Ilia Alshanetsky cbf6f5b538 Fixed memory leaks on error 2007-01-07 03:12:14 +00:00
Nuno Lopes a431a09f47 MFH 2007-01-06 20:44:51 +00:00
Nuno Lopes 3eaf46af3e fix a few memleaks and double-free()s on error conditions 2007-01-06 20:16:25 +00:00
Nuno Lopes 9b253882fc fix build with libming 0.3 and older 2007-01-06 19:25:33 +00:00
Rob Richards 45a95f0898 update xmlwriter_write_dtd_entity parameters 2007-01-06 18:05:02 +00:00
Rob Richards 57792acabc MFH: parameter entity argument (pe) should be bool
update test
2007-01-06 18:03:43 +00:00
Ilia Alshanetsky d1891c3d8a removed dl() block 2007-01-06 17:35:44 +00:00
Hannes Magnusson 630254d55e Fix skipif 2007-01-06 16:56:38 +00:00
Hannes Magnusson c0e9579204 ext/XMLWriter updates 2007-01-06 16:50:55 +00:00
Hannes Magnusson 252b9e9fb1 MFH: bug #39504 (xmlwriter_write_dtd_entity() creates Attlist tag, not entity)
Add & improve test
2007-01-06 15:53:33 +00:00
Dmitry Stogov f694c1f1db Improved proc_open(). Now on Windows it can run external commands not through CMD.EXE 2007-01-06 09:02:02 +00:00
Sara Golemon 13f447eb64 MFH: (r-1.16) ttyname_r() is broken on BSD 2007-01-05 21:31:56 +00:00
Hannes Magnusson 3f9a4baa31 Fix test according to bug#40009 2007-01-05 15:22:35 +00:00
Hannes Magnusson 91b8c3b2b5 Fix tests
#We'll need to update these every year..
2007-01-05 15:21:45 +00:00
Ilia Alshanetsky 7d901eacbe %f -> %F 2007-01-05 15:06:55 +00:00
Ilia Alshanetsky 56a147fbff Back to dev 2007-01-04 23:55:56 +00:00
Ilia Alshanetsky e6c845cb2c 5.2.1RC2 2007-01-04 23:52:29 +00:00
Ilia Alshanetsky 7ba84b8807 Added missing open_basedir checks 2007-01-04 23:49:35 +00:00
Nuno Lopes 17ff2f42ff remove --show-details from lcov's genhtml, as currently we don't separate the coverage data per test, making this option useless
# gathering per test coverage data is possible, but way too slow and would require modifications to run-tests.php
2007-01-04 14:11:47 +00:00
Ilia Alshanetsky a078b56326 Fixed bug #40009 (http_build_query(array()) returns NULL). 2007-01-03 23:16:56 +00:00
Nuno Lopes b2fa0cb89d reduce the test data size even further or when running with valgrind it times out 2007-01-03 22:32:49 +00:00
Nuno Lopes b6dff166bf MFH: fix infinite cycle
#this was the infinite cycle that was bugging me in the gcov machine...
2007-01-03 22:05:24 +00:00
Antony Dovgal 7cf0e005fa MFH 2007-01-03 20:45:22 +00:00
Hannes Magnusson 9ad0ffbd33 MFH: revert pcrelib version string 2007-01-03 20:08:37 +00:00
Antony Dovgal 614e0b29ac MFH 2007-01-03 18:32:27 +00:00
Derick Rethans 3dcf540547 - Fixed bug #40012 (php_date.c doesnt compile on Netware). 2007-01-03 14:46:23 +00:00
Antony Dovgal 46e5e63f94 MFH 2007-01-03 13:48:54 +00:00
Antony Dovgal 97f0cf1208 fix test 2007-01-03 13:47:11 +00:00
Ilia Alshanetsky 9046eaa260 Use proper length 2007-01-03 04:05:12 +00:00
Ilia Alshanetsky b1cac0f72c Added filter callback
Unlink temporary file on error
2007-01-03 03:55:07 +00:00
Nuno Lopes 8a806d186e +- Fixed bug #37619 (proc_open() closes stdin on fork() failure). 2007-01-02 15:29:09 +00:00
Nuno Lopes f3d0a26e13 add EXTRA_LDFLAGS_PROGRAM to config.nice (as LDFLAG is quite useless) 2007-01-01 20:10:01 +00:00
Ilia Alshanetsky 18548c1041 fixed compiler warnings 2007-01-01 19:40:29 +00:00
Ilia Alshanetsky cb70d99ee2 fixed compiler warning 2007-01-01 19:35:47 +00:00
Ilia Alshanetsky 2df7386475 Update copyright year
# The rest of the files were already updated by Sebastian
2007-01-01 19:32:10 +00:00
Ilia Alshanetsky e095b94609 Fixed compiler warnings 2007-01-01 19:24:50 +00:00
Ilia Alshanetsky 5787b56554 Added missing entity functions (MFH from HEAD)
Fixed php_xmlwriter_streams_IO_close() docs
2007-01-01 19:21:48 +00:00
Sebastian Bergmann 4223aa4d5e MFH: Bump year. 2007-01-01 09:36:18 +00:00
Ilia Alshanetsky 6e0af2f4d5 Simplify code and change strchr() to memchr() 2006-12-31 22:47:13 +00:00
Ilia Alshanetsky ba64553913 Added boundary checks to php_binary deserializer 2006-12-31 22:25:55 +00:00
Ilia Alshanetsky 96489b4178 Fixed bug #39984 (redirect response code in header() could be ignored in
CGI sapi).
2006-12-31 19:22:01 +00:00
Marcus Boerger b8003b8461 - MFH Bugfix: #39996 Wrong PHPDoc comment for SplFileInfo::getType() 2006-12-31 18:20:22 +00:00
Nuno Lopes 169b207532 - Fixed bug #36427 (proc_open() / proc_close() leak handles on windows). 2006-12-31 15:27:13 +00:00
Nuno Lopes 877ee65622 Fixed bug #38542 (proc_get_status() returns wrong PID on windows) 2006-12-31 14:47:17 +00:00
Ilia Alshanetsky 5298554fb6 Added missing resource validation checks 2006-12-30 20:46:47 +00:00
Ilia Alshanetsky 3ca748d49c Added missing resource type checks 2006-12-30 20:21:25 +00:00
Rob Richards 3d11fb35ae BFN 2006-12-30 15:43:10 +00:00
Rob Richards 604f18c20d fix bug #39760 (cloning fails on nested SimpleXML-Object)
add test
2006-12-30 15:41:17 +00:00
Ilia Alshanetsky 7f376183f8 C++ comment 2006-12-30 02:28:15 +00:00
Ilia Alshanetsky 78d8808f42 Mark test as being 32bit only 2006-12-30 02:00:51 +00:00
Ilia Alshanetsky 6895045565 Simplify & optimize code
# Patch by Matt Wilmas
2006-12-30 01:57:01 +00:00
Ilia Alshanetsky 790b0b9edf Fixes test #50 2006-12-30 01:56:18 +00:00
Ilia Alshanetsky 79d524dc1e Fixed bug #39971 (pg_insert/pg_update do not allow now() to be used for
timestamp fields).
2006-12-29 00:34:30 +00:00
Antony Dovgal 2820e6c1fa MFH 2006-12-28 22:36:53 +00:00
Antony Dovgal 7b281be1ee that was not intentional
thanks Nuno
2006-12-28 22:12:08 +00:00
Antony Dovgal 28421f4f19 MFH 2006-12-28 21:02:14 +00:00
Antony Dovgal e5f95ec3e4 MFH 2006-12-28 20:45:27 +00:00
Nuno Lopes 559ab4b3f9 make this test run a little faster (is currently timeout with valgrind) 2006-12-28 19:52:37 +00:00
Ilia Alshanetsky 794845234e Added buffer length checks 2006-12-28 15:21:21 +00:00
Ilia Alshanetsky b154f188d1 Simplify code and eliminate strcat() usage 2006-12-28 15:09:29 +00:00
Nuno Lopes dae5040b61 MFH: force tidy.clean_output=0 2006-12-28 15:07:45 +00:00
Antony Dovgal ef9646c867 MFH 2006-12-28 14:26:36 +00:00
Antony Dovgal fdfa403388 MFH 2006-12-28 14:17:38 +00:00
Antony Dovgal 46a6bd7f9d MFH 2006-12-28 13:30:25 +00:00
Antony Dovgal 112462d102 MFH 2006-12-28 12:18:54 +00:00
Antony Dovgal d3a651a39e MFH 2006-12-28 12:01:50 +00:00
Ilia Alshanetsky 96d9d6f0f1 Avoid strcpy() & strcat() 2006-12-28 00:17:48 +00:00
Nuno Lopes 66e555c66f die("skip this is for PHP < 4.2.3"); 2006-12-27 15:22:28 +00:00
Nuno Lopes 54f3ff34b7 oops: remove uneeded code in the skip condition 2006-12-27 15:17:04 +00:00
Nuno Lopes d07a46ebab add fr_FR@euro to the setlocale list 2006-12-27 15:11:35 +00:00
Antony Dovgal b16f925e37 MFH 2006-12-27 10:31:10 +00:00
Antony Dovgal 65f50e7e31 MFH more test improvements by Chris Jones 2006-12-27 09:49:53 +00:00
Ilia Alshanetsky d101e113cf Fixed compiler warning 2006-12-26 17:17:52 +00:00
Ilia Alshanetsky 7fe60ada00 Don't forget to free url structure 2006-12-26 16:58:23 +00:00
Ilia Alshanetsky 5e576be36f Fixed bug #39878 (CURL doesn't compile on Sun Studio Pro). 2006-12-26 16:55:56 +00:00
Ilia Alshanetsky ffd41a503f Session deserializer protection. 2006-12-26 16:53:47 +00:00
Ilia Alshanetsky dc5be15a6f is_numeric_string() optimization 2006-12-26 16:45:39 +00:00
Ilia Alshanetsky ff9d0fcc78 is_numeric_string() optimization
# Original Patch by Matt Wilmas
2006-12-26 16:44:20 +00:00
Antony Dovgal 24124518ab MFH 2006-12-26 12:29:42 +00:00
Pierre Joye f458ff3dac - MFH: add better zlib detection 2006-12-26 10:42:50 +00:00
Pierre Joye 5a6f0e3059 - #39952 zip ignoring --with-libdir on zlib checks (judas dot
iscariote at gmail dot com)
2006-12-26 09:52:05 +00:00
Dmitry Stogov 67583e7aa5 Code review:
. fixed integer overflow
  . fixed buffer overflow/underflow
  . added more strict IP validation
  . reimplemented float number validation
2006-12-26 09:16:25 +00:00
Ilia Alshanetsky b85f1345a6 Ensure that OnUpdateLongGEZero is greater or equal to 0.
Added a update wrapper for ensuring >0 values
2006-12-25 23:55:59 +00:00
Ilia Alshanetsky e2c110bebf Allocation safety checks 2006-12-25 23:43:10 +00:00
Antony Dovgal 32d078f8e7 MFH 2006-12-25 22:40:23 +00:00
Ilia Alshanetsky 52d53543ac Allocation safety checks 2006-12-25 22:36:57 +00:00
Antony Dovgal 9c2b6efb77 MFH 2006-12-25 22:27:24 +00:00
Antony Dovgal 6ac8ffdfea MFH 2006-12-25 22:12:46 +00:00
Antony Dovgal 7dc7882745 MFH 2006-12-25 21:47:02 +00:00
Ilia Alshanetsky 7efb0a14f4 Use safe_emalloc() 2006-12-25 21:41:04 +00:00
Antony Dovgal 807a0966a9 fix weird strlen() usage 2006-12-25 21:18:01 +00:00
Antony Dovgal 6c50fa955b MFH 2006-12-25 21:08:02 +00:00
Ilia Alshanetsky 652c7096b2 Fixed test for 64bit systems 2006-12-25 21:07:53 +00:00
Antony Dovgal 3fd433c07d MFH 2006-12-25 20:53:50 +00:00
Antony Dovgal 2e3cd64566 MFH 2006-12-25 20:44:45 +00:00
Antony Dovgal 35db4d21b0 MFH 2006-12-25 20:03:43 +00:00
Dmitry Stogov 4480c5eb5d Fixed bug #39825 (foreach produces memory error) 2006-12-25 19:23:03 +00:00
Ilia Alshanetsky 0776e56437 Use %F (ignores locale) for internal representation of floats 2006-12-25 16:48:18 +00:00
Hannes Magnusson ff0a238043 Add missing NEWS entrys and update the README.UPDATE file 2006-12-25 16:03:38 +00:00
Antony Dovgal 9f76195869 MFH: fix bug #39890 (using autoconf 2.6x and --with-layout=GNU breaks PEAR install path) 2006-12-25 15:41:56 +00:00
Antony Dovgal 601f4cd129 MFH 2006-12-25 15:28:57 +00:00
Antony Dovgal c52bc49f50 fix test 2006-12-25 14:27:51 +00:00
Ilia Alshanetsky e3569ae80a Define SENDBUFLEN for older c-client libs 2006-12-25 14:23:18 +00:00
Dmitry Stogov e57a60698b Fixed bug #39944 (References broken) 2006-12-25 14:16:27 +00:00
Dmitry Stogov 5436160dc6 Fixed heap overflow 2006-12-25 13:11:23 +00:00
Dmitry Stogov 5823a2d28a Fixed possible size_t overflow 2006-12-25 12:16:33 +00:00
Antony Dovgal 04d4811532 MFH 2006-12-25 11:50:31 +00:00
Antony Dovgal 6e8a7d7b20 fix tests 2006-12-25 11:16:23 +00:00
Ilia Alshanetsky c5db57b495 Fixed buffer boundary protection 2006-12-24 22:15:06 +00:00
Ilia Alshanetsky 4f46c4e90f Added empty string checks 2006-12-24 20:50:02 +00:00
Rob Richards 51bca1b406 BFN 2006-12-24 12:32:56 +00:00
Rob Richards 47fb655a56 fix bug #33734 and related (Something strange with COM Object)
- caused by fix in com_handlers.c rev 1.22.2.5
2006-12-24 12:32:10 +00:00
Rob Richards a03f730875 BFN 2006-12-24 10:02:53 +00:00
Rob Richards b7ec6f90e0 - fix bug #33386 (ScriptControl only sees last function of class): com_wrapper.c
- fix bug #37588 (COM Property propputref converts to PHP function
  and can't be accesed): com_handlers.c
- fix bug #39596 (Creating Variant of type VT_ARRAY): com_variant.c
- add tests
2006-12-24 10:00:59 +00:00
Hannes Magnusson 6077df1a03 Fix typo 2006-12-24 01:29:20 +00:00
Ilia Alshanetsky eaf3d32157 Safety checks 2006-12-23 23:28:39 +00:00
Ilia Alshanetsky 1379ad02e3 Added checks for negative max length and overflow checks for overly long
strings.
2006-12-23 18:50:33 +00:00
Derick Rethans 7180422fdc - Fixed bug #39935 (Extensions tidy,mcrypt,mhash,pdo_sqlite ignores
--with-libdir).
2006-12-23 17:58:47 +00:00
Antony Dovgal 46b25155d2 MFH 2006-12-23 14:02:50 +00:00
Ilia Alshanetsky 72895cda6d Fixed bug #39884 (ReflectionParameter::getClass() throws exception for type
hint self).
2006-12-22 15:37:48 +00:00
Ilia Alshanetsky f40ebf4171 Fixed bug #36392 (wrong number of decimal digits with %e specifier in
sprintf).
2006-12-22 15:29:41 +00:00
Ilia Alshanetsky 7772e33ace Small optimization of the date() function 2006-12-22 15:21:34 +00:00
Antony Dovgal a7faaa1b14 new tests 2006-12-22 13:30:10 +00:00
Antony Dovgal fb18a8e760 more tests 2006-12-22 13:07:53 +00:00
Ilia Alshanetsky fd8f758ecd Fixed bug #39873 (number_format() breaks with locale & decimal points). 2006-12-22 04:03:15 +00:00
Antony Dovgal ed11386c3d MFH 2006-12-21 22:08:26 +00:00
Antony Dovgal b019cd99c6 MFH 2006-12-21 21:49:22 +00:00
Antony Dovgal 8854c3d51a MFH 2006-12-21 21:37:45 +00:00
Antony Dovgal 66d9c24ccc improve tests 2006-12-21 19:23:26 +00:00
Seiji Masugata 133d6bf2ca Fixed bug #39361, #39400 (mbstring function overloading problem). 2006-12-21 17:26:05 +00:00
Dmitry Stogov 5a1767e0d5 Fixed comments 2006-12-21 13:05:27 +00:00
Rob Richards 60941b02dc fix issues identitified by coverity 2006-12-21 12:51:26 +00:00
Antony Dovgal 6546914e68 new tests 2006-12-21 12:41:36 +00:00
Antony Dovgal bed14f8ab7 MFH 2006-12-21 11:08:00 +00:00
Dmitry Stogov 3ffc1c8f4a Default memory_limit value is set to 128M 2006-12-21 09:12:42 +00:00
Dmitry Stogov 91dc80ba9a Removed dependency from SHELL32.DLL 2006-12-21 09:01:10 +00:00
Ilia Alshanetsky 5ead613386 Fix a possible memory leak 2006-12-21 02:09:36 +00:00
Ilia Alshanetsky dba3fe385d Fixed possible memory leak 2006-12-21 01:57:05 +00:00
Antony Dovgal 6aec52bde7 MFH 2006-12-21 01:18:28 +00:00
Ilia Alshanetsky 1783b0e481 Optimize out zend_hash_num_elements() call 2006-12-21 01:16:10 +00:00
Antony Dovgal f807343197 MFH 2006-12-21 01:08:04 +00:00
Antony Dovgal ffa7e957c5 fix possible leaks 2006-12-21 01:00:58 +00:00
Antony Dovgal 41b55d9b78 MFH 2006-12-21 00:47:02 +00:00
Antony Dovgal 0abe62e027 MFH 2006-12-20 23:36:56 +00:00
Antony Dovgal a0e2ccf490 MFH 2006-12-20 23:30:30 +00:00
Antony Dovgal d040ec9b8e MFH 2006-12-20 23:19:56 +00:00
Antony Dovgal bbb923c7a8 MFH 2006-12-20 23:01:31 +00:00
Ilia Alshanetsky 87ffae250c fixed ZTS build 2006-12-20 19:48:12 +00:00
Antony Dovgal 7d2142a56e protect _SESSION, HTTP_SESSION_VARS and GLOBALS
maintain an internal reference of _SESSION, so that it won't be possible to destroy it from userspace
2006-12-20 19:31:28 +00:00
Ilia Alshanetsky ea491dba64 Fixed bug #39898 (FILTER_VALIDATE_URL validates \r\n\t etc). 2006-12-20 19:20:01 +00:00
Antony Dovgal 698ea5f48e MFH 2006-12-20 19:08:48 +00:00
Andrei Zmievski 0d7af28a40 More correct patch for b-prefixes. 2006-12-20 18:22:07 +00:00
Antony Dovgal c348c293c8 MFH: fix #39903 (Notice message when executing __halt_compiler() more than once) 2006-12-20 16:31:10 +00:00
Antony Dovgal ea013f92e9 use Z_* macros 2006-12-20 16:00:11 +00:00
Antony Dovgal 40f6288fa3 MFH 2006-12-20 15:12:38 +00:00
Derick Rethans a9d0abf82c - Fixed the validate email filter so that the letter "v" can also be used in
the user part of the email address. (Derick)
2006-12-20 14:39:01 +00:00
Antony Dovgal 0f2eed24bb MFH 2006-12-20 13:09:02 +00:00
Dmitry Stogov 53b088e60c Make MEMORY_LIMIT and ZEND_USE_MALLOC_MM to be always enabled. They don't make any significant slowdown, but incrise maintainability a lot. Note that the setting of memory_limit wasn't changes (neither in main/main.c nor in php.ini) and it still set to 16M. 2006-12-20 10:49:33 +00:00
Hannes Magnusson 1e19ee8785 - Fixed incorrect function names on FreeBSD where inet_pton() was named
__inet_pton() and inet_ntop() was named __inet_ntop()
- Fixed bug #39685 (iconv() - undefined function)
- Fixed bug #38852 (XML-RPC Breaks iconv)
2006-12-20 10:34:36 +00:00
Nuno Lopes 6a8a2e8b0e new test 2006-12-19 21:46:48 +00:00
Michael Wallner 2beee146b4 MFH: check CRYPTO_get_id_callback() if anyone else already set thread lock callbacks 2006-12-19 21:41:25 +00:00
Antony Dovgal 1ef3ca7bf7 on FreeBSD these locales have different names 2006-12-19 21:39:48 +00:00
Antony Dovgal 949a0934c8 MFH 2006-12-19 20:46:56 +00:00
Andrei Zmievski 16ea2ee640 Support 'b' prefix in front of string literals for forward compatibility
with PHP 6.
2006-12-19 17:26:17 +00:00
Nuno Lopes 078fda3d6e remove NOP code in json_determine_array_type(), as we already know the zval passed is an array (based on patch by Ron Korving) 2006-12-19 15:01:05 +00:00
Antony Dovgal 2c3db736c4 add missing SKIPIF sections 2006-12-19 14:16:23 +00:00
Antony Dovgal 4307af8cdf MFH 2006-12-19 13:27:09 +00:00
Antony Dovgal c34d863d3e MFH 2006-12-19 13:15:39 +00:00
Dmitry Stogov 5d8183f0b2 Support for systems without locale.h 2006-12-19 13:13:29 +00:00
Antony Dovgal d6db0ccc12 fix test on MacOS 2006-12-19 13:08:35 +00:00
Antony Dovgal 0ecaeb89d3 serialize() should use '.' as decimal point irrespectively to locale 2006-12-19 12:36:44 +00:00
Dmitry Stogov c43fc2afc8 Fixed bug #39815 (SOAP double encoding is not locale-independent) 2006-12-19 11:54:38 +00:00
Edin Kadribasic 39a7719f85 Updated list of available extensions in dlls.
Updated oci extension ini settings.
-- christopher.jones at oracle dot com
2006-12-19 10:34:10 +00:00
Edin Kadribasic 7e77d79b3c Enable full build with newer Microsoft compilers 2006-12-19 10:26:01 +00:00
Hannes Magnusson b12e3e1475 Fix tests 2006-12-19 10:03:24 +00:00
Dmitry Stogov 868ac7d3a3 Fixed bug #39869 (safe_read does not initialize errno). (michiel at boland dot org) 2006-12-19 09:17:04 +00:00
Dmitry Stogov 03312cc0d9 Added function stream_socket_shutdown(). It is a wraper for system shutdown() function, that shut downs part of a full-duplex connection 2006-12-19 08:58:58 +00:00
Brian Shire 8a3a61bcd0 BFN 2006-12-19 08:18:47 +00:00
Ilia Alshanetsky d257696604 Fixed bug #39845 (Persistent connections generate a warning in pdo_pgsql). 2006-12-18 17:56:25 +00:00
Ilia Alshanetsky b9531d5b07 Cleanup & optimize php_filter_encode_url() 2006-12-18 15:42:18 +00:00
Ilia Alshanetsky 090e14dfda Less hackish support for spaces at the start of tags within strip_tags() 2006-12-18 15:02:16 +00:00
Ilia Alshanetsky a938d8e386 Fixed bugs with trimming of spaces 2006-12-18 14:56:40 +00:00
Antony Dovgal a726dcaa99 MFH: fix #39850 (SplFileObject throws contradictory/wrong error messages when trying to open "php://wrong") 2006-12-18 14:56:20 +00:00
Dmitry Stogov 6e0b78cd4c Fixed bug #39832 (SOAP Server: parameter not matching the WSDL specified type are set to 0) 2006-12-18 14:39:23 +00:00
Antony Dovgal 908b1e562d MFH: fix possible invalid read (reproducible only on big-endian machines) 2006-12-18 13:16:54 +00:00
Zeev Suraski 9219d7aa57 Whitespace 2006-12-18 12:32:08 +00:00
Dmitry Stogov 1763dc162d Fixed random generation of cookies and canaries 2006-12-18 11:39:19 +00:00
Antony Dovgal 5fc3e649b6 MFH 2006-12-18 11:12:55 +00:00
Antony Dovgal 5e8eecb362 remove the comment, it's not valid anymore 2006-12-18 10:19:52 +00:00
Hannes Magnusson 9ef3575c25 MFH:
- make %f locale aware again
- fix precision loss with %F (noticed by Sebastian Nohn)
- add new tests
2006-12-18 09:26:54 +00:00
Dmitry Stogov cfbd58c987 MFH: __builtin_expect() exists only in GCC 3.0 and higher 2006-12-18 08:59:40 +00:00
Ilia Alshanetsky 7d7248390c Filter fixes:
Fixed possible double encoding problem with sanitizing filters
	Make use of space-strict strip_tags() function
2006-12-18 04:22:05 +00:00
Brian Shire 5bf3df531f Fixed bug #30074
extract with EXTR_REFS was setting EG(unitialized_zval_ptr)->is_ref=1, affecting subsequent usage
  Added test
2006-12-17 20:09:48 +00:00
Ilia Alshanetsky e8bc39d95d Fixed compiler warning 2006-12-17 18:30:36 +00:00
Ilia Alshanetsky 24cc05dc09 Fixed bug #39779 (Enable AUTH PLAIN mechanism in underlaying libc-client). 2006-12-17 18:22:53 +00:00
Hannes Magnusson 93a606a192 Fix build 2006-12-17 03:26:04 +00:00
Ilia Alshanetsky b75d079c89 Fixed bug #39846 (Invalid IPv4 treated as valid). 2006-12-16 21:48:05 +00:00
Andi Gutmans 5e36d7fcfe - I prefer cookie to be the first element. 2006-12-15 17:03:42 +00:00
Dmitry Stogov bf9e3e769c Added internal heap protection
. safe unlinking
  . cookies
  . canary protection (debug build only)
2006-12-15 13:25:26 +00:00
Ilia Alshanetsky 195b102126 back to dev 2006-12-15 01:22:35 +00:00
Ilia Alshanetsky 0ee7c30453 5.2.1RC1 2006-12-15 01:21:36 +00:00
Andrei Zmievski 8f5310afad Support for 'S' format in unserialize() (forward compatibility with PHP
6)
2006-12-15 00:58:08 +00:00
Ilia Alshanetsky eb8bab9f46 Fixed bug #39816 (apxs2filter ignores httpd.conf & .htaccess php config
settings).
2006-12-13 15:45:20 +00:00
Ilia Alshanetsky 563221783a Removed deadcode found by Ron Korving 2006-12-13 15:39:12 +00:00
Ilia Alshanetsky a055e93a27 optimize out strlen() calls
# Patch by Matt Wilmas
2006-12-13 15:31:47 +00:00
Ilia Alshanetsky 1c4806c515 Fixed bug #39201 (Possible crash in Apache 2 with 413 ErrorHandler). 2006-12-13 00:41:33 +00:00
Sara Golemon db87e11e6b MFH: Bugfix# 39435: 'foo' instanceof bar gives invalid opcode error 2006-12-12 23:25:23 +00:00
Antony Dovgal 18edb61440 fix test 2006-12-12 22:33:26 +00:00
Ilia Alshanetsky cbaaf1bc07 Fixed bug #39797 (virtual() does not reset changed INI settings). 2006-12-12 18:05:25 +00:00
Ilia Alshanetsky e034b4a8b0 Removed dummy vars.
# Patch by Matt Wilmas
2006-12-12 15:35:16 +00:00
Antony Dovgal beeb5ddec4 disable tests 2006-12-12 13:22:44 +00:00
Antony Dovgal fd23b700fb fix test 2006-12-12 13:11:36 +00:00
Antony Dovgal 2f5229c9fc MFH: skip BFILE tests if Oracle is not on localhost 2006-12-12 13:00:01 +00:00
Antony Dovgal dc64595467 MFH 2006-12-12 12:11:51 +00:00
Antony Dovgal 24b312f8d5 MFH: missing part of the fix for #39795 2006-12-12 12:06:37 +00:00
Antony Dovgal 53f89fad03 MFH 2006-12-12 10:16:06 +00:00
Antony Dovgal fc0e395678 add new tests 2006-12-12 09:33:33 +00:00
Antony Dovgal f5543e8279 MFH 2006-12-12 09:28:18 +00:00
Hannes Magnusson f4e63cbece Fix test 2006-12-12 09:15:25 +00:00
Hannes Magnusson 14b7a1bdd1 Fix skipif 2006-12-12 08:13:31 +00:00
Hannes Magnusson 0028eccadd Fix tests 2006-12-12 08:09:40 +00:00
Antony Dovgal a74c36a335 MFH: fix #39795 (build fails on AIX because crypt_r() uses different data struct) 2006-12-12 07:38:04 +00:00
Ilia Alshanetsky 2f291233e6 Fixed bug #39782 (setTime() on a DateTime constructed with a Weekday
yields incorrect results).
2006-12-11 21:04:40 +00:00
Ilia Alshanetsky 5218d956f0 Fixed typo 2006-12-11 15:59:41 +00:00
Ilia Alshanetsky 19e4dc5058 Removed bool<>long optimization as it causes issues with strict type checks 2006-12-11 15:34:35 +00:00
Ilia Alshanetsky 7e1973d9fc Minor optimization (2-3%) from Brian Shire 2006-12-11 15:16:07 +00:00
Ilia Alshanetsky d3aa695263 Fixed bug #39787 (PHP doesn't work with Apache 2.3). 2006-12-11 14:54:14 +00:00
Antony Dovgal ab765ca497 MFH 2006-12-11 12:34:09 +00:00
Antony Dovgal 03785ddb5f add new test 2006-12-11 12:32:06 +00:00
Ilia Alshanetsky f5b6604376 Fixed bug #39791 (Crash in strtotime() on overly long relative date
multipliers).
2006-12-11 05:04:36 +00:00
Marcus Boerger 66525a739e - MFH Fix comparison of RecursiveDualIterators 2006-12-10 23:44:49 +00:00
Ilia Alshanetsky e64cb1ae4d Optimize extract()
# Patch by Brian Shire
2006-12-10 19:43:03 +00:00
Pierre Joye 6ccde868be - #39286 entry 2006-12-10 02:56:35 +00:00
Pierre Joye 7ddd4ed1d7 - #39286, misleading error message when nvalid dimensions are given 2006-12-10 02:55:30 +00:00
Pierre Joye 7faf8325e7 - #39508, add test (imagefill crashes with small image) 2006-12-10 01:58:50 +00:00
Pierre Joye 0d444306c9 - #39780 entry 2006-12-10 01:39:09 +00:00
Pierre Joye 9e533e39b6 - MFH:#39780, PNG image with CRC/data error raises fatal error 2006-12-10 01:38:02 +00:00
Edin Kadribasic 99c041ade3 BFN 2006-12-10 01:26:51 +00:00
Edin Kadribasic 42e1c9a1e0 Fixed by #39751 by KevinJohnHoffman at gmail dot com 2006-12-10 01:23:41 +00:00
Hannes Magnusson d9f03aac34 MFH: sys_get_temp_dir() 2006-12-09 18:00:52 +00:00
Ilia Alshanetsky b8590f954d Fixed test 2006-12-09 16:41:24 +00:00
Ilia Alshanetsky 0236a7eaf4 Fixed bug #29840 (is_executable() does not honor safe_mode_exec_dir
setting).
2006-12-09 16:01:29 +00:00
Hannes Magnusson 3d5fec9cb5 MFH: new cookie tests 2006-12-09 15:58:09 +00:00
Ilia Alshanetsky 94e3f478d7 Fixed handling of multiple cookies with the same name.
Added support for cookies into run-tests.php
2006-12-09 14:14:29 +00:00
Ilia Alshanetsky 847741cb08 Strip leading spaces from cookie names, that can come from multi-cookie
headers where ; can be followed by any number of spaces.
2006-12-09 13:01:23 +00:00
Rob Richards e41f103431 BFN 2006-12-09 10:53:45 +00:00
Rob Richards c2c9908f88 fix heap corruption when adding/caching typelib (also fixes bug 39606)
add test
2006-12-09 10:52:09 +00:00
Ilia Alshanetsky d94453a4e5 Fixed tests 2006-12-09 03:17:49 +00:00
Ilia Alshanetsky 352e69d3f0 Fixed test 2006-12-09 03:07:32 +00:00
Antony Dovgal 7df81307c1 MFH 2006-12-08 21:18:43 +00:00
Antony Dovgal f71a310543 MFH: fix possible issue in the serializer, which might currupt struc when reallocating arguments stack 2006-12-08 20:59:31 +00:00
Antony Dovgal f8d4de338b MFH: fix #39732 (oci_bind_array_by_name doesn't work on Solaris 64bit) 2006-12-08 20:56:29 +00:00
Ilia Alshanetsky b7b0f4d988 Fixed bug #39759 (Can't use stored procedures fetching multiple result
sets in pdo_mysql).
2006-12-08 19:50:40 +00:00
Rob Richards 4991dba418 fix tests 2006-12-08 17:55:58 +00:00
Ilia Alshanetsky db7dad0ba0 Fixed bug #39763 (magic quotes are applied twice by ext/filter in
parse_str())
2006-12-08 17:50:04 +00:00
Antony Dovgal cdf5db41a7 -BFN 2006-12-08 17:11:42 +00:00
Antony Dovgal b32bf96363 revert the fix for #39763 2006-12-08 17:04:01 +00:00
Dmitry Stogov 108a2fc64c Fixed bug #39775 ("Indirect modification ..." message is not shown)
The fix breaks two SimpleXML tests those must be fixed
2006-12-08 15:55:31 +00:00
Antony Dovgal 1edf208421 add new tests by <zoe dot slattery at googlemail dot co dot uk> 2006-12-08 14:39:25 +00:00
Dmitry Stogov dd9b5a08f0 Fixed possible failure 2006-12-08 12:47:45 +00:00
Nuno Lopes 802e12674e add tests for old bug reports 2006-12-08 12:13:23 +00:00
Antony Dovgal feba2edba2 initialize variables 2006-12-07 20:45:58 +00:00
Antony Dovgal 6b8526efce MFH: fix #39763 (magic quotes are applied twice by ext/filter) 2006-12-07 11:00:08 +00:00
Ilia Alshanetsky 72ea6912f7 Fixed bug #39754 (Some POSIX extension functions not thread safe). 2006-12-07 01:41:18 +00:00
Rasmus Lerdorf 0110fca856 Typo 2006-12-06 21:20:39 +00:00
Antony Dovgal 60f3797200 MFH 2006-12-06 16:28:36 +00:00
Antony Dovgal da53237f41 MFH: add missing 'F' modified (noticed by Matt) 2006-12-06 14:47:36 +00:00
Rob Richards cf4c83dd2b Fix win32 build 2006-12-06 13:18:36 +00:00
Antony Dovgal b4d0d872e7 MFH 2006-12-06 10:49:27 +00:00
Antony Dovgal 8c8bf92311 news 2006-12-06 09:53:15 +00:00
Antony Dovgal 4d44a5b71d MFH: use BSD licensed implementation of double-to-string utilities instead of LGPL one
this patch also fixes thread safety issues in zend_strtod()
2006-12-06 09:52:51 +00:00
Antony Dovgal a813e112d4 MFH 2006-12-05 23:51:30 +00:00
Ilia Alshanetsky 62cd5a9bae Fixed bug #39724 (Broken build due to spl/filter usage of pcre extension). 2006-12-05 23:37:57 +00:00
Antony Dovgal 9ce985bbae cosmetic improvements 2006-12-05 23:03:19 +00:00
Frank M. Kromann 7fd9e4fce9 Remove PHP4.x stuff 2006-12-05 21:46:23 +00:00
Frank M. Kromann 5dca5450f2 #39429 Update API 2006-12-05 21:02:46 +00:00
Dmitry Stogov 68890ce196 Fixed bug #39721 (Runtime inheritance causes data corruption) 2006-12-05 19:03:51 +00:00
Antony Dovgal 5e7eed6a9a MFH: nuke redundant zval_ptr_dtor() call 2006-12-05 18:42:38 +00:00
Ilia Alshanetsky e5ad7bf299 Fixed bug #36798 (Error parsing named parameters with queries containing
high-ascii chars).
2006-12-05 18:04:59 +00:00
Ilia Alshanetsky 9a1abfbb7d Revert previous patch and it breaks builds with built-in cdb lib 2006-12-05 17:54:52 +00:00
Hannes Magnusson a41e70782b Fix test 2006-12-05 15:55:55 +00:00
Rob Richards e071d48604 BFN 2006-12-05 12:05:43 +00:00
Rob Richards 865f4d75be fix bug #39625 (Apache crashes on importStylesheet call) 2006-12-05 12:04:34 +00:00
Dmitry Stogov 7389f59f4d Fixed FastCGI impersonation for persistent connections on Windows 2006-12-05 08:55:15 +00:00
Dmitry Stogov 8f5786b6e8 Removed unused zend_mm.* 2006-12-05 08:07:57 +00:00
Ilia Alshanetsky 53a1403b53 Fixed bug #39571 (timeout ssl:// connections). 2006-12-05 01:39:07 +00:00
Pierre Joye ae1d0de24b - invalid filter 2006-12-05 01:25:29 +00:00
Pierre Joye 33f9ada038 - MFH: invalid filter id should not return unsafe values 2006-12-05 01:24:18 +00:00
Pierre Joye 145e7e470a - MFH: callback test 2006-12-04 21:33:22 +00:00
Pierre Joye bff08d46f1 - default filter is not string anymore (in comment)
- WS and error msg sync with head
2006-12-04 21:16:01 +00:00
Pierre Joye 5f2562e905 - MFH: init tmp var 2006-12-04 21:07:13 +00:00
Stanislav Malyshev 6b651f8e60 Improve tolower()-related functions on Windows and VC2005 by caching locale and using
tolower_l function.
# Gives 10-18% speedup on bench.php
# Does not change behaviour for non-windows
2006-12-04 18:37:15 +00:00
Ilia Alshanetsky 57a912e828 Fixed tests 2006-12-04 18:29:49 +00:00
Antony Dovgal ebef6661df MFH: fix build with Sun compiler, which doesn't support -O0 2006-12-04 18:28:49 +00:00
Antony Dovgal 44a3cad930 MFH: partly fix #39724
ext/spl has a soft dependcy from ext/pcre (not ext/pcre-regex)
2006-12-04 18:01:53 +00:00
Ilia Alshanetsky 8e907392b3 Fixed test (user is a reserved keyword in pgsql) 2006-12-04 17:55:46 +00:00
Antony Dovgal 459564e2d2 fix tests 2006-12-04 17:48:52 +00:00
Dmitry Stogov f7bc516502 Fixed bug #38274 (Memlimit fatal error sent to "wrong" stderr when using fastcgi) 2006-12-04 16:20:02 +00:00
Antony Dovgal bcf457d828 MFH: fix retval type 2006-12-04 15:58:48 +00:00
Ilia Alshanetsky 35f78f221b Fixed bug #37627 (session save_path check checks the parent directory). 2006-12-04 15:19:26 +00:00
Antony Dovgal dad67b1f65 MFH: look for tests in sapi/cli 2006-12-04 13:07:26 +00:00
Ilia Alshanetsky 7fb3715d43 Fixed bug #38319 (Remove bogus warnings from persistent PDO connections). 2006-12-04 03:07:44 +00:00
Ilia Alshanetsky 44045f8cb1 Fixed bug #38252 (Incorrect PDO error message on invalid default fetch mode). 2006-12-04 02:40:08 +00:00
Ilia Alshanetsky fc21d423fd Added test for previous bug 2006-12-04 00:40:31 +00:00
Ilia Alshanetsky 4356aad0ae Fixed bug #39483 (Problem with handling of \ char in prepared statements). 2006-12-04 00:38:46 +00:00
Ilia Alshanetsky e7c2bd6e40 Default to buffered queries (much faster)
Default to prepared statement emulation to avoid hitting MySQL bugs
2006-12-03 23:29:03 +00:00
Ilia Alshanetsky 44baca5aed Added missing check for mismatching number of tokens & bound params in
prepared statement emulation.
2006-12-03 23:27:44 +00:00
Ilia Alshanetsky b6bdd44962 Added "default" option that allows a default value to be set for an invalid
or missing value.
2006-12-03 21:27:36 +00:00
Ilia Alshanetsky 9666f1deae Config fix from Gentoo 2006-12-03 19:54:55 +00:00
Ilia Alshanetsky 7999c9d251 Fixed bug #39718 (possible crash if assert.callback is set in ini). 2006-12-03 17:13:11 +00:00
Ilia Alshanetsky b71ac5063e Fixed php_readdir_r() usage in scandir emulation 2006-12-03 15:52:17 +00:00
Antony Dovgal 361c8b4fb4 MFH 2006-12-03 14:37:32 +00:00
Antony Dovgal e1a63af85b MFH: fix leaks 2006-12-03 13:59:11 +00:00
Antony Dovgal 065be7056d MFH: fix AIX build 2006-12-03 13:46:37 +00:00
Hannes Magnusson f61b9635ba Fix test on fbsd 2006-12-03 08:04:57 +00:00
Nuno Lopes 0df2a37d1b new tests. increase coverage for more than 90% 2006-12-02 21:39:28 +00:00
Ilia Alshanetsky 916673a345 Fixed bug #39527 (Failure to retrieve results when multiple unbuffered,
prepared statements are used in pdo_mysql).
2006-12-02 17:53:44 +00:00
Frank M. Kromann 66eb5b1dde Fix win32 build 2006-12-01 20:24:58 +00:00
Frank M. Kromann a6b3682dba Fix win32 build 2006-12-01 20:17:50 +00:00
Ilia Alshanetsky f3e577375e Fixed typo 2006-12-01 20:10:35 +00:00
Dmitry Stogov abc5bb5f61 Bug #39438 (Fatal error: Out of memory) 2006-12-01 20:01:50 +00:00
Dmitry Stogov e70d7cfc90 typo 2006-12-01 19:41:57 +00:00
Ilia Alshanetsky b3004fb883 Fixed a possible memory corruption in dbase_open() with invalid open mode 2006-12-01 19:10:50 +00:00
Nuno Lopes e65bdffab5 tests + BFN 2006-12-01 16:37:39 +00:00
Nuno Lopes 8e0cf44164 fix bug #39458: ftp_nlist() returns false on empty dirs 2006-12-01 16:34:43 +00:00
Dmitry Stogov 0742edb396 Fixed bug #39702 (php crashes in the allocator on linux-m68k) 2006-12-01 15:33:06 +00:00
Dmitry Stogov de9574e872 Fixed bug #39640 (Segfault with "Allowed memory size exhausted") 2006-12-01 13:54:29 +00:00
Dmitry Stogov e8e9810dd9 Fixed bug #39652 (Wrong negative results from memeory_get_usage()) 2006-12-01 11:42:20 +00:00
Marcus Boerger 5ea32dc1e4 - MFH: Fix handling of recursive inner iterators 2006-12-01 09:29:15 +00:00
Ilia Alshanetsky 5f3e233ea7 Disallow \0 chars inside session.save_path 2006-12-01 00:27:20 +00:00
Ilia Alshanetsky c42d25dc33 Small hash table optimization 2006-11-30 23:51:24 +00:00
Ilia Alshanetsky b7dc2a51ad Added check for crypt_r() 2006-11-30 17:10:46 +00:00
Ilia Alshanetsky ac9927728a Added missing function checks 2006-11-30 16:48:03 +00:00
Ilia Alshanetsky ca89b6dedd last set of zts fixes 2006-11-30 16:38:37 +00:00
Ilia Alshanetsky c69555b948 Thread safety fixes. 2006-11-30 16:21:24 +00:00
Ilia Alshanetsky 930ac9a5d0 Thread-safety issues 2006-11-30 16:10:38 +00:00
Ilia Alshanetsky 891bd7888f Use reantrant crypt_r() whenever possible. 2006-11-30 15:59:53 +00:00
Ilia Alshanetsky 20b92bf4cc Use thread-safe code 2006-11-30 15:13:19 +00:00
Antony Dovgal 57130c653a fix test 2006-11-30 13:09:32 +00:00
Ilia Alshanetsky 52bd6de7f4 Thread safety fixed for *nix systems 2006-11-30 00:35:15 +00:00
Ilia Alshanetsky 466d9ba00a Fixed bug #39648 (Implementation of PHP functions chown() and chgrp() are
not thread safe).
2006-11-29 23:34:49 +00:00
Antony Dovgal 4cc29fef5c MFH 2006-11-29 22:53:26 +00:00
Derick Rethans ac7e6f5fec - Updated timezone database to version 2006.16. 2006-11-29 20:00:49 +00:00
Ilia Alshanetsky bfa4af46e1 Fixed bug #39663 (Memory leak in pg_get_notify() and a possible memory
corruption on Windows in pgsql and pdo_pgsql extensions).
2006-11-29 15:45:59 +00:00
Antony Dovgal 60bb494607 MFH: fix #39673 (file_get_contents causes bus error on certain offsets) 2006-11-29 11:12:59 +00:00
Rob Richards d5d1801df7 correct fix for bug #39662 to fix leak and tree corruption
fix test
2006-11-29 08:51:36 +00:00
Marcus Boerger ecd417c6ce - MFH: Add new example 2006-11-28 22:20:01 +00:00
Antony Dovgal 0966666256 MFH: resolve coverity issue #224 2006-11-28 21:20:33 +00:00
Antony Dovgal aaf120127e add php_unescape_html_entities() proto to the header
(fixes #39665)
2006-11-28 20:41:07 +00:00
Antony Dovgal d55eb93c94 MFH: fix #39662 (Segfault when calling asXML() of a cloned SimpleXMLElement) 2006-11-28 18:59:53 +00:00
Antony Dovgal bb30875db6 add test 2006-11-28 16:55:05 +00:00
Ilia Alshanetsky 2d4b8e19e2 Fixed bug #39656 (crash when calling fetch() on a PDO statment object
after closeCursor()).
2006-11-28 16:27:53 +00:00
Antony Dovgal 2c6a5df4ac BFN 2006-11-28 11:40:41 +00:00
Antony Dovgal 5a6c11d9f4 MFH: fix #39653 (ext/dba doesn't check for db-4.5 and db-4.4 when db4 support is enabled) 2006-11-28 11:39:19 +00:00
Pierre Joye a70264892b - fix warning
- addEmptyDir returns true on success
- remove useless semi column
2006-11-28 01:31:53 +00:00
Ilia Alshanetsky 34b55f2012 Replace non-threadsafe rand() with php_rand_r() 2006-11-28 00:22:05 +00:00
Antony Dovgal 9503b966ec MFH: fix #39564 (PDO::errorInfo() returns inconsistent information when sqlite3_step() fails) 2006-11-27 12:14:09 +00:00
Antony Dovgal a3c2958f22 MFH: fix test on FreeBSD 2006-11-27 11:43:59 +00:00
Alex Waugh 4e0446b6c9 MFH: Improve robustness of sending routines 2006-11-26 19:51:23 +00:00
Ilia Alshanetsky e6a3431315 Fixed bug #39623 (thread safety fixes on *nix for putenv() & mime_magic). 2006-11-26 17:02:13 +00:00
Ilia Alshanetsky f06eb4bf8b Fixed test, in some versions of c-client returned value is always uppercase 2006-11-26 16:31:43 +00:00
Ilia Alshanetsky 845c07f560 Fixed test 2006-11-26 16:29:42 +00:00
Ilia Alshanetsky 22ff526e99 Added a meta tag to phpinfo() output to prevent search engines from
indexing the page.
2006-11-26 16:26:18 +00:00
Antony Dovgal 93fc85b2af MFH: fix #39621 (str_replace() is not binary safe on strings with equal length) 2006-11-24 21:59:09 +00:00
Nuno Lopes e8384cbcca more tests 2006-11-24 20:18:54 +00:00
Nuno Lopes d64b17543c fix tests after Tony's commit and add a test for the bug he fixed 2006-11-24 15:47:45 +00:00
Antony Dovgal 050e32ed65 fix test 2006-11-24 13:40:43 +00:00
Antony Dovgal 158ad3ee2f add tests for CLI 2006-11-24 13:33:38 +00:00
Antony Dovgal 7f235792b3 MFH: fix #39583 (ftp_put() does not change transfer mode to ASCII) 2006-11-24 12:39:39 +00:00
Antony Dovgal 724f500c92 BFN 2006-11-24 10:30:02 +00:00
Antony Dovgal ffb9e15465 fix #39613 (Possible segfault in imap initialization due to missing module dependency)
patch by wharmby at uk dot ibm dot com
2006-11-24 10:28:51 +00:00
Antony Dovgal 090215cc7f nullify opened_path and filename (when required)
fixes invalid reads with `php-cli -F <script>`
2006-11-23 22:04:54 +00:00
Nuno Lopes 94a810755f add tests for 2 old bugs 2006-11-23 20:47:38 +00:00
Antony Dovgal 7172a53c3a do not set an env variable without a name and a value 2006-11-23 20:06:10 +00:00
Nuno Lopes ba8ba5a909 add two more tests (test bogus parameters and bogus server respsnes) 2006-11-23 17:34:34 +00:00
Ilia Alshanetsky af16066603 Fixed a possible crash 2006-11-23 14:41:35 +00:00
Dmitry Stogov c663787ab4 Fixed bug #39534 (Error in maths to calculate of ZEND_MM_ALIGNED_MIN_HEADER_SIZE). (wharmby at uk dot ibm dot com) 2006-11-23 09:32:39 +00:00
Dmitry Stogov 79c3defac0 Fixed bug #39548 (ZMSG_LOG_SCRIPT_NAME not routed to OutputDebugString() on Windows) 2006-11-23 08:37:21 +00:00
Dmitry Stogov 6a8f267db6 Fixed bug #39602 (Invalid session.save_handler crashes PHP) 2006-11-23 08:07:05 +00:00
Ilia Alshanetsky e8180067b9 Fixed a possible crash in dbase_open() on empty filename. 2006-11-22 17:30:34 +00:00
Pierre Joye efa9b7e20b - MFH: #39538, fgetcsv can't handle starting newlines and trailing odd
number of backslashes (David Soria Parra, Pierre)
2006-11-22 12:59:49 +00:00
Antony Dovgal a7ce772222 fix #39575 (move_uploaded_file() no longer working (safe mode related)) 2006-11-22 11:55:36 +00:00
Michael Wallner a09ef37d30 - fix ENV section handling 2006-11-22 10:45:06 +00:00
Antony Dovgal df1a1c8441 MFH: fix #39576 (array_walk() doesn't separate userdata zval) 2006-11-22 10:42:41 +00:00
Antony Dovgal 090a83b974 ensure that bucket->brigade is NULL in newly created bucket 2006-11-21 20:58:17 +00:00
Antony Dovgal 26ed531c64 add test 2006-11-21 18:17:11 +00:00
Antony Dovgal e412981f7b remove redundant error message
add test by <zoe dot slattery at googlemail dot com>
2006-11-21 17:42:11 +00:00
Ilia Alshanetsky 57eb7c0bad Adjust previous patch to work better 2006-11-21 15:53:23 +00:00
Antony Dovgal 1c6ee3030e add test 2006-11-21 11:11:39 +00:00
Antony Dovgal eb666b725f MFH: fix proto 2006-11-21 10:48:29 +00:00
Antony Dovgal 2f9a9c4248 add new test 2006-11-20 22:17:10 +00:00
Antony Dovgal c220da74ef MFH test 2006-11-20 20:55:51 +00:00
Marcus Boerger d4dc662621 - MFH: Fix arginfo 2006-11-20 20:04:03 +00:00
Marcus Boerger 164929d557 - MFH: Add new test 2006-11-20 19:58:01 +00:00
Ilia Alshanetsky fd8378d7d6 Fixed compiler warnings 2006-11-20 19:04:21 +00:00
Antony Dovgal 2ff721a93f MFH 2006-11-20 16:33:06 +00:00
Antony Dovgal 39ad6abbf8 fix test on Solaris 2006-11-20 16:28:26 +00:00
Antony Dovgal 296e2a3775 MFH 2006-11-20 11:12:42 +00:00
Nuno Lopes bd519ae0d9 new tests. what a crazy idea... 2006-11-19 18:37:28 +00:00
Ilia Alshanetsky 714abb7ea1 pack()/unpack() tests 2006-11-19 18:31:07 +00:00
Ilia Alshanetsky 0d338f463c Fixed bug #38770 (unpack() broken with longs on 64 bit machines). 2006-11-19 18:20:48 +00:00
Dmitry Stogov c06f9e1efe COM initialization/deinitialization are done only if necessary 2006-11-17 11:40:52 +00:00
Nuno Lopes cb4b75f155 remove old file (which was already removed from 4.4 and HEAD trees) 2006-11-16 18:58:02 +00:00
Ilia Alshanetsky c7d84b7451 Fixed compiler warnings 2006-11-16 17:33:39 +00:00
Hannes Magnusson 133bdb42e3 Fix ftruncate() with negative size on FreeBSD 2006-11-16 16:06:51 +00:00
Antony Dovgal cf04587553 fix tests 2006-11-16 13:49:20 +00:00
Antony Dovgal 36d66521c9 add new tests 2006-11-16 13:01:23 +00:00
Hannes Magnusson cf64728899 renamed to oo_getcomment.phpt 2006-11-16 08:52:15 +00:00
Pierre Joye 426dce9ce3 - mv oo_get_comment.phpt oo_getcomment.phpt 2006-11-15 23:53:46 +00:00
Pierre Joye c412409164 - MFH: #39217, serialNumber might be -1 when the value is too big 2006-11-15 23:28:06 +00:00
Antony Dovgal d1acb8d4eb add new tests, improve existing ones 2006-11-15 22:44:29 +00:00
Antony Dovgal eca1911b72 fix leak, add test 2006-11-15 22:10:19 +00:00
Sara Golemon 2eb308ff75 Backport md2, ripemd256, and ripemd320 algos from HEAD 2006-11-15 20:06:09 +00:00
Pierre Joye 892c00bb9f #9278 and #39506, force the binary mode for the zip operation only. At least I do not have to set/restore it in each function. 2006-11-15 19:14:02 +00:00
Ilia Alshanetsky 82fb3e00b8 Fixed bug #37773 (iconv_substr() gives "Unknown error" when string length =
1").
2006-11-15 18:34:57 +00:00
Dmitry Stogov 3f92ab719f typo 2006-11-15 17:53:27 +00:00
Antony Dovgal 9d6f7755b8 fix leak appearing when converting object to NULL
add test
2006-11-15 17:29:08 +00:00
Antony Dovgal 84ff4aaf1a add new tests 2006-11-15 17:27:03 +00:00
Pierre Joye 1d61562efe #39506 and PECL #9278, should fix the problem for the other SAPI (works for CLI, CGI and embed)
see: http://news.php.net/php.internals/26606 for the details
2006-11-15 16:24:24 +00:00
Dmitry Stogov 842b1b5a47 Fixed bug #39445 (Calling debug_backtrace() in the __toString() function produces a crash) 2006-11-15 16:05:11 +00:00
Dmitry Stogov 8619bf8332 Removed unnecessary getenv/putenv calls 2006-11-15 13:33:41 +00:00
Antony Dovgal 70288ef71e fix test on AIX 2006-11-15 12:11:17 +00:00
Antony Dovgal 567aed8316 fix test 2006-11-15 11:27:26 +00:00
Dmitry Stogov 0916ac47c9 Fixed wrong ext/filter behavior. It didn't register FastCGI environment variables and made memory leaks. 2006-11-15 11:13:02 +00:00
Antony Dovgal 60188ad863 fix test 2006-11-15 10:47:26 +00:00
Hannes Magnusson 849a7857ac Fix test (file_put_contents() now uses __toString) 2006-11-15 07:58:02 +00:00
Ilia Alshanetsky fca0e24410 Added missing object support to file_put_contents(). 2006-11-15 00:20:40 +00:00
Antony Dovgal 6640a1c861 one more test 2006-11-14 22:23:45 +00:00
Antony Dovgal 963b1db67f add new tests 2006-11-14 21:59:57 +00:00
Edin Kadribasic a3453eb8d4 Bundled lib upgrade 2006-11-14 19:59:31 +00:00
Edin Kadribasic 77986844c8 Tell linker that we're using stati libcurl 2006-11-14 19:57:13 +00:00
Derick Rethans de50222d1c - MFH: No idea if we actually support 16 bit systems, but this just looked wrong 2006-11-14 14:42:42 +00:00
Dmitry Stogov c1ba4fc989 Fixed VC2005 support 2006-11-14 14:20:26 +00:00
Dmitry Stogov 9b5a57f548 Fixed problem with spaces in libpath 2006-11-14 14:10:53 +00:00
Pierre Joye df56d24304 - #39508, do not use the 4 neighbors implementation for small images (w<4)
test will follow
2006-11-14 13:45:24 +00:00
Dmitry Stogov 5caf547a9f cgi.* and fastcgi.* directives are moved to INI subsystem. The new directive cgi.check_shebang_line can be used to ommiting checnk for "#! /usr/bin/php" line. 2006-11-14 10:31:47 +00:00
Antony Dovgal 89e93a02f3 add .libs to .cvsignore 2006-11-14 09:40:14 +00:00
Dmitry Stogov af74c7c9d2 Added comments 2006-11-14 09:15:55 +00:00
Ilia Alshanetsky b28cbe8b6f Fixed bug #36812 (pg_execute() modifies input array). 2006-11-13 22:10:37 +00:00
Antony Dovgal 923b785fd1 add new test 2006-11-13 21:27:48 +00:00
Antony Dovgal 017f3ae479 don't forget to close the stream when/if flock() fails 2006-11-13 20:31:27 +00:00
Antony Dovgal 34db368fe4 MFH: fix leaks in get_meta_tags() when used with b0rked HTML
add test
2006-11-13 20:18:12 +00:00
Antony Dovgal c301119fdf MFH: improve the fix and the test 2006-11-13 19:32:58 +00:00
Hannes Magnusson 5d92b4281f It's called addEmptyDir(), not createEmptyDir() 2006-11-13 18:30:59 +00:00
Ilia Alshanetsky 941c036297 Fixed bug #36644 (possible crash in variant_date_from_timestamp()). 2006-11-13 15:33:26 +00:00
Dmitry Stogov 682bbf19ef Use symbolic names 2006-11-13 15:13:20 +00:00
Antony Dovgal 69e0c84522 MFH 2006-11-13 15:00:05 +00:00
Antony Dovgal a2a20556d8 new test 2006-11-13 14:51:11 +00:00
Antony Dovgal 60a2df7db2 add a note that libxml2 2.6.2x is required 2006-11-13 12:54:04 +00:00
Antony Dovgal 79e4f5fd22 MFH: fix compile warning 2006-11-13 12:49:28 +00:00
Antony Dovgal b5b8fa4f6b fix test 2006-11-13 12:47:43 +00:00
Dmitry Stogov f00ee72c35 Fixed incorrect heap corruptiuon detection code 2006-11-13 10:28:46 +00:00
Hannes Magnusson a27d73b13d Add missing header installation.. 2006-11-12 19:00:33 +00:00
Ilia Alshanetsky 6e9c7c4aa9 Fixed generated file 2006-11-12 17:55:44 +00:00
Ilia Alshanetsky c32ed59e4e Fixed a memory leak when named & positional params are being used in the
same query.
2006-11-12 17:49:19 +00:00
Hannes Magnusson 3bf35bbc15 MFH: SplFileObject no longer overwrites SplFileInfo::getFilename() 2006-11-12 17:35:09 +00:00
Ilia Alshanetsky d4a64fba74 removed bogus char 2006-11-12 17:23:01 +00:00
Hannes Magnusson 1182b325c2 MFH: SplFileObject::getFilename() no longer overwrites SplFileInfo::getFilename()
(SplFileObject::getFilename() therefor only returns the filename now)
2006-11-12 17:16:13 +00:00
Ilia Alshanetsky e0d385a328 Optimized array functions utilizing php_splice(). 2006-11-12 17:13:22 +00:00
Marcus Boerger d3bda9a516 - MFH: Correct comments 2006-11-12 15:58:17 +00:00
Hannes Magnusson 7b81e554ae MFH: Fixed bug#36975 (natcasesort() causes array_pop() to misbehave) 2006-11-12 01:14:39 +00:00
Nuno Lopes 7d75155e01 fix leak in oo_stream.phpt 2006-11-12 00:41:16 +00:00
Nuno Lopes c0b0d0a81a fix leak in the object destrucotr when zip_close() fails (fixes oo_delete.phpt) 2006-11-12 00:31:03 +00:00
Nuno Lopes 232bb79bed fix leaks within zip entries in several tests 2006-11-11 23:43:00 +00:00
Nuno Lopes b3de830b61 fix leak in oo_setArchiveComment.phpt 2006-11-11 23:35:27 +00:00
Pierre Joye 8cb18e8d64 - fix leak in zip_close when the function's succeeded 2006-11-11 19:06:56 +00:00
Nuno Lopes 94404da606 fix the bug I introduced previously, sorry
anyway, convert the recursive version of the binary search to an iterative one
2006-11-10 23:27:11 +00:00
Antony Dovgal 88e827f3f1 MFH 2006-11-10 23:03:32 +00:00
Antony Dovgal 7563d4f573 fix possible issue with negative values in oci_set_prefetch
(reported by Chris Jones)
2006-11-10 20:13:36 +00:00
Andi Gutmans d98a8aa589 - Fix typo 2006-11-10 18:51:05 +00:00
Nuno Lopes ec46e5e510 mark a few variables and functions as static 2006-11-10 18:05:11 +00:00
Nuno Lopes fe8e53f7a7 mark the binary search delimiters as unsigned, so that the compiler can use a quick shift operation 2006-11-10 17:32:15 +00:00
Dmitry Stogov 3011278aab Fixed wrong realpath() result in case of unexistent path 2006-11-10 17:23:58 +00:00
Hannes Magnusson 16e6b2cf52 Fix tests 2006-11-10 17:04:03 +00:00
Dmitry Stogov c06626d8c6 Fixed wrong realpath() result in case of unexistent path 2006-11-10 16:57:17 +00:00
Antony Dovgal 4106eee7c7 fix segfault in ZTS mode when statements containing sub-statements are destroyed in wrong order 2006-11-10 16:33:41 +00:00
Dmitry Stogov 31bfc6e55b Fixed bug #39454 (Returning a SOAP array segfaults PHP) 2006-11-10 15:05:22 +00:00
Dmitry Stogov ce958eded5 stat() is reimplemented using using GetFileAttributesEx().
The new implementation is faster then implementation in MS VC CRT, but it doesn't support Windows 95.
2006-11-10 15:04:07 +00:00
Dmitry Stogov 40d3abba41 Fixed tests 2006-11-10 14:20:26 +00:00
Dmitry Stogov daed379550 Removed unnecessary ftell() calls (one call for each included PHP file) 2006-11-10 13:18:35 +00:00
Dmitry Stogov f22ae56bc9 Disabled reading from stream (calls to read()) after EOF 2006-11-10 13:10:16 +00:00
Dmitry Stogov f05ed6390c VCWD_REALPATH() is improved to use realpath cache without VIRTUAL_DIR 2006-11-10 12:59:27 +00:00
Derick Rethans 140edac7f9 - Forward port the binary cast, which will do the same as the string cast in
PHP 5.2.
2006-11-10 12:02:51 +00:00
Dmitry Stogov a4a77d3f91 Intialization code is moved from request startup to module startup 2006-11-10 12:02:10 +00:00
Dmitry Stogov 011e0cde62 Start timiout thread on Windows only if necessary 2006-11-10 11:49:35 +00:00
Dmitry Stogov 532b02cd19 Implemented registry cache that prevent registry lookup on each request. In case of modification of corresponding registry-tree PHP will reload it automatic. 2006-11-10 11:42:07 +00:00
Dmitry Stogov 41c81f20e1 opendir() is reimplemented using GetFistFile/GetNextFile those are faster then _findfirst/_findnext 2006-11-10 11:20:48 +00:00
Dmitry Stogov a5f951f27c Removed unnecessary checks for ISREG file and corresponding stat() calls on Windows 2006-11-10 10:55:26 +00:00
Dmitry Stogov ab5268fc84 typo 2006-11-10 10:47:52 +00:00
Dmitry Stogov f1b6587ebb Zend Memory Manager Improvements
. use HeapAlloc() instead of VirtualAlloc()
. use "win32" storage manager (instead of "malloc") on Windows by default
2006-11-10 10:44:40 +00:00
Dmitry Stogov fedc06d290 Fix warnings 2006-11-10 10:38:07 +00:00
Dmitry Stogov bcfc501ca6 Use $(CC) for linking instead of $(LD). This allows usage of advansed optimization techniques (like Intel's inner-procedure optimization) 2006-11-10 10:30:46 +00:00
Dmitry Stogov a930751112 Faster and better licensed implementation 2006-11-10 10:10:38 +00:00
Dmitry Stogov 9fd2b6deb4 Simplify the code base as this getpwd() was used only once 2006-11-10 09:56:16 +00:00
Ilia Alshanetsky 126be8ec7c Added missing API declarations. 2006-11-10 01:28:59 +00:00
Ilia Alshanetsky f06762b361 Fixed pecl bug #9179 (phpversion("filter") shows wrong version). 2006-11-10 01:08:17 +00:00
Ilia Alshanetsky ddae41877f Added missing PHPAPI declaration 2006-11-09 20:01:41 +00:00
Ilia Alshanetsky b3006ed2a5 Fixed bug #38456 (Apache2 segfaults when virtual() is called in .php
ErrorDocument).
2006-11-09 19:10:13 +00:00
Nuno Lopes fb06fa19e3 fix test for non English guys 2006-11-09 16:38:28 +00:00
Nuno Lopes 98dd25e04c fix an invalid read + invalid free() 2006-11-09 16:33:07 +00:00
Nuno Lopes d6802e1022 statification of local functions and variables.
also remove a few uneeded global variables
interesting new warnings:
/cvs/php5/ext/xmlwriter/php_xmlwriter.c:391: warning: 'xmlwriter_objects_clone' defined but not used
/cvs/php5/ext/xmlwriter/php_xmlwriter.c:1281: warning: 'zif_xmlwriter_start_dtd_entity' defined but not used
/cvs/php5/ext/xmlwriter/php_xmlwriter.c:1325: warning: 'zif_xmlwriter_end_dtd_entity' defined but not used
/cvs/php5/ext/xmlwriter/php_xmlwriter.c:1333: warning: 'zif_xmlwriter_write_dtd_entity' defined but not used
2006-11-09 16:04:34 +00:00
Hannes Magnusson 371400ae15 Add "As of 5.2.1" notes as requested 2006-11-09 12:35:12 +00:00
Hannes Magnusson 4989f0d899 New features/errormsgs/return values in ext/zip
New optional parameter in ext/ming
2006-11-09 11:44:13 +00:00
Frank M. Kromann 87b412dc3a Revert patch for warnings about missing headers. These are fixed in the latest version of libming.
Sync code for SWFMovie::streamMP3. This function will now return the number of frames in the file.
2006-11-09 09:19:21 +00:00
Dmitry Stogov 25f01e8ec3 Fixed tests 2006-11-09 08:29:18 +00:00
Ilia Alshanetsky e5f9b479af Fixed bug #38602 (header( "HTTP/1.0 ..." ) does not change proto version). 2006-11-09 00:13:26 +00:00
Antony Dovgal 1f061b3154 fix #39300 (make install fails if wget is not available)
add support of 'fetch'
2006-11-08 19:05:41 +00:00
Dmitry Stogov cc895444b1 HashTable copying optimization (Matt Wilmas) 2006-11-08 16:02:03 +00:00
Dmitry Stogov 41ae8de136 Fixed bug #39297 (Memory corryption because of indirect modification of overloaded array). 2006-11-08 13:38:28 +00:00
Dmitry Stogov a84a2eae6a Fixed bug #39344 (Unnecessary calls to OnModify callback routine for an extension INI directive). (wharmby at uk dot ibm dot com, Dmitry) 2006-11-08 11:04:27 +00:00
Dmitry Stogov 84b9dcb73f Fixed bug #38536 (SOAP returns an array of values instead of an object) 2006-11-08 10:05:19 +00:00
Ilia Alshanetsky d6b3b73490 Fixed tests 2006-11-07 20:24:38 +00:00
Ilia Alshanetsky 6e30ea1e3f BFN 2006-11-07 20:24:04 +00:00
Ilia Alshanetsky cb96148912 Fixed bug #33282 (Re-assignment by reference does not clear the is_ref flag)
# Original patch by Matt Wilmas
2006-11-07 20:23:30 +00:00
Ilia Alshanetsky 887b3484f7 Fixed bug #39398 (Booleans are not automatically translated to integers). 2006-11-07 17:57:17 +00:00
Johannes Schlüter c65a1f10cb - MFH: No C++ comments (fix #39414) 2006-11-07 15:19:11 +00:00
Hannes Magnusson 69dbaaacac MFH: arginfo fixes 2006-11-06 23:20:11 +00:00
Rasmus Lerdorf cdf8494879 It is allow_url_include not allow_fopen_include 2006-11-06 18:21:25 +00:00
Ilia Alshanetsky 07cdfefdee Fixed bug #39350 (crash with implode("\n", array(false))). 2006-11-06 17:21:05 +00:00
Hannes Magnusson 4cb16d8328 include php://input && data: have been disabled (with allow_fopen_include off)
new DateTime(new stdclass) now throws exception
imap_[re]open() has new optional parameter
2006-11-06 16:51:55 +00:00
Ilia Alshanetsky 5cc7f616c9 param parsing fix
# Thanks Hannes
2006-11-06 16:44:03 +00:00
Dmitry Stogov 7b8f30adcb Fixed bug #39121 (Incorrect return array handling in non-wsdl soap client) 2006-11-06 16:36:43 +00:00
Hannes Magnusson c263929002 MFH: throw exception on invalid parameters 2006-11-06 16:11:26 +00:00
Hannes Magnusson c32408e694 MFH: fix segfault & improve test 2006-11-06 15:21:45 +00:00
Dmitry Stogov 82f89748a4 Windows doesn't have chown(). Remove unused function and reference to undeclared macro VCWD_CHOWN(). 2006-11-06 14:54:52 +00:00
Dmitry Stogov 95fbb9514e MFH: Fixed decoding list of arrays (related to bug #39121) 2006-11-06 13:22:49 +00:00
Rasmus Lerdorf cea64d52fa data: and php:stdin/input allow_url_include checks 2006-11-05 20:08:58 +00:00
Ilia Alshanetsky 86a6812dbb Fixed bug #39362 (Added an option to imap_open/imap_reopen to control the
number of connection retries).
2006-11-05 18:31:41 +00:00
Pierre Joye 00f0e92dee - gdpng entry 2006-11-05 15:08:50 +00:00
Pierre Joye 5784602544 - Merge from gd-cvs, initialize the signature not the infile ctx
NB: good that we don't use getC :)
2006-11-05 15:04:50 +00:00
Marcus Boerger 79946dc8a0 - MFH: Make parameter parsing api check happy 2006-11-04 20:46:32 +00:00
Rasmus Lerdorf c8778c73c3 Mark memory streams as is_url 2006-11-04 20:43:28 +00:00
Marcus Boerger 15592390c5 - MFH Store length of autoload file exts 2006-11-04 20:27:28 +00:00
Frank M. Kromann 9df320c423 Fix win32 build 2006-11-04 17:25:14 +00:00
Pierre Joye 4e257c03a1 - WS 2006-11-04 14:34:33 +00:00
Pierre Joye 29242cfab9 - MFH: optimize horizontal and vertical lines 2006-11-04 14:27:07 +00:00
Hannes Magnusson 7b15d02b99 Fix build 2006-11-04 13:03:56 +00:00
Pierre Joye d05ef39c74 - MFH #39366, imagerotate does not use alpha with angles>45 2006-11-04 03:15:31 +00:00
Pierre Joye 59841dd25c - #39273 entry 2006-11-04 02:24:53 +00:00
Pierre Joye 541f9940ac - #39273, imagecopyresized and alpha channel 2006-11-04 02:21:06 +00:00
Pierre Joye b867123e30 - News entry for zip MFH 2006-11-04 00:09:04 +00:00
Ilia Alshanetsky 6f0a9d6f76 wrong bug # 2006-11-03 20:38:21 +00:00
Ilia Alshanetsky 6516d8e1d6 Fixed bug #39358 (INSTALL_HEADERS contains incorrect reference to
php_filter.h)
2006-11-03 20:08:38 +00:00
Ilia Alshanetsky 4f3889d5bf Fixed bug #39361 (Removed warning on empty haystack inside mb_strstr()). 2006-11-03 19:55:51 +00:00
Marcus Boerger f7948f7fef - BFN 2006-11-03 19:04:19 +00:00
Marcus Boerger 17b675132b - Fix version 2006-11-03 19:03:25 +00:00
Marcus Boerger da8b00a5e4 - MFH: Fixed bug #39320 2006-11-03 19:02:16 +00:00
Marcus Boerger 978dd0fdd9 - MFH: Fix issue with some mangeled properties 2006-11-03 19:01:40 +00:00
Marcus Boerger 2820e9cf1e - MFH: Fixed bug #38698 2006-11-03 19:00:46 +00:00
Marcus Boerger 76ba475d76 - MFH: Synch 2006-11-03 18:58:41 +00:00
Marcus Boerger 76b73a6ff2 - MFH: Include new headers only if present 2006-11-03 18:57:50 +00:00
Hannes Magnusson 49c109693a Add "comment" to make tracking the commit down easier 2006-11-03 18:07:53 +00:00
Pierre Joye 8ad0c6d543 - MFH:
- fix possible leak in statName and statIndex
 - add addEmptyDir() method
 - add zip_stat_init,zip_clear_error and zip_file_clear_error
 - add tests
 - Fix protos (Hannes)
 - setComment return value on success (Hannes)
2006-11-03 16:46:19 +00:00
Pierre Joye c002606a88 - fix build (var.s is for zstr) 2006-11-03 16:40:52 +00:00
Hannes Magnusson b11b08e987 MFH: fix parameter parsing in getrusage() 2006-11-03 15:48:39 +00:00
Hannes Magnusson 4deb09e72e Generated file 2006-11-03 15:41:09 +00:00
Hannes Magnusson 5006fb2ceb MFH: Fix double "wrong param count" messages 2006-11-03 15:13:17 +00:00
Hannes Magnusson 91c604d584 MFH: Add "wrong param" warning to strtotime() 2006-11-03 15:06:51 +00:00
Ilia Alshanetsky 0c7e63a07e Fixed bug #39354 (Allow building of curl extension against libcurl 7.16.0) 2006-11-03 14:53:14 +00:00
Hannes Magnusson ace3f94d20 MFH: Fix test 2006-11-03 14:51:02 +00:00
Hannes Magnusson 050f94f746 MFH: Fix double "wron param count" messages 2006-11-03 14:46:48 +00:00
Hannes Magnusson 11c47dc510 MFH: oneliners.. 2006-11-03 14:38:45 +00:00
Hannes Magnusson 07a16d19e0 MFH: use PHP_ME_MAPPING rather than ZEND_NAMED_FE/ZEND_FN 2006-11-03 14:36:11 +00:00
Hannes Magnusson 4f4e724b1b MFH: Remove SKIPIF 2006-11-03 14:17:40 +00:00
Hannes Magnusson bece30aee5 MFH: fix crash on invalid regex 2006-11-03 14:11:23 +00:00
Hannes Magnusson 9445a302ae MFH: missing includes 2006-11-03 14:06:59 +00:00
Ilia Alshanetsky 7ce23de84c Filter extension news 2006-11-03 13:54:49 +00:00
Ilia Alshanetsky 683f81f195 MFH: Fixed a possible crash when callback function returns a non-modified
value
2006-11-03 13:53:24 +00:00
Ilia Alshanetsky 6123f11021 MFH:
Added filter support for $_SERVER in cgi/apache2 sapis
	Make sure PHP_SELF is filtered in Apache 1 sapi
2006-11-03 13:51:48 +00:00
Ilia Alshanetsky bd2ab7bc15 Fixed bug #39215 (Inappropriate close of stdin/stdout/stderr). 2006-11-03 13:34:19 +00:00
Ilia Alshanetsky 3f71251ffa MFH: Fixed bug #39265 (Fixed path handling inside mod_files.sh). 2006-11-03 13:19:07 +00:00
Ilia Alshanetsky 57f295d3a6 Fixed bug #38680 (Added missing handling of basic types in json_decode).
# already in HEAD
2006-11-03 13:16:33 +00:00
Derick Rethans 7b48ca584c - Fixed API in doc. 2006-11-03 07:27:52 +00:00
Rui Hirokawa 501025306c fixed illegal encoding detection when mbstring.encoding_translation is enabled.(made by komura) 2006-11-03 02:26:50 +00:00
Rui Hirokawa 96d597b6a4 added japanese legacy encoding support (made by moriyama@miraclelinux.com) 2006-11-03 01:11:35 +00:00
Ilia Alshanetsky 3a533934c7 Added missing boundary checks. 2006-11-01 01:55:11 +00:00
Ilia Alshanetsky bc32d6b5cd Cleanup of 5.2 update file from Steph 2006-10-31 17:24:51 +00:00
Ilia Alshanetsky 8045c6bff8 Back to dev 2006-10-30 23:08:30 +00:00
Ilia Alshanetsky d584c0a6f4 Fixed year 2006-10-30 23:07:28 +00:00
Ilia Alshanetsky b48fa87e8b 5.2.0 2006-10-30 23:06:22 +00:00
Ilia Alshanetsky 13342afe94 Prep news file for 5.2 2006-10-30 22:28:36 +00:00
Rasmus Lerdorf 228bb9e7ff Pierre requested an update to this. I don't think it makes sense to
remove what little API docs we have here, and the simple example in this
doc is a lot easier to follow than ext/filter.
2006-10-30 17:11:02 +00:00
Dmitry Stogov 7ff822ee49 Fixed bug #39304 (Segmentation fault with list unpacking of string offset) 2006-10-30 11:05:00 +00:00
Uwe Schindler 94b24ef2dd update news 2006-10-27 09:02:54 +00:00
Uwe Schindler 3cfbbc0635 MFH: update readme 2006-10-27 07:29:51 +00:00
Uwe Schindler 841bac014a Fix build in Sun Webserver 7 (should be in 5.2.0, it's not critical but does not break mainstream sapis!!!) 2006-10-27 07:23:44 +00:00
Hannes Magnusson a2f8b5f2ee More curl constants 2006-10-25 12:58:46 +00:00
Hannes Magnusson 2d64114764 Add a note reffering to the "new feature" section (lukas) 2006-10-25 12:40:23 +00:00
Hannes Magnusson 1d0ebcd2cf New extensions
- json
	- filter
	- zip
New classes
	- DateTime
	- DateTimeZone
New functions
	- image_type_to_extension
	- gmp_nextprime
	- xmlwriter_full_end_element
	- xmlwriter_write_raw
	- timezone_identifiers_list
Added error message (objects without casting handler) caught by rasmus
2006-10-25 12:19:13 +00:00
Hannes Magnusson 5bb0ac0d2a Silly me. those PDO constants are class constants
#thanks ilia \o/
2006-10-24 21:51:15 +00:00
Hannes Magnusson a9cb3dd17f New constants 2006-10-24 21:43:51 +00:00
Hannes Magnusson a7c925d6e1 New INI entrys
php-cli searching php.ini "bc break"
2006-10-24 21:32:29 +00:00
Hannes Magnusson b5aa4dffbe session_set_cookie_params new param 2006-10-24 21:16:24 +00:00
Hannes Magnusson faac1bbe15 mention php_errormsg bc break.. 2006-10-24 21:08:53 +00:00
Hannes Magnusson 57e2fc546e Add sections: backwards incompatible error messages & new functions/methods/classes/constants/optional parameters 2006-10-24 20:54:07 +00:00
Dmitry Stogov 4629cc0bf6 Revert patch because we are at last RC stage. 2006-10-24 05:20:50 +00:00
Dmitry Stogov fc22c9dd50 Fixed decoding of list of arrays in non-WSDL mode. (releated to bug #39121) 2006-10-23 06:46:38 +00:00
Antony Dovgal 5af7f12eb8 fix ZTS build without SPL enabled 2006-10-20 21:28:31 +00:00
Hannes Magnusson f8e4467725 Fix test 2006-10-20 14:42:37 +00:00
Ilia Alshanetsky 2ca717905e Back to dev 2006-10-20 13:15:35 +00:00
Ilia Alshanetsky 3b1e299264 Make use of abstract methods be E_STRICT rather then E_ERROR 2006-10-20 02:44:26 +00:00
Sara Golemon 3042386549 MFH(r-1.114) Can't use real arrays held by ArrayObjects in write context 2006-10-20 02:11:19 +00:00
Ilia Alshanetsky f85d9885d3 5.2.0RC6 2006-10-20 01:51:07 +00:00
Antony Dovgal 0cf7b1012f add new test by Pierre 2006-10-19 12:07:07 +00:00
Dmitry Stogov 770b29803c Fixed mkdir("/tmp/foo//bar/log", 0777, true) 2006-10-19 09:49:44 +00:00
Ilia Alshanetsky 76f23d4dcf Fixed bug #38400 (Use of com.typelib_file may cause a crash). 2006-10-18 23:47:33 +00:00
Antony Dovgal c79ba67673 MFH: fix bug #38882 (ldap_connect causes segfault with newer versions of OpenLDAP) 2006-10-18 20:58:23 +00:00
Johannes Schlüter 2193a77eed - Here, too 2006-10-18 17:17:18 +00:00
Johannes Schlüter 6841110122 - MFH: added missing return... 2006-10-18 17:04:49 +00:00
Johannes Schlüter dcf249004c - MFH: Fix #38465 (ReflectionParameter fails if default value is an access to self:: 2006-10-18 16:35:15 +00:00
Hannes Magnusson b99ba323d5 MFH: fix arginfo 2006-10-18 16:04:37 +00:00
Antony Dovgal 91a1333c21 MFH: fix PECL bug #9061 (oci8 might reuse wrong persistent connection) 2006-10-18 14:23:23 +00:00
Antony Dovgal 16877a5ad8 fix test 2006-10-17 22:05:16 +00:00
Derick Rethans 1fa009d1ca - Updated timezone database. 2006-10-17 17:08:03 +00:00
Ilia Alshanetsky c5d68cd1df Unify handling of return values on validation failure and var not found 2006-10-17 15:26:14 +00:00
Antony Dovgal 0ebfbfe791 MFH: initialize optional vars 2006-10-16 19:27:57 +00:00
Ilia Alshanetsky 2245901f6f Fixed compiler warnings 2006-10-16 15:39:39 +00:00
Dmitry Stogov 31acd1c26e Fixed bug #39140 (Uncaught exception may cause crash) 2006-10-16 11:13:08 +00:00
Dmitry Stogov bf95b64376 Fixed bug #39020 (PHP in FastCGI server mode crashes) 2006-10-16 10:46:59 +00:00
Antony Dovgal 268984b478 fix compile warning 2006-10-15 21:09:27 +00:00
Hannes Magnusson b3a914aca8 Fix test (bug#39097) 2006-10-15 13:43:45 +00:00
Hannes Magnusson 8104df0547 Remove bogus ini entry 2006-10-14 15:06:11 +00:00
Antony Dovgal 3bd0f950da fix win32 build 2006-10-13 14:26:34 +00:00
Hannes Magnusson 942b11a581 fix test 2006-10-13 09:59:21 +00:00
Hannes Magnusson e4bdd6fcba Added missing API function declaration. 2006-10-13 09:34:34 +00:00
Ilia Alshanetsky bc59416ff2 Fixed bug #38934 (move_uploaded_file() cannot read uploaded file outside of
open_basedir).
2006-10-13 01:42:20 +00:00
Ilia Alshanetsky 8bd16e2b58 Improve open_basedir checks 2006-10-13 01:11:30 +00:00
Brian France 33879eceb3 Memory assigned to the request_rec should be allocated from apache pools
and should not be free'ed at the end of the handler phase
2006-10-12 20:02:58 +00:00
Antony Dovgal d087c87ffe MFH: use connection charset when reading LOB data 2006-10-12 10:04:12 +00:00
Dmitry Stogov e6fd66facb Make zend_memory_peak_usage() to be avalable even without --enable-memory-limit 2006-10-12 06:46:51 +00:00
Ilia Alshanetsky 8b8eb2cf88 Fixed potential use of un-initialized var (detected by Coverity) 2006-10-12 01:05:09 +00:00
Antony Dovgal 24b2efa342 fix test 2006-10-11 23:45:31 +00:00
Sara Golemon 3efc863435 BFN 2006-10-11 23:36:32 +00:00
Sara Golemon adf31588d2 MFH(r-1.96) Bugfix#38649 Optional param not initialized 2006-10-11 23:22:45 +00:00
Sara Golemon d8fc0ccfe1 MFH(r-1.38) Bugfix 38648: Don't assume all buckets are part of a brigade 2006-10-11 23:11:26 +00:00
Pierre Joye 3d3395df3a - imagecreatefrompng(emptyfile) fix entry 2006-10-11 18:27:42 +00:00
Antony Dovgal 630024d895 MFH 2006-10-11 16:11:56 +00:00
Antony Dovgal aeec5b4b68 MFH: fix #39125 (Memleak when reflecting non-existing class/method) 2006-10-11 15:52:56 +00:00
Antony Dovgal e20650616e add test 2006-10-11 14:57:52 +00:00
Ilia Alshanetsky 9809628544 s/false/null/ 2006-10-11 14:55:57 +00:00
Derick Rethans 0a3b663a1b - MFH: Change validating filters to return "null" on failure so that they can be
distinguised from the value "false" which might be valid as well.
2006-10-11 14:49:13 +00:00
Antony Dovgal 14b168fcab MFH: check filter and class names for empty strings 2006-10-11 14:46:40 +00:00
Ilia Alshanetsky a39201675f Catch empty strings right away. 2006-10-11 14:19:55 +00:00
Antony Dovgal 9b7ba01618 MFH: avoid reading str[-1], add warning when invalid format specified
add test
2006-10-11 13:15:30 +00:00
Antony Dovgal 1cc0339d40 MFH: fix crash when parsing invalid hostnames/IPs 2006-10-11 12:53:56 +00:00
Antony Dovgal 2f467baf94 MFH 2006-10-11 11:53:02 +00:00
Antony Dovgal a81eae5d01 MFH: fix segfault/leak, add test 2006-10-11 11:09:42 +00:00
Edin Kadribasic 9f5de3bb5c Sync with Unix build 2006-10-11 11:00:03 +00:00
Wez Furlong 88f9dc9639 BFN 2006-10-11 03:23:51 +00:00
Wez Furlong 20949c497b BFN 2006-10-11 03:09:55 +00:00
Wez Furlong 3028f7465d Fix for PECL #7755; use the displayable column width as the basis for our
buffer size, as the raw column size can be too small when requesting
a string representation.

Also fix up bogus error output when fetching, and another one of the test
cases to make it run against SQL Server 2005.
2006-10-11 03:07:29 +00:00
Wez Furlong 897b9ffca5 BFN 2006-10-11 02:14:09 +00:00
Wez Furlong 391ed04adb Fix for PECL bug #8944. Could also be the same problem as pecl #7775. 2006-10-11 02:10:56 +00:00
Pierre Joye ea2d32381d - don't check signature if the file is empty (valgrind reports with test
001), thx Tony for the head up
2006-10-11 00:19:12 +00:00
Ilia Alshanetsky 03641dcea4 Fixed bug #39034 (curl_exec() with return transfer returns TRUE on empty
files).
2006-10-10 23:12:59 +00:00
Antony Dovgal 7b58554f82 MFH: access mode for dbase_open() cannot be < 0 2006-10-10 23:01:23 +00:00
Antony Dovgal 5866ef42e6 add new test 2006-10-10 22:37:43 +00:00
Antony Dovgal cb90d3ce76 MFH: fix leak and typos in error messages 2006-10-10 22:22:43 +00:00
Antony Dovgal 11235cff7b missing variable initialization 2006-10-10 22:03:27 +00:00
Ilia Alshanetsky df5c300303 Fixed bug #38198 (possible crash when COM reports an exception). 2006-10-10 17:32:50 +00:00
Antony Dovgal b4974d5e68 MFH: fix #39112 (typo in error message) 2006-10-10 12:44:02 +00:00
Ilia Alshanetsky 3890ca3fcb Improve parameter parsing 2006-10-09 19:48:13 +00:00
Ilia Alshanetsky 7b77d536c3 Fixed bug #37262 (var_export() does not escape \0 character). 2006-10-09 18:08:34 +00:00
Ilia Alshanetsky 527c5a6126 Proper name for credits 2006-10-09 16:20:46 +00:00
Hannes Magnusson e94670d4d6 MFH tests 2006-10-09 16:02:34 +00:00
Antony Dovgal 20fc2d4274 improve SKIPIF condition 2006-10-09 13:20:46 +00:00
Antony Dovgal 7b2a5bf0c6 BFN 2006-10-09 09:37:10 +00:00
Antony Dovgal 3a48a290a0 MFH: fix PECL bug #8816 (issue in php_oci_statement_fetch with more than one piecewise column)
patch by jeff at badtz-maru dot com
2006-10-09 09:34:55 +00:00
Pierre Joye fa8f1151aa - fix possible segfault (see test 004) always exists and returns NULL on
error
2006-10-09 00:04:11 +00:00
Ilia Alshanetsky f850285c40 Added missing configuration checks 2006-10-08 22:38:48 +00:00
Pierre Joye 895aa7d7f7 - #39082, image* segfaults when used with only one argument
(introduced in 5.2+, no news entry)
2006-10-08 17:36:10 +00:00
Ilia Alshanetsky 98b16064b4 Added missing safety checks (Problem identified by Coverity scan) 2006-10-07 19:59:19 +00:00
Ilia Alshanetsky 12f7021e12 Added missing safety checks (Problem identified by Coverity scan) 2006-10-07 19:40:58 +00:00
Sara Golemon 34ed116e90 MFH(r-1.356) Don't assume the array elements are arrays too 2006-10-07 16:40:39 +00:00
Antony Dovgal e43519e914 BFN 2006-10-07 09:34:12 +00:00
Ilia Alshanetsky b43e18a70e Make quote() in PostgreSQL use PQescapeByteaConn() whenever possible for
binary strings.
2006-10-06 22:34:16 +00:00
Ilia Alshanetsky fab29dcbcf Make pg_escape_bytea() use PQescapeByteaConn() whenever possible. 2006-10-06 21:45:10 +00:00
Ilia Alshanetsky 7f75be9fb9 back to dev 2006-10-06 21:36:07 +00:00
Ilia Alshanetsky b1d8f7e09d Expose session storage module locater and serialization function via PHPAPI 2006-10-06 21:11:36 +00:00
Ilia Alshanetsky f815a4ef10 modulo 0 news entry 2006-10-06 21:03:35 +00:00
Antony Dovgal 3a4603b4b0 more improvements 2006-10-06 18:03:19 +00:00
Antony Dovgal d917bf084c MFH: fix #39067 (getDeclaringClass() and private properties) 2006-10-06 17:35:32 +00:00
Sara Golemon eed736d010 MFH(r-1.376): Preserve EG(return_value_ptr_ptr) when calling zend_execute_scripts()
Reapplying this since it looks like we'll be doing a PHP 5.2 RC6 after all
2006-10-06 16:50:21 +00:00
Antony Dovgal 24195cf941 re-add the test 2006-10-06 14:50:46 +00:00
Antony Dovgal 58b858287b MFH: fix #39060 (virtual_file_ex() is broken on *BSD) 2006-10-06 14:03:19 +00:00
Edin Kadribasic 2f738dd440 BFN 2006-10-06 12:53:15 +00:00
Edin Kadribasic 480e788d95 Fix for #38985 (Wez) 2006-10-06 12:23:30 +00:00
Sebastian Bergmann f74b1ec9b0 Fix ZTS build. 2006-10-06 03:48:00 +00:00
Sara Golemon fd9b7f672b Revert until 5.2's release since we're in RC stage 2006-10-06 00:02:56 +00:00
Sara Golemon 67fac322af MFH(r-1.376): Preserve EG(return_value_ptr_ptr) when calling zend_execute_scripts() 2006-10-05 23:32:52 +00:00
Antony Dovgal b37dd23c35 <tony2001> ilia: are you serious?
<ilia> tony2001: yes
2006-10-05 20:28:15 +00:00
Antony Dovgal e2999137a7 add test 2006-10-05 19:49:43 +00:00
Ilia Alshanetsky 9ebb3f127e 5.2.0RC5 2006-10-05 19:49:03 +00:00
Andrei Zmievski e779c3aa36 Increment replace count value for case-sensitive single char searches. 2006-10-05 18:23:19 +00:00
Hannes Magnusson 93909bb30e - nuke unused variable
- "prefer" two arguments
- only print "wrong parameter count" once
2006-10-05 16:02:29 +00:00
Antony Dovgal a5d86612e3 MFH: decrement ch->uses (or destroy handle) when destroying multi handle 2006-10-05 15:06:40 +00:00
Antony Dovgal 864f182def fix build with new version of c-client 2006-10-05 14:25:41 +00:00
Dmitry Stogov 58eeb00bb3 CRLF->CR 2006-10-05 12:09:58 +00:00
Edin Kadribasic e09a5c2972 Library updates 2006-10-05 11:17:56 +00:00
Edin Kadribasic a290cef01c Added PQescapeStringConn support to windows too 2006-10-05 11:13:31 +00:00
Dmitry Stogov ff3dfa94dd Allow future extensibility without binary compatibility break 2006-10-05 08:08:57 +00:00
Dmitry Stogov cb1f58e39d Fixed bug #38989 (Absolute path with slash at beginning doesn't work on win) 2006-10-05 08:03:11 +00:00
Ilia Alshanetsky 0d9f9b67b7 Fixed bug #39039 (SSL: fatal protocol error when fetching HTTPS from
servers running Google web server).
2006-10-05 00:38:02 +00:00
Ilia Alshanetsky 40765184be Added support for character sets in PDO quote() method for PostgreSQL
8.1.4 and higher.
2006-10-04 23:53:36 +00:00
Ilia Alshanetsky e8c70bfa99 Added support for character sets in pg_escape_string() for PostgreSQL
8.1.4 and higher.
2006-10-04 23:27:03 +00:00
Ilia Alshanetsky 9230cf3da6 Fixed missing open_basedir check inside chdir() function. 2006-10-04 23:19:25 +00:00
Antony Dovgal dc22b7d4a5 add test 2006-10-04 13:35:51 +00:00
Antony Dovgal 5cdb9128ae MFH 2006-10-04 13:30:53 +00:00
Antony Dovgal bb5986b8a3 MFH 2006-10-04 13:24:19 +00:00
Antony Dovgal 8d2406f448 add missing ifdef 2006-10-04 13:02:36 +00:00
Edin Kadribasic 38772455a4 Update credits 2006-10-04 12:51:33 +00:00
Rob Richards bbf89ba3a8 BFN 2006-10-04 12:04:32 +00:00
Rob Richards 7a2a383a9f fix bug #39035 (Compatibilty issue between DOM and ze1_compatibility_mode 2006-10-04 12:02:49 +00:00
Pierre Joye 201d790899 - used only in HEAD 2006-10-04 12:02:46 +00:00
Pierre Joye 7883814424 - wrong definition 2006-10-04 11:48:04 +00:00
Antony Dovgal f0bb2a0c9b fix typo 2006-10-04 11:20:14 +00:00
Antony Dovgal d8648eae57 MFH: fix #39032 (strcspn() stops on null character) 2006-10-04 11:14:32 +00:00
Pierre Joye f72c1a1224 - more tests for the last commits 2006-10-03 23:32:33 +00:00
Ilia Alshanetsky c67068b52b Shoehorn myself into the credits. 2006-10-03 22:18:08 +00:00
Ilia Alshanetsky 557838efa4 Last set of zend_hash_init() optimizations 2006-10-03 19:51:01 +00:00
Antony Dovgal 8e1c9371bb MFH: throw a warning when doing modulus by 0 (fr #39027) 2006-10-03 17:54:51 +00:00
Ilia Alshanetsky 8581c7328f optimize zend_hash_init() with known hash table sizes. 2006-10-03 17:41:47 +00:00
Hannes Magnusson 59fabbb464 MFH: compact() doesnt throw "wrong param count" 2006-10-03 16:37:51 +00:00
Ilia Alshanetsky f876d0bf2a Fixed handling of FILTER_FORCE_ARRAY 2006-10-03 15:34:50 +00:00
Hannes Magnusson 9bff1e24b5 pg_send_prepare(), pg_send_query_params() & pg_send_execute() do not throw "Wrong parameter count" 2006-10-03 15:21:47 +00:00
Pierre Joye a7ccaa5ec7 - vi folding, ws 2006-10-03 11:42:23 +00:00
Dmitry Stogov c1ad451c3e Speedup array/HashTable copying. (Matt W) 2006-10-03 11:10:33 +00:00
Dmitry Stogov 7c78500d96 Fixed bug #38942 (Double old-style-ctor inheritance) 2006-10-03 09:59:07 +00:00
Dmitry Stogov 9875fe44e2 Fixed bug #39017 (foreach(($obj = new myClass) as $v); echo $obj; segfaults) 2006-10-03 09:05:14 +00:00
Antony Dovgal 6212757595 fix test 2006-10-03 08:44:01 +00:00
Dmitry Stogov 9dcdfd993f Fixed memory leak (Nuno) 2006-10-03 07:30:46 +00:00
Dmitry Stogov 99356595df Fixed possible crash with default namespaces 2006-10-03 07:00:35 +00:00
Michael Wallner e7b80e8368 - fix (ZTS) build 2006-10-03 05:57:52 +00:00
Ilia Alshanetsky 80cecdb41f Refactor the filter extension
- Cleanup API
	- Added handling for circular references
	- Renamed functions.

# Original patch by Pierre
2006-10-03 02:16:53 +00:00
Antony Dovgal 588c45ea8d MFH: fix #38996 (PDO_MYSQL doesn't check connections for liveness) 2006-10-02 22:09:49 +00:00
Antony Dovgal b8fc77bd13 MFH: the last part of the fix for #39004 2006-10-02 20:49:23 +00:00
Andrei Zmievski 5c96544b7d Use php_error_docref() instead. 2006-10-02 20:07:14 +00:00
Andrei Zmievski 007c6ff8d9 More offset fixes. Added E_NOTICE where appropriate. 2006-10-02 19:58:15 +00:00
Andrei Zmievski c36d94aac2 Fix invalid memory access in strrpos(). 2006-10-02 19:42:42 +00:00
Antony Dovgal 9c1b3c6d88 fix the fix for #39004 2006-10-02 19:17:53 +00:00
Ilia Alshanetsky cb312d43bf Fixed bug #39004 (Fixed generation of config.nice with autoconf 2.60). 2006-10-02 15:34:38 +00:00
Antony Dovgal 9d0f642689 fix tests 2006-10-02 14:31:04 +00:00
Hannes Magnusson 8acdfd223f Rename utils.php to utils.inc 2006-10-02 14:17:47 +00:00
Antony Dovgal c356ad3b65 MFH: #39001 (ReflectionProperty returns incorrect declaring class for protected properties) 2006-10-02 12:16:35 +00:00
Antony Dovgal 2b1b2db8ec MFH: fix #39003 (__autoload() is called for type hinting) 2006-10-02 11:09:52 +00:00
Hannes Magnusson b806546e95 Fix test
#failes atm...
2006-10-02 08:36:35 +00:00
Hannes Magnusson 2e56aa6dfd Initial commit.. 2006-10-02 07:59:45 +00:00
Hannes Magnusson 39219cf7fe protos 2006-10-02 07:58:13 +00:00
Hannes Magnusson 3611a3de4a Fix protos 2006-10-02 07:44:34 +00:00
Hannes Magnusson 6a4dca06e6 Fix proto 2006-10-02 07:36:18 +00:00
Ilia Alshanetsky 154f70acf1 Fixed bug #38993 (Fixed safe_mode/open_basedir checks for
session.save_path, allowing them to account for extra parameters).
2006-10-01 20:58:02 +00:00
Rui Hirokawa bd088df90c fixed bug #37103: libmbfl headers was not installed correctly. 2006-10-01 08:34:39 +00:00
Ilia Alshanetsky 4fd88b23cc Added safety checks against integer overflow. 2006-09-30 17:12:06 +00:00
Ilia Alshanetsky 3ae8d67002 Added missing API function declaration. 2006-09-29 22:35:47 +00:00
Ilia Alshanetsky 01898e0f33 Added missing declaration of the php_get_uname() PHPAPI function. 2006-09-29 21:40:16 +00:00
Hannes Magnusson 281536e866 fix protos 2006-09-29 13:11:28 +00:00
Hannes Magnusson 30b18b7bb7 fix arginfo 2006-09-29 12:29:21 +00:00
Antony Dovgal 7df7d2b4df MFH 2006-09-29 12:18:58 +00:00
Stefan Esser abfc08dc82 If one name is disallowed don't drop all files 2006-09-29 10:05:34 +00:00
Georg Richter 67d2992fdc MFH: fixed error message 2006-09-29 08:40:10 +00:00
Antony Dovgal 5e34f6cf9e MFH 2006-09-28 23:27:59 +00:00
Ilia Alshanetsky 66bdeaddb4 Fixed a large leak inside _php_image_create_from() 2006-09-28 23:17:31 +00:00
Antony Dovgal d6eb64344d MFH 2006-09-28 23:03:56 +00:00
Antony Dovgal 478d42a3ac MFH 2006-09-28 22:33:06 +00:00
Hannes Magnusson c504e6794f add .libs to .cvsignore 2006-09-28 22:03:18 +00:00
Antony Dovgal 8c09e1ca40 fix test name 2006-09-28 22:02:04 +00:00
Hannes Magnusson 26cff956c4 Gah. these werent suppost to get committed atm
# Those do differ from -dist thought, if someone could write a line
# or two as to why they differ I would appreciate it!
2006-09-28 19:44:04 +00:00
Hannes Magnusson adcb3615f0 Remove unused ini options 2006-09-28 19:37:59 +00:00
Hannes Magnusson e3f68a64e7 Add new ini options
#feel free to add comments to it
2006-09-28 19:00:52 +00:00
Hannes Magnusson 69b7480147 bjori->Hannes 2006-09-28 17:10:14 +00:00
Ilia Alshanetsky 9e62f8b687 Added handling for virtual_file_ex() failures.
# Patch by Nuno
2006-09-28 15:48:35 +00:00
Ilia Alshanetsky e919a873cd Fixed bug #38859 (parse_url() fails if passing '@' in passwd). 2006-09-28 14:52:31 +00:00
Antony Dovgal c0326fb1ce BFN 2006-09-28 12:57:56 +00:00
Antony Dovgal 30a015a92f MFH: fix #38981 (using FTP URLs in get_headers() causes crash) 2006-09-28 12:55:15 +00:00
Antony Dovgal 40924a6f6c new tests 2006-09-28 12:03:49 +00:00
Hannes Magnusson a327a6f737 fix test 2006-09-28 12:01:52 +00:00
Antony Dovgal c119d63a9f add new tests 2006-09-28 11:44:05 +00:00
Hannes Magnusson f537599199 MFH: fix arginfo&proto 2006-09-28 11:32:30 +00:00
Rob Richards 2a452afb6d fix some compiler warnings 2006-09-28 10:11:36 +00:00
Dmitry Stogov 4705155d13 Removed unused libfcgi 2006-09-28 09:37:52 +00:00
Pierre Joye d9ae9d7cc8 - imagefill entry 2006-09-28 09:02:17 +00:00
Pierre Joye cee0a7df24 - imagefill(), infinite loop with wrong color index 2006-09-28 08:48:02 +00:00
Antony Dovgal 646cfe11e1 MFH 2006-09-28 08:26:33 +00:00
Dmitry Stogov dbae50bf13 Fixed wrong pipe detection code 2006-09-28 07:26:02 +00:00
Antony Dovgal 9c4e7a0743 initialize variable and make valgrind happy 2006-09-28 07:22:37 +00:00
Dmitry Stogov ecd52167d7 Fixed wrong return value 2006-09-28 07:16:31 +00:00
Ilia Alshanetsky 5860f47122 Fixed bug #38963 (Fixed a possible open_basedir bypass in tempnam()). 2006-09-27 23:44:13 +00:00
Antony Dovgal 47600225e1 MFH: use if() instead of ?: 2006-09-27 15:40:19 +00:00
Rob Richards bc0bdadfdb BFN 2006-09-27 10:32:49 +00:00
Rob Richards b23dfcc3ad fix bug #38949 (Cannot get xmlns value attribute)
add test
2006-09-27 10:31:24 +00:00
Antony Dovgal a13937e5a2 fix test 2006-09-27 08:44:19 +00:00
Antony Dovgal b805c9e089 MFH: fix #38961 (metaphone() results in segmentation fault on NetBSD) 2006-09-27 08:32:24 +00:00
Ilia Alshanetsky 4b286026c3 64bit fix (Possible fix for bug #38961) 2006-09-26 15:40:45 +00:00
Dmitry Stogov c3272ab020 Fixed bug #38808 ("maybe ref" issue for current() and others) 2006-09-26 10:30:51 +00:00
Dmitry Stogov a04b6ed6bc Fixed bug #38942 (Double old-style-ctor inheritance) 2006-09-26 07:55:21 +00:00
Ilia Alshanetsky cc0d254e4f Fixed bug #38891 (get_headers() do not work with curl-wrappers). 2006-09-25 16:00:43 +00:00
Ilia Alshanetsky ccc25cc3eb Fixed bug #38904 (apache2filter changes cwd to /). 2006-09-25 14:48:33 +00:00
Antony Dovgal f36b3ca9ad MFH: change CXXFLAGS along with CFLAGS as there might be C++ code 2006-09-25 11:05:49 +00:00
Pierre Joye 07b62da9f4 - #38944, freshly created archive has no comment or cdir 2006-09-25 09:00:16 +00:00
Antony Dovgal cd7f3a786d add test 2006-09-25 08:45:08 +00:00
Dmitry Stogov fa6c04c746 Removed warning about unreferenced local variable 2006-09-25 08:15:03 +00:00
Pierre Joye 85985ad895 - #38943, properties in extended class cannot be set
- use zend_object_std_init instead of a manual initialisation
2006-09-24 22:27:57 +00:00
Ilia Alshanetsky e55036a346 Fixed bug #38941 (imap extension does not compile against new version of
the imap library).
2006-09-24 18:06:37 +00:00
Rui Hirokawa b4ca4a0fab disabled mb_list_*_names() and mb_list_encodings(arg) which are introduced in PHP 5.2.0RC to reconsider/discuss the specification. 2006-09-24 07:10:54 +00:00
Antony Dovgal bc81c718c8 fix CGI build 2006-09-23 12:27:40 +00:00
Antony Dovgal 39856ab9cb MFH: fix possible segfault in #38891 2006-09-23 11:58:58 +00:00
Rui Hirokawa 46fda147a5 fixed build problem of some extensions which depend on ext/mbstring. 2006-09-23 10:55:58 +00:00
Ilia Alshanetsky be18d5f345 Restore support for unquoted -d options 2006-09-22 17:41:09 +00:00
Dmitry Stogov f7f180f930 Prevent access to dead zval 2006-09-22 13:39:32 +00:00
Ilia Alshanetsky 305423c34c Fixed test 2006-09-21 23:06:52 +00:00
Seiji Masugata 0d233db56a Updated bundled oniguruma library (used for multibyte regular expression) to 4.4.4. fixed some Segmentation Fault, and build fails in OSX(Xcode 2.4/gcc 4.0.1 problem). See #38452. 2006-09-21 16:37:20 +00:00
Rui Hirokawa 10f7a23b6f fixed compilation problem on Mac OS/X. (bug #38892,38778,38452) 2006-09-20 23:10:37 +00:00
Dmitry Stogov f5d7dac35d Added ability to make SOAP call userspace PHP<->XML converters 2006-09-20 13:42:52 +00:00
Dmitry Stogov 811634bd8a Fixed bug #38579 (include_once() may include the same file twice) 2006-09-20 07:35:59 +00:00
Ilia Alshanetsky 91c1a54d70 make input_get_args() not modify the original values. 2006-09-19 23:57:48 +00:00
Ilia Alshanetsky af993553fb array_key_exists() should not work by by-ref 2006-09-19 23:44:30 +00:00
Dmitry Stogov cd6537ed6d Fixed bugs #34065 and #38623 (throw in foreach/switch causes memory leaks) 2006-09-19 21:36:54 +00:00
Dmitry Stogov 7d14dad02e MFH: Fixed mess with CGI/CLI -d command line option (now it works with cgi; constants are working exactly like in php.ini; with FastCGI -d affects all requests). 2006-09-19 20:33:12 +00:00
Ilia Alshanetsky 2332e4f9fc Fixed bug #37870 (pgo_pgsql tries to de-allocate unused statements).
Fixed bug #36681 (pdo_pgsql driver incorrectly ignored some errors).
Fixed test for bug #38253 not to use faulty SQL that generates errors in
PostgreSQL
2006-09-19 15:45:22 +00:00
Hannes Magnusson db5dc9d5d8 fix test 2006-09-19 12:25:27 +00:00
Stefan Esser 1e8fc23095 Delete empty temporary files if file upload hook forbids the upload 2006-09-19 11:34:19 +00:00
Antony Dovgal bc60e07d57 argh.. nuke UEXPECTF 2006-09-19 09:40:00 +00:00
Antony Dovgal e1ff6fe881 support objects in array_walk*() 2006-09-19 09:35:27 +00:00
Antony Dovgal 0fe381cd70 fix tests 2006-09-19 09:07:56 +00:00
Antony Dovgal dba1f1d42f MFH: fix #34066 (recursive array_walk causes segfault)
add tests
2006-09-19 09:04:16 +00:00
Ilia Alshanetsky fe6effeeb4 Avoid generating php_errormsg twice in some instances. 2006-09-18 23:08:36 +00:00
Antony Dovgal 3bd1c646b7 add PHP version detection to this branch too, since I'm using this branch to make PECL releases 2006-09-18 21:23:42 +00:00
Hannes Magnusson de771e8cbd Add .libs to .cvsignore 2006-09-18 17:22:53 +00:00
Hannes Magnusson 6affa7d3e9 Fix tests 2006-09-18 16:12:13 +00:00
Ilia Alshanetsky c8a5e8fa7a Fixed bug #38574 (missing curl constants and improper constant detection). 2006-09-18 16:11:50 +00:00
Dmitry Stogov 8982cc0472 Small optimization of ZEND_INIT_ARRAY/ZEND_ADD_ARRAY_ELEMENT. (Nuno, Dmitry) 2006-09-18 14:23:52 +00:00
Antony Dovgal 1efae6a785 fix test (the error message is different across the systems) 2006-09-18 12:35:49 +00:00
Dmitry Stogov a16cb0b4d5 Fixed non-specialized executor 2006-09-18 12:03:10 +00:00
Ilia Alshanetsky 5aa6dcc6c8 Fixed memory leak on require() error 2006-09-18 03:29:21 +00:00
Pierre Joye 442112503a - add test for callback and input_get and input_get_args
this test fails now, the callback never worked with input_get or args
  fix already done, will be applied with the api shake up.
2006-09-17 18:03:45 +00:00
Nuno Lopes d43c9c11f4 fix compiler warnings introduced in my previous commit 2006-09-16 19:07:46 +00:00
Ilia Alshanetsky 9f217cd983 One last expand_filepath() check 2006-09-16 19:07:35 +00:00
Ilia Alshanetsky 92c3cfd81f Additional expand_filepath() checks 2006-09-16 18:30:03 +00:00
Nuno Lopes 557b583434 plug leaks that in the previous patch 2006-09-16 18:18:55 +00:00
Nuno Lopes c7101ba6d2 add missing checks around expand_filepath() 2006-09-16 18:15:25 +00:00
Ilia Alshanetsky 4c65e0e1cd Added missing validation checks around expand_filepath() 2006-09-16 18:10:32 +00:00
Nuno Lopes bfc9cd7174 fix possible crash in posix_access() 2006-09-16 17:41:57 +00:00
Nuno Lopes 868b219a28 use relative paths, so that we dont break the lcov reports 2006-09-16 14:17:36 +00:00
Rob Richards 211690374b BFN 2006-09-16 13:57:17 +00:00
Rob Richards 1819e947f9 implement workaround for bug #38823 (DOMComment->appendData does nothing)
fix bug #38850 (lookupNamespaceURI doesn't return default namespace)
add test
2006-09-16 13:54:52 +00:00
Nuno Lopes e197ecd16e fix mem leak. hash keys dont need to be strdup'ed 2006-09-16 12:05:13 +00:00
Ilia Alshanetsky 2cc1f53f3b Added a check for PQftable() function 2006-09-15 19:47:50 +00:00
Nuno Lopes e299095ca1 fix a valgrind warning. this also provides a 5x speedup in the imagefttext.phpt test, because without this patch it never got cache hits 2006-09-15 16:11:39 +00:00
Antony Dovgal c40975eda5 MFH: missing part of the fix for #38844 2006-09-15 15:42:53 +00:00
Antony Dovgal fcf4f87919 still output an error, even if there is no curl_easy_strerror() 2006-09-15 15:33:14 +00:00
Nuno Lopes fe9d3b16c5 mark some huge arrays as read-only 2006-09-15 15:11:54 +00:00
Antony Dovgal 0974e2af60 MFH: fix segfault in curl_multi_info_read() 2006-09-15 15:04:59 +00:00
Nuno Lopes 0094b08c56 remove warning. thanks Tony for noticing 2006-09-15 14:57:52 +00:00
Nuno Lopes 96b9fb0787 remove more old code and macros. also remove the module global 'inst' (not needed anymore) 2006-09-15 14:33:34 +00:00
Antony Dovgal 5111cd3af9 MFH: fix #38844 (curl_easy_strerror() is defined only since cURL 7.12.0) 2006-09-15 13:44:50 +00:00
Pierre Joye a0aabccac6 - MFH: PECL Bug #8700, zipArchive::getFromIndex() fails 2006-09-15 12:12:25 +00:00
Antony Dovgal 04da058284 MFH: fix leak when call to shutdown function fails 2006-09-15 09:12:17 +00:00
Antony Dovgal 4b257a1c0e fix leak with php -c /path -h 2006-09-15 08:18:36 +00:00
Antony Dovgal 55d900ef8e MFH: free node pointer using correct function
fixes leak in ext/dom/tests/dom_create_element.phpt
2006-09-15 07:44:20 +00:00
Antony Dovgal 99b133d7a7 MFH: fix double free(), add test 2006-09-15 07:27:22 +00:00
Dmitry Stogov ed26032176 Fixed memory leak 2006-09-15 07:11:35 +00:00
Ilia Alshanetsky 7bf39e9212 Back to dev 2006-09-14 18:04:40 +00:00
Ilia Alshanetsky b5446194ec PHP 5.2.0RC4 2006-09-14 17:49:12 +00:00
Ilia Alshanetsky 6e2add04ea Make float filter handle things like 02.324 properly 2006-09-14 17:47:00 +00:00
Nuno Lopes 4a162b71a2 add --STDIN-- support 2006-09-14 16:58:52 +00:00
Antony Dovgal 7a5306598a separate zval only when needed (fixes 035.phpt and doesn't affect SAPI filtering) 2006-09-14 15:30:13 +00:00
Rob Richards 436d75c376 BFN 2006-09-14 13:37:12 +00:00
Rob Richards 6fea033c6e fix bug #38813 (DOMEntityReference->__construct crashes when called explicitly) 2006-09-14 13:35:02 +00:00
Dmitry Stogov 806bc4e164 Reinamed variables to avoid name conflicts 2006-09-14 10:32:45 +00:00
Dmitry Stogov 2604f21fa6 Removed unused macro USE_ZEND_ALLOC 2006-09-14 09:58:27 +00:00
Dmitry Stogov 3fcfdf573d Write valid run-time value for Zend Memeory Manager 2006-09-14 08:01:48 +00:00
Dmitry Stogov 27c327b97e Added is_zend_mm() to allow runtime check for zend memory manager 2006-09-14 08:00:44 +00:00
Stanislav Malyshev 38540337a9 add for VC build 2006-09-13 17:47:20 +00:00
Stanislav Malyshev dd48748f5a fix VC build:
- update PCRE defines
- create timelib_config.h
- update .def dependencies
2006-09-13 17:33:24 +00:00
Stanislav Malyshev 286a9db9df fix fcgi build 2006-09-13 17:23:16 +00:00
Ilia Alshanetsky 01ea35a078 Fixed name 2006-09-13 15:54:51 +00:00
Ilia Alshanetsky 54032dee04 Fixed test for systems without INFILE/OUTFILE support 2006-09-13 15:52:57 +00:00
Antony Dovgal 0680cc4360 fix tests on MacOS 2006-09-13 13:59:16 +00:00
Dmitry Stogov 3b2fa0ce82 Fix memory leaks 2006-09-13 13:25:50 +00:00
Dmitry Stogov da09526eac Fix for bug #38757 (MultiPart Form Uploads fail with FastCGI) 2006-09-13 13:03:01 +00:00
Antony Dovgal e5ab519397 MFH 2006-09-13 10:44:11 +00:00
Antony Dovgal 6e0915b631 new tests 2006-09-12 20:32:39 +00:00
Antony Dovgal d1202b7986 declare oci_lob_seek() 2006-09-12 20:27:28 +00:00
Antony Dovgal 03c7bbd33b MFH: improve spelling (fixes #38780) 2006-09-12 17:26:34 +00:00
Derick Rethans ebbfc21a15 - Make passing filter flags as LONG work again.
- Make super globals filtering work again (as quick workaround).
#- Will merge to head later... need to get things sorted out first.
2006-09-12 16:10:33 +00:00
Ilia Alshanetsky f0fd70fadb Fixed bug #37779 (empty include_path leads to search for files inside /). 2006-09-12 15:47:25 +00:00
Pierre Joye bb2d53e768 - PECL Bug #8676, addFile was not updated and still used VCWD_REALPATH,
it now uses expand_filepath
2006-09-12 12:02:49 +00:00
Antony Dovgal 7800711d34 MFH: fix leak when binding a variable to the same placeholder several times 2006-09-12 11:42:44 +00:00
Dmitry Stogov 7e17f8591a Fixed bug #38772 (inconsistent overriding of methods in different visibility contexts) 2006-09-12 11:01:16 +00:00
Antony Dovgal 1a6cd5162e remove a leftover 2006-09-12 10:54:01 +00:00
Antony Dovgal 7b588b5bcd fix test 2006-09-12 10:42:32 +00:00
Ilia Alshanetsky bb9a9f2b98 Typo fix from Steph
Added note about CLI and INI search path
2006-09-11 23:11:18 +00:00
Johannes Schlüter 6415ef51e9 - MFH: Print the type of the original value 2006-09-11 21:21:43 +00:00
Ilia Alshanetsky 4bb51d165a BFN 2006-09-11 19:57:45 +00:00
Sara Golemon 93c8a45083 MFH: Bug #38687 - sockaddr local storage insufficient for all sock families 2006-09-11 19:18:07 +00:00
Johannes Schlüter 6a1b4c99c7 - MFH: Fix #37923 (Display constant value in reflection::export) 2006-09-11 17:08:42 +00:00
Ilia Alshanetsky f4a75d91d2 Fixed bug #38096 (large timeout values ignored on 32bit machines in
stream_socket_accept() and stream_socket_client()).
2006-09-11 14:52:21 +00:00
Antony Dovgal f3ae2fea43 BFN 2006-09-11 14:30:17 +00:00
Antony Dovgal d6ee9d4810 MFH: fix #38779 (engine crashes when require()'ing file with syntax error through userspace stream wrapper) 2006-09-11 14:30:08 +00:00
Antony Dovgal 0a1f5d12a1 fix tests 2006-09-11 14:17:51 +00:00
Antony Dovgal 5a9f40a46a add tests 2006-09-11 14:13:25 +00:00
Ilia Alshanetsky 65c046b200 Upgrading updates from Steph 2006-09-11 14:10:18 +00:00
Antony Dovgal 6d040bf67a fix test 2006-09-11 08:08:20 +00:00
Dmitry Stogov 567a4785b3 Don't try to do safe connection close in case of FastCGI protocol error 2006-09-11 07:22:40 +00:00
Ilia Alshanetsky f739a43906 Fixed a typo 2006-09-11 01:36:20 +00:00
Hannes Magnusson 7e3c017e5a dissallowing->disallowing 2006-09-10 22:59:28 +00:00
Antony Dovgal 334c36ac7c new tests 2006-09-10 22:11:29 +00:00
Antony Dovgal 4dd2a598f3 add new test 2006-09-10 19:42:12 +00:00
Hannes Magnusson 0ce31d14f5 MFH: proots 2006-09-10 17:01:51 +00:00
Hannes Magnusson b6a5941b97 MFH: date_timezone_set() needs both arguments
MFH: throw exception in DateTimeZone::__construct() when no arguments are passed
2006-09-10 16:34:08 +00:00
Hannes Magnusson 73161f33d4 Add *.lo into .cvsignore 2006-09-10 14:03:00 +00:00
Hannes Magnusson bc8377a81c Make ReflectionFunctionAbstract abstract
- Move ReflectionFunctionAbstract::__construct to ReflectionFunction
- Move ReflectionFunctionAbstract::__toString to ReflectionFuncion
- Delcare ReflectionFunctionAbstract::__toString abstract
- fix couple of typos
2006-09-10 13:25:47 +00:00
Antony Dovgal 9fa594c2dd fix coverity issue #197
"I can't think of a reason to pass a NULL buf" (c) Wez
2006-09-10 13:01:37 +00:00
Nuno Lopes 618e62325e fix lcov processing with gcc 4.1 (some .h files were not copied) 2006-09-10 12:37:44 +00:00
Antony Dovgal 299af46146 more improvements 2006-09-10 11:44:51 +00:00
Antony Dovgal 42d4e3533e MFH: improve the script 2006-09-10 11:26:53 +00:00
Rasmus Lerdorf 935b0c88e9 Minor tweak to the file upload hooks. The MULTIPART_EVENT_FORMDATA event
was only triggering when an input filter was applied.  This simple change
makes the event also trigger when no filter is applied.  The newlength
pointer is set to NULL to let a downstream module differentiate between
the two cases.
2006-09-09 22:06:27 +00:00
Hannes Magnusson 0222d506c2 - Remove register_globals from the "different" section
- Add allow_url_include = Off
 - compatability -> compatibility and other typos
2006-09-09 21:56:58 +00:00
Hannes Magnusson 7c5119c5a9 Add E_RECOVERABLE 2006-09-09 21:43:11 +00:00
Hannes Magnusson 413de3f4a5 Removed duplicated entry 2006-09-09 21:14:05 +00:00
Hannes Magnusson ef4ff6fe9e CURL->cURL 2006-09-09 20:04:50 +00:00
Rasmus Lerdorf 3879a66876 Fix tense 2006-09-09 17:03:48 +00:00
Rasmus Lerdorf 6dbe4adbc6 One more typo 2006-09-09 17:02:56 +00:00
Rasmus Lerdorf 194230c3a6 Cleanup 2006-09-09 16:54:01 +00:00
Derick Rethans 6c18da0d2a - Update news. 2006-09-09 12:29:08 +00:00
Derick Rethans 0c8042dc49 - MFH: The .c file is generated... so updating the .re file and cleaning up WS. 2006-09-09 12:26:33 +00:00
Antony Dovgal d577b8058c MFH: fix #38759 (PDO sqlite2 empty query causes segfault) 2006-09-09 10:59:05 +00:00
Antony Dovgal 51fbffba2f MFh: fix #38721 (date_parse() invalid read) 2006-09-08 20:22:47 +00:00
Antony Dovgal 5c6f438319 implement feature request #38731 (openssl_pkey_new does not support DSA key generation)
patch by marci at balabit dot hu
2006-09-08 20:10:47 +00:00
Hannes Magnusson 267b0e9b03 Bump libxslt version to 1.1.0 (closes bug#35589) 2006-09-08 16:41:01 +00:00
Nuno Lopes b860e9a3c2 add the script to run diagnostic tests on zend_parse_parameters*() usage, per Andrei's request 2006-09-08 16:35:17 +00:00
Dmitry Stogov b0c4150967 Prevent opening of empty filename "" 2006-09-08 05:52:00 +00:00
Marcus Boerger 7e563e9215 - Fix tiny mistake 2006-09-07 21:17:13 +00:00
Michael Wallner 01ee23d980 - MFH: fix warnings 2006-09-07 14:24:42 +00:00
Ilia Alshanetsky 7f2cf9b373 Fixed memory leaks in openssl test #004 2006-09-07 14:11:06 +00:00
Antony Dovgal 88b59df262 add new tests 2006-09-07 11:48:30 +00:00
Rob Richards 36505f802c MFH: fix def file for 2.6.26 (xmlXPathCompiledEvalToBoolean required in .27) 2006-09-07 11:25:14 +00:00
Rob Richards f11c99638e MFH: update def file (2.6.26) 2006-09-06 23:49:00 +00:00
Edin Kadribasic cb5ad145ab Fixed bug #38190 (threading issues on windows 2003) 2006-09-06 21:44:45 +00:00
Pierre Joye 3f0f73beba - bump version, 5.2.0 will have zip-2.0.0-stable 2006-09-06 17:38:36 +00:00
Ilia Alshanetsky 8e86a189ec Fixed bug #38464 (array_count_values() mishandles numeric strings). 2006-09-06 17:25:57 +00:00
Pierre Joye e85a378770 - wrong cast, strlen is int 2006-09-06 17:24:41 +00:00
Nuno Lopes c55eda9f3b fix memleak of pcre study data 2006-09-06 16:30:59 +00:00
Nuno Lopes b772a83282 fix one more parameter (int*->int) 2006-09-06 15:31:48 +00:00
Nuno Lopes eee95ef3f0 MFH zend_parse_parameters() fixes 2006-09-06 15:19:41 +00:00
Pierre Joye ad58ad265b - MFH: zip_open takes only one parameter (Thx Nuno L.) 2006-09-06 13:03:55 +00:00
Antony Dovgal 37635d93e6 fix leak in pg_copy_to() when invalid resource was passed 2006-09-06 12:40:56 +00:00
Antony Dovgal 7d7f84562c do not search for empty strings with strpos() and strrpos() 2006-09-06 12:07:32 +00:00
Nuno Lopes 47713b1eb7 more int->zend_bool conversions 2006-09-06 11:54:29 +00:00
Antony Dovgal b9351ab4b1 fix leaks & uninitialized vars
add test
2006-09-06 11:34:43 +00:00
Dmitry Stogov 76d748f372 Fixed support for endpoint's URL without <path> part (Rob) 2006-09-06 11:03:45 +00:00
Dmitry Stogov 0c3c55edac Fixed php_admin* bypass by ini_restore() 2006-09-06 08:54:44 +00:00
Derick Rethans 5d6f6783ae - MFH: Added support for the full ISO week number format. (2006-W52-7) 2006-09-06 07:34:51 +00:00
Dmitry Stogov afb8af1f5f Reverted last Ilia's patch (for bug #38579).
The patch didn't fix the bug and made new one.
2006-09-06 06:37:42 +00:00
Ilia Alshanetsky bd5e8f77bd BFN 2006-09-05 15:50:37 +00:00
Ilia Alshanetsky 229137cad4 Fixed bug #38579 require_once/include_once optimization causes files to be
loaded multiple times.
2006-09-05 15:50:07 +00:00
Nuno Lopes aa6593f984 sync code and tests between HEAD and PHP_5_2 branches. what a confusion... 2006-09-05 15:23:26 +00:00
Nuno Lopes dc8895ed82 finish the cleaning. also add a new test 2006-09-05 14:55:56 +00:00
Antony Dovgal c57bfd9a66 add test 2006-09-05 14:04:41 +00:00
Antony Dovgal 52d0f82dc3 MFH: init variables 2006-09-05 13:59:26 +00:00
Nuno Lopes dadc6b8a3b remove some leftover code from the time tidy would throw exceptions 2006-09-05 13:50:22 +00:00
Nuno Lopes 4cff5db8f4 int->zend_bool where possible 2006-09-05 12:39:20 +00:00
Nuno Lopes 3ec9141f91 first fix from my new zend_parse_parameters_* checker 2006-09-05 12:30:35 +00:00
Edin Kadribasic aebc2fff07 CWD php.ini search news 2006-09-05 11:58:05 +00:00
Edin Kadribasic ef058cdd9a Search for php.ini in CWD in all sapi's *but* CLI.
This patch reverses wrong behavaiour introduced before the
release of 5.1.0.

# We should probably consider killing adding CWD php.ini lookup
# altogether.
2006-09-05 11:54:15 +00:00
Antony Dovgal 8c53ff1e80 fix leak in imap_utf8(), avoid extra strlen() call
add test
2006-09-05 11:24:49 +00:00
Antony Dovgal c622ded866 fix typo, add test 2006-09-05 10:36:24 +00:00
Nuno Lopes 731b68fbc5 fix gcc warning 2006-09-04 19:14:59 +00:00
Nuno Lopes ae77214f7f fix gcc warning 2006-09-04 18:59:01 +00:00
Ilia Alshanetsky fc60217820 Fixed bug #38693 (curl_multi_add_handle() set curl handle to null). 2006-09-04 16:31:27 +00:00
Dmitry Stogov 87eaaf494b Removed unreachable handlers 2006-09-04 13:58:54 +00:00
Dmitry Stogov 8166284cfd Fixed bug #38700 (SoapClient::__getTypes never returns) 2006-09-04 10:52:34 +00:00
Dmitry Stogov 75876d57be Fixed VIRTUAL_DIR inconsistency 2006-09-04 08:18:15 +00:00
Dmitry Stogov a5107c1803 Fixed "signed/unsigned mismatch" warning. 2006-09-04 07:26:48 +00:00
Ilia Alshanetsky 4427552b60 Fixed bug #38661 (mixed-case URL breaks url-wrappers). 2006-09-03 16:32:27 +00:00
Pierre Joye 73c5259362 - new openssl constants entry 2006-09-03 15:49:49 +00:00
Pierre Joye 532f577fe9 - add OPENSSL_VERSION_TEXT and OPENSSL_VERSION_NUMBER constants
- skip tests if openssl version < 0.9.7j (known to work)
2006-09-03 15:31:01 +00:00
Nuno Lopes 2203492799 little typo (bug #38531) 2006-09-03 11:39:45 +00:00
Johannes Schlüter 688efae2d0 - Remove version number here as already done in HEAD 2006-09-03 11:27:50 +00:00
Michael Wallner eca5331a81 - attempt to fix #38696 2006-09-03 09:09:56 +00:00
Johannes Schlüter eb958c080e - MFH: Add HAVE_REFLECTION define for win32 (by Steph) 2006-09-02 19:13:23 +00:00
Hannes Magnusson 948d84fd67 fix test 2006-09-02 15:42:00 +00:00
Nuno Lopes 5737b1e925 and add a test 2006-09-01 23:31:52 +00:00
Nuno Lopes 0f6f089698 omg. take #2 to fix the bug. sorry.. 2006-09-01 23:25:29 +00:00
Nuno Lopes c8b2f761f6 fix possible crash 2006-09-01 23:13:20 +00:00
Edin Kadribasic 8251f8b8d0 MFH: Obsolete, prepaing for new installer script 2006-09-01 20:25:32 +00:00
Nuno Lopes dc2bb45440 currently it's RC4-dev 2006-09-01 13:55:22 +00:00
Ilia Alshanetsky 73eba86360 Back to dev 2006-09-01 01:29:05 +00:00
Ilia Alshanetsky 98d26b6b18 5.2.0RC3 2006-09-01 01:06:14 +00:00
Pierre Joye d63e411e9a - MFH 2006-08-31 22:52:54 +00:00
Pierre Joye 23919d9115 - MFH 2006-08-31 22:34:32 +00:00
Antony Dovgal 78c0279bb6 add test 2006-08-31 22:19:35 +00:00
Pierre Joye 2259578afa - MFH: test for mulitple filter calls 2006-08-31 22:17:44 +00:00
Antony Dovgal 5d81cd24c9 MFH 2006-08-31 22:12:10 +00:00
Pierre Joye 5c7e3ba791 - skip these tests for RC3
- CGI does not read commandline options when it sees REQUES_METHOD
 - errors are shown two times now, to be checked post RC3
2006-08-31 20:17:03 +00:00
Pierre Joye 72820abd7b - MFH: pecl bug #8316,
empty strings are not int or float, return false (due to popular demand)
2006-08-31 18:29:29 +00:00
Antony Dovgal 75b8cd741b last portion of z/Z fixes 2006-08-31 16:15:24 +00:00
Pierre Joye 50e9994b2c - clean the auto trim (behaves like php_trim now)
- simplifies bool
- fix octal parsing
- boost int/hex/octal validate_int
2006-08-31 15:50:56 +00:00
Antony Dovgal 5bc435c4e8 fix typo in errmsg 2006-08-31 15:42:18 +00:00
Antony Dovgal 94b3210c38 ext/filter z/Z fixes 2006-08-31 15:17:23 +00:00
Antony Dovgal c2a38c607b more z/Z fixes 2006-08-31 14:41:24 +00:00
Antony Dovgal 0c482b5c64 more z/Z fixes 2006-08-31 14:21:21 +00:00
Antony Dovgal de23f39d18 MFH: z/Z problem fixes 2006-08-31 13:58:31 +00:00
Antony Dovgal 821674720a fix test 2006-08-31 13:50:11 +00:00
Antony Dovgal fb21b5d059 MFH: fix problem with mixed arguments accepted as zval* causing leaks/segfaults when converting to other types 2006-08-31 13:48:17 +00:00
Dmitry Stogov f9d9c4a6aa FastCGI environment variables must not be overriden by system environment variables 2006-08-31 13:11:58 +00:00
Dmitry Stogov 54123daa8d Show name of storage layer in case of initialization fault. 2006-08-31 11:53:57 +00:00
Antony Dovgal c4e9ee2586 minor changes in iconv_substr() to avoid zval converting 2006-08-31 11:17:47 +00:00
Antony Dovgal f74fbc1a06 fix warnings about nonextistent functions 2006-08-31 11:10:23 +00:00
Antony Dovgal de3d3ced29 no such function 2006-08-30 22:53:51 +00:00
Antony Dovgal 434d5e9be4 MFH: fix leak, add test 2006-08-30 22:34:48 +00:00
Antony Dovgal 235e3939d5 s/pinter/pointer/ 2006-08-30 22:29:24 +00:00
Antony Dovgal 1dd6ee3f6d fix segfault/leak, add test 2006-08-30 21:51:08 +00:00
Antony Dovgal 1f138e7e01 MFH: fix segfault in openssl_seal(), add test 2006-08-30 20:50:04 +00:00
Ilia Alshanetsky 26db0920d3 pcre news 2006-08-30 20:08:05 +00:00
Ilia Alshanetsky 45debc52ef Upgrade PCRE lib to 6.7 2006-08-30 20:00:23 +00:00
Ilia Alshanetsky 307b3bcbb4 Fixed bug #33770 (https:// or ftps:// do not work when --with-curlwrappers
is used and ssl certificate is not verifiable).
2006-08-30 17:49:10 +00:00
Antony Dovgal f231b76ba6 fix leak, add test 2006-08-30 16:46:59 +00:00
Antony Dovgal 644a796525 MFH: fix leak in iptcembed() 2006-08-30 16:30:14 +00:00
Antony Dovgal b6ced95187 change ini handlers to produce E_ERROR if they are called during startup 2006-08-30 16:24:40 +00:00
Antony Dovgal a8a3701ba6 fix leak 2006-08-30 16:12:43 +00:00
Antony Dovgal f8fd45a735 MFH: change E_ERROR to E_WARNING when invalid argument has been passed
make sure ini_set() doesn't reset PS(mod) and PS(serializer) to invalid values
2006-08-30 15:43:10 +00:00
Antony Dovgal 86bf55a3d8 MFH: fix #38653 (memory leak in ReflectionClass::getConstant()) 2006-08-30 10:42:49 +00:00
Hannes Magnusson d6ec9d21ec fix test 2006-08-30 09:44:53 +00:00
Derick Rethans 8388180466 - Upgrade timezone db to 2006k. 2006-08-29 20:20:05 +00:00
Ilia Alshanetsky 1b9e18d471 Corrected problems introduced by previous commit.
# Issue found by Stefan
2006-08-29 19:50:04 +00:00
Ilia Alshanetsky 5ea3080546 Fixed bug #38637 (curl_copy_handle() fails to fully copy the cURL handle). 2006-08-29 17:10:40 +00:00
Ilia Alshanetsky 7c618c40bc Finalize implode() patch 2006-08-29 14:32:16 +00:00
Antony Dovgal ffc3d4a076 fix win32 build
EG(precision) can be changed in runtime, even in php_implode() (hint: __toString()), so please think twice before optimizing
2006-08-29 12:20:18 +00:00
Rob Richards 664a7c75d4 BFN 2006-08-28 23:38:49 +00:00
Rob Richards c6b9662372 fix #38474 (getAttribute select attribute by order, even when prefixed)
add test
2006-08-28 23:36:23 +00:00
Ilia Alshanetsky 914d362176 Adjust code to avoid TSRMLS_FETCH 2006-08-28 23:33:37 +00:00
Antony Dovgal 7384c12b11 MFH: make sure ext/standard is down before ext/session (fixes #38534) 2006-08-28 19:57:57 +00:00
Antony Dovgal ecfa880820 MFH: set BG(locale_string) to NULL on shutdown (partly fixes #38534) 2006-08-28 18:58:47 +00:00
Antony Dovgal 613237188a typofix 2006-08-28 17:18:03 +00:00
Antony Dovgal 4e971e8874 MFH: fix #38199 (fclose() unable to close STDOUT and STDERR) 2006-08-28 17:15:03 +00:00
Antony Dovgal 191d68618a delete commented part, as it was done in HEAD 2006-08-28 10:59:18 +00:00
Antony Dovgal f7ba7232d8 MFH: fix #38624 (Strange warning when incrementing an object property and exception is thrown from __get method) 2006-08-28 10:27:58 +00:00
Antony Dovgal 615f2d7295 fix ZTS build 2006-08-28 09:56:28 +00:00
Hannes Magnusson 2d3056e94f MFH:
- Fixed bug #33895 (missing math constants).
 - Remove M_PI from math.c (its defined in php_math.h)
2006-08-27 19:14:43 +00:00
Ilia Alshanetsky 78d7b0bf0e Optimize the operation of implode() on non-string parameters 2006-08-27 19:06:09 +00:00
Hannes Magnusson a180abdbfd fix tests on freebsd 2006-08-27 15:06:53 +00:00
Pierre Joye 46ce362ff3 - don't rely/use VCWD_REALPATH, use expand_filepath instead
NB: that'd to be true for all this VCWD mess
2006-08-26 12:23:43 +00:00
Seiji Masugata 100742f7a2 added configure option --disable-mbregex-backtrack. 2006-08-25 16:26:50 +00:00
Pierre Joye 8e54de1d77 - bundled matches pecl 1.7.1 2006-08-25 16:03:00 +00:00
Edin Kadribasic 21ac19eb94 Fixed #37602 by olek at neurosoft dot pl 2006-08-25 12:01:57 +00:00
Seiji Masugata 99211d0444 Initial commit. Updated bundled oniguruma library (used for multibyte regular expression) to 4.3.1. 2006-08-24 17:20:58 +00:00
Seiji Masugata 74685a184f Initial commit. Updated bundled oniguruma library (used for multibyte regular expression) to 4.3.1. 2006-08-24 17:11:29 +00:00
Seiji Masugata 3ea2152839 Updated bundled oniguruma library (used for multibyte regular expression) to 4.3.1. 2006-08-24 17:03:47 +00:00
Seiji Masugata 560208b1c6 added returned value in mb_get_info( ). 2006-08-24 16:52:36 +00:00
Pierre Joye 5c8533aa76 - solve the relative path issues in TS environment 2006-08-24 16:37:14 +00:00
Antony Dovgal a5bb290f28 it's not a PEAR only issue 2006-08-24 16:00:43 +00:00
Antony Dovgal d8870f562f sys/msg.h does not exist on MacOS X 2006-08-24 13:18:24 +00:00
Antony Dovgal d221f46ab6 update version in phpinfo() 2006-08-24 13:03:04 +00:00
Antony Dovgal f6bbb02da6 bump version number 2006-08-24 12:46:54 +00:00
Antony Dovgal 567cf55085 compat fixes 2006-08-24 12:05:19 +00:00
Antony Dovgal f1b1c65413 release 1.2.2 from 5_2 branch, as HEAD doesn't have safe_mode anymore 2006-08-24 11:59:15 +00:00
Antony Dovgal fd9c8d85a6 the error message is different on different OSes and zlib versions 2006-08-24 11:30:35 +00:00
Antony Dovgal 806d9fe71b tm_yday may be 0 2006-08-24 11:27:20 +00:00
Antony Dovgal 0584dc011c MFH: fix segfault in strptime() on 64bit Linuxes, caused by the missing declaration 2006-08-24 11:06:02 +00:00
Dmitry Stogov c42b3bf689 Fixed bug #38315 (Constructing in the destructor causes weird behaviour) 2006-08-24 09:42:35 +00:00
Dmitry Stogov 92f1b46fbb Added SoapServer::setObject() method (it is a simplified version of SoapServer::setClass() method). 2006-08-24 06:18:30 +00:00
Andrei Zmievski fdd1370d99 Namespace more PCRE functions. 2006-08-23 20:39:11 +00:00
Pierre Joye 75e9e12093 - MFH: add support for entities in hexadecimal format, like &copy; can
be passed as &#169 or &#xA9; (sync with gd)
2006-08-23 20:22:31 +00:00
Antony Dovgal b7f2d8f17e MFH: fix possible crash in free_statement() 2006-08-23 19:15:57 +00:00
Dmitry Stogov 27d3021704 Fixed bug #38265 (heap corruption) 2006-08-23 13:00:48 +00:00
Pierre Joye aecbddef42 - MFH: please don't use base64 to test image files, it does not work
fix tests on 64bit platfrom
2006-08-23 12:00:54 +00:00
Antony Dovgal 6a70b05660 MFH: build ext/spl and ext/reflection as static (fixes #38556) 2006-08-23 09:47:21 +00:00
Hannes Magnusson de3393e63f Fix arginfo for SplObjectStorage 2006-08-23 09:32:24 +00:00
Antony Dovgal 41bd5790cf MFH: make run-tests to work with directories containing spaces (bug #38558)
Patch by danielc at analysisandsolutions dot com
2006-08-23 07:02:59 +00:00
Antony Dovgal a3b62c8eed add test for real 2006-08-22 20:10:50 +00:00
Antony Dovgal d5c9b41db1 fix implode() function (see http://news.php.net/php.qa/26876)
add test
2006-08-22 19:55:56 +00:00
Ilia Alshanetsky d4ff427c55 Fixed bug #38511, #38473, #38263 (Fixed session extension request shutdown
order to ensure it is shutdown before the extensions it may depend on).
2006-08-22 16:47:23 +00:00
Antony Dovgal 05a1ac2a35 MFH: fix separate TSRM build 2006-08-22 13:01:44 +00:00
Dmitry Stogov f7e99a2162 Fixed bug #38543 (shutdown_executor() may segfault when memory_limit is too low). 2006-08-22 12:04:53 +00:00
Antony Dovgal 08a9ab02ba minor improvements 2006-08-22 11:09:12 +00:00
Dmitry Stogov 7dfbf5b2e4 Fixed bug #38488 (Access to "php://stdin" and family crashes PHP on win32) 2006-08-22 06:15:26 +00:00
Dmitry Stogov 4180155a47 Fixed "win32" storage manager 2006-08-22 05:54:15 +00:00
Dmitry Stogov 3fd1e9c3db Fix "make test" on win32 2006-08-22 05:00:51 +00:00
Antony Dovgal 36dffb8e3b typo 2006-08-21 17:12:02 +00:00
Ilia Alshanetsky 8d770ee2ef Fixed bug #38535 (memory corruption in pdo_pgsql driver on error retrieval
inside a failed query executed via query() method).
2006-08-21 16:53:50 +00:00
Antony Dovgal 70e59e2999 MFH: fix PECL bug #8112 (OCI8 persistent connections misbehave when Apache process times out) 2006-08-21 16:41:13 +00:00
Ilia Alshanetsky 672da2daeb MFH: sa_len compile fix for IRIX
# Patch by Sascha
2006-08-20 18:24:11 +00:00
Ilia Alshanetsky 2a41a50216 Fixed bug #38524 (strptime() does not initialize the internal date storage
structure).
2006-08-20 18:20:07 +00:00
Ilia Alshanetsky 8405e1741f Use proper write callback 2006-08-19 16:20:08 +00:00
Antony Dovgal efbb2a4838 fix #38486 (openssl extension does not build correctly) 2006-08-18 13:02:38 +00:00
Antony Dovgal a33913d960 MFH: add a notice to fgetcsv() when delimiter or enclosure is longer than 1 char
(feature request #38496)
2006-08-18 12:50:57 +00:00
Antony Dovgal 92963d12a6 fix #38485 (bz2 extension does not compile with GCC 4.1) 2006-08-17 20:46:51 +00:00
Antony Dovgal 1f3b6ebc89 initialize static buffer with 0's 2006-08-17 14:32:35 +00:00
Ilia Alshanetsky d7209229a3 Back to dev 2006-08-17 14:04:09 +00:00
Ilia Alshanetsky c7d83d7ba3 5.2.0RC2 2006-08-17 13:44:36 +00:00
Ilia Alshanetsky 3a211712eb Increased default memory limit to 16 megabytes to accommodate for a more
accurate memory utilization measurement.
2006-08-17 13:43:08 +00:00
Ilia Alshanetsky 3d87be2674 Added skip condition for sqlite2 driver, that uses more forgiving emulated
prepared statements.
2006-08-16 14:09:56 +00:00
Rob Richards 7ded15aadd BFN 2006-08-15 22:48:07 +00:00
Rob Richards adf10989b0 fix bug #38454 (warning upon disabling handler via xml_set_element_handler)
fix bug #38427 (unicode causes xml_parser to misbehave)
add test
2006-08-15 22:47:11 +00:00
Antony Dovgal be316018fd apply correct fix for bug #38461 2006-08-15 20:30:42 +00:00
Pierre Joye 8dc61360c6 - add openssl_csr_get_subject() and openssl_csr_get_public_key() 2006-08-15 20:27:22 +00:00
Antony Dovgal 118a6a94e1 MFH: fix #38467 (--enable-versioning causes make fail on OS X) 2006-08-15 20:13:47 +00:00
Antony Dovgal f3c1722b0c MFH: don't try to use "auto", "none" and "pass" charsets returned from mbstring 2006-08-15 15:09:38 +00:00
Antony Dovgal 126b6ecd85 BFN 2006-08-15 13:19:58 +00:00
Antony Dovgal 08d398aa48 MFH: fix #38461 (setting private attribute with __set() produces segfault) 2006-08-15 13:19:13 +00:00
Antony Dovgal 3a0f857173 minor CS/WS fixes 2006-08-15 13:08:34 +00:00
Antony Dovgal 88e752c007 MFH: error message might be NULL 2006-08-15 12:27:24 +00:00
Antony Dovgal 8c170d480a MFH: OCIBreak() is not supported on Windows 2006-08-15 12:19:46 +00:00
Antony Dovgal 4ad05e0e0f add test 2006-08-15 08:58:40 +00:00
Antony Dovgal c3209b53d2 new tests 2006-08-15 08:54:15 +00:00
Michael Wallner f5ea2dfac4 MFH:
- fix leak when cloning DateTimeZone, detected by Antony
 - don't fetch objects multiple times when cloning
2006-08-15 06:53:21 +00:00
Pierre Joye 9a79a2f37c - add OPENSSL_KEYTYPE_EC constant
- openssl_pkey_get_details(), returns the key details
2006-08-15 00:38:05 +00:00
Antony Dovgal 2dbce548a8 fix previous patch 2006-08-14 21:08:16 +00:00
Antony Dovgal a3d3be5201 BFN 2006-08-14 20:11:52 +00:00
Antony Dovgal d677ad6789 fix #38451 (PDO_MYSQL doesn't compile on Solaris) 2006-08-14 20:11:31 +00:00
Nuno Lopes ddb4d1fdcc move static declaration to *.c files
mroe static/const keywording
2006-08-14 20:08:18 +00:00
Michael Wallner 8657927354 MFH: add cloning support to DateTime classes 2006-08-14 20:03:11 +00:00
Frank M. Kromann 8eaa9eae52 MFH: Cleanup before reusing failed persistant connection. Better formating of timestamp and decimal values 2006-08-14 18:40:08 +00:00
Ilia Alshanetsky b4da7e6672 Added missing file entry 2006-08-14 16:34:24 +00:00
Ilia Alshanetsky 41696eb95e Updated libsqlite in ext/pdo_sqlite to 3.3.7. 2006-08-14 16:16:42 +00:00
Ilia Alshanetsky e8f30d4502 Upgraded bunbled SQLite lib to 3.3.7 2006-08-14 16:15:29 +00:00
Nuno Lopes 0091c7e1b3 more static keywording
also remove the libtidy patch, as it is too old. users should use a newer libtify anyway
2006-08-14 15:09:08 +00:00
Pierre Joye 4b7358e4e5 - nuke unused parameter (not present in old versions) 2006-08-14 15:07:52 +00:00
Antony Dovgal f42e9f5e15 MFH: fix #38450 (constructor is not called for classes used in userspace stream wrappers) 2006-08-14 15:01:29 +00:00
Nuno Lopes 615a15d5fa a few more static keywording 2006-08-14 14:53:23 +00:00
Rob Richards c62d5fd115 BFN
fix typo
2006-08-14 11:59:24 +00:00
Rob Richards a0c941aad1 fix bug #38424 (Different attribute assignment if new or existing)
add test
2006-08-14 11:57:50 +00:00
Rob Richards 3048cd7558 fix underlying issue for bug #38438 2006-08-14 11:29:15 +00:00
Antony Dovgal 2f01ddff7f make sure USE_ZEND_ALLOC is always 1 2006-08-14 10:29:20 +00:00
Antony Dovgal cb9686b0e5 fix segfault and leak in ext/xmlrpc
add tests
2006-08-14 08:18:01 +00:00
Pierre Joye 284ce40c4a - MFH: locateName should not change the state/error, can be used to test
an entry
2006-08-13 23:43:11 +00:00
Pierre Joye 8d07735332 - MFP:
- add overwrite mode to ZipArchive::open, always starts a new archive
 - Fix safe mode checks on extract
 - Fix possible leaks when a safe mode error has been raised
2006-08-13 21:09:59 +00:00
Pierre Joye 0587fb32ba - remove package.xml, not needed in php-src but only in pecl 2006-08-13 20:27:07 +00:00
Pierre Joye a5b359096c - MFH: remove dl() usage 2006-08-13 19:34:40 +00:00
Pierre Joye 32f20cc217 - MFH: remove dl() usage 2006-08-13 19:24:17 +00:00
Ilia Alshanetsky baff4e0ab5 Fixed bug #38438 (DOMNodeList->item(0) segfault on empty NodeList) 2006-08-13 15:02:41 +00:00
Marcus Boerger 7d0b17fc67 - MFH Add link 2006-08-13 10:37:57 +00:00
Pierre Joye 9d26a88c3d - temp fix for a segfault happening when one adds two entries with
the same name
2006-08-13 00:52:59 +00:00
Nuno Lopes a16935fd42 const/static keywording 2006-08-12 19:33:54 +00:00
Pierre Joye d1ad062be8 - MFH: NL 2006-08-12 17:05:08 +00:00
Antony Dovgal 2eef59dc59 MFH: fix #38431 (xmlrpc_get_type() crashes PHP on objects) 2006-08-11 17:43:04 +00:00
Nuno Lopes c45c9748dc fix #38402: wrong proto for Array*::offsetGet() 2006-08-11 17:05:23 +00:00
Ilia Alshanetsky 5b4ecd6028 MFB: Extend safe_mode/open_basedir checks to imap_reopen() as well. 2006-08-11 15:07:29 +00:00
Antony Dovgal a6088ffc5a fix test 2006-08-11 10:35:22 +00:00
Ilia Alshanetsky 7dfae526c7 Fixed proto 2006-08-10 21:10:03 +00:00
Ilia Alshanetsky 657329b981 missing bug fixing news 2006-08-10 18:34:52 +00:00
Ilia Alshanetsky 2ce982b433 Fixed condition 2006-08-10 15:02:41 +00:00
Ilia Alshanetsky a4d2f04307 Fixed overflow on 64bit systems in str_repeat() and wordwrap().
Disabled CURLOPT_FOLLOWLOCATION in curl when open_basedir or safe_mode are
enabled.

# Patches by Stefan E.
2006-08-10 14:40:13 +00:00
Ilia Alshanetsky e5fe441cbd Added support for httpOnly flag for session extension and cookie setting
functions.

# Original patch by Scott MacVicar
2006-08-10 13:50:56 +00:00
Antony Dovgal 1ec10ac8c7 typos in comments and other minor improvements 2006-08-10 13:43:18 +00:00
Antony Dovgal ae61bb7bb8 improve connection character set detection:
* output a warning if invalid character set was passed to the function
* use NLS_LANG by default
2006-08-10 12:15:58 +00:00
Nuno Lopes e43dc5c95b sync install instructions with the phpdoc xml sources 2006-08-09 23:22:49 +00:00
Antony Dovgal 830ab81bfa BFN 2006-08-09 15:27:42 +00:00
Antony Dovgal c9c05bece9 add support for NCLOBs
fix #35973 (Error ORA-24806 occurs when trying to fetch a NCLOB field)
2006-08-09 15:24:27 +00:00
Ilia Alshanetsky 43fca8a3f8 Fixed bug #38394 (PDO fails to recover from failed prepared statement
execution).
2006-08-09 14:45:00 +00:00
Antony Dovgal 946594bb6b MFH: fix #38161 (oci_bind_by_name() returns garbage when Oracle didn't set the variable) 2006-08-09 12:15:43 +00:00
Antony Dovgal e3cfc40cac fix leak on failure 2006-08-09 11:49:06 +00:00
Antony Dovgal 4c5691bd02 MFH: fix #8112 (Persistent connections misbehave when Apache process times out) 2006-08-09 10:16:50 +00:00
Michael Wallner 98d58a80c9 MFH: implement #38357 (dbase_open can't open DBase 3 dbf file) 2006-08-08 15:55:27 +00:00
Ilia Alshanetsky d58b3869a7 Fixed bug #38377 (session_destroy() gives warning after
session_regenerate_id()).
2006-08-08 14:54:49 +00:00
Antony Dovgal cf3b6416c4 tix fypo 2006-08-08 13:49:27 +00:00
Stanislav Malyshev 0617904d0a fix bug with variables clobbered by longjmp 2006-08-08 13:34:14 +00:00
Antony Dovgal 03ee807824 zend_hash_get_current_key_ex() returns string_len + 1, so we need to subtract 1 to get the real length 2006-08-08 13:12:00 +00:00
Pierre Joye 6dbb90af21 - fix compiler warnings 2006-08-08 11:56:36 +00:00
Antony Dovgal 6277ba98d9 there is no realiable way to detect memrchr() presence because of a mess in glibc
so let's use our own implementation
2006-08-08 10:54:24 +00:00
Pierre Joye 1f69ad5aa1 - compiler warnings 2006-08-08 10:36:58 +00:00
Antony Dovgal 1a4b715ef2 use memrchr/zend_memrchr instead of strrchr 2006-08-08 10:22:25 +00:00
Antony Dovgal 9596bda7fc add new test 2006-08-08 09:51:06 +00:00
Derick Rethans 5794832a72 - Added some docs here so that nobody needs to figure it out once more. 2006-08-08 09:46:46 +00:00
Antony Dovgal b8617a6183 add zend_memrchr() 2006-08-08 09:41:09 +00:00
Marcus Boerger 05206b42d8 - Speling 2006-08-08 00:40:19 +00:00
Marcus Boerger efc6ff0c39 - Test name must not be more than a single line 2006-08-07 23:28:05 +00:00
Marcus Boerger c1c2a0d294 - MFH Fixed Bug #38064 ignored constructor visibility 2006-08-07 23:24:33 +00:00
Antony Dovgal 886d302575 suppress errors from date() if no date.timezone set
don't try to look for libtool if $sys_libtool_path is empty
2006-08-07 21:27:40 +00:00
Pierre Joye f6b6f0a2f9 - should not have been commited 2006-08-07 20:28:03 +00:00
Antony Dovgal 8a3002d933 fix types of the variables 2006-08-07 20:23:35 +00:00
Ilia Alshanetsky 194b309d2d Fixed memory leak with persistent connections 2006-08-07 17:32:13 +00:00
Ilia Alshanetsky 23a7a275ed Removed extra byte 2006-08-07 16:53:12 +00:00
Dmitry Stogov f5543a428d Fixed bug #38287 (static variables mess up global vars) 2006-08-07 15:15:22 +00:00
Rob Richards ee82fb781a should be RETURN_ not RETVAL_ 2006-08-07 10:15:12 +00:00
Rob Richards 65ae8773b5 asXML() needs to return bool when serializing doc and filename is passed in
do not copy the content of the outputbuffer twice in asXML()
fix compiler warnings
2006-08-07 10:09:52 +00:00
Antony Dovgal 4b77e7f2f7 nuke unused variable 2006-08-07 09:49:53 +00:00
Marcus Boerger fdf1ee39e4 - Update 2006-08-07 08:34:40 +00:00
Marcus Boerger e038500be3 - Fix bug #38290 2006-08-07 07:57:12 +00:00
Antony Dovgal 6c75d82997 use -O0 with --enable-debug 2006-08-06 20:46:02 +00:00
Antony Dovgal b9b1984646 fix test 2006-08-06 20:17:51 +00:00
Antony Dovgal 1a58ec5156 add test 2006-08-06 20:10:19 +00:00
Christian Stocker 42982ac3a1 Fix #38354 (Unwanted reformatting of XML when using AsXML) 2006-08-06 19:38:45 +00:00
Antony Dovgal 07b5c8fe2a MFH: fix #38347 (Segmentation fault when using foreach with an unknown/empty SimpleXMLElement) 2006-08-06 17:41:51 +00:00
Antony Dovgal 861c55b417 long -> int 2006-08-06 14:09:58 +00:00
Marcus Boerger 444f1f2da3 - MFH Fix cvs access through SplFileObject 2006-08-06 13:47:51 +00:00
Antony Dovgal 218aa04f79 avoid extra strlen() call 2006-08-06 13:27:46 +00:00
Antony Dovgal a1a42253d9 fix PECL bug #7827
add small optimization
2006-08-05 20:56:43 +00:00
Antony Dovgal 3eea546142 MFH 2006-08-05 13:17:50 +00:00
Ilia Alshanetsky 305f597696 Improved fix for bug #37671 2006-08-04 22:13:59 +00:00
Antony Dovgal 8e4334159c revert previous patch 2006-08-04 20:55:00 +00:00
Ilia Alshanetsky b20b73cdb1 Fixed bug #37265 (Added missing safe_mode & open_basedir checks to
imap_body()).
2006-08-04 20:31:19 +00:00
Antony Dovgal d17c2ec46d add new test 2006-08-04 15:01:37 +00:00
Antony Dovgal afcbbe2b86 MFH: fix #38322 (reading past array in sscanf() leads to arbitary code execution) 2006-08-04 11:50:15 +00:00
Antony Dovgal 00bc797b68 fix test 2006-08-04 08:11:47 +00:00
Derick Rethans 2e55464f80 - There is a 2.3 now as well. 2006-08-04 06:48:20 +00:00
Antony Dovgal 60ea962aa3 fix leak in php_sapi_filter() 2006-08-03 19:35:23 +00:00
Ilia Alshanetsky 499ca00476 Fixed bug #38303 (spl_autoload_register() supress all errors silently). 2006-08-03 14:49:11 +00:00
Antony Dovgal 5cff1c6e7e MFH: fix #38276 (file_exists() works incorrectly with long filenames on Windows) 2006-08-03 14:17:58 +00:00
Dmitry Stogov 58c2278284 Added version specific registry keys to allow different configurations for different php version. 2006-08-03 13:54:05 +00:00
Dmitry Stogov c946b4d1b2 In addtion to path to php.ini, PHPRC now may specify full file name 2006-08-03 11:04:52 +00:00
Antony Dovgal bc8f1bc4f0 make it consistent 2006-08-03 10:57:41 +00:00
Antony Dovgal c173c26b64 MFH: improve error message 2006-08-03 10:53:15 +00:00
Dmitry Stogov 29e1530cd7 Added "PHPINIDir" Apache directive to apache and apache_hooks SAPIs 2006-08-03 09:56:50 +00:00
Antony Dovgal 6112a1266a fix test 2006-08-02 23:29:17 +00:00
Antony Dovgal 5f6145b0fd fix ZTS build 2006-08-02 22:03:47 +00:00
Ilia Alshanetsky 4eecfca79c Fixed bug #38213, #37611, #37571 (wddx encoding fails to handle certain
characters).
2006-08-02 15:44:33 +00:00
Ilia Alshanetsky e79e9fade6 Expose the xml_utf8_encode function. 2006-08-02 15:21:54 +00:00
Antony Dovgal e5635a81af init variable, eliminate compile warning 2006-08-02 10:04:11 +00:00
Antony Dovgal 0c4ef446e2 MFH: fix #38289 (segfault in session_decode() when _SESSION is NULL) 2006-08-02 09:16:52 +00:00
Antony Dovgal e17320651c MFH: implement my own FR #36995
add missing ifdefs
2006-08-01 22:42:11 +00:00
Michael Wallner a5ddba6f80 - update test 2006-08-01 16:49:17 +00:00
Michael Wallner efa04c8a22 MFH: use library error message on time string parse failure 2006-08-01 16:45:40 +00:00
Ilia Alshanetsky 7f52671781 Fixed bug #38168 (Crash in pdo_pgsql on missing bound parameters). 2006-08-01 16:31:29 +00:00
Michael Wallner 68613beb3e MFH:
- fix leaks on multiple calls to DateTime::__construct()
 - throw exception on unparseable time strings in DateTime::__construct()
2006-08-01 15:55:03 +00:00
Ilia Alshanetsky 2b5a53d6b6 Fixed memory leak on unused bound name parameters. 2006-08-01 15:06:01 +00:00
Michael Wallner 5f7750c6e6 MFH:
- OO fixes:
  . no is_ref for objects in PHP5+
  . initialize objects when created with the `new` operator
  . check for proper initialization in child classes
 - fix typo: transistion -> transition
 - add test
2006-08-01 13:28:28 +00:00
Antony Dovgal ad3ad9bb79 MFH: fix #38269 (fopen wrapper doesn't fail on invalid hostname with curlwrappers enabled) 2006-08-01 13:28:03 +00:00
Antony Dovgal 1bf915ca2d improve error message on Win32 2006-08-01 12:08:25 +00:00
Antony Dovgal d14b107e5b BFN 2006-08-01 12:04:20 +00:00
Antony Dovgal bf41e955ed BFN 2006-08-01 08:32:59 +00:00
Antony Dovgal 52e6ede06e MFH: fix #38278 (session_cache_expire()'s value does not match phpinfo's session.cache_expire) 2006-08-01 08:32:07 +00:00
Ilia Alshanetsky c6ace95236 Fixed bug #37445 (Fixed crash in pdo_mysql resulting from premature object
destruction).
2006-07-31 20:18:11 +00:00
Ilia Alshanetsky 624e5f83c8 Fixed tests from being always skipped. 2006-07-31 20:14:40 +00:00
Dmitry Stogov 1354aa9ef4 Prevented possible double call in case of fault 2006-07-31 15:31:01 +00:00
Dmitry Stogov 53025ca377 Fixed crash in SoapClient::__setSoapHeaders() 2006-07-31 13:41:34 +00:00
Christian Stocker 88dfe8cfd9 return false instead of null, if it's an invalid document 2006-07-31 13:05:35 +00:00
Christian Stocker 197396c14e make a NEWS entry about
- Fixed XSLTProcessor::importStylesheet() to return TRUE on success
2006-07-31 12:56:52 +00:00
Christian Stocker e53c538151 return true, if xsl import did work 2006-07-31 12:50:42 +00:00
Antony Dovgal f5b5d34a27 MFH: fix #37581 (oci_bind_array_by_name clobbers input array when using SQLT_AFC, AVC) 2006-07-31 10:30:23 +00:00
Ilia Alshanetsky 610b633096 Fixed compiler warning. 2006-07-31 03:41:20 +00:00
Pierre Joye 6394756dae - #36732 entry
- move openssl bug fixes
2006-07-31 00:41:45 +00:00
Pierre Joye 3786f956e6 - #36732, add req_extensions support to openssl_csr_new and _sign
(ben at psc dot edu)
- fix leaks in openssl_csr_new and sign
2006-07-31 00:33:42 +00:00
Antony Dovgal aa1ced04cb MFH: fix #38173 (Freeing nested cursors causes OCI8 to segfault) 2006-07-30 20:51:24 +00:00
Pierre Joye fb1c592640 - group openssl entries 2006-07-30 17:10:06 +00:00
Pierre Joye 769174c2dc - #28382, add support for x509 extensions 2006-07-30 17:03:13 +00:00
Pierre Joye 5def392ce1 - 38261: openssl_x509_parse leaks with invalid certs 2006-07-30 16:26:20 +00:00
Antony Dovgal 71df07ac9a improve checks and fix #38251 2006-07-30 11:54:17 +00:00
Antony Dovgal d056376bba MFH: fix compile warnings (#38257) 2006-07-30 11:34:02 +00:00
Antony Dovgal 168f53b72b fix bug #38253 (PDO produces segfault with default fetch mode)
add test
2006-07-30 11:19:56 +00:00
Georg Richter 0ba0abbd40 Added testcase for bug #37090 2006-07-30 11:03:30 +00:00
Pierre Joye 509761f96d - silent compiler warnings (signess) 2006-07-30 09:18:07 +00:00
Andrei Zmievski 3d7a1c3972 Make array_merge(_recursive) handle binary keys safely. (Patch by Matt W) 2006-07-30 03:31:18 +00:00
Pierre Joye 3a75600dbb - MFH: make the test more obvious and add an explanation 2006-07-29 23:03:56 +00:00
Pierre Joye 3fe91ed83f - vi happiness++ 2006-07-29 22:52:49 +00:00
Antony Dovgal 9d3233651d improve test 2006-07-29 22:41:20 +00:00
Pierre Joye 47db124cda - #38255, fails on array as well 2006-07-29 22:39:34 +00:00
Pierre Joye 9de24788d6 - entry for #37820 and leak 2006-07-29 22:30:22 +00:00
Pierre Joye 06bd78d720 - forgot the tests 2006-07-29 22:27:55 +00:00
Pierre Joye 46b3f37810 - fix leak when the key is not a valid key (like false or an array) 2006-07-29 22:10:50 +00:00
Seiji Masugata 603846c985 fix tests. 2006-07-29 17:11:09 +00:00
Pierre Joye 5317b7050b - #8315, flaot is affected too 2006-07-29 12:43:21 +00:00
Pierre Joye ab5c3f184b - #8315, NULL character stops the validation 2006-07-29 01:26:55 +00:00
Hannes Magnusson 3ca96c8043 Fix DateTime::RSS
Update tests
2006-07-28 16:32:31 +00:00
Ilia Alshanetsky 0de5728c82 cleanup of the phpinfo() output. 2006-07-28 14:27:03 +00:00
Ilia Alshanetsky 726dee9ee3 ext/standard/info.c ext/standard/info.h 2006-07-28 14:23:35 +00:00
Ilia Alshanetsky 3a78dce032 Cleanup phpinfo() output 2006-07-28 13:59:06 +00:00
Antony Dovgal a76b852989 fix test 2006-07-28 13:47:56 +00:00
Antony Dovgal 29a7498965 MFH: disable --leak-check 2006-07-28 12:58:59 +00:00
Antony Dovgal a28a95c11a MFH: patch for #37846 (wordwrap() wraps incorrectly)
by Dmitry Kononov <ddk at krasn dot ru>
2006-07-28 12:23:18 +00:00
Ilia Alshanetsky 4c2d752fb1 Fixed a bug in the filter extension that prevented magic_quotes_gpc from
being applied when RAW filter is used.
2006-07-27 18:14:55 +00:00
Ilia Alshanetsky cfda15ffc1 Binary safe multipart request handling 2006-07-27 17:04:15 +00:00
Ilia Alshanetsky 7ba86d078f Fixed bug #38236 (Binary data gets corrupted on multipart/formdata POST). 2006-07-27 15:37:56 +00:00
Ilia Alshanetsky 96324fb67f An improved fix for bug #38224 2006-07-27 15:33:16 +00:00
Ilia Alshanetsky bcc8854eaa make C++ compilers happy 2006-07-27 14:13:30 +00:00
Ilia Alshanetsky dcb4b314bf removed debug code 2006-07-27 14:05:03 +00:00
Ilia Alshanetsky e5a1182304 Fixed bug #38224 (session extension can't handle broken cookies). 2006-07-27 14:00:13 +00:00
Ilia Alshanetsky af48ecfc87 Fixed bug #38229 (strtotime() does not parse YYYY-MM format). 2006-07-27 13:00:00 +00:00
Antony Dovgal 92f4cc359f MFH: fix leak in php_local_infile_init() handler 2006-07-27 10:53:15 +00:00
Dmitry Stogov a98e5c674f Fixed bug #38234 (Exception in __clone makes memory leak) 2006-07-27 10:44:03 +00:00
foobar 7625313f9c MFH: - Added PHP_VERSION_ID == PHP_VERSION as integer. 2006-07-27 08:53:16 +00:00
Dmitry Stogov ee97ffd887 Fixed bug #38047 ("file" and "line" sometimes not set in backtrace from inside error handler) 2006-07-27 08:20:38 +00:00
Antony Dovgal ddb577b9b8 fix test on 64bit machines 2006-07-27 08:11:47 +00:00
Antony Dovgal 97ef557b97 initialize var 2006-07-27 08:00:54 +00:00
Antony Dovgal bbf2ab4d45 fix build with Intel C Compiler 2006-07-27 07:39:30 +00:00
foobar f58da213ff MFH: - Fixed bug #37164 (snmp_set_oid_numeric_print() misbehaves)
MFH:   . Renamed the function to snmp_set_oid_output_format() which describes
MFH:     it's behaviour better. Old one was left as an alias for it.
MFH:   . Added 2 new constants: SNMP_OID_OUTPUT_FULL and SNMP_OID_OUTPUT_NUMERIC
MFH: - Fixed some memleaks
2006-07-27 05:17:34 +00:00
foobar 60562a6312 update credits 2006-07-27 01:21:27 +00:00
foobar 0e7e000d56 MFH:- Fix build with ext/date/lib with shared extensions 2006-07-27 01:20:09 +00:00
foobar 0bf6b23cb8 MFH: fix phpize build 2006-07-27 01:18:55 +00:00
Ilia Alshanetsky b0ea656129 Fixed compiler warnings. 2006-07-27 00:36:55 +00:00
foobar 67a82e5106 MFH: - Fixed bug #37564 (AES privacy encryption not possible due to net-snmp 5.2 compatibility issue) 2006-07-26 23:57:43 +00:00
Pierre Joye a7768dd36f - readability 2006-07-26 23:23:55 +00:00
Pierre Joye e321c90522 - fix test 2006-07-26 23:22:53 +00:00
Ilia Alshanetsky 7b409b2276 Improved fix for bug #38132 2006-07-26 23:18:41 +00:00
Dmitry Stogov 30f4d3f959 Fixed bug #38220 (Crash on some object operations) 2006-07-26 15:29:27 +00:00
Antony Dovgal e1dfc4259f eliminate compilation warnings on AIX 2006-07-26 13:22:06 +00:00
foobar d8cd2d24d5 fix news 2006-07-26 12:07:13 +00:00
Antony Dovgal 4038877d85 turn Off Zend MM and check for leaks when running tests through valgrind 2006-07-26 11:11:11 +00:00
Antony Dovgal 5e0f6ea7db nuke unused variable 2006-07-26 10:31:08 +00:00
Pierre Joye 9db0e7cc3a - 38212 & 38214 2006-07-26 10:06:10 +00:00
Pierre Joye bc11170217 - #38214, gif interlace never works 2006-07-26 10:03:09 +00:00
Dmitry Stogov e447baafa1 Fixed bug #38211 (variable name and cookie name match breaks script execution) 2006-07-26 09:24:26 +00:00
Pierre Joye 40c059b8fc - MFH: mv 38179.phpt to bug38179.phpt 2006-07-26 08:59:55 +00:00
Antony Dovgal a0371df33f MFH: fix compile warning on Solaris, getloadavg() is in sys/loadavg.h there 2006-07-26 08:57:44 +00:00
Pierre Joye 206ec1a06b - MFH #38212, Segfault on invalid imagecreatefromgd2part() parameters 2006-07-26 08:53:30 +00:00
Dmitry Stogov 3688c103b5 Fixed crash of DEBUG version on SPARC CPU because of unaligned pointers. 2006-07-26 08:07:11 +00:00
Antony Dovgal 65626296da MFH: fix bug #38217 (ReflectionClass::newInstanceArgs() tries to allocate too much memory) 2006-07-26 08:03:48 +00:00
Antony Dovgal 7987bba743 improve connection timeout check (implements FR #38210) 2006-07-26 06:59:40 +00:00
Hannes Magnusson d5ec319367 MFH: Update protos & arginfo for memory_get_usage() & memory_get_peak_usage() 2006-07-25 16:41:04 +00:00
Antony Dovgal 9cd119859d forgot to remove .cvsignore 2006-07-25 15:54:03 +00:00
Michael Wallner 799ec9975b - ws 2006-07-25 14:44:53 +00:00
Ilia Alshanetsky e11e2a137c Fixed bug #38132 (ReflectionClass::getStaticProperties() retains \0 in key
names).
2006-07-25 14:06:52 +00:00
Dmitry Stogov 356facf4af Changed memory_get_usage() and memory_get_peak_usage(). Optional boolean argument allows get memory size allocated by emalloc() (by default) or real size of memory allocated from system. 2006-07-25 13:40:05 +00:00
Antony Dovgal 0a95528fc0 news entry 2006-07-25 13:24:53 +00:00
Antony Dovgal ddf19dc81c move ext/hwapi to PECL 2006-07-25 13:24:19 +00:00
Antony Dovgal a5aae5c45b ext/filepro moved to PECL 2006-07-25 12:52:18 +00:00
Ilia Alshanetsky bd581ab476 Fixed bug #38194 (ReflectionClass::isSubclassOf() returns TRUE for the
class itself).
2006-07-25 12:34:38 +00:00
Antony Dovgal e5f71c36af MFH: check g_hash for NULL before resetting it 2006-07-25 10:36:19 +00:00
Uwe Schindler d6337819ba MFH: Fix compilation with TSRM (now correct) 2006-07-25 09:20:32 +00:00
Uwe Schindler c1da9dbc8b revert shitty whitespace patch (forgot to reconfigure my editor after reinstallation) 2006-07-25 09:19:38 +00:00
Antony Dovgal cff6e2b446 initialize variable 2006-07-25 09:06:55 +00:00
Uwe Schindler c1ddf2c2ed Fix compilation with TSRM 2006-07-25 08:42:54 +00:00
Derick Rethans c3e5ee1840 - Fixed typo. 2006-07-25 06:49:38 +00:00
Marcus Boerger 195417eb4d - MFH Update tests 2006-07-24 23:41:09 +00:00
Marcus Boerger 5da6415bfe - MFH Correctly handle binary proeprty names which are not mangled 2006-07-24 23:40:57 +00:00
Marcus Boerger 4da92e63af - MFH Yet another problematic case with mangled properties 2006-07-24 22:36:21 +00:00
Ilia Alshanetsky 7fdcd281c6 back to dev 2006-07-24 18:53:01 +00:00
Ilia Alshanetsky 5e24aedf46 5.2.0RC1 2006-07-24 18:51:31 +00:00
Pierre Joye 6cf345f571 - #38179 and zip entry 2006-07-24 18:30:53 +00:00
Andrei Zmievski 8474838a9a +1 for keys 2006-07-24 18:18:33 +00:00
Marcus Boerger d0f2f6cd04 - MFH zend_unmangle_property_name(), drop zend_unmangle_property_name_ex() 2006-07-24 18:03:45 +00:00
Marcus Boerger 519ed8e13b - Better fix for #34505 and related, drop zend_unmangle_property_name_ex() 2006-07-24 17:58:32 +00:00
Pierre Joye 53d297a7ea - this one was not in 2006-07-24 17:26:24 +00:00
SVN Migration 664d102aa6 This commit was manufactured by cvs2svn to create branch 'PHP_5_2'. 2006-07-24 16:58:59 +00:00
Michael Wallner 467e129ce5 - note about allow_url_include 2006-07-24 12:15:28 +00:00
Dmitry Stogov b9ba07f7a0 Documentation fix 2006-07-24 12:15:07 +00:00
Dmitry Stogov 3b7386acea Fixed memory leaks detection 2006-07-24 08:15:26 +00:00
Dmitry Stogov a49e04477f Test for bug #38146 (Cannot use array returned from foo::__get('bar') in write context) 2006-07-24 07:43:49 +00:00
Ilia Alshanetsky 60b2f49762 Fixed compiler warning. 2006-07-24 03:58:41 +00:00
foobar 1a8d655fec fix build and typo after another lazy ass who does not test before commit: Dmitry 2006-07-24 00:01:02 +00:00
foobar 25f06142c2 MFH: cleanup after lazy people 2006-07-23 23:55:46 +00:00
foobar 93c0ddb2f3 MFH: fix compile failure and remove unnecessary TSRMLS_FETCH calls 2006-07-23 23:50:43 +00:00
Pierre Joye 261beb0326 - #38179, imagecopy, palette to truecolor must use alpha channel too 2006-07-23 21:41:12 +00:00
Marcus Boerger 43fa4e015b - This was reintroduced by Zeev
# I could need help in writing this file. Actually i know why i didn't want
# to start it in the first place.
2006-07-23 18:51:23 +00:00
Andrei Zmievski bb430b3737 Gah. 2006-07-22 16:58:39 +00:00
Andrei Zmievski d827c76379 Matt should be happy now. 2006-07-22 16:58:06 +00:00
Stefan Esser cfac29e20e Added RFC1867 fileupload processing hook. 2006-07-22 16:38:29 +00:00
foobar 2b8ad5a0af MFH:- Fixed bug #38183 (disable_classes=Foobar causes disabled class to be called Foo) 2006-07-22 15:41:42 +00:00
Rob Richards 40e08311e5 MFH: enable by default 2006-07-22 15:33:02 +00:00
Nuno Lopes ff591e2cf0 more const keywording 2006-07-22 15:22:56 +00:00
Nuno Lopes 5e7efb5ec9 dont create images in the php source root. output them instead 2006-07-22 15:15:53 +00:00
Pierre Joye 4219fe6c66 - hopla, before I got more conflicts ;)
(fix compiler warnings with latest const char changes)
2006-07-22 12:59:15 +00:00
Nuno Lopes 083b13335e use const keyword where possible 2006-07-22 12:49:36 +00:00
Pierre Joye 3ce212ccae - silent compiler warnings (char/unsigned char) 2006-07-22 09:39:24 +00:00
Pierre Joye 0714c1a3d5 - api shake #1, parse_pararameter has to be changed too 2006-07-22 09:09:06 +00:00
Pierre Joye 697f4e1f08 - API Shake up #1, use input type as first argument in input_get_args
(INPUT_GET/POST)
2006-07-22 08:58:03 +00:00
Andrei Zmievski 1223119155 MFH 2006-07-21 23:54:19 +00:00
Marcus Boerger a6f8252f9b - MFH Update docu 2006-07-21 21:55:43 +00:00
Marcus Boerger 6a738f6b5b - MFH Match code with docu 2006-07-21 21:26:11 +00:00
Marcus Boerger 85963e6300 - MFH Update RegexIterator, Docu & Tests 2006-07-21 20:14:31 +00:00
Dmitry Stogov 33a1a4d39a Changed error message (E_ERROR -> E_NOTICE) in case of indirect modification of overloaded property. 2006-07-21 10:32:17 +00:00
Dmitry Stogov 9a98904ddd Fixed wrong "type" argument to read_property() handler 2006-07-21 08:39:30 +00:00
Marcus Boerger 45d09c71ba - Synch RegexIterator with HEAD 2006-07-20 22:54:21 +00:00
Marcus Boerger 6fb763c4f9 - MFH Clean up (after consulting Andrei)
. Change the handlers SPL uses to php_pcre_*_impl(pcre_cache_entry*,....)
  . All refactored funcs (match, split, replace, grep) use the above
  . Change (zend|php)_error() to php_error_docref()
  . Move from old to new param parsing api
  . Fix memleaks in unicode mode
2006-07-20 22:53:07 +00:00
Edin Kadribasic 163e1fd41c Lib update 2006-07-20 22:21:27 +00:00
Seiji Masugata 3e1c05170e Initial commit. Updated bundled oniguruma library (used for multibyte regular expression) to 4.2.0. 2006-07-20 15:56:29 +00:00
Derick Rethans 150d058008 - MFH: Rename date classes to DateTime and DateTimeZone 2006-07-20 15:49:02 +00:00
Seiji Masugata e95f9a0eeb Updated bundled oniguruma library (used for multibyte regular expression) to 4.2.0. 2006-07-20 15:45:07 +00:00
Pierre Joye d6c2c283ed - make boolean logical filter works like int/float and php itself
- add more tests for boolean input
2006-07-20 12:58:13 +00:00
Antony Dovgal f59a139f61 rephrase 2006-07-20 10:47:37 +00:00
foobar 68ae270793 MFH: simplify 2006-07-20 10:11:15 +00:00
foobar 34ae4eafd0 update 2006-07-20 10:09:09 +00:00
foobar 479055a85b MFH 2006-07-20 10:07:29 +00:00
Antony Dovgal 3003cd2473 MFH: use E_WARNING on recursion and add null to the result to keep it valid 2006-07-20 09:33:28 +00:00
Antony Dovgal 60720d285f MFH: ZTS fix 2006-07-20 09:19:02 +00:00
Antony Dovgal ad8445a828 add missing .cvsignore 2006-07-20 08:58:49 +00:00
Antony Dovgal 3e308d3a6b MFH: add recursion protection to json_encode() and new tests 2006-07-20 08:56:57 +00:00
Antony Dovgal 0b97d2bd60 fix segfault, add test 2006-07-20 08:24:31 +00:00
Antony Dovgal 074feedc2b MFH 2006-07-20 07:40:49 +00:00
Antony Dovgal 926961192f MFH 2006-07-20 07:30:22 +00:00
Antony Dovgal efe0314db6 break; break; -> break; 2006-07-20 07:20:23 +00:00
Pierre Joye 92b6f24241 - fix tests for PI with libxml 2.6.24+, a new line is now added 2006-07-19 18:50:51 +00:00
Ilia Alshanetsky 221ac1b9e5 Extension news 2006-07-19 16:20:02 +00:00
Ilia Alshanetsky cdfe00b801 Fixed compiler warnings and enable Json by default. 2006-07-19 16:17:15 +00:00
foobar a90c48fb48 un*uck NEWS 2006-07-19 13:54:56 +00:00
foobar 92f080a0a3 Missing file.. 2006-07-19 13:45:43 +00:00
Michael Wallner 46f21b8a32 MFH: added error_get_last() function 2006-07-19 12:25:46 +00:00
Dmitry Stogov f7c99da2fe Fixed bug #37144 (PHP crashes trying to assign into property of dead object) 2006-07-19 09:55:19 +00:00
Antony Dovgal e8241e59ac no need to fetch name and free it immediately after that 2006-07-19 08:35:55 +00:00
Antony Dovgal 28c9afe35d fix tests 2006-07-19 08:26:50 +00:00
Antony Dovgal 4e8a4a4235 MFH: increase refcount when adding zval to the result array 2006-07-19 07:18:34 +00:00
Antony Dovgal f61572e645 fix compile warnings 2006-07-19 06:57:21 +00:00
Antony Dovgal ca7875ab83 fetch tsrm_ls, don't use it uninitialized 2006-07-19 06:32:52 +00:00
Ilia Alshanetsky 480104a456 Fixed memory leak 2006-07-18 22:42:28 +00:00
Antony Dovgal c204ff0258 MFH: fix build on platforms without mremap() 2006-07-18 15:41:58 +00:00
Antony Dovgal a390c84dc5 news entry 2006-07-18 14:58:42 +00:00
Antony Dovgal 9e905c3de7 MFH: add gmp_nextprime()
patch by ants dot aasma at gmail dot com
2006-07-18 14:54:32 +00:00
Derick Rethans 9ccbb28696 - Enable all new date functions and classes 2006-07-18 12:38:05 +00:00
Antony Dovgal b45268a07a fix test 2006-07-18 09:22:32 +00:00
Dmitry Stogov 29ed52ffa4 New memory manager 2006-07-18 09:06:33 +00:00
Antony Dovgal 7f9a43653c fix logic 2006-07-18 09:00:10 +00:00
Antony Dovgal 7a089a43af MFH: fix DVAL_TO_LVAL() on AIX with old gcc 2006-07-18 08:17:28 +00:00
Ilia Alshanetsky fea4eeb845 Added possible failure note. 2006-07-18 00:09:01 +00:00
Marcus Boerger 34cfec2536 - MFH Fix #38125 undefined reference to spl_dual_it_free_storage 2006-07-17 21:11:33 +00:00
Michael Wallner c0fcaa7acb - fix bug #37945 pathinfo() cannot handle argument with special characters
like german "Umlaute"
2006-07-17 20:36:47 +00:00
Pierre Joye 2a06ce8518 - #38112, add test and use MAX_LWZ_BITS instead of the value 2006-07-17 14:30:21 +00:00
Pierre Joye cb41a19f28 - sync tests with HEAD 2006-07-17 12:54:09 +00:00
Nuno Lopes 46c036cd4d make valgrind trace child processes. useful for the PCNTL extension (fork()), for example 2006-07-17 11:43:48 +00:00
Nuno Lopes 7a38509835 new test 2006-07-17 11:39:13 +00:00
Nuno Lopes 0433d29020 now they are really equivalent.. 2006-07-17 10:48:11 +00:00
Antony Dovgal 7c24d8fbee typofix 2006-07-17 10:08:17 +00:00
Dmitry Stogov d68797945a Fixed memory leaks in ZTS mode. 2006-07-17 07:20:12 +00:00
Antony Dovgal f3f44275f4 MFH 2006-07-17 06:45:08 +00:00
Seiji Masugata 1d6182a907 added option parameter mb_strrpos( ). 2006-07-17 04:48:17 +00:00
Ilia Alshanetsky cd0e0124c9 Don't use regex where none is needed. 2006-07-17 03:57:31 +00:00
Marcus Boerger 109c89c848 - MFH Typo 2006-07-16 23:48:34 +00:00
Marcus Boerger f2623f0b50 - MFH Update docu 2006-07-16 23:46:12 +00:00
Marcus Boerger 55f0596fab - MFH:
. Upgrade RegexIterator capabilities, see docu
  . Update docu
  . Add test (which fails right now: iterator_049.phpt)
  . Add tests for new functionality
2006-07-16 21:12:32 +00:00
Marcus Boerger bf4c9ef686 - MFH: Little bit refactoring: Two new PHPAPI functions:
. php_pcre_match
  . php_pcre_split
2006-07-16 21:09:30 +00:00
Nuno Lopes 717ca4ef55 new tests. almost 90% of code coverage 2006-07-16 19:35:09 +00:00
Marcus Boerger bd760162e6 - MFH Correct test name 2006-07-16 17:34:37 +00:00
Christian Stocker 2dbcfcb8cb improved code (after suggestion by helly) 2006-07-16 16:04:09 +00:00
Antony Dovgal e79591b081 fix test 2006-07-16 15:59:08 +00:00
Christian Stocker dc8ba6f475 Added DOMNode::getNodePath() for getting an XPath for a node. 2006-07-16 15:03:53 +00:00
Pierre Joye 17f6ae66ce - #38112, corrupt GIF segfaults, test will follow 2006-07-16 11:07:31 +00:00
Marcus Boerger dc571fa9e2 - MFH Fixed Bug #29538 number_format and problem with 0 2006-07-16 10:50:58 +00:00
Marcus Boerger f03f2c5eae - MFH Pathinfo allows to get filename (Toby S, Christian S) 2006-07-16 10:37:24 +00:00
Marcus Boerger 9c30e20bd6 - MFH Implement todo: SplFileObject: ability to set the CSV separator per object 2006-07-15 15:08:41 +00:00
Marcus Boerger bb3c702162 - MFH Fix issue with SplFileObject and directories 2006-07-15 13:01:59 +00:00
Marcus Boerger 31a8d6a6b3 - MFH array_fill_keys, better unicode support, use new param parsing API 2006-07-15 12:14:07 +00:00
Marcus Boerger 87c64280b0 - MFH Added array_fill_keys(). (Marcus, Mathew W) 2006-07-15 10:21:10 +00:00
Antony Dovgal 54dba635a3 rephrase the error message (fixes #38106) 2006-07-14 20:44:04 +00:00
Nuno Lopes 3876158e8f fix test with some aspell versions 2006-07-14 16:14:05 +00:00
Antony Dovgal 19a9052d6e fix build 2006-07-13 17:03:35 +00:00
Ilia Alshanetsky ab6d4d411a Fixed test for systems where set_charset() method is unavailable. 2006-07-13 15:42:43 +00:00
Ilia Alshanetsky 9c125eeb27 Fixed compiler warnings. 2006-07-13 15:05:30 +00:00
Antony Dovgal 4902fc6c25 MFH: fix #38086 (stream_copy_to_stream() returns 0 when maxlen is bigger than the actual length)
add tests
2006-07-13 12:00:17 +00:00
Ilia Alshanetsky 1784db8087 Fixed compiler warnings. 2006-07-13 00:13:19 +00:00
Antony Dovgal a9469060e5 MFH: init variables and get rid of annoying warnings 2006-07-12 21:17:30 +00:00
Antony Dovgal 9d57621235 MFH: initialize EG(exit_status) in ZTS mode 2006-07-12 18:10:56 +00:00
Michael Wallner 33dbaff1ed MFH: add note why replace is 0, so that I don't wonder again in 2 months
why session_regenerate_id() sends the session cookie twice
2006-07-12 15:28:44 +00:00
Antony Dovgal f9070e626a bailout on error and don't try to create fields of unknown type
add test
2006-07-12 13:08:38 +00:00
Antony Dovgal 69d6fe45c8 it's usually good idea to initialize variables
especially if you rely on their values
2006-07-12 12:38:49 +00:00
Antony Dovgal 3cce465528 fix invalid read - no need to compare strings if haystack is "" or shorter than needle
add test
2006-07-12 12:33:48 +00:00
Antony Dovgal 8a35e9d014 fix #38072 (boolean arg for mysqli_autocommit() is always true on Solaris) 2006-07-12 09:51:47 +00:00
Antony Dovgal 1f09c0b9d5 fix TSRM build 2006-07-12 09:33:37 +00:00
Dmitry Stogov c48a2e38f4 Fixed bug #38067 (Parameters are not decoded from utf-8 when using encoding option) 2006-07-12 08:59:40 +00:00
Hartmut Holzgraefe 3fe315c652 MFH new test cases 2006-07-12 08:01:44 +00:00
Dmitry Stogov b6d2c54059 Destructors call order is changed (Fixed bug #36759 - Objects destructors are invoked in wrong order when script is finished) 2006-07-12 07:55:17 +00:00
Dmitry Stogov 8bb047ee97 Fixed bug #36759 (Objects destructors are invoked in wrong order when script is finished). 2006-07-12 07:54:00 +00:00
Marcus Boerger 39a4078b8c - Reorder and add missing 2006-07-12 07:34:28 +00:00
Hartmut Holzgraefe e796974f6f fixed C&P errors in groups handling, activated groups feature 2006-07-12 07:01:04 +00:00
Hartmut Holzgraefe aca6460346 MFH 2006-07-11 23:45:28 +00:00
Hartmut Holzgraefe ae749049f5 MFH make sure that embedded database is correctly initialized 2006-07-11 23:43:55 +00:00
Hartmut Holzgraefe 61e9783154 debug output was breaking all tests 2006-07-11 23:42:58 +00:00
Hartmut Holzgraefe 3e099a5983 MFH test for ping and kill methods 2006-07-11 23:35:38 +00:00
Ilia Alshanetsky d21628f993 Fixed test 2006-07-11 22:13:53 +00:00
Antony Dovgal 7ff8061d0a add new tests by Ligaya Turmelle 2006-07-11 21:28:38 +00:00
Antony Dovgal 40b87ec99f MFH: /tmp is often a symlink, use /bin instead 2006-07-11 21:20:20 +00:00
Antony Dovgal 24d3381b10 fix typo, add new test 2006-07-11 16:33:25 +00:00
Dmitry Stogov a602a3eef5 Nuke signed/unsigned compiler warnings 2006-07-11 14:35:50 +00:00
Dmitry Stogov ee1dc90d1e Nuke signed/unsigned compiler warnings 2006-07-11 14:24:18 +00:00
Antony Dovgal b491930ef6 fix segfault in jdmonthname(), add test 2006-07-11 14:16:26 +00:00
Antony Dovgal 5e93a7df9a eliminate compile warnings 2006-07-11 12:37:00 +00:00
Antony Dovgal 3aaf62d159 there is no Unicode in 5_2 2006-07-11 12:15:11 +00:00
Dmitry Stogov 631a00a0a0 Fixed memory leak in case of exception in iterator callbacks in 'foreach(new Iterator()...' (spl/tests/iterator_047.phpt). 2006-07-11 08:52:28 +00:00
Ilia Alshanetsky 190c186fb8 apache2handler sapi is no longer experimental 2006-07-11 00:15:30 +00:00
Hartmut Holzgraefe c1b67d83cc (MFH) "transaction" tests should test commit, too, not only rollback 2006-07-10 16:29:50 +00:00
Dmitry Stogov fbd3ef09ed Fixed memory leaks in ext/spl/tests/fileobject_003.phpt 2006-07-10 15:47:58 +00:00
Hartmut Holzgraefe 836e74ebee MFH 2006-07-10 14:06:13 +00:00
Dmitry Stogov 83ac79600e Fixed bug #37947 (zend_ptr_stack reallocation problem) 2006-07-10 14:02:40 +00:00
Antony Dovgal d9d23050d1 MFH: fix mysqli_*_free_storage() funcs to conform with their prototypes 2006-07-10 13:02:43 +00:00
Dmitry Stogov 26c7981ccf Another fix for #38019 2006-07-10 12:46:28 +00:00
Antony Dovgal 3113fa9440 MFH: initialize vars 2006-07-10 11:26:22 +00:00
Dmitry Stogov 26499be68f Fixed bug #38055 (Wrong interpretation of boolean parameters) 2006-07-10 10:33:43 +00:00
Dmitry Stogov 690e86fdb2 Fixed bug #38019 (segfault extending mysqli class) 2006-07-10 10:05:20 +00:00
Dmitry Stogov 795a482a48 Fixed bug #38005 (SoapFault faultstring doesn't follow encoding rules) 2006-07-10 07:41:33 +00:00
Hartmut Holzgraefe 098d3d2b02 MFH 2006-07-10 07:39:35 +00:00
Dmitry Stogov 1cfb8af265 Fixed test 2006-07-10 07:26:17 +00:00
Dmitry Stogov c389a653f7 Fixed bug #38004 Parameters in SoapServer are decoded twice 2006-07-10 07:21:41 +00:00
Marcus Boerger f66cd50510 - BFN 2006-07-10 00:36:47 +00:00
Marcus Boerger 704eced26b - MFH Fixed Bug #37667 (Object is not added into array returned by __get) 2006-07-10 00:36:28 +00:00
Marcus Boerger 71efa5b435 - MFH Fixed bug #37816 (ReflectionProperty does not throw exception when accessing protected attribute) 2006-07-10 00:18:53 +00:00
Marcus Boerger c5ff44688a - MFH Fix logic 2006-07-09 23:30:19 +00:00
Ilia Alshanetsky ff08705591 Removed pointless declarations 2006-07-09 23:28:28 +00:00
Marcus Boerger d6b489fb32 - Add new entry 2006-07-09 22:58:36 +00:00
Marcus Boerger 21858220b2 - MFH It appears i am the maintainer 2006-07-09 22:49:16 +00:00
Marcus Boerger ec11b44e84 - BFN 2006-07-09 22:45:32 +00:00
Marcus Boerger dd5cbcd24c - Fixed Bug #37811 define not using toString on objects 2006-07-09 22:45:11 +00:00
Marcus Boerger c514ee0c9b - MFH Fix issue with comparing objects with objects 2006-07-09 18:03:42 +00:00
Marcus Boerger 2f0e80afac - BFN 2006-07-09 17:53:55 +00:00
Marcus Boerger e9be807267 - MFH Add new test 2006-07-09 17:04:27 +00:00
Marcus Boerger fa57959f47 - MFH:
. Fix comparision edgecases involving objects (Tony, Marcus)
  . Use ZVAL_LONG() where appropriate
2006-07-09 16:58:05 +00:00
Marcus Boerger d5811fc08a - MFH Fix test 2006-07-09 16:56:22 +00:00
Marcus Boerger d26b539c61 - MFH DualIterator 2006-07-09 10:24:32 +00:00
Marcus Boerger 5fee10735f - MFH Add spl_object_hash() 2006-07-09 10:22:27 +00:00
Marcus Boerger 0fd2b96204 - MFH Add test 2006-07-08 12:25:57 +00:00
Nuno Lopes c26991a9eb MFH 2006-07-08 00:13:17 +00:00
Nuno Lopes 8b139b654d static + const keywords 2006-07-07 23:32:14 +00:00
Hannes Magnusson 147840dd93 MFH: ReflectionFunction::isDisabled() 2006-07-07 11:55:23 +00:00
Ilia Alshanetsky 89635eb158 E_ERROR > E_RECOVERABLE_ERROR 2006-07-06 23:13:18 +00:00
Antony Dovgal 91f9af4360 add test 2006-07-06 16:14:56 +00:00
Sara Golemon 86bbbbdce4 MFH (def.h rev:1.121, execute.h rev:1.120)
Silence FETCH_OBJ_IS / undefined notices
2006-07-06 15:32:07 +00:00
Ilia Alshanetsky 278dc574f2 E_ERROR > E_RECOVERABLE_ERROR 2006-07-05 17:38:14 +00:00
Antony Dovgal d90263437c add test for bug #38003 2006-07-05 13:31:17 +00:00
Antony Dovgal 0c05e6da00 fix tests 2006-07-05 11:55:59 +00:00
Antony Dovgal 058b529ae7 oops.. fix copy/paste typo 2006-07-05 11:54:08 +00:00
Antony Dovgal 4c26ed263d BFN 2006-07-05 11:49:37 +00:00
Antony Dovgal 0f8f945418 MFH: fix bug #38003(in classes inherited from mysqli it's possible to call private constructors from invalid context) 2006-07-05 11:48:30 +00:00
Antony Dovgal c4c96c042e MFH: export zend_std_get_constructor() 2006-07-05 11:41:25 +00:00
Antony Dovgal 859ab9a4cf MFH: improve error messages 2006-07-05 11:39:00 +00:00
Edin Kadribasic e84a7de005 apache2filter on windows news 2006-07-05 10:18:25 +00:00
SVN Migration 1b0a789ab9 This commit was manufactured by cvs2svn to create branch 'PHP_5_2'. 2006-07-05 10:12:43 +00:00
Ilia Alshanetsky f0178f71ee Eliminate some compiler warnings 2006-07-04 20:12:38 +00:00
Derick Rethans d060a6e8a2 - MFH: Updated timezonedb to version 2006.7.
- MFH: Fixed test cases because of new constant values for the formats.
2006-07-04 18:13:58 +00:00
Hannes Magnusson 612e75442f mfh 2006-07-04 15:37:34 +00:00
Hannes Magnusson 1d6e7e3d93 MFH: Fix protos&arginfo 2006-07-04 15:33:57 +00:00
Dmitry Stogov d550c270ce Fixed memory leak 2006-07-04 07:26:53 +00:00
Dmitry Stogov acb1e07980 Changed priority of PHPRC environment variable on win32 to be higher then value from registry. 2006-07-04 06:35:49 +00:00
Hannes Magnusson a32fb32781 Make everyone happy 2006-07-03 22:42:03 +00:00
Ilia Alshanetsky 4a0d670f43 Fixed test 2006-07-03 21:58:46 +00:00
John Coggeshall 42c462c755 Adding Apache2Filter news 2006-07-03 16:55:57 +00:00
John Coggeshall 3a0791c99b Reimplementation of the way Apache 2 Filter works. Instead of ripping the
source from a file (thus bypassing any previous filters in the chain). This
implementation wraps Zend's internal stream mechanism, allowing ZE to read
from Apache's streams instead.
2006-07-03 16:51:38 +00:00
Hannes Magnusson 87bc74ea7a fix tests 2006-07-03 16:03:51 +00:00
Nuno Lopes 919d737505 more testing 2006-07-03 14:46:44 +00:00
Nuno Lopes 9990b3f431 new tests and fix the locales test where the pt local isnt available. 2006-07-03 13:04:45 +00:00
Ilia Alshanetsky 1b2cc459c6 Fixed bug #37987 (invalid return of file_exists() in safe mode). 2006-07-02 13:51:40 +00:00
Hannes Magnusson 7af33194e5 MFH: arginfo fixes 2006-07-02 00:11:06 +00:00
Nuno Lopes b7311e9173 fixed segfaults and such things within the new assert02.phpt test 2006-07-01 12:21:07 +00:00
Nuno Lopes 7961207d6b add const keywords 2006-07-01 11:35:34 +00:00
Hannes Magnusson 6910275d51 MFH reference fixes 2006-06-30 18:17:38 +00:00
Antony Dovgal bdd4183fba news 2006-06-30 10:55:06 +00:00
Antony Dovgal a518b450fd MFH: add error messages to disk_free_space() & disk_total_space() (feature request #37971) 2006-06-30 10:53:11 +00:00
Ilia Alshanetsky 9048ae292c Fixed test for situations where pspell_clear_session() is unavailable. 2006-06-29 22:54:31 +00:00
Antony Dovgal 6c37c9fa0a fix test on AIX and Solaris 2006-06-29 22:45:19 +00:00
Ilia Alshanetsky 70f2bcf763 Fixed test 2006-06-29 22:42:25 +00:00
Hannes Magnusson 1c530aa7cb Fix test on linux 2006-06-29 22:10:47 +00:00
Hannes Magnusson 3fd28953c6 mfh 2006-06-29 15:01:31 +00:00
Hannes Magnusson 77b307021d fix test 2006-06-29 14:53:50 +00:00
Hannes Magnusson 7a6fe06e4b url->URL 2006-06-29 14:40:49 +00:00
Hannes Magnusson bcd06ef1b6 Bug #37961 (url should be URL) 2006-06-29 14:31:56 +00:00
Antony Dovgal b8f97db580 MFH: make sure we won't get into endless loop 2006-06-29 09:03:27 +00:00
Antony Dovgal 6a43f6805c add new tests 2006-06-29 09:00:33 +00:00
Ilia Alshanetsky 24ac7931cd Improved safe_mode check for the error_log() function. 2006-06-28 22:08:42 +00:00
Antony Dovgal 5ca11825d1 BFN 2006-06-28 15:04:28 +00:00
Antony Dovgal 0212ec6c71 MFH: fix #37931 (possible crash after database restart when using persistent connections) 2006-06-28 15:03:33 +00:00
Nuno Lopes e8a3530d50 new tests (001.phpt is just a rename from the older one)
increases coverage from 20% to 70%
2006-06-28 14:36:23 +00:00
Ilia Alshanetsky 58c82af64d Improved the error reporting in SOAP extension on request failure. 2006-06-27 23:32:56 +00:00
Nuno Lopes 38e47dd0bb add new tests. bump code coverage to more than 80% 2006-06-27 22:43:26 +00:00
Hannes Magnusson 297a3d8e4c arginof fixes 2006-06-27 22:14:18 +00:00
Hannes Magnusson 52fd069ff4 Fix arg info (php6 features) 2006-06-27 21:42:16 +00:00
Antony Dovgal 41ada4ba9b add new tests 2006-06-27 21:10:04 +00:00
Nuno Lopes 29b0798cc8 revert per Derick request 2006-06-27 21:00:03 +00:00
Antony Dovgal badf27fb2a MFH: no need to throw E_ERROR here 2006-06-27 19:58:43 +00:00
Nuno Lopes 5c97837ca2 add a couple of static and const keywords, to let the compiler optimize better
will MFB in a hour, or so
2006-06-27 19:48:01 +00:00
Antony Dovgal 7dec2a7354 more tests 2006-06-27 15:55:06 +00:00
Antony Dovgal 5f024dcc16 more date() tests 2006-06-27 15:08:16 +00:00
Antony Dovgal ac4f8071c5 BFN 2006-06-27 08:28:24 +00:00
Antony Dovgal 6c52ec1319 MFH: fix #37920 (compilation problems on z/OS) 2006-06-27 08:27:10 +00:00
Hannes Magnusson aaa1d62614 MFH: fix/add SKIPIF 2006-06-27 00:09:43 +00:00
Hannes Magnusson 000957818e MFH: fix test 2006-06-26 23:42:59 +00:00
Antony Dovgal 8058f9fd11 add new tests 2006-06-26 23:35:22 +00:00
Antony Dovgal e24fe395a2 MFH: zero-terminate strings produced with FORCE_DEFLATE 2006-06-26 23:22:58 +00:00
Antony Dovgal 3d97f45bc4 don't try to inflate empty strings (and stop segfaulting!) 2006-06-26 22:53:10 +00:00
Hannes Magnusson fd1679e7f0 nuke obsolete arginfo 2006-06-26 22:47:31 +00:00
Hannes Magnusson e06665c961 MFH: argument info 2006-06-26 22:41:22 +00:00
Hannes Magnusson c9c2c0e1f8 MFH: test for bug #37244 2006-06-26 22:20:27 +00:00
Antony Dovgal 3d63ca3edc add new tests, improve the old ones 2006-06-26 22:17:18 +00:00
Antony Dovgal 5d2d2fd5a3 MFH: detect empty mode string and avoid off-by-one 2006-06-26 21:13:46 +00:00
Hannes Magnusson ec420c3df8 Updated protos & vim folding 2006-06-26 18:48:56 +00:00
Hannes Magnusson 5326a8b2bc MFH: argument info for php_user_filter
Add tests
2006-06-26 17:23:39 +00:00
Hannes Magnusson 223d122cae MFH: use the ZEND_ACC_DEPRECATED flag rather than custom warnings 2006-06-26 16:33:39 +00:00
Hannes Magnusson d258bcd951 MFH: Removed obsolete arginfo include 2006-06-26 14:11:17 +00:00
Hannes Magnusson ae1ec65637 Added SimpleXMLElement::saveXML() as an alias for SimpleXMLElement::asXML() 2006-06-26 13:41:52 +00:00
Dmitry Stogov de85c9cd70 Fixed bug #37862 (Integer pointer comparison to numeric value) 2006-06-26 13:23:46 +00:00
Rasmus Lerdorf 862c4d2345 MFH: fix sapi_getenv() leak 2006-06-26 13:15:20 +00:00
Hannes Magnusson 563c920c24 MFH http_build_query() & parse_url() news
# Patch by helgi thormar
2006-06-25 23:22:40 +00:00
Antony Dovgal 0b073cd34c improve test file
don't forget to test invalid parameters etc.
2006-06-25 21:21:59 +00:00
Hannes Magnusson a5d56bb9f5 Added image_type_to_extension()
# Was suppost to be in 5.0beta#3... :)
2006-06-25 21:12:49 +00:00
Hannes Magnusson d836ff68c8 WS fix 2006-06-25 21:08:28 +00:00
Hannes Magnusson 7b6bf33b03 MFH: image_type_to_mime_type() 2006-06-25 21:06:39 +00:00
Marcus Boerger 97062cade9 - MFH Fix ReflectionObject::getProperties() + dyn properties 2006-06-24 18:55:15 +00:00
Antony Dovgal 87dd729187 plug leak 2006-06-23 13:53:43 +00:00
Ilia Alshanetsky f1d09682fb Change E_ERROR to E_RECOVERABLE_ERROR 2006-06-23 11:37:53 +00:00
Antony Dovgal 1fdd8d7b2a MFH: fix typo and bug #37886 2006-06-23 08:26:15 +00:00
Michael Wallner 68421695ac - use %zu to format size_t 2006-06-23 07:30:26 +00:00
Antony Dovgal 1757bf8822 fix typo 2006-06-22 21:24:23 +00:00
Antony Dovgal 6ccc1d1fb5 MFH: add wrappers for timelib_day_of_week_ex() 2006-06-22 21:04:32 +00:00
Antony Dovgal 47b41a5d6c MFH:
don't try to parse empty string, return false immediately
(fixes off-by-one)
2006-06-22 18:44:31 +00:00
Ilia Alshanetsky 0d708dc358 Fixed compiler warnings. 2006-06-21 15:19:23 +00:00
Antony Dovgal 4b674fb7b0 MFH: improve check for stream mode, add tests 2006-06-21 14:38:28 +00:00
Antony Dovgal 8c30a7f8a6 MFH: don't try to read or write from/to a stream if it was open in different mode (leads to segfault in libbz2) 2006-06-21 13:12:37 +00:00
Antony Dovgal e7439fa200 MFH: fix invalid read with bzopen("","") and prevent filename from being empty (which causes endless loop somewhere is libbz2) 2006-06-21 12:43:27 +00:00
Ilia Alshanetsky f496f5014a Removed pointless callbacks. 2006-06-20 22:39:15 +00:00
Nuno Lopes b7bca610dd make sure the test outputs what we want 2006-06-20 21:49:16 +00:00
Hannes Magnusson 437494ddf7 Bug fix news... 2006-06-20 19:35:52 +00:00
Hannes Magnusson 748b589925 Renamed to bug37864.phpt 2006-06-20 19:33:31 +00:00
Hannes Magnusson 1332a14cfc MFH 2006-06-20 19:32:59 +00:00
Antony Dovgal 959af2a28d don't leave garbage in tmp dir 2006-06-20 18:55:46 +00:00
Hannes Magnusson 3674994be5 MFH: test for file_get_contents leaking on empty file 2006-06-20 18:48:56 +00:00
Hannes Magnusson c4154145df MFH: plug memleak 2006-06-20 18:09:50 +00:00
Hannes Magnusson c14ba0f124 MFH: Missing header include 2006-06-20 18:04:25 +00:00
Antony Dovgal 5ffbb85103 MFH: init variables 2006-06-20 13:28:11 +00:00
Antony Dovgal 3ff986ecf7 init vatiables 2006-06-20 13:26:01 +00:00
Antony Dovgal eaf4ea2e74 MFH: nuke unused variables and init variables when needed 2006-06-20 13:21:16 +00:00
Antony Dovgal 44005b7986 fix test 2006-06-20 13:14:29 +00:00
Antony Dovgal 8df36aaf32 fix test 2006-06-20 13:06:50 +00:00
Antony Dovgal 20a379fa7d MFH: initialize pointers 2006-06-20 12:55:26 +00:00
Ilia Alshanetsky 0406556da4 Added missing ifdef block.
# Thanks Mike
2006-06-19 23:52:39 +00:00
Antony Dovgal ba8f17e483 MFH: display oci8 version in phpinfo() 2006-06-19 18:21:28 +00:00
Antony Dovgal 33616195b9 MFH: plug leak in CGI SAPI when running scripts with query string in console 2006-06-19 17:49:26 +00:00
Antony Dovgal c458d1347b fix tests 2006-06-19 17:33:44 +00:00
Antony Dovgal 8b99387569 BFN 2006-06-19 16:59:05 +00:00
Antony Dovgal 3ce8ccb6f2 fix #37848 (ext/odbc compile failure) 2006-06-19 16:13:15 +00:00
Michael Wallner f4106441cb - Fix Bug #37780 memory leak trying to execute a non existing file (CLI) 2006-06-19 14:52:34 +00:00
Antony Dovgal 20ee84dea6 MFH: fix #37807 (segmentation fault during SOAP schema import) 2006-06-19 11:43:45 +00:00
Antony Dovgal cd7d7039ac MFH: add missing ifdef and avoid "unused variable" warning 2006-06-19 11:39:02 +00:00
Ilia Alshanetsky 3b7be889d8 Added posix_initgroups() function. 2006-06-19 02:19:13 +00:00
Hannes Magnusson aae5df3ffd MFH: arg ifno 2006-06-17 13:06:06 +00:00
Hannes Magnusson c6080567e2 Fix test 2006-06-17 12:51:02 +00:00
Nuno Lopes 6509311ebb plug memory leak in sapi_putenv, by using setenv(), that doesnt need any malloc 2006-06-17 11:08:05 +00:00
Nuno Lopes aa48814378 change the timezone used (per Derick request)
add one string I missed yesterday. Now every strotime() rule is covered
2006-06-17 10:30:23 +00:00
Nuno Lopes ca6e1bbcda new tests. the .re file coverage increases to 96%. really good :) 2006-06-16 22:46:57 +00:00
Seiji Masugata ee23aba678 changed GINIT definition. 2006-06-16 16:45:46 +00:00
Rasmus Lerdorf 6bfeea9eb9 MFH: Backported allow_url_include from HEAD. This directive allows
separate control of URL handling in includes/requires allowing sites to
enable allow_url_fopen without enabling remote includes.
2006-06-16 14:09:01 +00:00
Stefan Esser 6320ee11cf MFH: Only care about wrong flex version, when needed. 2006-06-16 08:01:03 +00:00
Dmitry Stogov 6c310f9c0a New crypt() implementation for win32 which is about 10 times faster and has more friendly license. 2006-06-16 05:57:18 +00:00
foobar 4793980a8f Fix build. (gmp_nextprime() was added in PHP 6!) 2006-06-16 00:14:35 +00:00
Rasmus Lerdorf 8ab6f3fd39 MFH: Optimize the other string conversion functions here to just create
raw text nodes.
2006-06-15 22:45:30 +00:00
Rasmus Lerdorf 12022014fa MFH:
I don't think the call to xmlNodeSetContentLen() is needed here and
it is causing performance problems because it tries to parse the blob
and create a subtree.  Because we are escaping the string anyway, we
are never going to get a subtree, but the entity parsing that is done
by xmlNodeSetContentLen() is killing performance on large blobs of
text.  On one recent example it took a couple of minutes to parse
whereas if we just create a text node like this and set the contents
to the raw string it is down to milliseconds.
2006-06-15 20:49:05 +00:00
Dmitry Stogov 1dbaae2795 Added automatic module globals management 2006-06-15 18:33:09 +00:00
Nuno Lopes c3ed91477a fix bug #37800: preg_replace() limit parameter odd behaviour
#this is a regression in PHP_5_2 and HEAD branches only
2006-06-15 15:33:25 +00:00
Hannes Magnusson 954acfe261 MFH: Revert array type hinting 2006-06-15 15:31:54 +00:00
Dmitry Stogov 60328ea7c3 Added automatic module globals management 2006-06-15 14:06:35 +00:00
Dmitry Stogov ada4e506a7 MFH: Added automatic module globals management. 2006-06-15 14:03:21 +00:00
foobar d3c3a54b4e fix news. gaps left intentionally.. 2006-06-15 13:07:37 +00:00
Hannes Magnusson f0d98ad3de MFH: argument info.. 2006-06-14 21:36:10 +00:00
Nuno Lopes a943d234f5 fix memory leak uncovered by the pcre_extra.phpt test 2006-06-14 17:52:56 +00:00
Nuno Lopes a7bc286638 more tests (and fix 2 from yesterday) 2006-06-14 17:37:53 +00:00
Nuno Lopes 7406f3771a remove the pcre_dfa_exec.c file, as it is needed (we dont expose that API) 2006-06-14 16:26:22 +00:00
Nuno Lopes 45a2bdaf73 missing newline 2006-06-14 16:16:02 +00:00
Ilia Alshanetsky 18870e3afc E_ERROR -> E_RECOVERABLE_ERROR 2006-06-14 16:04:13 +00:00
Christian Stocker d7fd19b7ff MFH
Fix a segfault, when an unknown type was given and support all known xpath object types
2006-06-14 09:42:35 +00:00
Nuno Lopes e607e2ab9a also ignore lcov generated files 2006-06-13 22:02:57 +00:00
Nuno Lopes c93dc5d873 add new tests, increasing coverage by about 10% 2006-06-13 21:55:38 +00:00
Marcus Boerger 9660548a22 - MFH Arginfo fix (Hannes) 2006-06-13 20:57:35 +00:00
Ilia Alshanetsky b8bee35259 Removed unused variables. 2006-06-13 20:19:37 +00:00
Dmitry Stogov eb8c558966 Removed warnings 2006-06-13 14:22:46 +00:00
Dmitry Stogov 5a73f8f13f Removed warning 2006-06-13 13:55:12 +00:00
Stefan Esser 7bbf35320d MFH: Added hook for compile_string() 2006-06-13 12:57:48 +00:00
Ilia Alshanetsky 3ff5fb0631 Fixed compiler warning 2006-06-12 23:28:32 +00:00
Ilia Alshanetsky d74f9ff550 Improved performance of the implode() function on associated arrays by
200-300%.
2006-06-11 21:55:49 +00:00
Ilia Alshanetsky 66141bd5d1 Fixed ZTS build 2006-06-11 20:47:34 +00:00
Hannes Magnusson dd2c03ca48 MFH: fix typo 2006-06-11 20:12:17 +00:00
Hannes Magnusson 21b0f60332 MFH: argument infos 2006-06-11 20:03:05 +00:00
Ilia Alshanetsky f1fb77d1aa Make zend_print_zval_r_ex() use the write callback function. 2006-06-11 16:28:24 +00:00
Ilia Alshanetsky f876b800a2 Fully print array() in phpinfo(). 2006-06-11 16:27:16 +00:00
Hannes Magnusson 3104233019 MFH: arginfo, protos, vim folding 2006-06-11 01:42:17 +00:00
Hannes Magnusson 50de3fd1ce MFH: fix test 2006-06-11 00:18:30 +00:00
Ilia Alshanetsky 37d88ca5a0 Improved performance of str_replace() when doing 1 char to 1 char or 1 char
to many chars replacement by 30-40%.
2006-06-10 15:29:06 +00:00
Hannes Magnusson 13fe33c2df MFH
- Created new abstract class, ReflectionFunctionAbstract implementing Reflector
- Moved all methods from ReflectionFunction (except export, invoke & invokeArgs)
- ReflectionFunction now inherits everything from ReflectionFunctionAbstract
    and implements its own export, invoke & invokeArgs methods
- ReflectionMethod now extends ReflectionFunctionAbstract and implements
    its own export, invoke & invokeArgs methods.
- Removed stdClass typehint from ReflectionClass::isInstance
- Removed stdClass typehint from ReflectionClass::set/getValue
2006-06-10 00:40:57 +00:00
Rasmus Lerdorf 50cc487b21 MFH: Patch from Nuno 2006-06-09 23:47:10 +00:00
Michael Wallner 76838bcd54 - sync with apache2handler 2006-06-09 16:29:35 +00:00
Michael Wallner 96724797c8 BFN: - Fixed bug #37720 (merge_php_config scrambles values). (Mike,
pumuckel at metropolis dot de)
2006-06-09 15:17:39 +00:00
Michael Wallner 2e9ec84ce2 MFH: fix bug #37720 (merge_php_config scrambles values) 2006-06-09 15:13:39 +00:00
Ilia Alshanetsky 6654a07e73 Update credits 2006-06-08 22:04:52 +00:00
Derick Rethans ddd8fd3e3d - Fixed bug #37747 (strtotime segfaults when given "nextyear"). 2006-06-08 16:27:05 +00:00
Dmitry Stogov 2a7d16f8fd Proper fix for bug #37707 ("clone $x" must call __clone() enven if result value is not used) 2006-06-08 08:56:27 +00:00
Dmitry Stogov 6e24feb80d Wrap "wrong" unreachable code with "#if 0" 2006-06-08 08:37:51 +00:00
Marcus Boerger 44ba014c5f - MFH Add arginfo (hannes) 2006-06-07 22:39:22 +00:00
Rasmus Lerdorf 76bff5194c Put the TODO back 2006-06-07 21:14:04 +00:00
Rasmus Lerdorf 658762a0b5 Get rid of useless function calls 2006-06-07 21:09:52 +00:00
Ilia Alshanetsky 402de0146e Bug fixing news 2006-06-07 13:44:08 +00:00
Ilia Alshanetsky 8d4bb9ca74 Fixed bug #37707 clone without assigning leaks memory
# Based on a patch by Nuno
2006-06-07 13:41:49 +00:00
Antony Dovgal 9123bee257 MFH:
fix Unicode LOB problems using callbacks to read LOBs
using chunk_size*X buffer should speed up LOB reading a bit

many thanks to Massimo Squillace <msquillace at sogei dot it> for the patch.
2006-06-07 13:36:51 +00:00
Marcus Boerger e0844e09bd - MFH iterator_apply() 2006-06-07 09:44:42 +00:00
Marcus Boerger 64c353ab79 - MFH zend_fcall_info_*() and parameter parsing option 'f'
# Right now i see this as the best option but we might shuffle code around
# later if someone comes up with a better solution.
2006-06-07 09:43:54 +00:00
Marcus Boerger 1f93575c88 - MFH Add ReflectionClass::getInterfaceNames() 2006-06-07 09:26:11 +00:00
Marcus Boerger de39078f7b - Regenerated after zend_vm_def.h change 2006-06-07 09:22:08 +00:00
Marcus Boerger 5cdefd07cd - MFH Fix issue with interfaces being inherited multiple times 2006-06-07 09:21:06 +00:00
Ilia Alshanetsky a9c6e4be1e Fixed bug #37709 (Possible crash in PDO::errorCode()). 2006-06-07 03:33:16 +00:00
Antony Dovgal e5c8f8c59b yet another dummy clone_obj handler to fix problems created by ze1 compat mode 2006-06-06 22:05:56 +00:00
Antony Dovgal a07500042d implement a dummy clone_obj handler for ze1 compat mode
(fixes segfault on every XMLReader instantiation)
2006-06-06 21:44:34 +00:00
Michael Wallner d6212d96f4 - only try to fetch stream context options if context is set 2006-06-06 21:38:03 +00:00
Antony Dovgal 928c20942b plug a leak in ext/spl/tests/iterator_047.phpt 2006-06-06 20:11:35 +00:00
Antony Dovgal f6a400bd9f revert by Andi's request 2006-06-06 14:17:21 +00:00
Antony Dovgal 2f26d8d7ae MFH: don't leak when decoding failed 2006-06-06 14:09:12 +00:00
Rob Richards 704ed9625c nuke unused call 2006-06-06 12:08:11 +00:00
Rob Richards d6a526d66b restore missing ze1 compat code 2006-06-06 12:05:30 +00:00
Antony Dovgal e8d568ea8d fix test 2006-06-06 11:33:59 +00:00
Antony Dovgal 8204511d71 MFH: do not allow to implement the same interface twice
add tests
2006-06-06 10:03:01 +00:00
Ilia Alshanetsky 6ab23efb3a Fixed bug #37705 (Semaphore constants not available). 2006-06-05 22:52:11 +00:00
Antony Dovgal 073ee1397a MFH: no need to check if non-existing include_path complies with open_basedir setting 2006-06-05 22:39:50 +00:00
Edin Kadribasic 8b764bd08c Fixed bug #35886 (nlopes) 2006-06-05 22:19:36 +00:00
Antony Dovgal 1b602e85d1 fix leak appearing on phpinfo() when there are no PDO modules available 2006-06-05 22:08:16 +00:00
Zeev Suraski 66b90c7052 Final ze1_compat restoration - it was mostly done by hand, so if anybody
spots any (new) problems, let me know.  Test wise, the same tests that
failed before are failing now.
2006-06-05 16:53:21 +00:00
Zeev Suraski b1683ea891 ze1 restoration 2006-06-05 16:25:25 +00:00
Zeev Suraski 51d495850a Restore ZE1 compatibility mode (Zend Engine part - the modules patches
will follow later today)
2006-06-05 13:58:52 +00:00
Antony Dovgal 163f0da75a BFN 2006-06-05 09:57:17 +00:00
Stanislav Malyshev 1ebb0590bd improve .dsp build 2006-06-05 09:02:28 +00:00
Antony Dovgal a588f2dc60 MFH: fix OCIPasswordChange() parameters (patch by pholdaway at technocom-wireless dot com)
prevent username, password and new password from being empty
2006-06-05 07:35:32 +00:00
Stanislav Malyshev 0c518a03a9 fix .dsp build 2006-06-04 18:03:25 +00:00
Ilia Alshanetsky 63a658ee7a Fixed bug #37671 (MySQLi extension fails to recognize BIT column). 2006-06-04 14:56:34 +00:00
Marcus Boerger ac2a29913c - Add missing classes 2006-06-04 10:47:22 +00:00
Marcus Boerger 37f5474ce9 - MFH Use engine call to register interfaces (steph) 2006-06-04 10:34:22 +00:00
Marcus Boerger 6c0f166794 - Fix function flag check 2006-06-04 10:27:28 +00:00
Marcus Boerger dfd2295849 - Use engine call to register interfaces (steph) 2006-06-04 10:26:55 +00:00
Johannes Schlüter 2f418134ff MFH 2006-06-03 22:02:02 +00:00
Andrei Zmievski 5735927d86 I swear it wasn't me. 2006-06-03 18:56:44 +00:00
Rob Richards a86232d9bb MFH: add setIdAttribute, setIdAttributeNS and setIdAttributeNode functionality 2006-06-02 16:17:25 +00:00
Dmitry Stogov 6c61aeb012 SAPI globals are destroied at this point and reporting errors about memory leaks can cause crash. 2006-06-02 13:30:55 +00:00
Ilia Alshanetsky 5b5e7a4de9 Fixed compiler warning 2006-06-01 22:42:22 +00:00
Michael Wallner 6e2ff39e3e - Fix bug #37630: MySQL extensions should link against thread safe client libs if built with ZTS 2006-06-01 19:14:48 +00:00
Michael Wallner 57cdfc58d2 - fix order 2006-06-01 19:11:59 +00:00
Michael Wallner c0505439c3 - Fixed bug #37363 (PDO_MYSQL does not build if no other mysql extension is
enabled)
2006-06-01 15:14:45 +00:00
Antony Dovgal 17ad6e2ebf apply correct fix 2006-06-01 14:31:22 +00:00
Antony Dovgal fbeb246a3a no need to do TSRMLS_FETCH() twice 2006-06-01 14:06:23 +00:00
Antony Dovgal 112f263591 MFH: suppress_errors is used only on Win32, no need to look for it on other systems 2006-06-01 14:03:49 +00:00
Antony Dovgal 0675e5eabb MFH: nuke unused variable 2006-06-01 13:45:26 +00:00
Antony Dovgal 48098f0774 fix tests 2006-06-01 13:17:36 +00:00
Antony Dovgal 210335909a MFH: no need to fetch trsm_ls when it's already available 2006-06-01 12:25:38 +00:00
Antony Dovgal ff59351416 add new tests 2006-06-01 11:57:49 +00:00
Antony Dovgal 29be5946f9 MFH: throw a warning when using invalid offset types with strings 2006-06-01 11:56:44 +00:00
Ilia Alshanetsky 378d5d4e34 spelling corrections 2006-05-31 23:06:50 +00:00
Andrei Zmievski b8ebfce9af Revert accidentally committed internal patch 2006-05-31 21:48:43 +00:00
Antony Dovgal d5be48711a MFH: add expected warning to the test 2006-05-31 20:40:11 +00:00
Derick Rethans c116ecf207 - There was nothing wrong here, bug report #37595 is bogus.
- Added a new test case to demonstrate a longer plain text.
2006-05-31 20:09:07 +00:00
Antony Dovgal c188ec09eb add more tests 2006-05-31 18:47:21 +00:00
Andrei Zmievski 1f04ac91b0 MFB 2006-05-31 17:18:08 +00:00
Antony Dovgal 8f78a2727b add tests for E_STRICT that will become E_FATAL in PHP 6 2006-05-31 14:54:52 +00:00
Dmitry Stogov 8df40bdb31 Keeping consistent arg_stack during arguments freeing (Exception from destructor may use inconsistent arg_stack for backtrace). 2006-05-31 13:01:57 +00:00
Dmitry Stogov 51e52e20ef Support for nested exceptions and fatal errors in destructors 2006-05-31 12:59:31 +00:00
Antony Dovgal 47edd8a303 MFH: fix #37595 (mcrypt_generic calculates data length in wrong way) 2006-05-31 12:06:36 +00:00
Andi Gutmans 42f32bfa4b - Fix typo 2006-05-31 03:43:17 +00:00
Marcus Boerger 4703e96853 - Add new tests 2006-05-30 23:11:33 +00:00
Marcus Boerger d87de86823 - Switch back to old severities and still keep bugfix for
#37632 (Protected method access problem)
# It wasn't really my intention to change the severity. We simply didn't
# have tests for that.
2006-05-30 23:10:28 +00:00
Antony Dovgal 9246ba2a82 more test fixes, this time support Oracle 10 2006-05-30 22:34:16 +00:00
Antony Dovgal c1272d8972 fix tests 2006-05-30 22:27:32 +00:00
Antony Dovgal 2817ddccf5 fix test 2006-05-30 21:54:42 +00:00
Antony Dovgal bc5b8eabea MFH 2006-05-30 21:38:12 +00:00
Marcus Boerger 2d7d2aebe6 - MFH WS 2006-05-30 19:41:04 +00:00
Sara Golemon 79b21ec4cf MFH: Minor fixes (bjori) 2006-05-30 19:06:22 +00:00
Michael Wallner 258351c30a - fix bug #37635 (parameter of pcntl signal handler is trashed) 2006-05-30 17:40:52 +00:00
Seiji Masugata c314888c29 added mb_stristr( ), mb_strrichr( ). 2006-05-30 15:47:53 +00:00
Seiji Masugata 731584c076 added mb_strstr( ), mb_strrchr( ). 2006-05-30 15:45:35 +00:00
Seiji Masugata 42aadabfcb added mb_stripos( ), mb_strripos( ). 2006-05-30 15:43:09 +00:00
Seiji Masugata 7314771a35 added mb_list_encodings_alias_names( ), mb_list_mime_names( ). 2006-05-30 15:40:39 +00:00
Seiji Masugata 91dd8376bd added option parameter mb_list_encodings( ). 2006-05-30 15:38:22 +00:00
Hannes Magnusson 91d4ef33ef MFH: Play nice, use 4digit years in DATE_RSS 2006-05-30 15:14:22 +00:00
Ilia Alshanetsky 5186ee9c59 Added memory_get_peak_usage() function for retrieving peak memory usage of
a PHP script.
2006-05-30 14:51:20 +00:00
Hannes Magnusson 61fc424321 MFH: Fixed DATE_COOKIE, DATE_RSS & tests 2006-05-30 14:46:46 +00:00
Antony Dovgal bb4c7ff0e9 MFH: don't require libociei, this allows us to build ext/oci8 against basiclite OIC package 2006-05-30 13:16:48 +00:00
Derick Rethans 9a9cd86f38 - Now as text and not HTML. 2006-05-30 13:14:51 +00:00
Derick Rethans fb92e33b5d - MFH: Fixed bug #37616: DATE_RFC822 does not product RFC 822 dates. (Patch by
Hannes Magnusson)
2006-05-30 13:12:21 +00:00
Antony Dovgal e4a3732c91 no need to call zend_is_callable() if callable is known to be invalid
free fname on failure and plug possible leak
2006-05-30 09:46:59 +00:00
Ilia Alshanetsky a400d8908d Convert E_ERROR to E_RECOVERABLE_ERROR 2006-05-30 02:40:33 +00:00
Antony Dovgal 43b660b6ea MFH: no need to check it for not-NULL 2006-05-29 21:31:49 +00:00
Antony Dovgal 82d326bdea MFH: there is no ce at this point, revert this line to its previous state 2006-05-29 21:28:29 +00:00
Antony Dovgal 70c643f5f0 fix tests 2006-05-29 21:08:02 +00:00
Antony Dovgal fb696afd10 add test 2006-05-29 20:31:48 +00:00
Antony Dovgal 8ca3826a28 MFH: return NULL in case of error 2006-05-29 20:26:32 +00:00
Marcus Boerger aa40595644 - BFN 2006-05-29 20:07:39 +00:00
Marcus Boerger 1b172b1371 - MFH Bugfix #37632 (Protected method access problem) 2006-05-29 20:06:43 +00:00
Antony Dovgal 9e1b944989 MFH: improve sed expressions 2006-05-29 18:12:55 +00:00
Michael Wallner 3b407d143b - Fixed bug #36949 (invalid internal mysqli objects dtor) 2006-05-29 16:53:56 +00:00
Antony Dovgal aed81da3fa BFN 2006-05-29 11:00:32 +00:00
Antony Dovgal be0fc2b801 MFH: fix #37531 (oci8 persistent connection corruption) 2006-05-29 10:59:30 +00:00
Antony Dovgal ec68882101 add test 2006-05-29 10:42:54 +00:00
Antony Dovgal be0b8c71bc initialize srcstream 2006-05-29 10:39:59 +00:00
Antony Dovgal 1a63feffd1 MFH: prevent resource leaking when passing invalid stream resource as second argument 2006-05-29 10:24:49 +00:00
Georg Richter 10ed7a1e0a Fix for bug #37620 2006-05-29 05:38:50 +00:00
Michael Wallner 7ac96de039 - news entry for apache2handler ap_set_content_type() fix 2006-05-28 20:34:10 +00:00
Michael Wallner d724f9cfb1 MFH: call ap_set_content_type() only once, else each time we call it,
configured output filters for that content type will be added
2006-05-28 20:32:00 +00:00
Ilia Alshanetsky 1ad21d9b12 Fixed bug #37586 (Bumped minimum PCRE version to 6.6, needed for recurssion
limit support).
2006-05-28 15:33:56 +00:00
Marcus Boerger 5f63b5c4ee - Revert until there is an ok for the full patch 2006-05-27 20:16:53 +00:00
Marcus Boerger ca6a202160 - WS 2006-05-27 19:06:06 +00:00
Marcus Boerger 493f39da2d - MFH: Fix bug #37212 (Access to protected property of common base class)
By adding "zend_class_entry *ce" to struct zend_property_info;
2006-05-27 18:39:53 +00:00
Johannes Schlüter ccfc0d9d99 - MFH Fix #37614 (Class name lowercased in error message) 2006-05-27 18:23:48 +00:00
Marcus Boerger 26145c2e0c - WS/CS 2006-05-27 18:04:13 +00:00
Rob Richards a7aa62ded1 MFH: add C14N() and C14NFile() methods to perform XML canonicalization
add test
2006-05-26 18:23:50 +00:00
Dmitry Stogov 10371b034a Fixed bug #37523 (namespaces added too late, leads to missing xsi:type attributes. incompatibility with libxml2-2.6.24) 2006-05-26 09:02:35 +00:00
Marcus Boerger 1d5f721fd9 - MFH Sync error messages and simplify error message generation code 2006-05-26 00:36:13 +00:00
Pierre Joye 59ddb74938 - fix leaks in openssl context options 2006-05-26 00:32:07 +00:00
Ilia Alshanetsky b882f9f37e Fixed bug #37569 (WDDX incorrectly encodes high-ascii characters) 2006-05-25 22:54:16 +00:00
Edin Kadribasic 58962c7371 Missing definition, patch by Steph Fox 2006-05-25 18:47:21 +00:00
Michael Wallner 3dcef1b9be - implement standard http stream wrapper options, fixes bug #34180
- skip empty headers in on_header_available()
2006-05-25 12:41:35 +00:00
Antony Dovgal 99e13c50f9 MFH: remove debug output and fix bug #37589 2006-05-25 11:46:38 +00:00
Marcus Boerger 7110650668 - Update test 2006-05-25 10:46:53 +00:00
Marcus Boerger a681fcb006 - Update update news and sync with NEWS 2006-05-25 10:20:56 +00:00
Antony Dovgal 9dd24c6d87 fix error messages when converting objects to other types
add new function
MFB will follow soon
2006-05-25 10:01:06 +00:00
Marcus Boerger ec79dd793d - MFH Bugfix 37587 2006-05-25 09:59:25 +00:00
Dmitry Stogov 93851ebf11 Fixed bug #37278 (SOAP not respecting uri in __soapCall) 2006-05-25 08:14:28 +00:00
Dmitry Stogov 26ccde4da9 Fixed bug #37558 (timeout functionality doesn't work after a second PHP starup on the same thread). (p dot desarnaud at wanadoo dot fr) 2006-05-25 07:46:25 +00:00
Antony Dovgal 43c79a616e reorder 2006-05-25 07:31:47 +00:00
Dmitry Stogov 630def46f7 Fixed bug #37496 (FastCGI output buffer overrun) 2006-05-25 06:40:04 +00:00
Ilia Alshanetsky 53988d8cf5 Fixed bug #37563 (array_key_exists performance is poor for &$array). 2006-05-24 23:14:08 +00:00
Antony Dovgal 755caecfc9 fix test 2006-05-24 23:04:58 +00:00
Edin Kadribasic f2a48add80 BFN 2006-05-24 22:04:57 +00:00
Edin Kadribasic 740d39454b Initialize windows globals, fixes #37428 2006-05-24 22:00:15 +00:00
Antony Dovgal c53dbdbe75 BFN 2006-05-24 21:24:29 +00:00
Antony Dovgal 4cb3d18276 fix #37418 (tidy module crashes CLI version of PHP) 2006-05-24 21:22:13 +00:00
Antony Dovgal fb32c077a2 fix #37499 (CLI segmentation faults during cleanup (only with sybase-ct extension enabled)) 2006-05-24 20:21:02 +00:00
Dmitry Stogov a953a1abda Fixed CGI tests. 2006-05-24 13:28:59 +00:00
Dmitry Stogov 6fe36adf0c Fixed bug #37256 (php-fastcgi dosen't handle connection abort) 2006-05-24 09:42:21 +00:00
Dmitry Stogov 07b8d051fa Fixed bug #37341 ($_SERVER in included file is shortened to two entries, if $_ENV gets used). 2006-05-24 07:55:19 +00:00
Marcus Boerger 1448086b22 - MFH Add more tests from Ligaya Turmelle 2006-05-23 23:47:44 +00:00
Ilia Alshanetsky cd8c7a3e09 Fixed handling of extremely long paths inside tempnam() function. 2006-05-23 23:22:04 +00:00
Marcus Boerger 59d2ce8258 - MFH Fix feof() 2006-05-23 22:31:25 +00:00
Marcus Boerger 200c627aeb - MFH Sync with head (namespace prefix handling) 2006-05-23 22:24:44 +00:00
Marcus Boerger f88a172959 - MFH Handle NULL in C argument parsing correct 2006-05-23 22:22:11 +00:00
Marcus Boerger 64701cf42b - MFH Bugfix #37565 2006-05-23 21:58:44 +00:00
Marcus Boerger 8d4eea74d5 - Fix double error raising issue 2006-05-23 21:50:29 +00:00
Sebastian Bergmann 3e7df40852 MFH: Add bison 2.2 to the list of supported versions. 2006-05-23 11:11:16 +00:00
Marcus Boerger c1b749f491 - Update 2006-05-22 19:04:19 +00:00
Rob Richards c384b34ae9 MFH: add registerNodeClass() method
- update attribute isID functionality
 - add test
2006-05-22 17:12:26 +00:00
Rob Richards 3997d6663b MFH: move document property struct from xml_common.h 2006-05-22 17:09:05 +00:00
Ilia Alshanetsky e2c6d3edae E_ERROR > E_RECOVERABLE_ERROR 2006-05-22 14:22:26 +00:00
Dmitry Stogov 302c53fc5d Fixed bug #37496 (FastCGI output buffer overrun) 2006-05-22 09:22:20 +00:00
Antony Dovgal 52cb01a933 fix typo 2006-05-22 06:49:48 +00:00
Antony Dovgal 095162c3d4 re-enable OCILobRead2() support 2006-05-22 04:17:42 +00:00
Marcus Boerger e3f89f116a - MFH
. Make code exception safe
  . Make RecursiveRegexIterator::getChildren pass regex to inner ctor
  . Fix CachingIterator::__toString() in TOSTRING_USE_KEY mode
  . Add CachingIterator::getCache()
  . Add tests
2006-05-21 18:13:37 +00:00
Marcus Boerger 7577130156 - MFH improve error messages 2006-05-21 18:10:31 +00:00
Marcus Boerger 1be624e7ba - MFH Sync vm generation with head
- Regenerate vm
2006-05-21 18:00:14 +00:00
Ilia Alshanetsky 24f3d55f3c Added control character checks for cURL extension's open_basedir/safe_mode
checks.
2006-05-21 16:31:57 +00:00
Ilia Alshanetsky 38d7ea305c Added a note about E_RECOVERABLE_ERROR being a part of E_ALL. 2006-05-21 15:50:31 +00:00
Marcus Boerger e145343b57 - MFH Handle corrupt base64 data in data: url 2006-05-21 13:37:19 +00:00
Marcus Boerger abcee63635 - Update 2006-05-21 09:12:34 +00:00
Marcus Boerger 290ed55060 - MFH Improved error message 2006-05-20 21:02:44 +00:00
Marcus Boerger 96916c95e8 - MFH Sync with head fixes part of an issue with iterator_(to_array|count) 2006-05-20 21:01:42 +00:00
Antony Dovgal 25eca319fa MFH: attempt to fix OCILobRead2() related problems 2006-05-20 13:46:59 +00:00
Marcus Boerger 10ab729e88 - MFH Add new tests 2006-05-20 11:35:38 +00:00
Marcus Boerger cd4ab2f6fe - MFH Use correct version 2006-05-20 09:12:28 +00:00
Marcus Boerger 397c88ae74 - MFH Add new tests 2006-05-20 09:08:35 +00:00
Dmitry Stogov cdb0ed7587 Fixed random crashes in ZTS mode becouse of uninitialized EG(modified_ini_directives). 2006-05-19 15:31:25 +00:00
Derick Rethans ab8329ec31 - Fixed bug #37514 (strtotime doesn't assume year correctly). 2006-05-19 14:52:30 +00:00
Michael Wallner bea595aef9 - nuke compiler warnings 2006-05-19 14:19:27 +00:00
Antony Dovgal ab9429900a fix test 2006-05-19 10:57:48 +00:00
Antony Dovgal 6557578657 MFH: initialize factory 2006-05-19 10:24:05 +00:00
Antony Dovgal c13ba99551 add new tests by Ligaya Turmelle 2006-05-19 07:44:24 +00:00
Dmitry Stogov 14f6b9149d Optimized zend_try/zend_catch macroses (eliminated memcpy()) 2006-05-19 06:09:15 +00:00
Ilia Alshanetsky 95875d9966 Fixed bug #37505 (touch() truncates large files). 2006-05-19 02:51:00 +00:00
Marcus Boerger 55041d6f3d - MFH Add new test 2006-05-18 22:52:04 +00:00
Marcus Boerger 69079a7537 - MFH Add new test 2006-05-18 22:42:05 +00:00
Marcus Boerger aa0172a4da - MFH Fix bug #37510 session_regenerate_id changes session_id() even on failure 2006-05-18 22:12:26 +00:00
Marcus Boerger 5e5327a7e0 - MFH Add new test 2006-05-18 21:59:05 +00:00
Edin Kadribasic 51ed0ebad8 Use heap insted of stack for recursion in hope of avoid stack overflow crashes 2006-05-18 21:50:51 +00:00
Marcus Boerger e33afedd96 - You shall not use %v in 5.*
# Even though it is there it is only meant for pecl dev to ease their pain
2006-05-18 21:48:33 +00:00
Edin Kadribasic 52566bba75 Give exe files 8MB stack (same default as on Linux) instead of Windows default 1MB 2006-05-18 21:46:12 +00:00
Marcus Boerger 20ac90bac8 - Update 2006-05-18 21:45:38 +00:00
Marcus Boerger 7d79686f45 - MFH Fixed CachingIterator issues with string conversion/__toString()
Partly by adding new mode TOSTRING_USE_INNER
2006-05-18 21:42:58 +00:00
Antony Dovgal 80d7ac0e9e there is no %v in 5.2 2006-05-18 21:24:04 +00:00
Antony Dovgal 749f4ac2ab MFH: fix #37487 (oci_fetch_array() array-type should always default to OCI_BOTH) 2006-05-18 13:21:08 +00:00
Antony Dovgal 557b7fbec5 fix tests 2006-05-17 20:13:05 +00:00
Marcus Boerger 9c8b47d15e - Fix oversight and drop E_STRICT in 5.x series 2006-05-17 19:07:45 +00:00
Rob Richards 0b3b1448d0 BFN 2006-05-17 16:37:01 +00:00
Rob Richards 6f95fa95cc add tests 2006-05-17 16:36:21 +00:00
Rob Richards aebc5833a9 Synch from HEAD
- Fix bug #37456 (DOMElement->setAttribute() loops forever)
- update iterators for engine change merged from HEAD
2006-05-17 16:35:50 +00:00
Antony Dovgal 6783be767a change argument name, it should be "object" not "property" 2006-05-17 14:28:21 +00:00
Ilia Alshanetsky 4fd736fbe9 Bug fixing news 2006-05-17 13:28:29 +00:00
Ilia Alshanetsky 21724432de Fixed bug #35512 (Lack of read permission on main script results in
E_WARNING rather then E_ERROR).
2006-05-17 13:27:51 +00:00
Antony Dovgal e2afb33e87 fix skip reason 2006-05-17 10:12:36 +00:00
Marcus Boerger 09b741ff47 - MFH Proto fix/add 2006-05-17 00:07:28 +00:00
Marcus Boerger 216049bb27 - MFH '_' is valid in test blocks 2006-05-16 23:05:49 +00:00
Antony Dovgal 1f02fad528 fix test 2006-05-16 22:59:32 +00:00
Ilia Alshanetsky ccad354535 Make filters without a resource throw E_RECOVERABLE_ERROR rather then
E_ERROR
2006-05-16 14:11:52 +00:00
Antony Dovgal 1feef82dc4 new mkdir tests 2006-05-16 13:06:06 +00:00
Antony Dovgal 3a830a30f4 fix #37395 (recursive mkdir() fails to create nonexistent directories in root dir) 2006-05-16 13:05:02 +00:00
Marcus Boerger 26a67b8925 - MFH Fixed Bug #37457 (Crash when an exception is thrown in accept() method of FilterIterator) 2006-05-16 08:21:08 +00:00
Ilia Alshanetsky cccb406ee8 Disable realpath cache when open_basedir or safe_mode are enabled on a
per-request basis.
2006-05-16 00:39:32 +00:00
Dmitry Stogov be4c37919b Added test 2006-05-15 16:44:54 +00:00
Sebastian Bergmann c412cfe311 My bad. 2006-05-15 16:08:18 +00:00
Sebastian Bergmann a70d189c04 Fugbix NEWS entries. 2006-05-15 16:03:41 +00:00
Sebastian Bergmann d7138e1e5d Fugbix typo. 2006-05-15 16:01:24 +00:00
Dmitry Stogov dd5b835147 *** empty log message *** 2006-05-15 15:38:46 +00:00
Dmitry Stogov 963c7fa016 Optimized require_once/include_once (eliminated fopen() on second usage) 2006-05-15 15:31:27 +00:00
Dmitry Stogov 14cad8fdc3 Optimized shutdown sequence to iterate only over modified ini directives 2006-05-15 14:52:35 +00:00
Dmitry Stogov b5cd968ffc - Removed source compatibility with libfcgi
- Optimized access to FastCGI environment using HashTable instead of linear search
- Allowed PHP_FCGI_MAX_REQUESTS=0 to disable PHP die
- Allowed PHP_FCGI_CHILDREN=0 to disable PHP spawn workers
2006-05-15 14:30:31 +00:00
Derick Rethans 7975b4eb0e - MFH: Fixed windows compile error. 2006-05-15 08:54:16 +00:00
Antony Dovgal bb82fb0530 MFH: disable OCILobRead2() support on Win32 2006-05-15 08:34:40 +00:00
Marcus Boerger da438af187 - Update 2006-05-14 19:58:04 +00:00
Marcus Boerger 8886be7041 - Add some update notes 2006-05-14 19:23:19 +00:00
Marcus Boerger 9249d05bdd - We have it now fully RFC compliant 2006-05-14 19:20:21 +00:00
Marcus Boerger 5d43fe49f7 - MFH No need to have this controlled by allow_url_fopen 2006-05-14 19:15:31 +00:00
Marcus Boerger 0c40fb7ef2 - Readd that E_RECOVERABLE_ERROR, dropping it is a bad idea 2006-05-14 18:50:02 +00:00
Marcus Boerger 3fd2c5e217 - Do not include E_RECOVERABLE_ERROR to the default mode E_ALL 2006-05-14 18:45:10 +00:00
Marcus Boerger 3577115118 - MFH Add strict compliant RFC2397 support (no //) 2006-05-14 18:40:12 +00:00
Derick Rethans 74dfa9f0ba MFH:
- Implemented Dmitry's const patch.
- Added support for "weekday" as relative item.
- Fixed bug #37368 (Incorrect timestamp returned for strtotime()).
2006-05-14 17:36:05 +00:00
Ilia Alshanetsky 4ab6eb3d19 MFH: Fixed bug #36630 (umask not reset at the end of the request). 2006-05-14 16:06:48 +00:00
Marcus Boerger ad16c0a375 - Update 2006-05-14 02:00:04 +00:00
Marcus Boerger 653d895ecb - Update 2006-05-14 01:55:27 +00:00
Marcus Boerger 5b44266a5f - MFH RFC2397 decoding 2006-05-14 01:42:03 +00:00
Marcus Boerger 0c09d4cb63 - MFH RFC 2397 meta data handling 2006-05-14 01:06:09 +00:00
Pierre Joye fc06fb4a07 - initial commit
Please fill it :)
2006-05-14 00:29:08 +00:00
Rasmus Lerdorf 6fb0bf80ea Switch to a signed int for now. Will look at moving to a long throughout
the code here.
2006-05-13 21:50:28 +00:00
Marcus Boerger 2100a86198 - MFH Initial support for RFC2397 2006-05-13 17:58:58 +00:00
Marcus Boerger a4af2a9d16 - MFH add support for --EXPECTHEADERS-- 2006-05-13 14:01:58 +00:00
Marcus Boerger d45250a058 - MFH code layout for __toString() use in parameter parsing api 2006-05-13 10:37:45 +00:00
Rob Richards 8d1427dd98 MFH: add doXInclude property to allow processor to perform XIncludes 2006-05-12 18:53:40 +00:00
Ilia Alshanetsky aa19f65f56 Download pear phar file when making a distribution package 2006-05-12 14:54:10 +00:00
Derick Rethans 07d0f0cf01 - MFH: Tests for BC breaking changes. 2006-05-12 10:02:31 +00:00
Antony Dovgal 046b34955c MFH: fix #37416 (iterator_to_array() hides exceptions thrown in rewind() method) 2006-05-12 09:42:56 +00:00
Sebastian Bergmann ec7b8e2b1c Bump version. 2006-05-12 05:36:09 +00:00
Marcus Boerger b3c3c6de14 - Missing __toString() pieces 2006-05-12 00:21:00 +00:00
Marcus Boerger a5f8d2899c - Update 2006-05-11 22:58:14 +00:00
Marcus Boerger 7bbab02633 - MFH
. Fix iterator based access
  . Add new attribute ATTR_DEFAULT_FETCH_MODE: $bdh->setAttribute()
  . Add new fetch mode: FETCH_PROPS_LATE, this fills object member
    variables after calling the constructor (fixes #36428).
2006-05-11 22:43:44 +00:00
Antony Dovgal 7412202c43 no need to destroy the zval here 2006-05-11 22:41:37 +00:00
Antony Dovgal ca923a2cae fix test 2006-05-11 22:17:53 +00:00
Marcus Boerger bf9f762b4d - MFH: add new test 2006-05-11 22:17:42 +00:00
Dmitry Stogov 1f41b288e9 Fixed bug #37306 (max_execution_time = max_input_time) 2006-05-11 22:10:31 +00:00
Ilia Alshanetsky b8c7ecc061 Fixed bug #37413 (Rejected versions of flex that don't work). 2006-05-11 22:04:51 +00:00
Edin Kadribasic bbf97549b8 Remove pecl includes (Steph), except pdo_odbc which will remain broke 2006-05-11 21:43:59 +00:00
Marcus Boerger 7a5240e846 - MFH missing bits and pieces of the partial sync with head
# This time i added:
# ZEND_FE_RESET_VARIABLE
# ZEND_FE_RESET_REFERENCE
# and dapted parser,compiler,executor,interfaces to handle these flags
# their purpose is to be able to pass whetehr foreach is done by ref to
# the current() handler so that it can error out in case it is not capable
# to comply to the requested return signature/protocol/semantics (weyp).
2006-05-11 21:07:39 +00:00
Marcus Boerger b636a534c1 - Drop second superflous zval_ptr_dtor in string arg parsing 2006-05-11 21:03:14 +00:00
Marcus Boerger 05273a73d8 - Fix test 2006-05-11 21:01:04 +00:00
Antony Dovgal 8ee1c45a3b fix test 2006-05-11 15:43:28 +00:00
Antony Dovgal 085e0fc51f fix segfault when passing objects where strings are expected 2006-05-11 15:10:36 +00:00
Seiji Masugata 9b05e15e8a fixed all mbstring setting information doesn't return in mb_get_info( ). 2006-05-11 14:42:12 +00:00
Antony Dovgal bc4e9efef7 add new test 2006-05-11 14:18:34 +00:00
Marcus Boerger 38ff4bba17 - MFH Add missing ZEND_API declarations 2006-05-11 08:11:45 +00:00
Marcus Boerger ac3c882bb6 - Use of E_RECOVERABLE_ERROR 2006-05-11 08:06:22 +00:00
Marcus Boerger f7776502b5 - MFH Fix error mode handling 2006-05-11 07:56:36 +00:00
Rasmus Lerdorf ed7ed1189b This spelling mistake finally annoyed me enough to fix it. 2006-05-11 03:47:55 +00:00
Antony Dovgal 37ed02b199 change it to be consistent with the others 2006-05-10 22:57:50 +00:00
Marcus Boerger 288da2242e - Fix tests 2006-05-10 22:46:16 +00:00
Marcus Boerger 23b97b2530 - Update tests after MFH 2006-05-10 22:38:35 +00:00
Marcus Boerger de9fa58e0b - No more ze1 2006-05-10 22:36:49 +00:00
Marcus Boerger 3746ccb627 - Hardcoded error mode was changed to 8191 2006-05-10 21:46:59 +00:00
Marcus Boerger 9745215cf8 - MFH tests 2006-05-10 21:19:37 +00:00
Rasmus Lerdorf 4df7ab403c Add input_filter hook call in getenv() 2006-05-10 21:19:32 +00:00
Marcus Boerger d76c516176 - Missing __ToString() sync 2006-05-10 21:13:22 +00:00
Marcus Boerger f16bdce284 - Enforece rule of disallowing throw in __toString() 2006-05-10 21:12:48 +00:00
Rasmus Lerdorf cbb11e018a Now that ext/filter is bundled, we should be defining these in one place 2006-05-10 21:10:45 +00:00
Marcus Boerger 5efe53c596 - MFH add E_RECOVERABLE as default 2006-05-10 20:00:26 +00:00
Marcus Boerger 0dacd6d5c0 - ze1 cleanup (bjori) /thx 2006-05-10 19:41:34 +00:00
Rob Richards 1048c9cd52 Synch with HEAD 2006-05-10 19:38:35 +00:00
Marcus Boerger 848c5c7695 - Missing __tostring() conversion snippets 2006-05-10 19:36:47 +00:00
Marcus Boerger 168c0ead9e - Missed my name 2006-05-10 19:20:34 +00:00
Frank M. Kromann 815d3169ba Fix win32 build 2006-05-10 18:32:50 +00:00
Andrei Zmievski 9e0e89c5cf Rename RegExIterator -> RegexIterator.
Also rename recursive one.
2006-05-10 16:50:57 +00:00
Rob Richards f064d19f40 - Update after api changes 2006-05-10 14:39:10 +00:00
Antony Dovgal f7eec29f84 fix tests 2006-05-10 14:04:52 +00:00
Antony Dovgal 8a03fc5ef3 add missing parts of E_RECOVERABLE merge 2006-05-10 14:04:18 +00:00
Antony Dovgal 0f93228cb7 add missing ZEND_API to the implementation 2006-05-10 14:00:36 +00:00
Antony Dovgal 4f37b2f354 nuke extra semi-colon 2006-05-10 13:49:27 +00:00
Ilia Alshanetsky 91bd50d1b0 Fixed bug #37394 (substr_compare() returns an error when offset equals
string length).
2006-05-10 13:07:15 +00:00
Rob Richards aa38b5572e Synch with HEAD
add readInnerXML, readOuterXML, readString, and setSchema functionality
  allow parser options to be passed when loading reader
  optimization: use xmlTextReader const functions for string properties
  add test
2006-05-10 12:04:46 +00:00
Andrey Hristov ac97b77ed9 Don't allocate 2 chunks of memory when one can fit. Reduces memory
fragmentation. There is one more place that fragments memory but it will
complicate the ongoing Unicode upgrade of mysqli so leaving it away for now.
2006-05-10 11:53:13 +00:00
Antony Dovgal 0881dbd101 MFH: fix #37392 (Unnecessary call to OCITransRollback() at the end of request) 2006-05-10 10:07:28 +00:00
Marcus Boerger 83310cba5b - MFH news 2006-05-10 09:27:23 +00:00
Andrei Zmievski ee68b99571 *** empty log message *** 2006-05-10 02:47:21 +00:00
Marcus Boerger edfe649c6b - MFH Constructors in interfaces 2006-05-10 01:23:55 +00:00
Marcus Boerger 43217a3225 i- ZE1_compat tests are no longer necessary 2006-05-10 00:41:23 +00:00
Marcus Boerger 3a3e310e2e - MFH: SplFileObject improvements
. FILE_OBJECT_READ_AHEAD: allow to read ahead
  . FILE_OBJECT_SKIP_EMPTY: allow to skip empty lines (includes read ahead)
  . FILE_OBJECT_READ_CSV:   allow to read as csv
2006-05-10 00:31:04 +00:00
Marcus Boerger 982822be93 - Fix iterators part and add tests 2006-05-10 00:29:42 +00:00
Marcus Boerger 9afb3e041b - Update after api changes
- MFH
  . ArrayIterator/ArrayObject: function lookup caches and array functions
  . Added RegExIterator, RecursiveRegExIterator
  . Added (full) caching support for CachingIterator
2006-05-10 00:03:38 +00:00
Marcus Boerger 77c1b56cd7 - Update after api changes 2006-05-10 00:00:13 +00:00
Marcus Boerger 11f26c2c2a - Tweak version check 2006-05-09 23:54:48 +00:00
Marcus Boerger 0de69fe97d - MFH pcre_get_compiled_regex_cache() support 2006-05-09 23:53:40 +00:00
Marcus Boerger 637a40423c - MFH as discussed
. zend_exception_get_default() -> zend_exception_get_default(TSRMLS_D)
  . zend_get_error_exception()   -> zend_get_error_exception(TSRMLS_D)
  . added E_RECOVERABLE_ERROR
  . added ZEND_TOSTRING_FUNC_NAME
  . added __tostring function cache to zend_class_entry
  . added ZEND_NAMED_ME
  . modified ZEND_ME_MAPPING to support method flags
  . added ZEND_MN
  . method entries now use prefix "zim_" instead of "zif_"
  . drop EG(ze1_compatibility_mode)
  . changed cast handler, now without (int should_free):
    typedef int (*zend_object_cast_t)(zval *readobj, zval *retval, int type TSRMLS_DC);
  . changed get_iterator, now receives whether value is by ref:
    zend_object_iterator *(*get_iterator)(zend_class_entry *ce, zval *object, int by_ref TSRMLS_DC);
  . added zend_objects_store_add_ref_by_handle
  . added zend_objects_store_del_ref_by_handle
  . convert_to_explicit_type(pzv, type)
2006-05-09 23:53:23 +00:00
Ilia Alshanetsky 57184454e9 Fixed bug #37376 (fastcgi.c compile fail with gcc 2.95.4). 2006-05-09 22:00:08 +00:00
Andrei Zmievski 5a8b4e72ce *** empty log message *** 2006-05-09 19:37:00 +00:00
Andrei Zmievski f9de2cc142 MFH 2006-05-09 18:29:26 +00:00
Georg Richter d2dd99ded5 removed unused macro parameter 2006-05-09 11:26:09 +00:00
Edin Kadribasic 0ca7a98800 Update news 2006-05-08 20:18:34 +00:00
Georg Richter d94467f7e8 moved zend_class_entry variables to mysqli.c 2006-05-08 16:19:43 +00:00
Brian France 39441f79e6 MFH: Add implementation of curl_multi_info_read 2006-05-08 15:29:28 +00:00
Andrey Hristov 818d2b7aee tweaks and optimizations
#tested on 32b and 64b
2006-05-08 15:06:51 +00:00
Ilia Alshanetsky 79ebfe382b Fixed memory leaks when working with cursors in PDO PostgreSQL driver. 2006-05-08 14:33:00 +00:00
Pierre Joye 3bad805e35 - more CS 2006-05-08 12:06:59 +00:00
Pierre Joye 4428076eae - MFH: #37360, bad gif size 2006-05-08 11:50:47 +00:00
Pierre Joye 570511c9b2 - CS (spaces > tabs) 2006-05-08 11:12:49 +00:00
Rasmus Lerdorf 65de977ea0 INSTALL_HEADERS takes absolute filenames there in the second arg.
This makes pecl/mailparse build again
2006-05-07 16:56:07 +00:00
Pierre Joye 52619b8427 - #37346, invalid colormap format 2006-05-07 16:37:40 +00:00
Ilia Alshanetsky 0423be06b5 Fixed bug #37348 (make PEAR install ignore open_basedir). 2006-05-07 16:32:40 +00:00
Marcus Boerger c018b83003 - MFH %v for s[np]printf 2006-05-07 12:40:17 +00:00
Edin Kadribasic 18eb480dd2 MFH: Added pg_field_table() as per req: #36750 2006-05-07 00:28:32 +00:00
Edin Kadribasic 12a5d2b547 Enable parallel build against Apache 2.2 libs and headers 2006-05-07 00:09:20 +00:00
Edin Kadribasic ff27860a66 Enable separate build dir for SAPIs, the same way it is possible for EXTENSIONs 2006-05-07 00:04:56 +00:00
Ilia Alshanetsky 7e8409de8c Fixed bug #37244 (Added strict flag to base64_decode() that enforces
RFC3548 compliance).
2006-05-06 22:47:14 +00:00
Ilia Alshanetsky 89e3ac9531 Creation of the 5.2 branch 2006-05-06 21:58:03 +00:00
SVN Migration 608baa409a This commit was manufactured by cvs2svn to create branch 'PHP_5_2'. 2006-05-05 15:49:42 +00:00
Michael Wallner 55f0daf65d - treat interfaces and classes gracefully in print_inh 2006-05-05 15:49:41 +00:00
Michael Wallner 78d11cbc70 - add print_inh (prints a very simple class tree, ie. extensible)
- add print_pi (prints property_info)
- add ____print_str (print strings binary safely, for hash keys etc)
2006-05-05 15:14:37 +00:00
Dmitry Stogov b096a5de17 Fixed bug #37313 (sigemptyset() used without including <signal.h>). (jdolecek) 2006-05-05 07:05:34 +00:00
Antony Dovgal 25de341259 plug a leak 2006-05-04 22:48:29 +00:00
Antony Dovgal ef0d7e3f58 MFH: several minor fixes: nuke compile warnings etc. 2006-05-04 19:00:11 +00:00
Sara Golemon 7e6beb9f28 Note addition of new class constants 2006-05-04 00:21:51 +00:00
Ilia Alshanetsky 5649f24524 Back to dev 2006-05-03 23:31:43 +00:00
Ilia Alshanetsky 87583528c6 go with 5.1.4 2006-05-03 23:30:02 +00:00
Sara Golemon 3c831fef01 News entry for exporting PDO::PARAM_EVT_* constants 2006-05-03 22:44:37 +00:00
Sara Golemon 91999f1175 mfh(r-1.129) Expose PARAM_EVT_* constants 2006-05-03 21:58:38 +00:00
Pierre Joye 3a7aee2472 - remove debug part
nota bene, there is still work in this area, but this is a start
2006-05-03 21:37:16 +00:00
Pierre Joye 1192667679 - add test for multipart POST
- also first example of the POST_RAW section
2006-05-03 21:35:26 +00:00
Pierre Joye 9e4283227d - add support for POST_RAW, allow to pass raw POST data
- add support for TEST_PHP_CGI_EXECUTABLE env variable, it is now possible
  to set both TEST_PHP_EXECUTABLE and CGI
2006-05-03 21:33:44 +00:00
Antony Dovgal 24f0701867 MFH: plug leak 2006-05-03 19:40:58 +00:00
Antony Dovgal 43db0fce03 more POST+array tests 2006-05-03 19:02:12 +00:00
Dmitry Stogov f03fe1c09d Fixed bug #37205 (incompatibility with mod_fastcgi) 2006-05-03 15:39:16 +00:00
Ilia Alshanetsky c10762e967 Prepare news file for release 2006-05-03 13:32:46 +00:00
Ilia Alshanetsky fd2726641b Revert previous optimization if preparation for 5.1.4 2006-05-03 13:32:10 +00:00
Dmitry Stogov 0c6f5f5810 Fixed bug #37291 (FastCGI now longer works with isapi_fcgi.dll) 2006-05-03 13:25:37 +00:00
Dmitry Stogov 79fd560e5e Fixed incompatibility with isapi_fcgi.dll 2006-05-03 13:19:57 +00:00
Dmitry Stogov efad37874b Fixed bug #37276 (problems witch $_POST array) 2006-05-03 11:24:29 +00:00
Pierre Joye dbf2a5c65c - document the --with-pdo-sqlite[=dir] 2006-05-03 11:12:54 +00:00
Rob Richards ed33d232e0 BFN
re-order news
2006-05-03 08:44:32 +00:00
Rob Richards f57c75112d Fix bug #37277 (cloning Dom Documents or Nodes does not work)
Proper fix for bug #36859
add test
2006-05-03 08:43:04 +00:00
Dmitry Stogov a34755e9cf MFH 2006-05-03 06:36:02 +00:00
Dmitry Stogov 7941dcf544 typo 2006-05-02 15:50:04 +00:00
Dmitry Stogov ab5a8b2ae3 Fixed possible crash in highlight_string() (proper place) 2006-05-02 15:49:26 +00:00
Ilia Alshanetsky e95addcbfa Attempt to increase smart_str performance through the use of larger
default buffers. Biased micro benchmarks show it makes sense :P
2006-05-02 13:52:24 +00:00
Dmitry Stogov 8d1cc50067 Fixed ossible crash in highlight_string(). 2006-05-02 07:19:00 +00:00
Wez Furlong 30f98ae77b set min pdo dep to 1.0.3, which will be the new pecl release 2006-05-02 02:43:11 +00:00
Wez Furlong 7614368f8a prep for pecl release 2006-05-02 02:32:40 +00:00
Wez Furlong c1555236c9 tweak for better compatibility when building as SCE.
(library order is important)
2006-05-02 00:59:22 +00:00
Marcus Boerger 6f1a0f67ff - Make SplTempFileObject work in 5.1 2006-05-01 16:02:07 +00:00
Wez Furlong 299fe2554f add note about ssl context options. 2006-05-01 01:10:33 +00:00
Wez Furlong 8f87235107 Add two new context options for ssl:
"capture_peer_cert" and "capture_peer_cert_chain"

If true, the peer certificate and peer certificate chain respectively will be
captured and made available in the ssl context variables "peer_certificate" and
"peer_certificate_chain" respectively.  The certificates are exposed as x509
certificate resources and can be inspected using the existing openssl extension
functions.

This allows applications to perform extended validation.
2006-04-30 23:43:46 +00:00
Marcus Boerger f3a123a9db - After 5.1.3 follows 5.1.4, 5.2 requires a new branch, preferable from
this point of development (ilia will do so)
2006-04-30 14:30:05 +00:00
Wez Furlong ea2037a2d3 fix PECL #6544 2006-04-30 01:42:53 +00:00
Wez Furlong 07e11dcc4d Fix #36632 2006-04-30 01:27:33 +00:00
Wez Furlong aa5dbc8c92 Fix #35552 2006-04-30 00:52:28 +00:00
Frank M. Kromann fa94d911df Revert patch for pdb files. No need to have it twice! 2006-04-29 14:33:46 +00:00
Frank M. Kromann 6ba807db50 Add new configure option --enable-pdb-files
This will generate .pdb files for debugging
2006-04-29 06:24:38 +00:00
Dmitry Stogov ff452441e2 Proper fix for bug #37205 2006-04-27 11:39:32 +00:00
Moriyoshi Koizumi 522ce80071 - MFH: fix bug #37176 (iconv_strpos() fails to find a string) 2006-04-27 00:50:54 +00:00
Dmitry Stogov e0beb7fc71 Revert wrong fix 2006-04-26 17:48:27 +00:00
Ilia Alshanetsky 0c54f6f72b Restore dev 2006-04-26 16:07:11 +00:00
8959 changed files with 907723 additions and 126550 deletions

No files matched your search

+181 -17
View File
@@ -8,10 +8,29 @@ define ____executor_globals
end
document ____executor_globals
portable way of accessing executor_globals
portable way of accessing executor_globals, set $eg
ZTS detection is automatically based on ext/standard module struct
end
define print_cvs
____executor_globals
set $p = $eg.current_execute_data.CVs
set $c = $eg.current_execute_data.op_array.last_var
set $v = $eg.current_execute_data.op_array.vars
set $i = 0
printf "Compiled variables count: %d\n", $c
while $i < $c
printf "%d = %s\n", $i, $v[$i].name
if $p[$i] != 0
printzv *$p[$i]
else
printf "*uninitialized*\n"
end
set $i = $i + 1
end
end
define dump_bt
set $t = $arg0
while $t
@@ -39,14 +58,18 @@ define printzv
end
document printzv
prints content of zval
prints zval contents
end
define ____printzv_contents
set $zvalue = $arg0
set $type = $zvalue->type
printf "(refcount=%d) ", $zvalue->refcount
printf "(refcount=%d", $zvalue->refcount
if $zvalue->is_ref
printf ",is_ref"
end
printf ") "
if $type == 0
printf "NULL"
end
@@ -69,7 +92,7 @@ define ____printzv_contents
if ! $arg1
printf "{\n"
set $ind = $ind + 1
____print_ht $zvalue->value.ht
____print_ht $zvalue->value.ht 1
set $ind = $ind - 1
set $i = $ind
while $i > 0
@@ -103,7 +126,7 @@ define ____printzv_contents
printf "(%d): ", $ht->nNumOfElements
printf "{\n"
set $ind = $ind + 1
____print_ht $ht
____print_ht $ht 1
set $ind = $ind - 1
set $i = $ind
while $i > 0
@@ -119,7 +142,8 @@ define ____printzv_contents
set $type = 0
end
if $type == 6
printf "string(%d): \"%s\"", $zvalue->value.str.len, $zvalue->value.str.val
printf "string(%d): ", $zvalue->value.str.len
____print_str $zvalue->value.str.val $zvalue->value.str.len
end
if $type == 7
printf "resource: #%d", $zvalue->value.lval
@@ -167,8 +191,9 @@ define ____print_const_table
set $i = $i - 1
end
if $p->nKeyLength > 0
printf "\"%s\" => ", $p->arKey
if $p->nKeyLength > 0
____print_str $p->arKey $p->nKeyLength
printf " => "
else
printf "%d => ", $p->h
end
@@ -186,25 +211,34 @@ define print_const_table
end
define ____print_ht
set $ht = $arg0
set $ht = (HashTable*)$arg0
set $p = $ht->pListHead
while $p != 0
set $zval = *(zval **)$p->pData
set $i = $ind
while $i > 0
printf " "
set $i = $i - 1
end
if $p->nKeyLength > 0
printf "\"%s\" => ", $p->arKey
if $p->nKeyLength > 0
____print_str $p->arKey $p->nKeyLength
printf " => "
else
printf "%d => ", $p->h
end
if $arg1 == 0
printf "%p\n", (void*)$p->pData
end
if $arg1 == 1
set $zval = *(zval **)$p->pData
____printzv $zval 1
end
if $arg1 == 2
printf "%s\n", (char*)$p->pData
end
____printzv $zval 1
set $p = $p->pListNext
end
end
@@ -212,7 +246,7 @@ end
define print_ht
set $ind = 1
printf "[0x%08x] {\n", $arg0
____print_ht $arg0
____print_ht $arg0 1
printf "}\n"
end
@@ -220,6 +254,28 @@ document print_ht
dumps elements of HashTable made of zval
end
define print_htptr
set $ind = 1
printf "[0x%08x] {\n", $arg0
____print_ht $arg0 0
printf "}\n"
end
document print_htptr
dumps elements of HashTable made of pointers
end
define print_htstr
set $ind = 1
printf "[0x%08x] {\n", $arg0
____print_ht $arg0 2
printf "}\n"
end
document print_htstr
dumps elements of HashTable made of strings
end
define ____print_ft
set $ht = $arg0
set $p = $ht->pListHead
@@ -233,8 +289,9 @@ define ____print_ft
set $i = $i - 1
end
if $p->nKeyLength > 0
printf "\"%s\" => ", (char*)$p->arKey
if $p->nKeyLength > 0
____print_str $p->arKey $p->nKeyLength
printf " => "
else
printf "%d => ", $p->h
end
@@ -255,6 +312,113 @@ document print_ft
dumps a function table (HashTable)
end
define ____print_inh_class
set $ce = $arg0
if $ce->ce_flags & 0x10 || $ce->ce_flags & 0x20
printf "abstract "
else
if $ce->ce_flags & 0x40
printf "final "
end
end
printf "class %s", $ce->name
if $ce->parent != 0
printf " extends %s", $ce->parent->name
end
if $ce->num_interfaces != 0
printf " implements"
set $tmp = 0
while $tmp < $ce->num_interfaces
printf " %s", $ce->interfaces[$tmp]->name
set $tmp = $tmp + 1
if $tmp < $ce->num_interfaces
printf ","
end
end
end
set $ce = $ce->parent
end
define ____print_inh_iface
set $ce = $arg0
printf "interface %s", $ce->name
if $ce->num_interfaces != 0
set $ce = $ce->interfaces[0]
printf " extends %s", $ce->name
else
set $ce = 0
end
end
define print_inh
set $ce = $arg0
set $depth = 0
while $ce != 0
set $tmp = $depth
while $tmp != 0
printf " "
set $tmp = $tmp - 1
end
set $depth = $depth + 1
if $ce->ce_flags & 0x80
____print_inh_iface $ce
else
____print_inh_class $ce
end
printf " {\n"
end
while $depth != 0
set $tmp = $depth
while $tmp != 1
printf " "
set $tmp = $tmp - 1
end
printf "}\n"
set $depth = $depth - 1
end
end
define print_pi
set $pi = $arg0
printf "[0x%08x] {\n", $pi
printf " h = %lu\n", $pi->h
printf " flags = %d (", $pi->flags
if $pi->flags & 0x100
printf "ZEND_ACC_PUBLIC"
else
if $pi->flags & 0x200
printf "ZEND_ACC_PROTECTED"
else
if $pi->flags & 0x400
printf "ZEND_ACC_PRIVATE"
else
if $pi->flags & 0x800
printf "ZEND_ACC_CHANGED"
end
end
end
end
printf ")\n"
printf " name = "
____print_str $pi->name $pi->name_length
printf "\n}\n"
end
define ____print_str
set $tmp = 0
set $str = $arg0
printf "\""
while $tmp < $arg1
if $str[$tmp] > 32 && $str[$tmp] < 127
printf "%c", $str[$tmp]
else
printf "\\%o", $str[$tmp]
end
set $tmp = $tmp + 1
end
printf "\""
end
define printzn
____executor_globals
set $ind = 0
+3 -3
View File
@@ -58,8 +58,8 @@ Exceptions:
calling.
[7] When commenting out code using a #if statement, do NOT use 0 only. Instead
use "<cvs username here>_0". For example, #if FOO_0, where FOO is your
cvs user foo. This allows easier tracking of why code was commented out,
use "<svn username here>_0". For example, #if FOO_0, where FOO is your
svn user foo. This allows easier tracking of why code was commented out,
especially in bundled libraries.
[8] Do not define functions that are not available. For instance, if a
@@ -256,7 +256,7 @@ that the first implementation include a file labeled 'EXPERIMENTAL'
in the function directory, and that the functions follow the
standard prefixing conventions during their initial implementation.
The file labelled 'EXPERIMENTAL' should include the following
The file labeled 'EXPERIMENTAL' should include the following
information:
Any authoring information (known bugs, future directions of the module).
Ongoing status notes which may not be appropriate for CVS comments.
+98 -106
View File
@@ -127,32 +127,14 @@ EXTENSION: dbase
MAINTENANCE: Orphaned
STATUS: Working
-------------------------------------------------------------------------------
EXTENSION: dbx
PRIMARY MAINTAINER: Marc Boeren <M.Boeren@guidance.nl>
MAINTENANCE: Maintained
STATUS: Working
SINCE: 4.0.6
COMMENT: DB abstraction for odbc, mysql, pgsql, mssql, fbsql and more, see documentation
-------------------------------------------------------------------------------
EXTENSION: fbsql
PRIMARY MAINTAINER: Frank M. Kromann <fmk@swwwing.com>
MAINTENANCE: Unknown
STATUS: Unknown
-------------------------------------------------------------------------------
EXTENSION: informix
PRIMARY MAINTAINER: Danny Heijl <Danny.Heijl@cevi.be>
MAINTENANCE: Maintained
STATUS: Working
-------------------------------------------------------------------------------
EXTENSION: ingres_ii
PRIMARY MAINTAINER: David Hénot <henot@php.net>
MAINTENANCE: Maintained
STATUS: Experimental
SINCE: 4.0.2
-------------------------------------------------------------------------------
EXTENSION: interbase
PRIMARY MAINTAINER: Ard Biesheuvel <ard@ard.nu>, Jouni Ahto <jouni.ahto@exdec.fi>
MAINTENANCE: Maintained
MAINTENANCE: Odd fixes
STATUS: Working
-------------------------------------------------------------------------------
EXTENSION: msql
@@ -177,7 +159,7 @@ STATUS: Working
SINCE: 5.0
-------------------------------------------------------------------------------
EXTENSION: oci8
PRIMARY MAINTAINER: Antony Dovgal <tony2001@php.net>
PRIMARY MAINTAINER: Christopher Jones <sixd@php.net>, Antony Dovgal <tony2001@php.net>
MAINTENANCE: Maintained
STATUS: Working
-------------------------------------------------------------------------------
@@ -187,14 +169,53 @@ MAINTENANCE: Maintained
STATUS: Working
COMMENT: Working
-------------------------------------------------------------------------------
EXTENSION: oracle
MAINTENANCE: Orphaned
EXTENSION: pdo
PRIMARY MAINTAINER: Unknown
MAINTENANCE: Odd fixes
STATUS: Working
COMMENT: Using the new OCI8 driver is encouraged where possible.
SINCE: 5.1
-------------------------------------------------------------------------------
EXTENSION: ovrimos
MAINTENANCE: Unknown
STATUS: Unknown
EXTENSION: pdo_dblib
PRIMARY MAINTAINER: Unknown
MAINTENANCE: Odd fixes
STATUS: Working
SINCE: 5.1
-------------------------------------------------------------------------------
EXTENSION: pdo_firebird
PRIMARY MAINTAINER: Unknown
MAINTENANCE: Odd fixes
STATUS: Working
SINCE: 5.1
-------------------------------------------------------------------------------
EXTENSION: pdo_mysql
PRIMARY MAINTAINER: Unknown
MAINTENANCE: Odd fixes
STATUS: Working
SINCE: 5.1
-------------------------------------------------------------------------------
EXTENSION: pdo_odbc
PRIMARY MAINTAINER: Unknown
MAINTENANCE: Odd fixes
STATUS: Working
SINCE: 5.1
-------------------------------------------------------------------------------
EXTENSION: pdo_oci
PRIMARY MAINTAINER: Unknown
MAINTENANCE: Odd fixes
STATUS: Working
SINCE: 5.1
-------------------------------------------------------------------------------
EXTENSION: pdo_pgsql
PRIMARY MAINTAINER: Ilia Alshanetsky <iliaa@php.net>
MAINTENANCE: Odd fixes
STATUS: Working
SINCE: 5.1
-------------------------------------------------------------------------------
EXTENSION: pdo_sqlite
PRIMARY MAINTAINER: Unknown
MAINTENANCE: Odd fixes
STATUS: Working
SINCE: 5.1
-------------------------------------------------------------------------------
EXTENSION: pgsql
PRIMARY MAINTAINER: Marcus Boerger <helly@php.net>, Yasuo Ohgaki <yohgaki@php.net>
@@ -229,7 +250,7 @@ STATUS: Working
SINCE: 5.0
-------------------------------------------------------------------------------
EXTENSION: simplexml
PRIMARY MAINTAINER: Sterling Hughes <sterling@php.net>
PRIMARY MAINTAINER: Marcus Boerger <helly@php.net>
MAINTENANCE: Maintained
STATUS: Working
SINCE: 5.0
@@ -237,11 +258,11 @@ SINCE: 5.0
EXTENSION: soap
PRIMARY MAINTAINER: Dmitry Stogov <dmitry@zend.com>
MAINTENANCE: Maintained
STATUS: Experimental
STATUS: Working
-------------------------------------------------------------------------------
EXTENSION: wddx
PRIMARY MAINTAINER: Andrei Zmievski <andrei@php.net>
MAINTENANCE: Maintained
MAINTENANCE: Orphaned
STATUS: Working
-------------------------------------------------------------------------------
EXTENSION: xml
@@ -249,11 +270,21 @@ PRIMARY MAINTAINER: Thies C. Arntzen <thies@thieso.net>
MAINTENANCE: Maintained
STATUS: Working
-------------------------------------------------------------------------------
EXTENSION: xmlreader
PRIMARY MAINTAINER: Rob Richards <rrichards@php.net>, Christian Stocker <chregu@php.net>
MAINTENANCE: Maintained
STATUS: Working
-------------------------------------------------------------------------------
EXTENSION: xmlrpc
PRIMARY MAINTAINER: Dan Libby
MAINTENANCE: UNKNOWN
MAINTENANCE: Orphaned
STATUS: Experimental
-------------------------------------------------------------------------------
EXTENSION: xmlwriter
PRIMARY MAINTAINER: Rob Richards <rrichards@php.net>, Pierre-Alain Joye <pajoye@php.net>
MAINTENANCE: Maintained
STATUS: Working
-------------------------------------------------------------------------------
EXTENSION: xsl
PRIMARY MAINTAINER: Christian Stocker <chregu@php.net>, Rob Richards <rrichards@php.net>
MAINTENANCE: Maintained
@@ -267,7 +298,7 @@ SINCE: 5.0
-------------------------------------------------------------------------------
EXTENSION: bcmath
MAINTENANCE: Unknown
STATUS: Unknown
STATUS: Working
-------------------------------------------------------------------------------
EXTENSION: bz2
PRIMARY MAINTAINER: Hartmut Holzgraefe <hholzgra@php.net>
@@ -286,11 +317,6 @@ MAINTENANCE: Maintained
STATUS: Windows
SINCE: 5.0
-------------------------------------------------------------------------------
EXTENSION: cpdf
PRIMARY MAINTAINER: Uwe Steinmann <steinm@php.net>
MAINTENANCE: Maintained
STATUS: Working
-------------------------------------------------------------------------------
EXTENSION: ctype
PRIMARY MAINTAINER: Hartmut Holzgraefe <hholzgra@php.net>
MAINTENANCE: Maintained
@@ -313,27 +339,19 @@ MAINTENANCE: Maintained
STATUS: Working
SINCE: 4.2
-------------------------------------------------------------------------------
EXTENSION: fam
PRIMARY MAINTAINER: Sascha Schumann <sascha@schumann.cx>
MAINTENANCE: Unknown
STATUS: Unknown
-------------------------------------------------------------------------------
EXTENSION: fdf
PRIMARY MAINTAINER: Uwe Steinmann <steinm@php.net>
EXTENSION: filter
PRIMARY MAINTAINER: Derick Rethans <derick@php.net>, Pierre-Alain Joye <pajoye@php.net>, Ilia Alshanetsky <iliaa@php.net>
MAINTENANCE: Maintained
STATUS: Unknown
-------------------------------------------------------------------------------
EXTENSION: filepro
MAINTENANCE: Unknown
STATUS: Unknown
STATUS: Working
SINCE: 5.2
-------------------------------------------------------------------------------
EXTENSION: ftp
PRIMARY MAINTAINER: Stefan Esser (sesser@php.net)
MAINTENANCE: Maintained
PRIMARY MAINTAINER: Stefan Esser <sesser@php.net>
MAINTENANCE: Odd fixes
STATUS: Working
-------------------------------------------------------------------------------
EXTENSION: gd
PRIMARY MAINTAINER: Rasmus Lerdorf <rasmus@php.net>
PRIMARY MAINTAINER: Pierre-Alain Joye <pajoye@php.net>
MAINTENANCE: Maintained
STATUS: Working
-------------------------------------------------------------------------------
@@ -342,15 +360,11 @@ MAINTENANCE: Unknown
STATUS: Working
-------------------------------------------------------------------------------
EXTENSION: gmp
MAINTENANCE: Unknown
STATUS: Unknown
PRIMARY MAINTAINER: Stanislav Malyshev <stas@php.net>, Antony Dovgal <tony2001@php.net>
MAINTENANCE: Maintained
STATUS: Working
SINCE: 4.0.4
-------------------------------------------------------------------------------
EXTENSION: hwapi
PRIMARY MAINTAINER: Uwe Steinmann <steinm@php.net>
MAINTENANCE: Unknown
STATUS: Unknown
-------------------------------------------------------------------------------
EXTENSION: iconv
PRIMARY MAINTAINER: Moriyoshi Koizumi <moriyoshi@php.net>
MAINTENANCE: Maintained
@@ -361,13 +375,14 @@ PRIMARY MAINTAINER: Chuck Hagenbuch <chuck@horde.org>, Ilia Alshanetsky <iliaa@
MAINTENANCE: Maintained
STATUS: Working
-------------------------------------------------------------------------------
EXTENSION: ircg
PRIMARY MAINTAINER: Sascha Schumann <sascha@schumann.cx>
MAINTENANCE: Unknown
STATUS: Unknown
EXTENSION: json
PRIMARY MAINTAINER: Unknown
MAINTENANCE: Odd fixes
STATUS: Working
SINCE: 5.2
-------------------------------------------------------------------------------
EXTENSION: ldap
PRIMARY MAINTAINER: Stig Venaas <venaas@php.net>
PRIMARY MAINTAINER: Stig Venaas <venaas@php.net>, Douglas Goldstein <cardoe@php.net>
MAINTENANCE: Maintained
STATUS: Working
-------------------------------------------------------------------------------
@@ -381,14 +396,9 @@ PRIMARY MAINTAINER: Derick Rethans <derick@derickrethans.nl>
MAINTENANCE: Maintained
STATUS: Working
-------------------------------------------------------------------------------
EXTENSION: mcve
PRIMARY MAINTAINER: Unknown
MAINTENANCE: Unknown
STATUS: Unknown
-------------------------------------------------------------------------------
EXTENSION: mhash
PRIMARY MAINTAINER: Sascha Schumann <sascha@schumann.cx>
MAINTENANCE: Maintained
MAINTENANCE: Unknown
STATUS: Working
-------------------------------------------------------------------------------
EXTENSION: mime_magic
@@ -402,48 +412,26 @@ PRIMARY MAINTAINER: Frank M. Kromann
MAINTENANCE: Unknown
STATUS: Experimental
-------------------------------------------------------------------------------
EXTENSION: mnogosearch
PRIMARY MAINTAINER: Sergey Kartashoff <gluke@mail.ru>
MAINTENANCE: Unknown
STATUS: Unknown
-------------------------------------------------------------------------------
EXTENSION: mono
PRIMARY MAINTAINER: Sterling Hughes <sterling@php.net>
MAINTENANCE: Unknown
STATUS: Unknown
-------------------------------------------------------------------------------
EXTENSION: msession
PRIMARY MAINTAINER Mark L. Woodward <mlwmohawk@mohawksoft.com>
MAINTENANCE: Maintained
STATUS: Working/Experimental
COMMENT: Tested on Linux, should work on other UNIX platforms. Backend server code can compile under Windows.
-------------------------------------------------------------------------------
EXTENSION: ncurses
PRIMARY MAINTAINER Ilia Alshanetsky <iliaa@php.net>, Wez Furlong <wez@php.net>, Hartmut Holzgraefe <hholzgra@php.net>, Georg Richter <georg@php.net>
MAINTENANCE: Unknown
STATUS: Experimental
-------------------------------------------------------------------------------
EXTENSION: openssl
PRIMARY MAINTAINER: Wez Furlong <wez@php.net>
PRIMARY MAINTAINER: Wez Furlong <wez@php.net>, Pierre-Alain Joye <pajoye@php.net>
MAINTENANCE: Maintained
STATUS: Experimental
STATUS: Working
SINCE: 4.0.4
-------------------------------------------------------------------------------
EXTENSION: pcntl
MAINTENANCE: Unknown
STATUS: Experimental
STATUS: Working
-------------------------------------------------------------------------------
EXTENSION: pcre
PRIMARY MAINTAINER: Andrei Zmievski <andrei@php.net>
PRIMARY MAINTAINER: Andrei Zmievski <andrei@php.net>, Nuno Lopes <nlopess@php.net>
MAINTENANCE: Maintained
STATUS: Working
-------------------------------------------------------------------------------
EXTENSION: pfpro
PRIMARY MAINTAINER: David Croft <david@infotrek.co.uk>
MAINTENANCE: Maintained
STATUS: Working
SINCE: 4.0.2
-------------------------------------------------------------------------------
EXTENSION: posix
PRIMARY MAINTAINER: Kristian Köhntopp <kris@koehntopp.de>
MAINTENANCE: Maintained
@@ -464,6 +452,11 @@ PRIMARY MAINTAINER: Kristian K
MAINTENANCE: Maintained
STATUS: Working
-------------------------------------------------------------------------------
EXTENSION: reflection
PRIMARY MAINTAINER: Marcus Börger <helly@php.net>, Johannes Schlüter <johannes@php.net>
MAINTENANCE: Maintained
STATUS: Working
-------------------------------------------------------------------------------
EXTENSION: session
PRIMARY MAINTAINER: Sascha Schumann <sascha@schumann.cx>, Ilia Alshanetsky <iliaa@php.net>
MAINTENANCE: Maintained
@@ -472,7 +465,7 @@ STATUS: Working
EXTENSION: shmop
PRIMARY MAINTAINER: Ilia Alshanetsky <iliaa@php.net>
MAINTENANCE: Maintained
STATUS: Experimental
STATUS: Working
SINCE: 4.0.3
-------------------------------------------------------------------------------
EXTENSION: snmp
@@ -483,7 +476,7 @@ STATUS: Working
EXTENSION: sockets
PRIMARY MAINTAINER: Chris Vandomelen <chrisv@b0rked.dhs.org>
MAINTENANCE: Maintained
STATUS: Experimental
STATUS: Working
SINCE: 4.0.2
-------------------------------------------------------------------------------
EXTENSION: spl
@@ -494,31 +487,30 @@ SINCE: 5.0.0
-------------------------------------------------------------------------------
EXTENSION: sysvmsg
MAINTENANCE: Unknown
STATUS: Unknown
STATUS: Working
-------------------------------------------------------------------------------
EXTENSION: sysvsem
MAINTENANCE: Unknown
STATUS: Unknown
STATUS: Working
-------------------------------------------------------------------------------
EXTENSION: sysvshm
MAINTENANCE: Unknown
STATUS: Working
-------------------------------------------------------------------------------
EXTENSION: tidy
PRIMARY MAINTAINER: John Coggeshall <john@php.net>, Ilia Alshanetsky <iliaa@php.net>
PRIMARY MAINTAINER: John Coggeshall <john@php.net>, Ilia Alshanetsky <iliaa@php.net>, Nuno Lopes <nlopess@php.net>
MAINTENANCE: Maintained
STATUS: Unknown
STATUS: Working
-------------------------------------------------------------------------------
EXTENSION: tokenizer
PRIMARY MAINTAINER: Andrei Zmievski <andrei@php.net>
MAINTENANCE: Unknown
STATUS: Unknown
STATUS: Working
-------------------------------------------------------------------------------
EXTENSION: yaz
PRIMARY MAINTAINER: Adam Dickmeiss <adam@indexdata.dk>
EXTENSION: zip
PRIMARY MAINTAINER: Pierre-Alain Joye <pajoye@php.net>
MAINTENANCE: Maintained
STATUS: Unknown
SINCE: 4.0.1
STATUS: Working
-------------------------------------------------------------------------------
EXTENSION: zlib
PRIMARY MAINTAINER: Stefan Roehrich <sr@linux.de>
+471 -520
View File
File diff suppressed because it is too large. Load diff
+9 -9
View File
@@ -3,21 +3,21 @@
# Zend
#
$(builddir)/zend_language_scanner.lo: $(builddir)/zend_language_parser.h
$(builddir)/zend_ini_scanner.lo: $(builddir)/zend_ini_parser.h
$(builddir)/zend_language_scanner.lo: $(srcdir)/zend_language_parser.h
$(builddir)/zend_ini_scanner.lo: $(srcdir)/zend_ini_parser.h
$(builddir)/zend_language_scanner.c: $(srcdir)/zend_language_scanner.l
$(srcdir)/zend_language_scanner.c: $(srcdir)/zend_language_scanner.l
@$(LEX) -Pzend -S$(srcdir)/flex.skl -o$@ -i $(srcdir)/zend_language_scanner.l
$(builddir)/zend_language_parser.h: $(builddir)/zend_language_parser.c
$(builddir)/zend_language_parser.c: $(srcdir)/zend_language_parser.y
$(srcdir)/zend_language_parser.h: $(srcdir)/zend_language_parser.c
$(srcdir)/zend_language_parser.c: $(srcdir)/zend_language_parser.y
@$(YACC) -p zend -v -d $(srcdir)/zend_language_parser.y -o $@
$(builddir)/zend_ini_parser.h: $(builddir)/zend_ini_parser.c
$(builddir)/zend_ini_parser.c: $(srcdir)/zend_ini_parser.y
$(srcdir)/zend_ini_parser.h: $(srcdir)/zend_ini_parser.c
$(srcdir)/zend_ini_parser.c: $(srcdir)/zend_ini_parser.y
@$(YACC) -p ini_ -v -d $(srcdir)/zend_ini_parser.y -o $@
$(builddir)/zend_ini_scanner.c: $(srcdir)/zend_ini_scanner.l
$(srcdir)/zend_ini_scanner.c: $(srcdir)/zend_ini_scanner.l
@$(LEX) -Pini_ -S$(srcdir)/flex.skl -o$@ -i $(srcdir)/zend_ini_scanner.l
$(builddir)/zend_indent.lo $(builddir)/zend_highlight.lo $(builddir)/zend_compile.lo: $(builddir)/zend_language_parser.h
$(builddir)/zend_indent.lo $(builddir)/zend_highlight.lo $(builddir)/zend_compile.lo: $(srcdir)/zend_language_parser.h
+8 -2
View File
@@ -29,7 +29,7 @@ php_lcov.info: lcov-test
@rm -rf lcov_data/
@$(mkinstalldirs) lcov_data/
@echo
-@find . -name \*.gcda -o -name \*.gcno -o -name \*.da | sed -e 's/^\.\///' | sed -e 's/\.gcda//g' -e 's/\.gcno//g' -e 's/\.da//g' | uniq | while read x; do \
-@find . -name \*.gcda -o -name \*.gcno -o -name \*.da -o -name \*.h | sed -e 's/^\.\///' | sed -e 's/\.gcda//g' -e 's/\.gcno//g' -e 's/\.da//g' | uniq | while read x; do \
echo -n . ;\
y=`echo $$x | sed -e 's!\.libs/!!'`; \
dir=lcov_data/`dirname $$x`; \
@@ -37,6 +37,9 @@ php_lcov.info: lcov-test
if test -f "$(top_srcdir)/$$y.c"; then \
ln -f -s $(top_srcdir)/$$y.c lcov_data/$$y.c; \
fi; \
if test -f "$(top_srcdir)/$$y.h"; then \
ln -f -s $(top_srcdir)/$$y.h lcov_data/$$y.h; \
fi; \
if test -f "$(top_srcdir)/$$y.re"; then \
ln -f -s $(top_srcdir)/$$y.re lcov_data/$$y.re; \
fi; \
@@ -46,6 +49,9 @@ php_lcov.info: lcov-test
if test -f "$(top_srcdir)/$$y.l"; then \
ln -f -s $(top_srcdir)/$$y.l lcov_data/$$y.l; \
fi; \
if test -f "$(top_srcdir)/$$y"; then \
ln -f -s $(top_srcdir)/$$y lcov_data/$$y; \
fi; \
if test -f "$(top_builddir)/$$y.c"; then \
ln -f -s $(top_builddir)/$$y.c lcov_data/$$y.c; \
fi; \
@@ -61,7 +67,7 @@ php_lcov.info: lcov-test
lcov-html: php_lcov.info
@echo "Generating lcov HTML"
@$(LTP_GENHTML) --legend --output-directory lcov_html/ --title "PHP Code Coverage" --show-details php_lcov.info
@$(LTP_GENHTML) --legend --output-directory lcov_html/ --title "PHP Code Coverage" php_lcov.info
lcov-clean:
rm -f php_lcov.info
+38 -21
View File
@@ -8,27 +8,27 @@ COMMON_FLAGS = $(DEFS) $(INCLUDES) $(EXTRA_INCLUDES) $(CPPFLAGS) $(PHP_FRAMEWORK
all: $(all_targets)
@echo
@echo "Build complete."
@echo "(It is safe to ignore warnings about tempnam and tmpnam)."
@echo "Don't forget to run 'make test'."
@echo
build-modules: $(PHP_MODULES)
build-modules: $(PHP_MODULES) $(PHP_ZEND_EX)
libphp5.la: $(PHP_GLOBAL_OBJS) $(PHP_SAPI_OBJS)
libphp$(PHP_MAJOR_VERSION).la: $(PHP_GLOBAL_OBJS) $(PHP_SAPI_OBJS)
$(LIBTOOL) --mode=link $(CC) $(CFLAGS) $(EXTRA_CFLAGS) -rpath $(phptempdir) $(EXTRA_LDFLAGS) $(LDFLAGS) $(PHP_RPATHS) $(PHP_GLOBAL_OBJS) $(PHP_SAPI_OBJS) $(EXTRA_LIBS) $(ZEND_EXTRA_LIBS) -o $@
-@$(LIBTOOL) --silent --mode=install cp libphp5.la $(phptempdir)/libphp5.la >/dev/null 2>&1
-@$(LIBTOOL) --silent --mode=install cp $@ $(phptempdir)/$@ >/dev/null 2>&1
libs/libphp5.bundle: $(PHP_GLOBAL_OBJS) $(PHP_SAPI_OBJS)
$(CC) $(MH_BUNDLE_FLAGS) $(CFLAGS_CLEAN) $(EXTRA_CFLAGS) $(LDFLAGS) $(EXTRA_LDFLAGS) $(PHP_GLOBAL_OBJS:.lo=.o) $(PHP_SAPI_OBJS:.lo=.o) $(PHP_FRAMEWORKS) $(EXTRA_LIBS) $(ZEND_EXTRA_LIBS) -o $@ && cp $@ libs/libphp5.so
libs/libphp$(PHP_MAJOR_VERSION).bundle: $(PHP_GLOBAL_OBJS) $(PHP_SAPI_OBJS)
$(CC) $(MH_BUNDLE_FLAGS) $(CFLAGS_CLEAN) $(EXTRA_CFLAGS) $(LDFLAGS) $(EXTRA_LDFLAGS) $(PHP_GLOBAL_OBJS:.lo=.o) $(PHP_SAPI_OBJS:.lo=.o) $(PHP_FRAMEWORKS) $(EXTRA_LIBS) $(ZEND_EXTRA_LIBS) -o $@ && cp $@ libs/libphp$(PHP_MAJOR_VERSION).so
install: $(all_targets) $(install_targets)
install-sapi: $(OVERALL_TARGET)
@echo "Installing PHP SAPI module: $(PHP_SAPI)"
-@$(mkinstalldirs) $(INSTALL_ROOT)$(bindir)
-@if test ! -r $(phptempdir)/libphp5.$(SHLIB_DL_SUFFIX_NAME); then \
-@if test ! -r $(phptempdir)/libphp$(PHP_MAJOR_VERSION).$(SHLIB_DL_SUFFIX_NAME); then \
for i in 0.0.0 0.0 0; do \
if test -r $(phptempdir)/libphp5.$(SHLIB_DL_SUFFIX_NAME).$$i; then \
$(LN_S) $(phptempdir)/libphp5.$(SHLIB_DL_SUFFIX_NAME).$$i $(phptempdir)/libphp5.$(SHLIB_DL_SUFFIX_NAME); \
if test -r $(phptempdir)/libphp$(PHP_MAJOR_VERSION).$(SHLIB_DL_SUFFIX_NAME).$$i; then \
$(LN_S) $(phptempdir)/libphp$(PHP_MAJOR_VERSION).$(SHLIB_DL_SUFFIX_NAME).$$i $(phptempdir)/libphp$(PHP_MAJOR_VERSION).$(SHLIB_DL_SUFFIX_NAME); \
break; \
fi; \
done; \
@@ -66,35 +66,52 @@ install-headers:
fi \
done; \
fi
install-su: install-pear
test: all
PHP_TEST_SETTINGS = -d 'open_basedir=' -d 'output_buffering=0' -d 'memory_limit=-1'
PHP_TEST_SHARED_EXTENSIONS = ` \
if test "x$(PHP_MODULES)" != "x"; then \
for i in $(PHP_MODULES)""; do \
. $$i; $(top_srcdir)/build/shtool echo -n -- " -d extension=$$dlname"; \
done; \
fi; \
if test "x$(PHP_ZEND_EX)" != "x"; then \
for i in $(PHP_ZEND_EX)""; do \
. $$i; $(top_srcdir)/build/shtool echo -n -- " -d $(ZEND_EXT_TYPE)=$(top_builddir)/modules/$$dlname"; \
done; \
fi`
test: all
-@if test ! -z "$(PHP_EXECUTABLE)" && test -x "$(PHP_EXECUTABLE)"; then \
INI_FILE=`$(PHP_EXECUTABLE) -d 'display_errors=stderr' -r 'echo php_ini_loaded_file();' 2> /dev/null`; \
if test "$$INI_FILE"; then \
$(EGREP) -v '^(zend_)?extension(_debug)?(_ts)?[\t\ ]*=' "$$INI_FILE" > $(top_builddir)/tmp-php.ini; \
else \
echo > $(top_builddir)/tmp-php.ini; \
fi; \
INI_SCANNED_PATH=`$(PHP_EXECUTABLE) -d 'display_errors=stderr' -r '$$a = explode(",\n", trim(php_ini_scanned_files())); echo $$a[0];' 2> /dev/null`; \
if test "$$INI_SCANNED_PATH"; then \
INI_SCANNED_PATH=`$(top_srcdir)/build/shtool path -d $$INI_SCANNED_PATH`; \
$(EGREP) -h -v '^(zend_)?extension(_debug)?(_ts)?[\t\ ]*=' "$$INI_SCANNED_PATH"/*.ini >> $(top_builddir)/tmp-php.ini; \
fi; \
TEST_PHP_EXECUTABLE=$(PHP_EXECUTABLE) \
TEST_PHP_SRCDIR=$(top_srcdir) \
CC="$(CC)" \
$(PHP_EXECUTABLE) -d 'open_basedir=' -d 'safe_mode=0' -d 'output_buffering=0' -d 'memory_limit=-1' $(top_srcdir)/run-tests.php -d 'extension_dir=modules/' -d `( . $(PHP_MODULES) ; echo extension=$$dlname)` tests/; \
elif test ! -z "$(SAPI_CLI_PATH)" && test -x "$(SAPI_CLI_PATH)"; then \
TEST_PHP_EXECUTABLE=$(top_builddir)/$(SAPI_CLI_PATH) \
TEST_PHP_SRCDIR=$(top_srcdir) \
CC="$(CC)" \
$(top_builddir)/$(SAPI_CLI_PATH) -d 'open_basedir=' -d 'safe_mode=0' -d 'output_buffering=0' -d 'memory_limit=-1' $(top_srcdir)/run-tests.php $(TESTS); \
$(PHP_EXECUTABLE) -n -c $(top_builddir)/tmp-php.ini $(PHP_TEST_SETTINGS) $(top_srcdir)/run-tests.php -n -c $(top_builddir)/tmp-php.ini -d extension_dir=$(top_builddir)/modules/ $(PHP_TEST_SHARED_EXTENSIONS) $(TESTS); \
else \
echo "ERROR: Cannot run tests without CLI sapi."; \
fi
clean:
find . -name \*.gcno -o -name \*.gcda | xargs rm -f
find . -name \*.lo -o -name \*.o | xargs rm -f
find . -name \*.la -o -name \*.a | xargs rm -f
find . -name \*.so | xargs rm -f
find . -name .libs -a -type d|xargs rm -rf
rm -f libphp5.la $(SAPI_CLI_PATH) $(OVERALL_TARGET) modules/* libs/*
rm -f libphp$(PHP_MAJOR_VERSION).la $(SAPI_CLI_PATH) $(OVERALL_TARGET) modules/* libs/*
distclean: clean
rm -f config.cache config.log config.status Makefile.objects Makefile.fragments libtool main/php_config.h stamp-h php5.spec sapi/apache/libphp5.module buildmk.stamp
rm -f Makefile config.cache config.log config.status Makefile.objects Makefile.fragments libtool main/php_config.h stamp-h php5.spec sapi/apache/libphp$(PHP_MAJOR_VERSION).module buildmk.stamp
$(EGREP) define'.*include/php' $(top_srcdir)/configure | $(SED) 's/.*>//'|xargs rm -f
find . -name Makefile | xargs rm -f
.PHONY: all clean install distclean test
.NOEXPORT:
+2787 -253
View File
File diff suppressed because it is too large. Load diff
+11 -8
View File
@@ -31,14 +31,17 @@ resources cannot be auto-converted.
Type specifiers
---------------
l - long
d - double
s - string (with possible null bytes) and its length
b - boolean, stored in zend_bool
r - resource (stored in zval)
a - array
b - boolean, stored in zend_bool
d - double
f - function or array containing php method call info (returned as
zend_fcall_info* and zend_fcall_info_cache*)
h - array (returned as HashTable*)
l - long
o - object (of any type)
O - object (of specific type, specified by class entry)
r - resource (stored in zval)
s - string (with possible null bytes) and its length
z - the actual zval
The following characters also have a meaning in the specifier string:
@@ -48,8 +51,8 @@ Type specifiers
passed to it.
/ - use SEPARATE_ZVAL_IF_NOT_REF() on the parameter it follows
! - the parameter it follows can be of specified type or NULL (only applies
to 'a', 'o', 'O', 'r', and 'z'). If NULL is passed, the results
pointer is set to NULL as well.
to 's', 'a', 'o', 'O', 'r', 'h', 'C', 'z', and 'Z'). If NULL is passed,
the results pointer is set to NULL as well.
Examples
--------
@@ -67,7 +70,7 @@ if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "lsz",
/* Gets an object of class specified by my_ce, and an optional double. */
zval *obj;
double d = 0.5;
zend_class_entry my_ce;
zend_class_entry *my_ce;
if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "O|d",
&obj, my_ce, &d) == FAILURE) {
return;
+10 -30
View File
@@ -8,11 +8,11 @@ part is making it acceptable for inclusion into our repository. :-)
How to create patch?
--------------------
We are working with CVS. You need to get CVS source to create a patch
that we accept. Visit http://www.php.net/anoncvs.php to get CVS
source. You can check out older versions, but make sure you get
the default branch (i.e. Do not use -r option when you check out the
CVS source)
We use Subversion (SVN) for revision control. You need to get the
source from SVN in order to create a patch. Read
http://www.php.net/svn.php for help on using SVN. You can check out
older branches, but make sure you get trunk as well and make your
patch work there.
Read CODING_STANDARDS file before you start working.
@@ -21,7 +21,7 @@ add a new feature to PHP. After you finished editing, please test your
patch. Read README.TESTING for testing.
After you finish testing your patch, take diff file using
"cvs diff > your.patch" command.
"svn diff > your.patch" command.
Read README.TESTING for submitting a test script for your patch. This is
not strictly required, but it is preferred to submit a test script along
@@ -41,25 +41,8 @@ maintainer and/or internals@lists.php.net, or pear-dev@lists.php.net if
you are patching PEAR. Official module maintainers can be found in
EXTENSIONS file in PHP source.
If you are new to CVS (Concurrent Versions System), visit
http://cvshome.org/ for details.
Recommended CVS client settings for creating patch file
------------------------------------------------------
Recommended ~/.cvsrc file setting is:
------
cvs -z3
update -d -P
checkout -P
diff -u
------
diff -u means:
-u Use the unified output format.
With this CVS setting, you don't have to worry about adding/deleting
newlines and spaces.
If you are new to SVN (Subversion), visit
http://svnbook.red-bean.com/ for details.
Check list for submitting patch
@@ -70,10 +53,7 @@ Check list for submitting patch
web server error logs when you test your patch?
- Did you build PHP for multi-threaded web servers. (Optional)
- Did you create test script for "make test"? (Recommended)
- Did you check your patch is unified format and it does not
contain white space changes? (If you are not using recommended
cvs setting)
- Did you update CVS source before you take final patch?
- Did you update SVN source before you take final patch?
- Did you read the patch again?
@@ -118,7 +98,7 @@ these questions:
What happens when your patch is applied?
----------------------------------------
Your name will be included together with your email address in the CVS
Your name will be included together with your email address in the SVN
commit log. If your patch affects end-users, a brief description
and your name might be added to the NEWS file.
+70 -39
View File
@@ -1,24 +1,31 @@
This is the first file you should be reading after you get your CVS account.
We'll assume you're basically familiar with CVS, but feel free to post
your questions on the mailing list. Please have a look at
http://cvsbook.red-bean.com/ for more detailed information on CVS.
====================
SVN Commit Rules
====================
This is the first file you should be reading after you get your SVN account.
We'll assume you're basically familiar with SVN, but feel free to post
your questions on the mailing list. Please have a look at
http://svnbook.red-bean.com/ for more detailed information on SVN.
PHP is developed through the efforts of a large number of people.
Collaboration is a Good Thing(tm), and CVS lets us do this. Thus, following
some basic rules with regards to CVS usage will:
Collaboration is a Good Thing(tm), and SVN lets us do this. Thus, following
some basic rules with regards to SVN usage will::
a. Make everybody happier, especially those responsible for maintaining
the CVS itself.
the SVN itself.
b. Keep the changes consistently well documented and easily trackable.
c. Prevent some of those 'Oops' moments.
d. Increase the general level of good will on planet Earth.
Having said that, here are the organizational rules:
Having said that, here are the organizational rules::
1. Respect other people working on the project.
2. Discuss any significant changes on the list before committing.
2. Discuss any significant changes on the list before committing and get
confirmation from the release manager for the given branch.
3. Look at EXTENSIONS file to see who is the primary maintainer of
the code you want to contribute to.
@@ -29,40 +36,55 @@ Having said that, here are the organizational rules:
5. If you don't know how to do something, ask first!
6. Test your changes before committing them. We mean it. Really.
To do so use "make test".
Currently we have the following branches in use:
HEAD Will become PHP 6.0. This CVS branch is for active development.
PHP_5_1 Is used to release the PHP 5.1.x series. Only minor feature
enhancements may go in here, but please keep that as infrequent as
possible.
PHP_4_4 Is used to release the PHP 4.4.x series. Only bugfixes are permitted
on this branch.
7. For development use the --enable-maintainer-zts switch to ensure your
code handles TSRM correctly and doesn't break for thos who need that.
The next few rules are more of a technical nature.
Currently we have the following branches in use::
1. DO NOT TOUCH ChangeLog! It is automagically updated from the commit
trunk Will become PHP 6.0. This CVS branch is for active development.
branches/PHP_5_3 Is used to release the PHP 5.3.x series. It still allows for
larger enhancements.
branches/PHP_5_2 Is used to release the PHP 5.2.x series. Only bugfixes are permitted
on this branch (Consult the releasemaster prior to commit).
branches/PHP_5_1 This branch is closed.
branches/PHP_4_4 This branch is closed.
The next few rules are more of a technical nature::
1. All changes should first go to trunk and then get merged from trunk
(aka MFH'ed) to all other relevant branches.
2. DO NOT TOUCH ChangeLog! It is automagically updated from the commit
messages every day. Woe be to those who attempt to mess with it.
2. All news updates intended for public viewing, such as new features,
bug fixes, improvements, etc., should go into the NEWS file.
3. All news updates intended for public viewing, such as new features,
bug fixes, improvements, etc., should go into the NEWS file of the
*first* to be released version with the given change. In other words
any NEWS file change only needs to done in one branch.
NB! Lines, starting with @ will go automagically into NEWS file, but
this is NOT recommended, though. Please, add news entries directly to
this is NOT recommended, though. Please, add news entries directly to
NEWS file and don't forget to keep them adjusted and sorted.
3. Do not commit multiple file and dump all messages in one commit. If you
4. Do not commit multiple file and dump all messages in one commit. If you
modified several unrelated files, commit each group separately and
provide a nice commit message for each one. See example below.
4. Do write your commit message in such a way that it makes sense even
5. Do write your commit message in such a way that it makes sense even
without the corresponding diff. One should be able to look at it, and
immediately know what was modified. Definitely include the function name
in the message as shown below.
5. In your commit messages, keep each line shorter than 80 characters. And
6. In your commit messages, keep each line shorter than 80 characters. And
try to align your lines vertically, if they wrap. It looks bad otherwise.
6. If you modified a function that is callable from PHP, prepend PHP to
7. If you modified a function that is callable from PHP, prepend PHP to
the function name as shown below.
@@ -74,7 +96,7 @@ If a line begins with #, it is taken to be a comment and will not appear
in the ChangeLog. Everything else goes into the ChangeLog.
It is important to note that if your comment or news logline spans multiple
lines, you have to put # at the beginning of _every_ such line.
lines, you have to put # at the beginning of **every** such line.
Example. Say you modified two files, datetime.c and string.c. In datetime.c you
added a new format option for the date() function, and in string.c you fixed a
@@ -82,30 +104,39 @@ memory leak in php_trim(). Don't commit both of these at once. Commit them
separately and try to make sure your commit messages look something like the
following.
For datetime.c:
- Added new 'K' format modifier to date() for printing out number of days until
New Year's Eve.
For datetime.c::
For string.c:
- Fixed a memory leak in php_trim() resulting from improper use of zval_dtor().
#- Man, that thing was leaking all over the place!
- Added new 'K' format modifier to date() for printing out number of days
until New Year's Eve.
For string.c::
- Fixed a memory leak in php_trim() resulting from improper use of zval_dtor().
#- Man, that thing was leaking all over the place!
The # lines will be omitted from the ChangeLog automagically.
Use the [DOC] tag in your log message whenever you feel that your changes
imply a documentation modification. The php-doc team will automatically
get notified about your commit through the php-doc mailing list.
If you fix some bugs, you should note the bug ID numbers in your
commit message. Bug ID should be prefixed by "#" for easier access to
bug report when developers are browsing CVS via. LXR or Bonsai.
bug report when developers are browsing CVS via LXR or Bonsai.
Example:
Example::
Fixed bug #14016 (pgsql notice handler double free crash bug.)
Fixed bug #14016 (pgsql notice handler double free crash bug.)
If you don't see your messages in ChangeLog right away, don't worry!
These files are updated once a day, so your stuff will not show up until
somewhat later.
somewhat later.
When you change the NEWS file for a bug fix, then please keep the bugs
sorted in decreasing order under the fixed version.
You can use LXR (http://lxr.php.net/) and Bonsai (http://bonsai.php.net/)
to look at PHP CVS repository in various ways.
to look at PHP SVN repository in various ways.
To receive daily updates to ChangeLog and NEWS, send an empty message to
php-cvs-daily-subscribe@lists.php.net.
+5 -4
View File
@@ -32,11 +32,12 @@ sapi/cli/php [-c /path/to/php.ini] run-tests.php [ext/foo/tests/GLOB]
[Which "php" executable "make test" look for]
---------------------------------------------
You must use TEST_PHP_EXECUTABLE environment variable to explicitly
select the php executable to be used to run the tests. That can either
be the CLI or CGI executable.
If you are running the run-tests.php script from the command line (as above)
you must set the TEST_PHP_EXECUTABLE environment variable to explicitly
select the PHP executable that is to be tested, that is, used to run the test scripts.
"make test" executes "run-tests.php" script with "php" binary. Some
If you run the tests using make test, the PHP CLI and CGI executables are
automatically set for you. "make test" executes "run-tests.php" script with the CLI binary. Some
test scripts such as session must be executed by CGI SAPI. Therefore,
you must build PHP with CGI SAPI to perform all tests.
+14 -14
View File
@@ -1,11 +1,11 @@
[IMPORTANT NOTICE]
------------------
This is an addendum to README.TESTING with additional information
specific to run-tests2.php.
specific to server-tests.php.
run-tests2.php is backward compatible with tests developed for
the original run-tests.php script. run-tests2 is *not* used by
'make test'. run-tests2 was developed to provide support for
server-tests.php is backward compatible with tests developed for
the original run-tests.php script. server-tests is *not* used by
'make test'. server-tests was developed to provide support for
testing PHP under it's primary environment, HTTP, and can run the
PHP tests under any of the SAPI modules that are direct executables,
or are accessable via HTTP.
@@ -13,12 +13,12 @@ or are accessable via HTTP.
[New features]
----------------
* Command line interface:
You can run 'php run-tests2.php -h' to get all the possible options.
You can run 'php server-tests.php -h' to get all the possible options.
* Configuration file:
the -c argument will allow you to use a configuration file. This is
handy if you are testing multiple environments and need various options
depending on the environment.
see run-tests-config.php for details.
see server-tests-config.php for details.
* CGI Emulation:
Will emulate a CGI environment when testing with the cgi sapi executable.
* HTTP testing:
@@ -39,23 +39,23 @@ make testing work.
Some (but not all!) examples of usage:
1. run tests from the php source directory
php run-tests2.php -p /path/to/php-cli
php server-tests.php -p /path/to/php-cli
2. run tests using cgi emulation
php run-tests2.php -p /path/to/php-cgi
php server-tests.php -p /path/to/php-cgi
3. run tests over http, copying test files into document root
php run-tests2.php -w -u http://localhost/test -m /path/to/htdocs/test
php server-tests.php -w -u http://localhost/test -m /path/to/htdocs/test
4. run tests over http, php sources have been aliased in web server
php run-tests2.php -w -u http://localhost/test
php server-tests.php -w -u http://localhost/test
5. run tests using configuration file
php run-tests2.php -c /path/to/run-tests-config.php
php server-tests.php -c /path/to/server-tests-config.php
6. run tests using configuration file, but overriding some settings:
(config file must be first)
php run-tests2.php -c /path/to/run-tests-config.php -w -t 3 -d /path/to/testdir
php server-tests.php -c /path/to/server-tests-config.php -w -t 3 -d /path/to/testdir
NOTE: configuration as described in README.TESTING still works.
@@ -63,7 +63,7 @@ NOTE: configuration as described in README.TESTING still works.
----------------
In addition to the traditional test sections
(see http://qa.php.net/write-test.php), several new sections are available
under run-tests2.
under server-tests.
--POST--
This is not a new section, but not multipart posts are supported for testing
@@ -97,7 +97,7 @@ include:
$scriptname this is what will become SCRIPT_NAME unless you override it
$docroot the equivelant of DOCUMENT_ROOT under Apache
$cwd the directory that the test is being initiated from
$this->conf all run-tests2 configuration vars
$this->conf all server-tests configuration vars
$this->env all environment variables that will get passed to the test
+1037
View File
File diff suppressed because it is too large. Load diff
+4 -1
View File
@@ -10,7 +10,10 @@ The Input Filter support in PHP 5 is aimed at providing the framework
through which a company-wide or site-wide security policy can be
enforced. It is implemented as a SAPI hook and is called from the
treat_data and post handler functions. To implement your own security
policy you will need to write a standard PHP extension.
policy you will need to write a standard PHP extension. There is also
a powerful standard implementation in ext/filter that should suit most
peoples' needs. However, if you want to implement your own security
policy, read on.
A simple implementation might look like the following. This stores the
original raw user data and adds a my_get_raw() function while the normal
-8
View File
@@ -96,13 +96,6 @@ ext/pcntl
* Remove all zend_extension code
* Add object callback support to pcntl_signal()
ext/pgsql
---------
For PHP 4.3.0:
* Add pg_metadata() with metadata cache feature.
* Add pg_convert() to check and convert array value for query.
* Add pg_insert/pg_update/pg_delete/pg_select for simple query.
ext/session
-----------
For PHP 4.3.0:
@@ -129,7 +122,6 @@ ext/standard
ext/wddx
--------
* See if we can support the remaining data types:
dateTime
binary
http://www.wddx.org/WDDX_SDK_10a/7__References/WDDX_DTD.htm
-20
View File
@@ -48,26 +48,6 @@ Responsibility: Shane Caraveo & each sapi module owner
Timeframe: ? (but shouldn't be much effort, most modules are probably ok)
Component: Input Filtering
- Implement a SAPI input filter hook that will get called
just before registering a variable in the
treat_data/post_handler hooks. (done)
- Make sure this is also done in mbstring (done)
- Provide access functions, or perhaps a new
$_RAW_GET/POST/Cookie set of superglobals to get at the
unfiltered data
- Provide a .ini directive which allows people to set their
input filter to one of the built-in strip_tags,
htmlspecialchars or whatever other internal function might
be useful here.
- (The main benefit of this is to make it easier for people
to solve the XSS problem once and for all without having
to go through every line of their code and adding input
validation/filtering everywhere)
Responsibility: Rasmus
Timeframe: Yesterday
Component: RPC Abstraction Layer
Porting java, com, dotnet, xmlrpc, corba, soap and python, srm
(are there more ?) to work with the new oo api and preferably
+1 -1
View File
@@ -2,7 +2,7 @@
+----------------------------------------------------------------------+
| Thread Safe Resource Manager |
+----------------------------------------------------------------------+
| Copyright (c) 1999-2006, Andi Gutmans, Sascha Schumann, Zeev Suraski |
| Copyright (c) 1999-2009, Andi Gutmans, Sascha Schumann, Zeev Suraski |
| This source file is subject to the TSRM license, that is bundled |
| with this package in the file LICENSE |
+----------------------------------------------------------------------+
+12 -7
View File
@@ -2,7 +2,7 @@
+----------------------------------------------------------------------+
| Thread Safe Resource Manager |
+----------------------------------------------------------------------+
| Copyright (c) 1999-2006, Andi Gutmans, Sascha Schumann, Zeev Suraski |
| Copyright (c) 1999-2009, Andi Gutmans, Sascha Schumann, Zeev Suraski |
| This source file is subject to the TSRM license, that is bundled |
| with this package in the file LICENSE |
+----------------------------------------------------------------------+
@@ -13,14 +13,11 @@
#ifndef TSRM_H
#define TSRM_H
/* #ifndef WIN32 */
#ifndef WIN32
# include <tsrm_config.h>
#endif
#ifdef WIN32
#if !defined(__CYGWIN__) && defined(WIN32)
# define TSRM_WIN32
# include "tsrm_config.w32.h"
#else
# include <tsrm_config.h>
#endif
#ifdef TSRM_WIN32
@@ -33,6 +30,14 @@
# define TSRM_API
#endif
#ifdef _WIN64
typedef __int64 tsrm_intptr_t;
typedef unsigned __int64 tsrm_uintptr_t;
#else
typedef long tsrm_intptr_t;
typedef unsigned long tsrm_uintptr_t;
#endif
/* Only compile multi-threading functions if we're in ZTS mode */
#ifdef ZTS
+8 -5
View File
@@ -7,11 +7,15 @@
* on Windows 95/NT.
*/
#define _WIN32_WINNT 0x0400
#include <windows.h>
#include <io.h>
#include <stdio.h>
#include <stdlib.h>
#include <sys/types.h>
#include <direct.h>
/* struct dirent - same as Unix */
@@ -25,10 +29,10 @@ struct dirent {
/* typedef DIR - not the same as Unix */
typedef struct {
long handle; /* _findfirst/_findnext handle */
HANDLE handle; /* _findfirst/_findnext handle */
short offset; /* offset into directory */
short finished; /* 1 if there are not more files */
struct _finddata_t fileinfo; /* from _findfirst/_findnext */
WIN32_FIND_DATA fileinfo; /* from _findfirst/_findnext */
char *dir; /* the dir we are reading */
struct dirent dent; /* the dirent to return */
} DIR;
@@ -38,7 +42,6 @@ DIR *opendir(const char *);
struct dirent *readdir(DIR *);
int readdir_r(DIR *, struct dirent *, struct dirent **);
int closedir(DIR *);
void rewinddir(DIR *);
int rewinddir(DIR *);
#endif /* READDIR_H */
-1
View File
@@ -68,7 +68,6 @@ AC_DEFUN([TSRM_CHECK_ST],[
])
sinclude(threads.m4)
sinclude(TSRM/threads.m4)
AC_DEFUN([TSRM_CHECK_PTHREADS],[
+4 -2
View File
@@ -1,8 +1,10 @@
#ifndef TSRM_CONFIG_COMMON_H
#define TSRM_CONFIG_COMMON_H
#if WINNT|WIN32
# define TSRM_WIN32
#ifndef __CYGWIN__
# if WINNT|WIN32
# define TSRM_WIN32
# endif
#endif
#ifdef TSRM_WIN32
+1 -1
View File
@@ -2,7 +2,7 @@
+----------------------------------------------------------------------+
| PHP Version 5 |
+----------------------------------------------------------------------+
| Copyright (c) 1997-2006 The PHP Group |
| Copyright (c) 1997-2009 The PHP Group |
+----------------------------------------------------------------------+
| This source file is subject to version 3.01 of the PHP license, |
| that is bundled with this package in the file LICENSE, and is |
+1 -1
View File
@@ -2,7 +2,7 @@
+----------------------------------------------------------------------+
| PHP Version 5 |
+----------------------------------------------------------------------+
| Copyright (c) 1997-2006 The PHP Group |
| Copyright (c) 1997-2009 The PHP Group |
+----------------------------------------------------------------------+
| This source file is subject to version 3.01 of the PHP license, |
| that is bundled with this package in the file LICENSE, and is |
+500 -255
View File
File diff suppressed because it is too large. Load diff
+27 -15
View File
@@ -2,7 +2,7 @@
+----------------------------------------------------------------------+
| PHP Version 5 |
+----------------------------------------------------------------------+
| Copyright (c) 1997-2006 The PHP Group |
| Copyright (c) 1997-2009 The PHP Group |
+----------------------------------------------------------------------+
| This source file is subject to version 3.01 of the PHP license, |
| that is bundled with this package in the file LICENSE, and is |
@@ -37,8 +37,14 @@
#include <stdarg.h>
#endif
#ifdef ZTS
#define VIRTUAL_DIR
#endif
#ifndef TSRM_WIN32
#include <unistd.h>
#else
#include <direct.h>
#endif
#if defined(__osf__) || defined(_AIX)
@@ -120,6 +126,12 @@ typedef unsigned short mode_t;
#define CWD_API
#endif
#ifdef TSRM_WIN32
CWD_API int php_sys_stat(const char *path, struct stat *buf);
#else
# define php_sys_stat stat
#endif
typedef struct _cwd_state {
char *cwd;
int cwd_length;
@@ -166,10 +178,6 @@ CWD_API int virtual_access(const char *pathname, int mode TSRMLS_DC);
#endif
#endif
#if defined(__osf__) || defined(_AIX)
char *php_realpath_hack(char *src, char *dest);
#endif
#if HAVE_UTIME
CWD_API int virtual_utime(const char *filename, struct utimbuf *buf TSRMLS_DC);
#endif
@@ -178,8 +186,17 @@ CWD_API int virtual_chmod(const char *filename, mode_t mode TSRMLS_DC);
CWD_API int virtual_chown(const char *filename, uid_t owner, gid_t group, int link TSRMLS_DC);
#endif
/* One of the following constants must be used as the last argument
in virtual_file_ex() call. */
#define CWD_EXPAND 0 /* expand "." and ".." but dont resolve symlinks */
#define CWD_FILEPATH 1 /* resolve symlinks if file is exist otherwise expand */
#define CWD_REALPATH 2 /* call realpath(), resolve symlinks. File must exist */
CWD_API int virtual_file_ex(cwd_state *state, const char *path, verify_path_func verify_path, int use_realpath);
CWD_API char *tsrm_realpath(const char *path, char *real_path TSRMLS_DC);
#define REALPATH_CACHE_TTL (2*60) /* 2 minutes */
#define REALPATH_CACHE_SIZE 0 /* disabled while php.ini isn't loaded */
@@ -209,6 +226,9 @@ extern virtual_cwd_globals cwd_globals;
# define CWDG(v) (cwd_globals.v)
#endif
CWD_API void realpath_cache_clean(TSRMLS_D);
CWD_API void realpath_cache_del(const char *path, int path_len TSRMLS_DC);
/* The actual macros to be used in programs using TSRM
* If the program defines VIRTUAL_DIR it will use the
* virtual_* functions
@@ -259,7 +279,7 @@ extern virtual_cwd_globals cwd_globals;
#define VCWD_CHDIR(path) chdir(path)
#define VCWD_CHDIR_FILE(path) virtual_chdir_file(path, chdir)
#define VCWD_GETWD(buf) getwd(buf)
#define VCWD_STAT(path, buff) stat(path, buff)
#define VCWD_STAT(path, buff) php_sys_stat(path, buff)
#define VCWD_LSTAT(path, buff) lstat(path, buff)
#define VCWD_UNLINK(path) unlink(path)
#define VCWD_MKDIR(pathname, mode) mkdir(pathname, mode)
@@ -272,15 +292,7 @@ extern virtual_cwd_globals cwd_globals;
#define VCWD_ACCESS(pathname, mode) access(pathname, mode)
#endif
#ifdef HAVE_REALPATH
#if defined(__osf__) || defined(_AIX)
#define VCWD_REALPATH(path, real_path) php_realpath_hack(path, real_path)
#else
#define VCWD_REALPATH(path, real_path) realpath(path, real_path)
#endif
#else
#define VCWD_REALPATH(path, real_path) strcpy(real_path, path)
#endif
#define VCWD_REALPATH(path, real_path) tsrm_realpath(path, real_path TSRMLS_CC)
#if HAVE_UTIME
#define VCWD_UTIME(path, time) utime(path, time)
+51 -22
View File
@@ -2,7 +2,7 @@
+----------------------------------------------------------------------+
| PHP Version 5 |
+----------------------------------------------------------------------+
| Copyright (c) 1997-2006 The PHP Group |
| Copyright (c) 1997-2009 The PHP Group |
+----------------------------------------------------------------------+
| This source file is subject to version 3.01 of the PHP license, |
| that is bundled with this package in the file LICENSE, and is |
@@ -86,11 +86,19 @@ TSRM_API void tsrm_win32_shutdown(void)
TSRM_API int tsrm_win32_access(const char *pathname, int mode)
{
SHFILEINFO sfi;
if (mode == 1 /*X_OK*/) {
return access(pathname, 0) == 0 &&
#if 1
/* This code is not supported by Windows 98,
* but we don't support it anymore */
DWORD type;
return GetBinaryType(pathname, &type)?0:-1;
#else
SHFILEINFO sfi;
return access(pathname, 0) == 0 &&
SHGetFileInfo(pathname, 0, &sfi, sizeof(SHFILEINFO), SHGFI_EXETYPE) != 0 ? 0 : -1;
#endif
} else {
return access(pathname, mode);
}
@@ -101,22 +109,22 @@ static process_pair *process_get(FILE *stream TSRMLS_DC)
{
process_pair *ptr;
process_pair *newptr;
for (ptr = TWG(process); ptr < (TWG(process) + TWG(process_size)); ptr++) {
if (ptr->stream == stream) {
break;
}
}
if (ptr < (TWG(process) + TWG(process_size))) {
return ptr;
}
newptr = (process_pair*)realloc((void*)TWG(process), (TWG(process_size)+1)*sizeof(process_pair));
if (newptr == NULL) {
return NULL;
}
TWG(process) = newptr;
ptr = newptr + TWG(process_size);
TWG(process_size)++;
@@ -128,7 +136,7 @@ static shm_pair *shm_get(int key, void *addr)
shm_pair *ptr;
shm_pair *newptr;
TSRMLS_FETCH();
for (ptr = TWG(shm); ptr < (TWG(shm) + TWG(shm_size)); ptr++) {
if (!ptr->descriptor) {
continue;
@@ -143,12 +151,12 @@ static shm_pair *shm_get(int key, void *addr)
if (ptr < (TWG(shm) + TWG(shm_size))) {
return ptr;
}
newptr = (shm_pair*)realloc((void*)TWG(shm), (TWG(shm_size)+1)*sizeof(shm_pair));
if (newptr == NULL) {
return NULL;
}
TWG(shm) = newptr;
ptr = newptr + TWG(shm_size);
TWG(shm_size)++;
@@ -171,23 +179,42 @@ TSRM_API FILE *popen(const char *command, const char *type)
TSRM_API FILE *popen_ex(const char *command, const char *type, const char *cwd, char *env)
{
FILE *stream = NULL;
int fno, str_len = strlen(type), read, mode;
int fno, type_len = strlen(type), read, mode;
STARTUPINFO startup;
PROCESS_INFORMATION process;
SECURITY_ATTRIBUTES security;
HANDLE in, out;
char *cmd;
process_pair *proc;
char *cmd;
int i;
char *ptype = (char *)type;
TSRMLS_FETCH();
if (!type) {
return NULL;
}
/*The following two checks can be removed once we drop XP support */
type_len = strlen(type);
if (type_len <1 || type_len > 2) {
return NULL;
}
for (i=0; i < type_len; i++) {
if (!(*ptype == 'r' || *ptype == 'w' || *ptype == 'b' || *ptype == 't')) {
return NULL;
}
ptype++;
}
security.nLength = sizeof(SECURITY_ATTRIBUTES);
security.bInheritHandle = TRUE;
security.lpSecurityDescriptor = NULL;
if (!str_len || !CreatePipe(&in, &out, &security, 2048L)) {
if (!type_len || !CreatePipe(&in, &out, &security, 2048L)) {
return NULL;
}
memset(&startup, 0, sizeof(STARTUPINFO));
memset(&process, 0, sizeof(PROCESS_INFORMATION));
@@ -196,7 +223,7 @@ TSRM_API FILE *popen_ex(const char *command, const char *type, const char *cwd,
startup.hStdError = GetStdHandle(STD_ERROR_HANDLE);
read = (type[0] == 'r') ? TRUE : FALSE;
mode = ((str_len == 2) && (type[1] == 'b')) ? O_BINARY : O_TEXT;
mode = ((type_len == 2) && (type[1] == 'b')) ? O_BINARY : O_TEXT;
if (read) {
@@ -211,7 +238,8 @@ TSRM_API FILE *popen_ex(const char *command, const char *type, const char *cwd,
cmd = (char*)malloc(strlen(command)+strlen(TWG(comspec))+sizeof(" /c "));
sprintf(cmd, "%s /c %s", TWG(comspec), command);
if (!CreateProcess(NULL, cmd, &security, &security, security.bInheritHandle, NORMAL_PRIORITY_CLASS, env, cwd, &startup, &process)) {
if (!CreateProcess(NULL, cmd, &security, &security, security.bInheritHandle, NORMAL_PRIORITY_CLASS|CREATE_NO_WINDOW, env, cwd, &startup, &process)) {
free(cmd);
return NULL;
}
free(cmd);
@@ -220,10 +248,10 @@ TSRM_API FILE *popen_ex(const char *command, const char *type, const char *cwd,
proc = process_get(NULL TSRMLS_CC);
if (read) {
fno = _open_osfhandle((long)in, _O_RDONLY | mode);
fno = _open_osfhandle((tsrm_intptr_t)in, _O_RDONLY | mode);
CloseHandle(out);
} else {
fno = _open_osfhandle((long)out, _O_WRONLY | mode);
fno = _open_osfhandle((tsrm_intptr_t)out, _O_WRONLY | mode);
CloseHandle(in);
}
@@ -272,9 +300,6 @@ TSRM_API int shmget(int key, int size, int flags)
info_handle = OpenFileMapping(FILE_MAP_ALL_ACCESS, FALSE, shm_info);
if ((!shm_handle && !info_handle)) {
if (flags & IPC_EXCL) {
return -1;
}
if (flags & IPC_CREAT) {
shm_handle = CreateFileMapping(INVALID_HANDLE_VALUE, NULL, PAGE_READWRITE, 0, size, shm_segment);
info_handle = CreateFileMapping(INVALID_HANDLE_VALUE, NULL, PAGE_READWRITE, 0, sizeof(shm->descriptor), shm_info);
@@ -283,6 +308,10 @@ TSRM_API int shmget(int key, int size, int flags)
if ((!shm_handle || !info_handle)) {
return -1;
}
} else {
if (flags & IPC_EXCL) {
return -1;
}
}
shm = shm_get(key, NULL);
+1 -1
View File
@@ -2,7 +2,7 @@
+----------------------------------------------------------------------+
| PHP Version 5 |
+----------------------------------------------------------------------+
| Copyright (c) 1997-2006 The PHP Group |
| Copyright (c) 1997-2009 The PHP Group |
+----------------------------------------------------------------------+
| This source file is subject to version 3.01 of the PHP license, |
| that is bundled with this package in the file LICENSE, and is |
+4 -4
View File
@@ -35,7 +35,7 @@ UPGRADE NOTES - PHP 5.1
1a. Overview
============
>From the PHP script writer's point of view, the change most likely to impact
From the PHP script writer's point of view, the change most likely to impact
legacy code is in the way that references are handled in all PHP versions
post-dating the PHP 4.4.0 release.
@@ -381,12 +381,12 @@ ext/pfpro not actively maintained
ext/w32api pecl/ffi
ext/yp not actively maintained
sapi/activescript http://pecl4win.php.net/ext.php/php5activescript.dll (PECL package)
or pecl/activescript (CVS)
or pecl/activescript (SVN)
Modules in PECL that are not actively maintained (i.e. have not been supported
for some time, have no active maintainer working on them currently, and do not
have any PECL package releases), are still available in CVS at
http://cvs.php.net/pecl/. However, unreleased PHP modules are by their nature
have any PECL package releases), are still available in SVN at
http://svn.php.net/pecl/. However, unreleased PHP modules are by their nature
unsupported, and your mileage may vary when attempting to install or use them.
9b. Class constants in new PHP 5.1 extensions
+1 -1
View File
@@ -14,7 +14,7 @@ libZend_la_SOURCES=\
zend_variables.c zend.c zend_API.c zend_extensions.c zend_hash.c \
zend_list.c zend_indent.c zend_builtin_functions.c zend_sprintf.c \
zend_ini.c zend_qsort.c zend_objects.c zend_object_handlers.c \
zend_objects_API.c zend_ts_hash.c zend_stream.c zend_mm.c \
zend_objects_API.c zend_ts_hash.c zend_stream.c \
zend_default_classes.c \
zend_iterators.c zend_interfaces.c zend_exceptions.c \
zend_strtod.c zend_multibyte.c
+34
View File
@@ -0,0 +1,34 @@
Zend Memory Manager
===================
General:
--------
The goal of the new memory manager (available since PHP 5.2) is to reduce memory
allocation overhead and speedup memory management.
The new manager's "configure" has no "--disable-zend-memory-manager" option,
but it has "--enable-malloc-mm" instead. It is enabled by default in DEBUG
build and disabled by default in RELEASE build. when enabled it allows selecting
between malloc and emalloc at runtime so you can use internal and external memory
debuggers without recompilation.
Debugging:
----------
Normal:
$ sapi/cli/php -r 'leak();'
Zend MM disabled:
$ USE_ZEND_ALLOC=0 valgrind --leak-check=full sapi/cli/php -r 'leak();'
Tweaking:
---------
The Zend MM can be tweaked using ZEND_MM_MEM_TYPE and ZEND_MM_SEG_SIZE environment
variables. Default values are "malloc" and "256K". Dependent on target system you
can also use "mmap_anon", "mmap_zero" and "win32" storage managers.
$ ZEND_MM_MEM_TYPE=mmap_anon ZEND_MM_SEG_SIZE=1M sapi/cli/php ..etc.
-8
View File
@@ -195,10 +195,6 @@ SOURCE=.\zend_llist.c
# End Source File
# Begin Source File
SOURCE=.\zend_mm.c
# End Source File
# Begin Source File
SOURCE=.\zend_object_handlers.c
# End Source File
# Begin Source File
@@ -371,10 +367,6 @@ SOURCE=.\zend_llist.h
# End Source File
# Begin Source File
SOURCE=.\zend_mm.h
# End Source File
# Begin Source File
SOURCE=.\zend_modules.h
# End Source File
# Begin Source File
+109 -34
View File
@@ -129,15 +129,6 @@ AC_ARG_WITH(zend-vm,
PHP_ZEND_VM=CALL
])
AC_ARG_ENABLE(zend-memory-manager,
[ --disable-zend-memory-manager
Disable the Zend memory manager - FOR DEVELOPERS ONLY!!],
[
ZEND_USE_ZEND_ALLOC=$enableval
], [
ZEND_USE_ZEND_ALLOC=yes
])
AC_ARG_ENABLE(maintainer-zts,
[ --enable-maintainer-zts Enable thread safety - for code maintainers only!!],[
ZEND_MAINTAINER_ZTS=$enableval
@@ -153,13 +144,6 @@ AC_ARG_ENABLE(inline-optimization,
ZEND_INLINE_OPTIMIZATION=yes
])
AC_ARG_ENABLE(memory-limit,
[ --enable-memory-limit Compile with memory limit support], [
ZEND_MEMORY_LIMIT=$enableval
],[
ZEND_MEMORY_LIMIT=no
])
AC_ARG_ENABLE(zend-multibyte,
[ --enable-zend-multibyte Compile with zend multibyte support], [
ZEND_MULTIBYTE=$enableval
@@ -170,18 +154,12 @@ AC_ARG_ENABLE(zend-multibyte,
AC_MSG_CHECKING([virtual machine dispatch method])
AC_MSG_RESULT($PHP_ZEND_VM)
AC_MSG_CHECKING(whether to enable the Zend memory manager)
AC_MSG_RESULT($ZEND_USE_ZEND_ALLOC)
AC_MSG_CHECKING(whether to enable thread-safety)
AC_MSG_RESULT($ZEND_MAINTAINER_ZTS)
AC_MSG_CHECKING(whether to enable inline optimization for GCC)
AC_MSG_RESULT($ZEND_INLINE_OPTIMIZATION)
AC_MSG_CHECKING(whether to enable a memory limit)
AC_MSG_RESULT($ZEND_MEMORY_LIMIT)
AC_MSG_CHECKING(whether to enable Zend debugging)
AC_MSG_RESULT($ZEND_DEBUG)
@@ -216,24 +194,12 @@ fi
test -n "$DEBUG_CFLAGS" && CFLAGS="$CFLAGS $DEBUG_CFLAGS"
if test "$ZEND_USE_ZEND_ALLOC" = "yes"; then
AC_DEFINE(USE_ZEND_ALLOC,1,[Use Zend memory manager])
else
AC_DEFINE(USE_ZEND_ALLOC,0,[Use Zend memory manager])
fi
if test "$ZEND_MAINTAINER_ZTS" = "yes"; then
AC_DEFINE(ZTS,1,[ ])
CFLAGS="$CFLAGS -DZTS"
LIBZEND_CPLUSPLUS_CHECKS
fi
if test "$ZEND_MEMORY_LIMIT" = "yes"; then
AC_DEFINE(MEMORY_LIMIT, 1, [Memory limit])
else
AC_DEFINE(MEMORY_LIMIT, 0, [Memory limit])
fi
if test "$ZEND_MULTIBYTE" = "yes"; then
AC_DEFINE(ZEND_MULTIBYTE, 1, [ ])
fi
@@ -306,6 +272,108 @@ int main()
AC_MSG_RESULT(done)
dnl test for memory allocation using mmap(MAP_ANON)
AC_MSG_CHECKING(for memory allocation using mmap(MAP_ANON))
AC_TRY_RUN([
#include <sys/types.h>
#include <sys/stat.h>
#include <fcntl.h>
#include <sys/mman.h>
#include <stdlib.h>
#include <stdio.h>
#ifndef MAP_ANON
# ifdef MAP_ANONYMOUS
# define MAP_ANON MAP_ANONYMOUS
# endif
#endif
#ifndef MREMAP_MAYMOVE
# define MREMAP_MAYMOVE 0
#endif
#ifndef MAP_FAILED
# define MAP_FAILED ((void*)-1)
#endif
#define SEG_SIZE (256*1024)
int main()
{
void *seg = mmap(NULL, SEG_SIZE, PROT_READ | PROT_WRITE, MAP_PRIVATE | MAP_ANON, -1, 0);
if (seg == MAP_FAILED) {
return 1;
}
if (munmap(seg, SEG_SIZE) != 0) {
return 2;
}
return 0;
}
], [
AC_DEFINE([HAVE_MEM_MMAP_ANON], 1, [Define if the target system has support for memory allocation using mmap(MAP_ANON)])
AC_MSG_RESULT(yes)
], [
AC_MSG_RESULT(no)
], [
dnl cross-compile needs something here
AC_MSG_RESULT(no)
])
dnl test for memory allocation using mmap("/dev/zero")
AC_MSG_CHECKING(for memory allocation using mmap("/dev/zero"))
AC_TRY_RUN([
#include <sys/types.h>
#include <sys/stat.h>
#include <fcntl.h>
#include <sys/mman.h>
#include <stdlib.h>
#include <stdio.h>
#ifndef MAP_ANON
# ifdef MAP_ANONYMOUS
# define MAP_ANON MAP_ANONYMOUS
# endif
#endif
#ifndef MREMAP_MAYMOVE
# define MREMAP_MAYMOVE 0
#endif
#ifndef MAP_FAILED
# define MAP_FAILED ((void*)-1)
#endif
#define SEG_SIZE (256*1024)
int main()
{
int fd;
void *seg;
fd = open("/dev/zero", O_RDWR, S_IRUSR | S_IWUSR);
if (fd < 0) {
return 1;
}
seg = mmap(NULL, SEG_SIZE, PROT_READ | PROT_WRITE, MAP_PRIVATE, fd, 0);
if (seg == MAP_FAILED) {
return 2;
}
if (munmap(seg, SEG_SIZE) != 0) {
return 3;
}
if (close(fd) != 0) {
return 4;
}
return 0;
}
], [
AC_DEFINE([HAVE_MEM_MMAP_ZERO], 1, [Define if the target system has support for memory allocation using mmap("/dev/zero")])
AC_MSG_RESULT(yes)
], [
AC_MSG_RESULT(no)
], [
dnl cross-compile needs something here
AC_MSG_RESULT(no)
])
AC_CHECK_FUNCS(mremap)
])
@@ -313,3 +381,10 @@ AC_DEFUN([LIBZEND_CPLUSPLUS_CHECKS],[
])
AC_MSG_CHECKING(whether /dev/urandom exists)
if test -r "/dev/urandom" && test -c "/dev/urandom"; then
AC_DEFINE([HAVE_DEV_URANDOM], 1, [Define if the target system has /dev/urandom device])
AC_MSG_RESULT(yes)
else
AC_MSG_RESULT(no)
fi
+1 -8
View File
@@ -169,6 +169,7 @@ SOURCE=.\zend_exceptions.c
# Begin Source File
SOURCE=.\zend_execute.c
# ADD CPP /I "..\TSRM"
# End Source File
# Begin Source File
@@ -228,10 +229,6 @@ SOURCE=.\zend_llist.c
# End Source File
# Begin Source File
SOURCE=.\zend_mm.c
# End Source File
# Begin Source File
SOURCE=.\zend_object_handlers.c
# End Source File
# Begin Source File
@@ -408,10 +405,6 @@ SOURCE=.\zend_llist.h
# End Source File
# Begin Source File
SOURCE=.\zend_mm.h
# End Source File
# Begin Source File
SOURCE=.\zend_modules.h
# End Source File
# Begin Source File
+1 -1
View File
@@ -2,7 +2,7 @@
+----------------------------------------------------------------------+
| Zend Engine |
+----------------------------------------------------------------------+
| Copyright (c) 1998-2006 Zend Technologies Ltd. (http://www.zend.com) |
| Copyright (c) 1998-2009 Zend Technologies Ltd. (http://www.zend.com) |
+----------------------------------------------------------------------+
| This source file is subject to version 2.00 of the Zend license, |
| that is bundled with this package in the file LICENSE, and is |
+1 -1
View File
@@ -4,7 +4,7 @@ dnl This file contains local autoconf functions.
AC_DEFUN([LIBZEND_BISON_CHECK],[
# we only support certain bison versions
bison_version_list="1.28 1.35 1.75 1.875 2.0 2.1"
bison_version_list="1.28 1.35 1.75 1.875 2.0 2.1 2.2 2.3 2.4 2.4.1"
# for standalone build of Zend Engine
test -z "$SED" && SED=sed
+1
View File
@@ -1,4 +1,5 @@
<?php
date_default_timezone_set("UTC");
function simple() {
$a = 0;
+54
View File
@@ -0,0 +1,54 @@
--TEST--
func_num_args() tests
--FILE--
<?php
function test1() {
var_dump(func_num_args());
}
function test2($a) {
var_dump(func_num_args());
}
function test3($a, $b) {
var_dump(func_num_args());
}
test1();
test2(1);
test2();
test3(1,2);
call_user_func("test1");
call_user_func("test3", 1);
call_user_func("test3", 1, 2);
class test {
static function test1($a) {
var_dump(func_num_args());
}
}
test::test1(1);
var_dump(func_num_args());
echo "Done\n";
?>
--EXPECTF--
int(0)
int(1)
Warning: Missing argument 1 for test2(), called in %s on line %d
int(0)
int(2)
int(0)
Warning: Missing argument 2 for test3() in %s on line %d
int(1)
int(2)
int(1)
Warning: func_num_args(): Called from the global scope - no function context in %s on line %d
int(-1)
Done
+108
View File
@@ -0,0 +1,108 @@
--TEST--
func_get_arg() tests
--FILE--
<?php
function test1() {
var_dump(func_get_arg(-10));
var_dump(func_get_arg(0));
var_dump(func_get_arg(1));
}
function test2($a) {
var_dump(func_get_arg(0));
var_dump(func_get_arg(1));
}
function test3($a, $b) {
var_dump(func_get_arg(0));
var_dump(func_get_arg(1));
var_dump(func_get_arg(2));
}
test1();
test1(10);
test2(1);
test2();
test3(1,2);
call_user_func("test1");
call_user_func("test3", 1);
call_user_func("test3", 1, 2);
class test {
static function test1($a) {
var_dump(func_get_arg(0));
var_dump(func_get_arg(1));
}
}
test::test1(1);
var_dump(func_get_arg(1));
echo "Done\n";
?>
--EXPECTF--
Warning: func_get_arg(): The argument number should be >= 0 in %s on line %d
bool(false)
Warning: func_get_arg(): Argument 0 not passed to function in %s on line %d
bool(false)
Warning: func_get_arg(): Argument 1 not passed to function in %s on line %d
bool(false)
Warning: func_get_arg(): The argument number should be >= 0 in %s on line %d
bool(false)
int(10)
Warning: func_get_arg(): Argument 1 not passed to function in %s on line %d
bool(false)
int(1)
Warning: func_get_arg(): Argument 1 not passed to function in %s on line %d
bool(false)
Warning: Missing argument 1 for test2(), called in %s on line %d and defined in %s on line %d
Warning: func_get_arg(): Argument 0 not passed to function in %s on line %d
bool(false)
Warning: func_get_arg(): Argument 1 not passed to function in %s on line %d
bool(false)
int(1)
int(2)
Warning: func_get_arg(): Argument 2 not passed to function in %s on line %d
bool(false)
Warning: func_get_arg(): The argument number should be >= 0 in %s on line %d
bool(false)
Warning: func_get_arg(): Argument 0 not passed to function in %s on line %d
bool(false)
Warning: func_get_arg(): Argument 1 not passed to function in %s on line %d
bool(false)
Warning: Missing argument 2 for test3() in %s on line %d
int(1)
Warning: func_get_arg(): Argument 1 not passed to function in %s on line %d
bool(false)
Warning: func_get_arg(): Argument 2 not passed to function in %s on line %d
bool(false)
int(1)
int(2)
Warning: func_get_arg(): Argument 2 not passed to function in %s on line %d
bool(false)
int(1)
Warning: func_get_arg(): Argument 1 not passed to function in %s on line %d
bool(false)
Warning: func_get_arg(): Called from the global scope - no function context in %s on line %d
bool(false)
Done
+81
View File
@@ -0,0 +1,81 @@
--TEST--
func_get_args() tests
--FILE--
<?php
function test1() {
var_dump(func_get_args());
}
function test2($a) {
var_dump(func_get_args());
}
function test3($a, $b) {
var_dump(func_get_args());
}
test1();
test1(10);
test2(1);
test2();
test3(1,2);
call_user_func("test1");
call_user_func("test3", 1);
call_user_func("test3", 1, 2);
class test {
static function test1($a) {
var_dump(func_get_args());
}
}
test::test1(1);
var_dump(func_get_args());
echo "Done\n";
?>
--EXPECTF--
array(0) {
}
array(1) {
[0]=>
int(10)
}
array(1) {
[0]=>
int(1)
}
Warning: Missing argument 1 for test2(), called in %s on line %d and defined in %s on line %d
array(0) {
}
array(2) {
[0]=>
int(1)
[1]=>
int(2)
}
array(0) {
}
Warning: Missing argument 2 for test3() in %s on line %d
array(1) {
[0]=>
int(1)
}
array(2) {
[0]=>
int(1)
[1]=>
int(2)
}
array(1) {
[0]=>
int(1)
}
Warning: func_get_args(): Called from the global scope - no function context in %s on line %d
bool(false)
Done
+25
View File
@@ -0,0 +1,25 @@
--TEST--
strncmp() tests
--FILE--
<?php
var_dump(strncmp("", ""));
var_dump(strncmp("", "", 100));
var_dump(strncmp("aef", "dfsgbdf", -1));
var_dump(strncmp("fghjkl", "qwer", 0));
var_dump(strncmp("qwerty", "qwerty123", 6));
var_dump(strncmp("qwerty", "qwerty123", 7));
echo "Done\n";
?>
--EXPECTF--
Warning: Wrong parameter count for strncmp() in %s on line %d
NULL
int(0)
Warning: Length must be greater than or equal to 0 in %s on line %d
bool(false)
int(0)
int(0)
int(-1)
Done
+27
View File
@@ -0,0 +1,27 @@
--TEST--
strcasecmp() tests
--FILE--
<?php
var_dump(strcasecmp(""));
var_dump(strcasecmp("", ""));
var_dump(strcasecmp("aef", "dfsgbdf"));
var_dump(strcasecmp("qwe", "qwer"));
var_dump(strcasecmp("qwerty", "QweRty"));
var_dump(strcasecmp("qwErtY", "qwerty"));
var_dump(strcasecmp("q123", "Q123"));
var_dump(strcasecmp("01", "01"));
echo "Done\n";
?>
--EXPECTF--
Warning: Wrong parameter count for strcasecmp() in %s on line %d
NULL
int(0)
int(-3)
int(-1)
int(0)
int(0)
int(0)
int(0)
Done
+31
View File
@@ -0,0 +1,31 @@
--TEST--
strncasecmp() tests
--FILE--
<?php
var_dump(strncasecmp(""));
var_dump(strncasecmp("", "", -1));
var_dump(strncasecmp("aef", "dfsgbdf", 0));
var_dump(strncasecmp("aef", "dfsgbdf", 10));
var_dump(strncasecmp("qwe", "qwer", 3));
var_dump(strncasecmp("qwerty", "QweRty", 6));
var_dump(strncasecmp("qwErtY", "qwer", 7));
var_dump(strncasecmp("q123", "Q123", 3));
var_dump(strncasecmp("01", "01", 1000));
echo "Done\n";
?>
--EXPECTF--
Warning: Wrong parameter count for strncasecmp() in %s on line %d
NULL
Warning: Length must be greater than or equal to 0 in %s on line %d
bool(false)
int(0)
int(-3)
int(0)
int(0)
int(2)
int(0)
int(0)
Done
+63
View File
@@ -0,0 +1,63 @@
--TEST--
each() tests
--FILE--
<?php
var_dump(each());
$var = 1;
var_dump(each($var));
$var = "string";
var_dump(each($var));
$var = array(1,2,3);
var_dump(each($var));
$var = array("a"=>1,"b"=>2,"c"=>3);
var_dump(each($var));
$a = array(1);
$a [] =&$a[0];
var_dump(each($a));
echo "Done\n";
?>
--EXPECTF--
Warning: Wrong parameter count for each() in %s on line %d
NULL
Warning: Variable passed to each() is not an array or object in %s on line %d
NULL
Warning: Variable passed to each() is not an array or object in %s on line %d
NULL
array(4) {
[1]=>
int(1)
["value"]=>
int(1)
[0]=>
int(0)
["key"]=>
int(0)
}
array(4) {
[1]=>
int(1)
["value"]=>
int(1)
[0]=>
string(1) "a"
["key"]=>
string(1) "a"
}
array(4) {
[1]=>
int(1)
["value"]=>
int(1)
[0]=>
int(0)
["key"]=>
int(0)
}
Done
+53
View File
@@ -0,0 +1,53 @@
--TEST--
define() tests
--FILE--
<?php
var_dump(define());
var_dump(define("TRUE"));
var_dump(define("TRUE", 1));
var_dump(define("TRUE", 1, array(1)));
var_dump(define(array(1,2,3,4,5), 1));
var_dump(define(" ", 1));
var_dump(define("[[[", 2));
var_dump(define("test const", 3));
var_dump(define("test const", 3));
var_dump(define("test", array(1)));
var_dump(define("test1", new stdclass));
var_dump(constant(" "));
var_dump(constant("[[["));
var_dump(constant("test const"));
echo "Done\n";
?>
--EXPECTF--
Warning: define() expects at least 2 parameters, 0 given in %s on line %d
NULL
Warning: define() expects at least 2 parameters, 1 given in %s on line %d
NULL
bool(true)
Warning: define() expects parameter 3 to be boolean, array given in %s on line %d
NULL
Warning: define() expects parameter 1 to be string, array given in %s on line %d
NULL
bool(true)
bool(true)
bool(true)
Notice: Constant test const already defined in %s on line %d
bool(false)
Warning: Constants may only evaluate to scalar values in %s on line %d
bool(false)
Warning: Constants may only evaluate to scalar values in %s on line %d
bool(false)
int(1)
int(2)
int(3)
Done
+46
View File
@@ -0,0 +1,46 @@
--TEST--
get_class() tests
--FILE--
<?php
class foo {
function bar () {
var_dump(get_class());
}
}
class foo2 extends foo {
}
foo::bar();
foo2::bar();
$f1 = new foo;
$f2 = new foo2;
$f1->bar();
$f2->bar();
var_dump(get_class());
var_dump(get_class("qwerty"));
var_dump(get_class($f1));
var_dump(get_class($f2));
echo "Done\n";
?>
--EXPECTF--
Strict Standards: Non-static method foo::bar() should not be called statically in %s on line %d
string(3) "foo"
Strict Standards: Non-static method foo::bar() should not be called statically in %s on line %d
string(3) "foo"
string(3) "foo"
string(3) "foo"
Warning: get_class() called without object from outside a class in %s on line %d
bool(false)
bool(false)
string(3) "foo"
string(4) "foo2"
Done
+59
View File
@@ -0,0 +1,59 @@
--TEST--
get_parent_class() tests
--FILE--
<?php
interface i {
function test();
}
class foo implements i {
function test() {
var_dump(get_parent_class());
}
}
class bar extends foo {
function test_bar() {
var_dump(get_parent_class());
}
}
$bar = new bar;
$foo = new foo;
$foo->test();
$bar->test();
$bar->test_bar();
var_dump(get_parent_class($bar));
var_dump(get_parent_class($foo));
var_dump(get_parent_class("bar"));
var_dump(get_parent_class("foo"));
var_dump(get_parent_class("i"));
var_dump(get_parent_class(""));
var_dump(get_parent_class("[[[["));
var_dump(get_parent_class(" "));
var_dump(get_parent_class(new stdclass));
var_dump(get_parent_class(array()));
var_dump(get_parent_class(1));
echo "Done\n";
?>
--EXPECTF--
bool(false)
bool(false)
string(3) "foo"
string(3) "foo"
bool(false)
string(3) "foo"
bool(false)
bool(false)
bool(false)
bool(false)
bool(false)
bool(false)
bool(false)
bool(false)
Done
+89
View File
@@ -0,0 +1,89 @@
--TEST--
property_exists() tests
--FILE--
<?php
class foo {
public $pp1 = 1;
private $pp2 = 2;
protected $pp3 = 3;
function bar() {
var_dump(property_exists("foo","pp1"));
var_dump(property_exists("foo","pp2"));
var_dump(property_exists("foo","pp3"));
}
}
class bar extends foo {
function test() {
var_dump(property_exists("foo","pp1"));
var_dump(property_exists("foo","pp2"));
var_dump(property_exists("foo","pp3"));
}
}
var_dump(property_exists());
var_dump(property_exists(""));
var_dump(property_exists("foo","pp1"));
var_dump(property_exists("foo","pp2"));
var_dump(property_exists("foo","pp3"));
var_dump(property_exists("foo","nonexistent"));
var_dump(property_exists("fo","nonexistent"));
var_dump(property_exists("foo",""));
var_dump(property_exists("","test"));
var_dump(property_exists("",""));
$foo = new foo;
var_dump(property_exists($foo,"pp1"));
var_dump(property_exists($foo,"pp2"));
var_dump(property_exists($foo,"pp3"));
var_dump(property_exists($foo,"nonexistent"));
var_dump(property_exists($foo,""));
var_dump(property_exists(array(),"test"));
var_dump(property_exists(1,"test"));
var_dump(property_exists(true,"test"));
$foo->bar();
$bar = new bar;
$bar->test();
echo "Done\n";
?>
--EXPECTF--
Warning: Wrong parameter count for property_exists() in %s on line %d
NULL
Warning: Wrong parameter count for property_exists() in %s on line %d
NULL
bool(true)
bool(false)
bool(false)
bool(false)
bool(false)
bool(false)
bool(false)
bool(false)
bool(true)
bool(false)
bool(false)
bool(false)
bool(false)
Warning: First parameter must either be an object or the name of an existing class in %s on line %d
NULL
Warning: First parameter must either be an object or the name of an existing class in %s on line %d
NULL
Warning: First parameter must either be an object or the name of an existing class in %s on line %d
NULL
bool(true)
bool(true)
bool(true)
bool(true)
bool(false)
bool(true)
Done
+34
View File
@@ -0,0 +1,34 @@
--TEST--
class_exists() tests
--FILE--
<?php
class foo {
}
var_dump(class_exists());
var_dump(class_exists("qwerty"));
var_dump(class_exists(""));
var_dump(class_exists(array()));
var_dump(class_exists("test", false));
var_dump(class_exists("foo", false));
var_dump(class_exists("foo"));
var_dump(class_exists("stdClass", false));
var_dump(class_exists("stdClass"));
echo "Done\n";
?>
--EXPECTF--
Warning: class_exists() expects at least 1 parameter, 0 given in %s on line %d
NULL
bool(false)
bool(false)
Warning: class_exists() expects parameter 1 to be string, array given in %s on line %d
NULL
bool(false)
bool(true)
bool(true)
bool(true)
bool(true)
Done
+34
View File
@@ -0,0 +1,34 @@
--TEST--
interface_exists() tests
--FILE--
<?php
interface foo {
}
var_dump(interface_exists());
var_dump(interface_exists("qwerty"));
var_dump(interface_exists(""));
var_dump(interface_exists(array()));
var_dump(interface_exists("test", false));
var_dump(interface_exists("foo", false));
var_dump(interface_exists("foo"));
var_dump(interface_exists("stdClass", false));
var_dump(interface_exists("stdClass"));
echo "Done\n";
?>
--EXPECTF--
Warning: interface_exists() expects at least 1 parameter, 0 given in %s on line %d
NULL
bool(false)
bool(false)
Warning: interface_exists() expects parameter 1 to be string, array given in %s on line %d
NULL
bool(false)
bool(true)
bool(true)
bool(false)
bool(false)
Done
+3
View File
@@ -0,0 +1,3 @@
<?php
/* dummy file for 014.phpt */
?>
+52
View File
@@ -0,0 +1,52 @@
--TEST--
get_included_files() tests
--FILE--
<?php
var_dump(get_included_files());
include(dirname(__FILE__)."/014.inc");
var_dump(get_included_files());
var_dump(get_included_files(1,1));
include_once(dirname(__FILE__)."/014.inc");
var_dump(get_included_files());
var_dump(get_included_files(1));
include(dirname(__FILE__)."/014.inc");
var_dump(get_included_files());
echo "Done\n";
?>
--EXPECTF--
array(1) {
[0]=>
string(%d) "%s"
}
array(2) {
[0]=>
string(%d) "%s"
[1]=>
string(%d) "%s"
}
Warning: Wrong parameter count for get_included_files() in %s on line %d
NULL
array(2) {
[0]=>
string(%d) "%s"
[1]=>
string(%d) "%s"
}
Warning: Wrong parameter count for get_included_files() in %s on line %d
NULL
array(2) {
[0]=>
string(%d) "%s"
[1]=>
string(%d) "%s"
}
Done
+35
View File
@@ -0,0 +1,35 @@
--TEST--
trigger_error() tests
--FILE--
<?php
var_dump(trigger_error());
var_dump(trigger_error("error"));
var_dump(trigger_error(array()));
var_dump(trigger_error("error", -1));
var_dump(trigger_error("error", 0));
var_dump(trigger_error("error", E_USER_WARNING));
echo "Done\n";
?>
--EXPECTF--
Warning: Wrong parameter count for trigger_error() in %s on line %d
NULL
Notice: error in %s on line %d
bool(true)
Notice: Array to string conversion in %s on line %d
Notice: Array in %s on line %d
bool(true)
Warning: Invalid error type specified in %s on line %d
bool(false)
Warning: Invalid error type specified in %s on line %d
bool(false)
Warning: error in %s on line %d
bool(true)
Done
+12
View File
@@ -0,0 +1,12 @@
--TEST--
isset() with object properties when operating on non-object
--FILE--
<?php
$foo = NULL;
isset($foo->bar->bar);
echo "Done\n";
?>
--EXPECT--
Done
+86
View File
@@ -0,0 +1,86 @@
--TEST--
builtin functions tests
--FILE--
<?php
var_dump(get_resource_type());
var_dump(get_resource_type(""));
$fp = fopen(__FILE__, "r");
var_dump(get_resource_type($fp));
fclose($fp);
var_dump(get_resource_type($fp));
var_dump(gettype(get_loaded_extensions()));
var_dump(count(get_loaded_extensions()));
var_dump(gettype(get_loaded_extensions(true)));
var_dump(count(get_loaded_extensions(true)));
var_dump(get_loaded_extensions(true, true));
define("USER_CONSTANT", "test");
var_dump(get_defined_constants(true, true));
var_dump(gettype(get_defined_constants(true)));
var_dump(gettype(get_defined_constants()));
var_dump(count(get_defined_constants()));
function test () {
}
var_dump(get_defined_functions(true));
var_dump(gettype(get_defined_functions()));
var_dump(count(get_defined_functions()));
var_dump(get_declared_interfaces(true));
var_dump(gettype(get_declared_interfaces()));
var_dump(count(get_declared_interfaces()));
var_dump(get_extension_funcs());
var_dump(get_extension_funcs(true));
var_dump(gettype(get_extension_funcs("standard")));
var_dump(count(get_extension_funcs("standard")));
var_dump(gettype(get_extension_funcs("zend")));
var_dump(count(get_extension_funcs("zend")));
echo "Done\n";
?>
--EXPECTF--
Warning: Wrong parameter count for get_resource_type() in %s on line %d
NULL
Warning: Supplied argument is not a valid resource handle in %s on line %d
bool(false)
string(6) "stream"
string(7) "Unknown"
string(5) "array"
int(%d)
string(5) "array"
int(%d)
Warning: get_loaded_extensions() expects at most 1 parameter, 2 given in %s on line %d
NULL
Warning: get_defined_constants() expects at most 1 parameter, 2 given in %s on line %d
NULL
string(5) "array"
string(5) "array"
int(%d)
Warning: Wrong parameter count for get_defined_functions() in %s on line %d
NULL
string(5) "array"
int(%d)
Warning: Wrong parameter count for get_declared_interfaces() in %s on line %d
NULL
string(5) "array"
int(%d)
Warning: Wrong parameter count for get_extension_funcs() in %s on line %d
NULL
bool(false)
string(5) "array"
int(%d)
string(5) "array"
int(%d)
Done
+36
View File
@@ -0,0 +1,36 @@
--TEST--
constant() tests
--FILE--
<?php
var_dump(constant());
var_dump(constant("", ""));
var_dump(constant(""));
var_dump(constant(array()));
define("TEST_CONST", 1);
var_dump(constant("TEST_CONST"));
define("TEST_CONST2", "test");
var_dump(constant("TEST_CONST2"));
echo "Done\n";
?>
--EXPECTF--
Warning: Wrong parameter count for constant() in %s on line %d
NULL
Warning: Wrong parameter count for constant() in %s on line %d
NULL
Warning: constant(): Couldn't find constant in %s on line %d
NULL
Notice: Array to string conversion in %s on line %d
Warning: constant(): Couldn't find constant Array in %s on line %d
NULL
int(1)
string(4) "test"
Done
+1333
View File
File diff suppressed because it is too large. Load diff
+31
View File
@@ -0,0 +1,31 @@
--TEST--
func_get_arg() invalid usage
--FILE--
<?php
var_dump(func_get_arg(1,2,3));
var_dump(func_get_arg(1));
var_dump(func_get_arg());
function bar() {
var_dump(func_get_arg(1));
}
function foo() {
bar(func_get_arg(1));
}
foo(1,2);
echo "Done\n";
?>
--EXPECTF--
bool(false)
Warning: func_get_arg(): Called from the global scope - no function context in %s on line %d
bool(false)
bool(false)
Warning: func_get_arg(): Argument 1 not passed to function in %s on line %d
bool(false)
Done
+14
View File
@@ -0,0 +1,14 @@
--TEST--
Test for abstract static classes
--FILE--
<?php
abstract class TestClass
{
abstract static public function getName();
}
?>
===DONE===
--EXPECTF--
Strict Standards: Static function TestClass::getName() should not be abstract in %sabstract-static.php on line %d
===DONE===
+39
View File
@@ -0,0 +1,39 @@
--TEST--
__call() for private/protected methods
--FILE--
<?php
class A {
private $var1 = 'var1 value';
protected $var2 = 'var2 value';
private function func1()
{
return "in func1";
}
protected function func2()
{
return "in func2";
}
public function __get($var)
{
return $this->$var;
}
public function __call($func, array $args = array())
{
return call_user_func_array(array($this, $func), $args);
}
}
$a = new A();
echo $a->var1,"\n";
echo $a->var2,"\n";
echo $a->func1(),"\n";
echo $a->func2(),"\n";
?>
--EXPECTF--
var1 value
var2 value
in func1
in func2
+21
View File
@@ -0,0 +1,21 @@
--TEST--
Trigger __call() in lieu of non visible methods when called via a callback.
--FILE--
<?php
class C {
protected function prot() { }
private function priv() { }
public function __call($name, $args) {
echo "In __call() for method $name()\n";
}
}
$c = new C;
call_user_func(array($c, 'none'));
call_user_func(array($c, 'prot'));
call_user_func(array($c, 'priv'));
?>
--EXPECTF--
In __call() for method none()
In __call() for method prot()
In __call() for method priv()
+73
View File
@@ -0,0 +1,73 @@
--TEST--
adding arrays
--FILE--
<?php
$a = array(1,2,3);
$b = array("str", "here");
$c = $a + $b;
var_dump($c);
$a = array(1,2,3);
$b = array(1,2,4);
$c = $a + $b;
var_dump($c);
$a = array("a"=>"aaa",2,3);
$b = array(1,2,"a"=>"bbbbbb");
$c = $a + $b;
var_dump($c);
$a += $b;
var_dump($c);
$a += $a;
var_dump($c);
echo "Done\n";
?>
--EXPECTF--
array(3) {
[0]=>
int(1)
[1]=>
int(2)
[2]=>
int(3)
}
array(3) {
[0]=>
int(1)
[1]=>
int(2)
[2]=>
int(3)
}
array(3) {
["a"]=>
string(3) "aaa"
[0]=>
int(2)
[1]=>
int(3)
}
array(3) {
["a"]=>
string(3) "aaa"
[0]=>
int(2)
[1]=>
int(3)
}
array(3) {
["a"]=>
string(3) "aaa"
[0]=>
int(2)
[1]=>
int(3)
}
Done
+19
View File
@@ -0,0 +1,19 @@
--TEST--
adding objects to arrays
--FILE--
<?php
$a = array(1,2,3);
$o = new stdclass;
$o->prop = "value";
$c = $a + $o;
var_dump($c);
echo "Done\n";
?>
--EXPECTF--
Notice: Object of class stdClass could not be converted to int in %s on line %d
Fatal error: Unsupported operand types in %s on line %d
+19
View File
@@ -0,0 +1,19 @@
--TEST--
adding arrays to objects
--FILE--
<?php
$a = array(1,2,3);
$o = new stdclass;
$o->prop = "value";
$c = $o + $a;
var_dump($c);
echo "Done\n";
?>
--EXPECTF--
Notice: Object of class stdClass could not be converted to int in %s on line %d
Fatal error: Unsupported operand types in %s on line %d
+14
View File
@@ -0,0 +1,14 @@
--TEST--
adding numbers to arrays
--FILE--
<?php
$a = array(1,2,3);
$c = $a + 5;
var_dump($c);
echo "Done\n";
?>
--EXPECTF--
Fatal error: Unsupported operand types in %s on line %d
+22
View File
@@ -0,0 +1,22 @@
--TEST--
adding integers to doubles
--INI--
precision=14
--FILE--
<?php
$i = 75636;
$d = 2834681123.123123;
$c = $i + $d;
var_dump($c);
$c = $d + $i;
var_dump($c);
echo "Done\n";
?>
--EXPECTF--
float(2834756759.1231)
float(2834756759.1231)
Done
+49
View File
@@ -0,0 +1,49 @@
--TEST--
adding numbers to strings
--INI--
precision=14
--FILE--
<?php
$i = 75636;
$s1 = "this is a string";
$s2 = "876222numeric";
$s3 = "48474874";
$s4 = "25.68";
$c = $i + $s1;
var_dump($c);
$c = $i + $s2;
var_dump($c);
$c = $i + $s3;
var_dump($c);
$c = $i + $s4;
var_dump($c);
$c = $s1 + $i;
var_dump($c);
$c = $s2 + $i;
var_dump($c);
$c = $s3 + $i;
var_dump($c);
$c = $s4 + $i;
var_dump($c);
echo "Done\n";
?>
--EXPECTF--
int(75636)
int(951858)
int(48550510)
float(75661.68)
int(75636)
int(951858)
int(48550510)
float(75661.68)
Done
+16
View File
@@ -0,0 +1,16 @@
--TEST--
adding strings to arrays
--FILE--
<?php
$a = array(1,2,3);
$s1 = "some string";
$c = $a + $s1;
var_dump($c);
echo "Done\n";
?>
--EXPECTF--
Fatal error: Unsupported operand types in %s on line %d
+39
View File
@@ -0,0 +1,39 @@
--TEST--
bitwise AND and strings
--FILE--
<?php
$s = "123";
$s1 = "234";
var_dump($s & $s1);
$s = "test";
$s1 = "some";
var_dump($s & $s1);
$s = "test long";
$s1 = "some";
var_dump($s & $s1);
$s = "test";
$s1 = "some long";
var_dump($s & $s1);
$s = "test";
$s &= "some long";
var_dump($s);
echo "Done\n";
?>
--EXPECTF--
string(3) "020"
string(4) "pead"
string(4) "pead"
string(4) "pead"
string(4) "pead"
Done
+16
View File
@@ -0,0 +1,16 @@
--TEST--
Tests that array manipulation code is correctly dealing with copy on write and splitting on reference
--FILE--
<?php
$a=array();
$b=1;
$c=&$b;
$a[]=$b;
$b=2;
var_dump ($a);
?>
--EXPECT--
array(1) {
[0]=>
int(1)
}
+1 -1
View File
@@ -12,4 +12,4 @@ foo(123);
--EXPECTF--
3
Fatal error: Argument 1 passed to foo() must be an array, called in %sarray_type_hint_001.php on line 7 and defined in %sarray_type_hint_001.php on line 2
Catchable fatal error: Argument 1 passed to foo() must be an array, integer given, called in %sarray_type_hint_001.php on line 7 and defined in %sarray_type_hint_001.php on line 2
+16
View File
@@ -0,0 +1,16 @@
--TEST--
Tests that array unshift code is correctly dealing with copy on write and splitting on reference
--FILE--
<?php
$a=array();
$b=1;
$c=&$b;
array_unshift ($a,$b);
$b=2;
var_dump ($a);
?>
--EXPECT--
array(1) {
[0]=>
int(1)
}
+1 -1
View File
@@ -1,5 +1,5 @@
--TEST--
bug #22725 (A derived class can call a parent's protected method that calls a private method)
Bug #22725 (A derived class can call a parent's protected method that calls a private method)
--SKIPIF--
<?php if (version_compare(zend_version(), '2.0.0-dev', '<')) die('skip ZendEngine 2 needed'); ?>
--FILE--
+2 -2
View File
@@ -23,6 +23,6 @@ $test = new Test();
$test2 = $test->__copy();
var_dump($test2);
?>
--EXPECT--
object(Test)#2 (0) {
--EXPECTF--
object(Test)#%d (0) {
}
+21 -14
View File
@@ -2,6 +2,7 @@
Bug #26166 (__toString() crash when no values returned)
--FILE--
<?php
class Foo
{
function __toString()
@@ -28,6 +29,23 @@ class Bar
$o = new Bar;
echo $o;
echo "===NONE===\n";
function my_error_handler($errno, $errstr, $errfile, $errline) {
var_dump($errstr);
}
set_error_handler('my_error_handler');
class None
{
function __toString() {
}
}
$o = new None;
echo $o;
echo "===THROW===\n";
class Error
@@ -45,23 +63,12 @@ catch (Exception $e) {
echo "Got the exception\n";
}
echo "===NONE===\n";
class None
{
function __toString() {
}
}
$o = new None;
echo $o;
?>
===DONE===
--EXPECTF--
Hello World!
===THROW===
Got the exception
===NONE===
string(52) "Method None::__toString() must return a string value"
===THROW===
Fatal error: Method None::__toString() must return a string value in %sbug26166.php on line %d
Fatal error: Method Error::__toString() must not throw an exception in %sbug26166.php on line %d
+1 -1
View File
@@ -1,5 +1,5 @@
--TEST--
Bug #27304
Bug #27304 (Static functions don't function properly)
--FILE--
<?php
-44
View File
@@ -1,44 +0,0 @@
--TEST--
Bug #27641 (zend.ze1_compatibility_mode = On causes object properties to be misreported)
--SKIPIF--
<?php if (version_compare(zend_version(), '2.0.0-dev', '<')) die('skip ZendEngine 2 is needed'); ?>
--INI--
error_reporting=4095
--FILE--
<?php
class A {
public $a = "Default for A";
public $b = "Default for B";
function __construct($a, $b) {
$this->a = $a;
$this->b = $b;
}
function A() {
$args = func_get_args();
call_user_func_array(Array(&$this, '__construct'), $args);
}
}
$t = new A("New A", "New B");
print_r($t);
print_r(get_class_vars(get_class($t)));
print_r(get_object_vars($t));
?>
--EXPECTF--
Strict Standards: Redefining already defined constructor for class A in %sbug27641.php on line %d
A Object
(
[a] => New A
[b] => New B
)
Array
(
[a] => Default for A
[b] => Default for B
)
Array
(
[a] => New A
[b] => New B
)
+2 -2
View File
@@ -49,12 +49,12 @@ array(1) {
}
Base::__construct
array(3) {
["Baz"]=>
int(4)
["Foo"]=>
int(1)
["Bar"]=>
int(2)
["Baz"]=>
int(3)
}
Child::__construct
array(3) {
+8 -1
View File
@@ -3,6 +3,12 @@ Bug #28444 (Cannot access undefined property for object with overloaded property
--FILE--
<?php
function my_error_handler($errno, $errstr, $errfile, $errline) {
var_dump($errstr);
}
set_error_handler('my_error_handler');
class Object
{
public $x;
@@ -60,7 +66,8 @@ Overloaded::__set(y,3)
int(3)
Overloaded::__get(y)
int(3)
Overloaded::__set(z,Object id #3)
string(55) "Object of class Object could not be converted to string"
Overloaded::__set(z,)
object(Object)#%d (1) {
["x"]=>
int(4)
+1 -1
View File
@@ -1,5 +1,5 @@
--TEST--
Bug #29104 Function declaration in method doesn't work
Bug #29104 (Function declaration in method doesn't work)
--FILE--
<?php
class A
+1 -1
View File
@@ -1,5 +1,5 @@
--TEST--
Bug #29210 Function: is_callable - no support for private and protected classes
Bug #29210 (Function is_callable does not support private and protected methods)
--FILE--
<?php
class test_class {
+1 -1
View File
@@ -33,7 +33,7 @@ $obj->printVars();
===BASE===
string(4) "Base"
Notice: Undefined property: BaseClass::$private_child in %sbug29674.php on line %d
Notice: Undefined property: BaseClass::$private_child in %sbug29674.php on line %d
NULL
===CHILD===
string(4) "Base"
+1 -1
View File
@@ -52,7 +52,7 @@ $baz->printFoo();
--EXPECTF--
foo: foo foo2
bar: bar
Notice: Undefined property: bar::$foo2 in %s on line %d
Notice: Undefined property: bar::$foo2 in %s on line %d
---baz--
foo: foo foo2
+3 -1
View File
@@ -41,12 +41,14 @@ $db = new hariCow;
var_dump($db);
?>
===DONE===
--EXPECTF--
Notice: Undefined variable: db in %sbug30162.php on line 35
NULL
object(hariCow)#1 (2) {
object(hariCow)#%d (2) {
["x"]=>
string(1) "x"
["y"]=>
string(1) "y"
}
===DONE===
+1 -1
View File
@@ -1,5 +1,5 @@
--TEST--
Bug #30519 Interface not existing says Class not found
Bug #30519 (Interface not existing says Class not found)
--FILE--
<?php
class test implements a {
+1 -1
View File
@@ -1,5 +1,5 @@
--TEST--
Bug #30702 cannot initialize class variable from class constant
Bug #30702 (cannot initialize class variable from class constant)
--FILE--
<?php
class foo {
+16 -4
View File
@@ -1,22 +1,34 @@
--TEST--
Bug #30791 magic methods (__sleep/__wakeup/__toString) call __call if object is overloaded
Bug #30791 (magic methods (__sleep/__wakeup/__toString) call __call if object is overloaded)
--FILE--
<?php
class a {
function my_error_handler($errno, $errstr, $errfile, $errline) {
var_dump($errstr);
}
set_error_handler('my_error_handler');
class a
{
public $a = 4;
function __call($a,$b) {
return "unknown method";
}
}
$b = new a;
echo $b,"\n";
$c = unserialize(serialize($b));
echo $c,"\n";
var_dump($c);
?>
--EXPECT--
Object id #1
Object id #2
string(50) "Object of class a could not be converted to string"
string(50) "Object of class a could not be converted to string"
object(a)#2 (1) {
["a"]=>
int(4)
+1 -1
View File
@@ -1,5 +1,5 @@
--TEST--
Bug #30889 Conflict between __get/__set and ++ operator
Bug #30889 (Conflict between __get/__set and ++ operator)
--FILE--
<?php
class overloaded
+1 -1
View File
@@ -10,4 +10,4 @@ var_dump($a instanceOf A);
echo "ok\n";
?>
--EXPECTF--
Fatal error: Interface RecurisiveFooFar cannot not implement itself in %sbug30922.php on line %d
Fatal error: Interface RecurisiveFooFar cannot implement itself in %sbug30922.php on line %d
+1 -1
View File
@@ -1,5 +1,5 @@
--TEST--
Bug #32296 get_class_methods output has changed between 5.0.2 and 5.0.3
Bug #32296 (get_class_methods output has changed between 5.0.2 and 5.0.3)
--FILE--
<?php
abstract class space{
+1 -1
View File
@@ -1,5 +1,5 @@
--TEST--
Bug #32427 Interfaces are not allowed 'static' access modifier
Bug #32427 (Interfaces are not allowed 'static' access modifier)
--FILE--
<?php
+5 -2
View File
@@ -1,5 +1,5 @@
--TEST--
Bug #32660 Assignment by reference causes crash when field access is overloaded (__get)
Bug #32660 (Assignment by reference causes crash when field access is overloaded (__get))
--FILE--
<?php
class A
@@ -28,9 +28,12 @@ $b = "much longer";
print_r($a);
?>
--EXPECTF--
Notice: Indirect modification of overloaded property A::$whatever has no effect in %sbug32660.php on line 20
A Object
(
[q] => long
[q] => 3
)
Notice: Indirect modification of overloaded property A::$whatever has no effect in %sbug32660.php on line 23
Fatal error: Cannot assign by reference to overloaded object in %sbug32660.php on line 23
+1 -1
View File
@@ -1,5 +1,5 @@
--TEST--
Bug #32674 exception in iterator causes crash
Bug #32674 (exception in iterator causes crash)
--FILE--
<?php
class collection implements Iterator {
+1 -1
View File
@@ -1,5 +1,5 @@
--TEST--
Bug #32833 Invalid opcode
Bug #32833 (Invalid opcode with $a[] .= '')
--FILE--
<?php
$test = array();
+1 -1
View File
@@ -1,5 +1,5 @@
--TEST--
Bug #33257 array_splice() inconsistent when passed function instead of variable
Bug #33257 (array_splice() inconsistent when passed function instead of variable)
--INI--
error_reporting=4095
--FILE--
+19
View File
@@ -0,0 +1,19 @@
--TEST--
Bug #33282 (Re-assignment by reference does not clear the is_ref flag)
--FILE--
<?php
$a = array(1, 2, 3);
$r = &$a[0];
$r = &$a[1];
$r = &$a[2];
var_dump($a);
?>
--EXPECT--
array(3) {
[0]=>
int(1)
[1]=>
int(2)
[2]=>
&int(3)
}
+1 -1
View File
@@ -27,7 +27,7 @@ interface iB2 extends iA2 {
class A2 implements iA2 {
}
class B2 extends A2 implements iB2 {
class B2 extends A2 implements iA2 {
}
echo iA2::cA;
+5 -5
View File
@@ -1,5 +1,5 @@
--TEST--
bug #33771 (error_reporting falls to 0 when @ was used inside try/catch block)
Bug #33771 (error_reporting falls to 0 when @ was used inside try/catch block)
--FILE--
<?php
@@ -14,7 +14,7 @@ function make_exception()
function make_exception_and_change_err_reporting()
{
error_reporting(E_ALL);
error_reporting(E_ALL & ~E_STRICT);
throw new Exception();
}
@@ -34,7 +34,7 @@ var_dump(error_reporting());
echo "Done\n";
?>
--EXPECTF--
int(4095)
int(4095)
int(2047)
int(8191)
int(8191)
int(6143)
Done
+3 -3
View File
@@ -1,7 +1,7 @@
--TEST--
Bug #33996 (No information given for fatal error on passing invalid value to typed argument)
--INI--
error_reporting=4095
error_reporting=8191
--FILE--
<?php
class Foo
@@ -24,6 +24,6 @@ FooTest();
FooTest(new Foo());
?>
--EXPECTF--
Warning: Missing argument 1 for NormalTest(), called in %sbug33996.php on line 17 and defined in %sbug33996.php on line 12
Warning: Missing argument 1 for NormalTest(), called in %sbug33996.php on line %d and defined in %sbug33996.php on line %d
Hi!
Fatal error: Argument 1 passed to FooTest() must be an object of class Foo, called in %sbug33996.php on line 18 and defined in %sbug33996.php on line 7
Catchable fatal error: Argument 1 passed to FooTest() must be an instance of Foo, none given, called in %sbug33996.php on line %d and defined in %sbug33996.php on line %d
+15
View File
@@ -0,0 +1,15 @@
--TEST--
Bug #34065 (throw in foreach causes memory leaks)
--FILE--
<?php
$data = file(__FILE__);
try {
foreach ($data as $line) {
throw new Exception("error");
}
} catch (Exception $e) {
echo "ok\n";
}
?>
--EXPECT--
ok
Loaded 100 of 8959 files, more files were not shown because too many files have changed in this diff. Show more