Commit Graph

59558 Commits

Author SHA1 Message Date
Andrey Hristov
decdfeeeb2 Access memory which was really allocated 2010-05-25 22:34:47 +00:00
Andrey Hristov
844b435655 Fix shared build 2010-05-25 21:54:21 +00:00
Antony Dovgal
435aa876fc fix zend_std_get_static_property() in ZTS mode 2010-05-25 20:16:14 +00:00
Antony Dovgal
8d64074951 use correct condition in the if 2010-05-25 19:19:45 +00:00
Andrey Hristov
954e7db644 Handle OOM in the code that generates PS Execute requests
to the server. Fixes crashes in case of OOM.
2010-05-25 19:19:29 +00:00
Andrey Hristov
52e31252fc Fix metadata duplicatin which wasn't crash-safe in case of OOM. 2010-05-25 18:14:37 +00:00
Dmitry Stogov
25893b643d Fixed compatibility with "Run Time Cache" patch 2010-05-25 11:38:48 +00:00
Dmitry Stogov
f7ce69585c - Interned string related callbacks moved turned from compiler_globals into real globals
- Updated API version number
2010-05-25 09:00:20 +00:00
Martin Jansen
a389c77ce2 Changed test case to use our new dummy MX records. 2010-05-25 05:01:03 +00:00
Stanislav Malyshev
33faeb3c19 fix C++ builds on Mac 2010-05-25 01:25:51 +00:00
Rasmus Lerdorf
a906125fec Check for -1 as well here 2010-05-24 23:52:11 +00:00
Rasmus Lerdorf
13a09194a9 Let's have a sane error message here instead of some cryptic zlib error 2010-05-24 23:27:39 +00:00
Ilia Alshanetsky
45a2014ce1 Improved test 2010-05-24 20:04:12 +00:00
Ilia Alshanetsky
847f519d41 Fixed tests 2010-05-24 18:52:36 +00:00
Ilia Alshanetsky
33fae4caa0 Added support for numeric & scalar type hint as defined within
http://wiki.php.net/rfc/typecheckingstrictandweak RFC
2010-05-24 18:32:59 +00:00
Dmitry Stogov
f23e857676 Fixed ZTS build 2010-05-24 17:07:52 +00:00
Dmitry Stogov
04dd48ceca Fixed exception handling in GOTO VM 2010-05-24 14:46:31 +00:00
Dmitry Stogov
c5237d82bf Added caches to eliminate repeatable run-time bindings of functions, classes, constants, methods and properties 2010-05-24 14:11:39 +00:00
Kalle Sommer Nielsen
1cabc8cd3a Allow ereg to be built as shared on Windows
## I know that we may remove ereg in trunk, but since the core doesn't depend on 
## ereg, then I don't see any reason not to allow this
2010-05-24 07:44:00 +00:00
Ilia Alshanetsky
ab9de550e2 Allow arbitrary number of space characters between type-hint and method/function parameter 2010-05-23 18:09:32 +00:00
Sara Golemon
a0269a6a72 Ooops, return values... 2010-05-21 23:29:34 +00:00
Sara Golemon
6eb4218433 Add JSON_BIGINT_AS_STRING for json_decode() to parse large numbers
as strings rather than casting to double and loosing precision.
2010-05-21 22:59:58 +00:00
Andrey Hristov
a25482105e Check set->data for validity before using it.
Prevents crashes after OOM.
2010-05-21 13:37:18 +00:00
Andrey Hristov
476391c02e When OOM hits the wire, don't crash. 2010-05-21 13:06:52 +00:00
Andrey Hristov
7f44538a11 Fix for Bug #51870
PDO::fetchAll after a PDO::execute with bindings lead to a segv.

It is only in unreleased code and thus doesn't deserve a NEWS entry
2010-05-21 11:09:28 +00:00
Kalle Sommer Nielsen
e0498b0889 Remove this RC file, it should be named template.rc anyway and the default template.rc already covers what this .rc file did 2010-05-21 09:01:00 +00:00
Ilia Alshanetsky
6ce4737d94 Fixed tests 2010-05-20 22:53:38 +00:00
Johannes Schlüter
61db5cf98a - Improved CLI Interactive readline shell (Johannes)
. Added cli.pager ini setting to set a pager for output.
  . Added cli.prompt ini settingto configure the shell prompt.
  . Added shortcut #inisetting=value to change ini settings at run-time.
  . Don't terminate shell on fatal errors.

