Commit Graph

38913 Commits

Author SHA1 Message Date
Jani Taskinen
b16daf597c fix typo 2007-07-26 14:29:03 +00:00
Raghubansh Kumar
6842c58737 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:55:42 +00:00
Hannes Magnusson
15bac417cd Add arginfo 2007-07-26 13:19:22 +00:00
Dmitry Stogov
995c130320 Added warning for useless import statement 2007-07-26 08:57:52 +00:00
Dmitry Stogov
c4b5d9e572 Disabling declaration of class which name conflicts with import. 2007-07-26 08:32:52 +00:00
7ca6f98d98 ChangeLog update 2007-07-26 01:31:21 +00:00
Jani Taskinen
f3c2a33f42 - Moved mysqnd to it's own directory: It is sort of an extension itself.
(Similar to what ext/libxml is..)
2007-07-25 23:47:33 +00:00
Jani Taskinen
e0849ab010 - Allow using extra headers in PHP_CHECK_SIZEOF 2007-07-25 21:19:43 +00:00
Dmitry Stogov
11c5577116 Fixed EOF handling in case of reading from file opened in write only mode. 2007-07-25 16:34:27 +00:00
Andrey Hristov
7bb46902f8 Alignment fixes for 64bit and fixing macroses 2007-07-25 12:42:00 +00:00
Dmitry Stogov
e9ccedf427 Fixed bug #41713 (Persistent memory consumption on win32 since 5.2) 2007-07-25 11:13:17 +00:00
Antony Dovgal
992a6dc10d fix --with-php-config option 2007-07-25 09:40:58 +00:00
Hannes Magnusson
1eaf171d98 Show "wrong parameter count" error messages 2007-07-25 09:05:55 +00:00
a2a4526776 ChangeLog update 2007-07-25 01:31:24 +00:00
Johannes Schlüter
8b65739d9a - These functions where MFHd >1 year ago 2007-07-24 23:25:48 +00:00
Johannes Schlüter
610f70fcf5 - MFB: New ReflectionExtension::info() function to print the phpinfo() block
for an extension.
2007-07-24 23:16:47 +00:00
Hannes Magnusson
374e0a5d02 Fixed bug#42090 (json_decode causes segmentation fault) 2007-07-24 22:54:26 +00:00
Antony Dovgal
0209e41563 add PCRE_VERSION constant to ext/pcre 2007-07-24 22:34:17 +00:00
Antony Dovgal
e15f25709a fix ZTS build 2007-07-24 20:14:03 +00:00
Antony Dovgal
f0cde2c03d namespace protection
GD uses the same variable, too.
2007-07-24 20:11:13 +00:00
Dmitry Stogov
cb27d5dbae Fixed test 2007-07-24 20:03:30 +00:00
Dmitry Stogov
d0ec9d001c 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:56 +00:00
Andrey Hristov
7bb462df2a ignor php_have_mysqlnd.h 2007-07-24 19:23:35 +00:00
Andrey Hristov
bb4b052c23 Don't use AC_CHECK_TYPES, as autoconf 2.13 is buggy, use an workaround. 2007-07-24 19:20:28 +00:00
Dmitry Stogov
215edd7a4a 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:53 +00:00
Andrey Hristov
02b2d0a4ac Add missing file 2007-07-24 16:50:20 +00:00
Andrey Hristov
222174e23f Import of mysqlnd and ext/mysql + ext/mysqli patched to be built either
with libmysql or mysqld.

Use --with-mysql=mysqlnd --with-mysqli=mysqlnd to build with mysqlnd.
2007-07-24 16:13:26 +00:00
Dmitry Stogov
9343c54040 Fixed bug #41984 (Hangs on large SoapClient requests) 2007-07-24 14:25:07 +00:00
Jani Taskinen
e5b9fd0d6c - Changed "display_errors" php.ini option to accept "stderr" as value which
makes the error messages to be outputted to STDERR instead of STDOUT with
  CGI and CLI SAPIs.