A pager can be a an shell command which will receive the command output on its
STDIN channel

php > #cli.pager=less
php > phpinfo();
(output will appear in the pager)
php > #cli.pager=grep -i readline
php > phpcredits();
Readline => Thies C. Arntzen
php > #cli.pager=
(output appears again direct on the terminal)

A prompt can contain a few escape sequences like

php > #cli.prompt=\e[032m\v \e[031m\b \e[34m\> \e[0m
5.3.99-dev php > //Colorful prompt with version number

A prompt can also contaian PHP code in backticks

php > #cli.prompt=`echo gethostname();` \b \> 
guybrush php >
2010-05-20 20:55:33 +00:00
Ilia Alshanetsky
31f62dbc72 Fixed a memory leak 2010-05-20 20:17:49 +00:00
Ilia Alshanetsky
cf174c1366 Added support for JSON_NUMERIC_CHECK option in json_encode() that converts
numeric strings to integers.
2010-05-20 19:37:52 +00:00
Derick Rethans
1bc9247651 - Added scalar typehinting. 2010-05-20 19:18:35 +00:00
Christopher Jones
f291a1253d New current()/next() test 2010-05-20 17:55:58 +00:00
Felipe Pena
b7004eda82 - Added arginfo 2010-05-20 17:28:16 +00:00
Antony Dovgal
4463284456 fix ZTS build 2010-05-20 11:20:44 +00:00
Derick Rethans
2bc3611c74 - Fixed name. 2010-05-19 20:20:10 +00:00
Jérôme Loyet
c350a3f761 change the startup libevent info log from notice to debug 2010-05-19 20:12:56 +00:00
Jérôme Loyet
257a8dac20 fix undefined value for log_level when not set in the conf file 2010-05-19 20:11:56 +00:00
Sara Golemon
340d57b13a Add parameter to openssl_(en|de)crypt 2010-05-19 20:05:09 +00:00
Jérôme Loyet
962e95df52 - set hard and soft limit (instead of only the soft limit) when setting rlimit_core or rlimit_files
- remove the debug log about getrlimit on the main process wich is meaningless when rlmit_* settings are set
2010-05-19 18:37:25 +00:00
Jérôme Loyet
d3e1b1dbc3 - #51821, fix --with-libevent-dir (patch by tony2001) 2010-05-19 11:29:31 +00:00
Michael Wallner
e012b36ac2 * fixed bug #47842 sscanf() does not support 64-bit values 2010-05-19 11:28:08 +00:00
Pierre Joye
3a19fee38b - #51854, fix logic (patch by Tjerk) 2010-05-18 19:39:39 +00:00
Andrey Hristov
bf31c00948 And I thought I fixed that...
Part of the previous changeset - remove duplicated code/
The ifdefs were for debug purposes.
2010-05-18 16:35:17 +00:00
Andrey Hristov
fb28410d8f Fix comment 2010-05-18 15:02:50 +00:00
Pierre Joye
fa78b4497e - #51793, Add alpha argument to imagecolorset 2010-05-18 12:38:57 +00:00
Andrey Hristov
74b3f46d20 NEWS entry 2010-05-18 12:01:15 +00:00
Andrey Hristov
940e64dba3 Remove duplicated code.
Use one centralized functions for data extraction.
2010-05-18 11:50:31 +00:00
Andrey Hristov
560169068d Update test file 2010-05-18 11:36:54 +00:00
Andrey Hristov
7dd13d56cc Add iterator to mysqli_result. Works both for :
- USE_RESULT, can be iterated only once, kind of forward iterator
- STORE_RESULT, can be iterated multiple times
2010-05-18 10:39:26 +00:00
Michael Wallner
50cda403b1 * fixed bug #49819: STDOUT losing data with posix_isatty() 2010-05-18 07:25:29 +00:00