2007-07-24 14:18:47 +00:00
Jani Taskinen
cc745f1724 fix folding 2007-07-24 13:29:39 +00:00
Dmitry Stogov
92d3bc0c93 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:40:07 +00:00
Jani Taskinen
3d06e9db7f - Added missing constants for MSG_EOR and MSG_EOF 2007-07-24 11:33:47 +00:00
Jani Taskinen
5dceae6f8f - Removed useless file 2007-07-24 11:15:29 +00:00
Andrey Hristov
cbba608856 MFB 2007-07-24 09:32:11 +00:00
Dmitry Stogov
08bbb3269b Fixed bug #41983 (Error Fetching http headers terminated by '\n') 2007-07-24 09:28:12 +00:00
Dmitry Stogov
46f26a1aac Fixed bug #42027 is_file() / is_dir() matches file/dirnames with wildcard char or trailing slash 2007-07-24 09:07:50 +00:00
b1e99fc723 ChangeLog update 2007-07-24 01:31:34 +00:00
Antony Dovgal
adf53be4ed fix test 2007-07-23 22:14:41 +00:00
Stanislav Malyshev
dba16a6035 add announcement copy as README for easier reference 2007-07-23 16:06:25 +00:00
Jani Taskinen
ea5a211256 - Fixed bug #42071 (ini scanner allows NULL to be used as option name)
# Also fixed a warning
2007-07-23 15:57:08 +00:00
Jani Taskinen
8eaa978e97 - Fixed str_pad() when passed huge negative pad_length 2007-07-23 13:27:34 +00:00
Ulf Wendel
9b035b58f5 Damn, Pierre is clever.
[14:35] <_jani_> nixnutz_: why don't you just commit everything in one go..?
[14:35] <_jani_> this "spamming" is getting quite boring..
[14:36] <Pierre> 20€/commit :)
2007-07-23 12:38:41 +00:00
Ulf Wendel
512f62a5a9 Tests for mysqli_stmt_send_long_data() 2007-07-23 12:36:06 +00:00
Ulf Wendel
613947afc6 Tests which verify that you really cannot clone any of the mysqli
objects. Technically it might be possible to tweak ext/mysqli and make
the objects cloneable - tough, we haven't checked in depth.

So, if one is interested, raise a discussion.
2007-07-23 12:34:09 +00:00
Ulf Wendel
fe8c5d1243 Tests that check mysqli_fetch_field(), mysqli_fetch_field_direct() and
retrieve metadata
2007-07-23 12:28:56 +00:00
Ulf Wendel
a1c14bfffd Tests for mysqli_fetch_object() 2007-07-23 12:28:12 +00:00
Ulf Wendel
16008bc577 Another nice new function that comes with mysqlnd: return all rows of
a result set in one array. This is handy if want to fetch all results and
pass the data directly to a template engine, for example. In this case
you save a loop.

1) Currently:
  $all_rows = array();
  while ($row = mysqli_fetch_assoc($res))
   $all_rows[] = $row;

2) With mysqli_fetch_all:
  $all_rows = mysqli_fetch_all($res, MYSQL_ASSOC)

Note: if you need the loop for processing each row, try variant 1) for
performance reasons.
2007-07-23 12:27:39 +00:00
Ulf Wendel
ff87d3ec5b Adding tests for a few new functions that come with mysqlnd:
mysqli_stmt_get_result() - create mysqli_result set from stmt
  mysqli_get_cache_stats() - mysqlnd internal status/stats
  mysqli_get_client_stats() - mysqlnd internal status/stats/
2007-07-23 12:24:02 +00:00
Ulf Wendel
8e85715547 Playing with background processing: parent and child process fetching data
from the "same" result handle and checking with each other if the fetched
rows are the same or not. Inspired by a bug report. There seem to be really
people doing this...
2007-07-23 12:20:25 +00:00
Ulf Wendel
8d61b27811 Tests for mysqli_fetch_assoc(), mysqli_fetch_array(), mysqli_fetch_row() 2007-07-23 12:16:55 +00:00