Nuno Lopes
|
2c5368c013
|
fix handling of && 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 |
|
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 |
|
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 |
|
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 |
|
Ilia Alshanetsky
|
6f694fab9a
|
Simplify code
|
2007-05-23 15:01:00 +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 |
|
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 |
|
Antony Dovgal
|
a69e6e2c79
|
MFH: improve variable name checks
add more tests
|
2007-05-22 14:34:23 +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 |
|
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 |
|
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 |
|
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
|
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 |
|
Rasmus Lerdorf
|
52c2d6c235
|
Get rid of a useless RINIT and an empty RSHUTDOWN on non-Windows
|
2007-05-17 06:38:13 +00:00 |
|
Zoe Slattery
|
8f06575c23
|
Updated range() test
|
2007-05-16 21:07:33 +00:00 |
|
Antony Dovgal
|
e72d044f9f
|
fix tests
|
2007-05-15 14:25:21 +00:00 |
|
Antony Dovgal
|
a640896685
|
fix test
|
2007-05-14 16:18:02 +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 |
|
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
|
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
|
7efde494d7
|
MFH: flush output buffer when/if highlight_string()/php_strip_whitespace()/highlight_string() fail
|
2007-05-10 16:28:11 +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 |
|
Ilia Alshanetsky
|
75b5ce3b8d
|
Fixed bug #41321 (downgrade read errors in getimagesize() to E_NOTICE).
|
2007-05-08 18:38:20 +00:00 |
|
Antony Dovgal
|
3a46e8ab1f
|
fix tests
|
2007-05-07 22:30:16 +00:00 |
|
Antony Dovgal
|
c2c4fe75e1
|
fix test
|
2007-05-07 21:38:42 +00:00 |
|
Antony Dovgal
|
1f65545121
|
fix test names
|
2007-05-07 18:03:01 +00:00 |
|
Hannes Magnusson
|
1d2c53b249
|
Fix test
|
2007-05-06 13:11:31 +00:00 |
|
Dmitry Stogov
|
f409fcd02a
|
Fixed test
|
2007-05-02 07:27:36 +00:00 |
|
Ilia Alshanetsky
|
e0cab44595
|
Remove quotes
|
2007-05-01 00:05:39 +00:00 |
|
foobar
|
1d7d3a4307
|
- Updated credits
|
2007-04-29 00:43:11 +00:00 |
|
Antony Dovgal
|
66859a74de
|
fix tests
|
2007-04-26 23:30:00 +00:00 |
|
Hannes Magnusson
|
5eb0037584
|
MFH: Plug leak when trying to write via the http wrapper
|
2007-04-23 16:37:28 +00:00 |
|
Dmitry Stogov
|
2a689a4267
|
64-bit support
|
2007-04-23 09:56:56 +00:00 |
|
Antony Dovgal
|
d66080d6f0
|
make this test 32bit only
|
2007-04-20 16:14:37 +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
|
0a9360b16c
|
Update credits
|
2007-04-19 09:46:54 +00:00 |
|
Dmitry Stogov
|
b2785c3d4c
|
Fixed tests (win32)
|
2007-04-18 14:51:29 +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
|
16129b7024
|
MFH: fix putenv("var") (i.e. unset) on BSD systems
add test
|
2007-04-17 20:34:14 +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
|
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
|
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
|
562f886ecb
|
MFH: fix #41037 (unregister_tick_function() inside the tick function crash PHP)
|
2007-04-10 09:37:09 +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 |
|
Dmitry Stogov
|
4de76f02ea
|
Fixed 64-bit support
|
2007-04-09 15:38:58 +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 |
|
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 |
|
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 |
|
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 |
|
Ilia Alshanetsky
|
86ca439a5d
|
Fixed MOPB-34-2007:PHP mail() Header Injection Through Subject and To
Parameters
|
2007-03-30 00:28:58 +00:00 |
|
Zoe Slattery
|
c18d3b56e7
|
new ltrim, rtrim and str_pad tests
|
2007-03-28 10:44:04 +00:00 |
|
Zoe Slattery
|
517865fb6e
|
New tests for printf and ucfirst
|
2007-03-28 09:38:30 +00:00 |
|
Zoe Slattery
|
23d64aeaa4
|
Three new string tests for funtions strcasecmp, strcmp and strlen.
|
2007-03-28 09:08:08 +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 |
|
Antony Dovgal
|
7053b89072
|
MFH: fix #40915 (addcslashes unexpected behavior with binary input)
|
2007-03-26 10:25:41 +00:00 |
|
Nuno Lopes
|
88f48476f9
|
regenerate to fix gcov build. plus use re2c bitvectors
|
2007-03-23 20:28:40 +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 |
|
Wez Furlong
|
16fc958508
|
fixes #40848
|
2007-03-18 20:20:23 +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
|
81f99c721b
|
return false instead of empty string when -length is greater than (len - offset)
|
2007-03-12 23:42:26 +00:00 |
|
Antony Dovgal
|
165f44c9c3
|
MFH
|
2007-03-12 20:55:15 +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 |
|
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 |
|
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 |
|
Ilia Alshanetsky
|
4a614cd6b1
|
malloc() -> pemalloc()
|
2007-03-07 00:52:40 +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 |
|
Ilia Alshanetsky
|
e769e1b49e
|
Fixed bug #40704 (strip_tags() does not handle single quotes correctly)
|
2007-03-03 15:46:29 +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 |
|
Ilia Alshanetsky
|
efad70c2cc
|
snprintf() -> slprintf()
|
2007-02-27 03:28:17 +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
|
e07b611b10
|
fix folding
|
2007-02-26 14:11:34 +00:00 |
|
Antony Dovgal
|
ad8c94d8cc
|
fix
the sprintf() -> zend_spprintf() change affected this
|
2007-02-26 12:08:12 +00:00 |
|
Antony Dovgal
|
666370d7ee
|
add new test
|
2007-02-26 09:58:04 +00:00 |
|
Ilia Alshanetsky
|
58c167168d
|
Revert previous commit that caused a buffer overflow (Bug #40634)
|
2007-02-26 02:12:36 +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
|
0763686034
|
strdup() can fail
|
2007-02-24 03:24:40 +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 |
|
Antony Dovgal
|
f3a9413b28
|
MFH: fix #40606 (umask is not being restored when request is finished)
|
2007-02-23 16:22:20 +00:00 |
|
Ilia Alshanetsky
|
a471f75354
|
Simplify code by converting emalloc() + sprintf() to spprintf()
|
2007-02-23 00:37:36 +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 |
|
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
|
26fac39d5e
|
fix test
|
2007-02-21 19:57:15 +00:00 |
|
Nuno Lopes
|
4f3150c350
|
use /usr/bin/nohup instead
|
2007-02-21 16:25:37 +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 |
|
Dmitry Stogov
|
a3493bd3de
|
Optimize out RINIT()
|
2007-02-16 16:35:04 +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 |
|
Ilia Alshanetsky
|
4a33a63ab6
|
Fixed bug #40465 (Ensure that all PHP elements are printed by var_dump).
|
2007-02-16 03:41:56 +00:00 |
|
Nuno Lopes
|
d446564786
|
Fixed bug #39322 (proc_terminate() destroys process resource)
|
2007-02-14 19:13:31 +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 |
|
Nuno Lopes
|
9cc85b6030
|
Fixed bug #34794 (proc_close() hangs when used with two processes)
|
2007-02-13 19:53:42 +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 |
|
Ilia Alshanetsky
|
103b8c33c0
|
Fixed bug #40432 (strip_tags() fails with greater than in attribute).
|
2007-02-13 02:16:22 +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
|
45c0253f2c
|
add test
|
2007-02-11 20:56:46 +00:00 |
|
Antony Dovgal
|
77d93ee6b3
|
fix test
|
2007-02-11 20:06:19 +00:00 |
|
Antony Dovgal
|
7b12fd5492
|
MFH
|
2007-02-10 00:50:38 +00:00 |
|
Marcus Boerger
|
38201d8d12
|
- MFH php --ri <extension>
|
2007-02-08 16:55:34 +00:00 |
|
Marcus Boerger
|
3bd74e422a
|
- MFH Add new test
|
2007-02-08 08:44:51 +00:00 |
|
Antony Dovgal
|
323467f9c9
|
add test
|
2007-02-07 21:13:01 +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
|
82f70c9493
|
fix leaks on error
|
2007-02-01 13:45:25 +00:00 |
|
Antony Dovgal
|
c98dcd5a21
|
use length - 1 when we fetch it from hashes
|
2007-01-26 15:33:18 +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 |
|
Ilia Alshanetsky
|
eb6b99d7df
|
strcat() -> strlcat()
|
2007-01-24 00:45:54 +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
|
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 |
|
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
|
ef3fcf2894
|
Added read-timeout context option "timeout" for HTTP streams.
# A patch mostly by Hannes
|
2007-01-19 00:02:13 +00:00 |
|
Antony Dovgal
|
84a827e0d4
|
MFH
|
2007-01-18 16:21:32 +00:00 |
|
Antony Dovgal
|
d6a4586197
|
MFH
|
2007-01-17 08:25:32 +00:00 |
|
Antony Dovgal
|
7ad1c3c5f2
|
MFH: add trailing '\0' to stream hashes
|
2007-01-15 17:07:08 +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 |
|
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 |
|
Sara Golemon
|
5e74c607a2
|
MFH
|
2007-01-11 02:33:07 +00:00 |
|
Hannes Magnusson
|
3e0e2bb49d
|
Fix ifdefs
|
2007-01-10 14:40:06 +00:00 |
|
Dmitry Stogov
|
5709b64739
|
Close open files in case of failure (Amit)
|
2007-01-09 16:27:17 +00:00 |
|
Ilia Alshanetsky
|
60e20922eb
|
Use safe_emalloc() rather then emalloc()
|
2007-01-08 14:24:59 +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 |
|
Hannes Magnusson
|
3f9a4baa31
|
Fix test according to bug#40009
|
2007-01-05 15:22:35 +00:00 |
|
Ilia Alshanetsky
|
7d901eacbe
|
%f -> %F
|
2007-01-05 15:06:55 +00:00 |
|
Ilia Alshanetsky
|
a078b56326
|
Fixed bug #40009 (http_build_query(array()) returns NULL).
|
2007-01-03 23:16:56 +00:00 |
|
Nuno Lopes
|
8a806d186e
|
+- Fixed bug #37619 (proc_open() closes stdin on fork() failure).
|
2007-01-02 15:29:09 +00:00 |
|
Sebastian Bergmann
|
4223aa4d5e
|
MFH: Bump year.
|
2007-01-01 09:36:18 +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
|
78d8808f42
|
Mark test as being 32bit only
|
2006-12-30 02:00:51 +00:00 |
|
Ilia Alshanetsky
|
b154f188d1
|
Simplify code and eliminate strcat() usage
|
2006-12-28 15:09:29 +00:00 |
|
Antony Dovgal
|
fdfa403388
|
MFH
|
2006-12-28 14:17:38 +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 |
|
Ilia Alshanetsky
|
dc5be15a6f
|
is_numeric_string() optimization
|
2006-12-26 16:45:39 +00:00 |
|
Ilia Alshanetsky
|
52d53543ac
|
Allocation safety checks
|
2006-12-25 22:36:57 +00:00 |
|
Antony Dovgal
|
6ac8ffdfea
|
MFH
|
2006-12-25 22:12:46 +00:00 |
|
Ilia Alshanetsky
|
7efb0a14f4
|
Use safe_emalloc()
|
2006-12-25 21:41:04 +00:00 |
|
Ilia Alshanetsky
|
652c7096b2
|
Fixed test for 64bit systems
|
2006-12-25 21:07:53 +00:00 |
|
Ilia Alshanetsky
|
0776e56437
|
Use %F (ignores locale) for internal representation of floats
|
2006-12-25 16:48:18 +00:00 |
|
Antony Dovgal
|
c52bc49f50
|
fix test
|
2006-12-25 14:27:51 +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
|
f40ebf4171
|
Fixed bug #36392 (wrong number of decimal digits with %e specifier in
sprintf).
|
2006-12-22 15:29:41 +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
|
8854c3d51a
|
MFH
|
2006-12-21 21:37:45 +00:00 |
|
Antony Dovgal
|
6aec52bde7
|
MFH
|
2006-12-21 01:18:28 +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 |
|
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 |
|
Dmitry Stogov
|
5d8183f0b2
|
Support for systems without locale.h
|
2006-12-19 13:13:29 +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 |
|
Hannes Magnusson
|
b12e3e1475
|
Fix tests
|
2006-12-19 10:03:24 +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 |
|
Ilia Alshanetsky
|
090e14dfda
|
Less hackish support for spaces at the start of tags within strip_tags()
|
2006-12-18 15:02:16 +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 |
|
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 |
|
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 |
|
Andrei Zmievski
|
8f5310afad
|
Support for 'S' format in unserialize() (forward compatibility with PHP
6)
|
2006-12-15 00:58:08 +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 |
|
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
|
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
|
e64cb1ae4d
|
Optimize extract()
# Patch by Brian Shire
|
2006-12-10 19:43:03 +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
|
0236a7eaf4
|
Fixed bug #29840 (is_executable() does not honor safe_mode_exec_dir
setting).
|
2006-12-09 16:01:29 +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
|
1edf208421
|
add new tests by <zoe dot slattery at googlemail dot co dot uk>
|
2006-12-08 14:39:25 +00:00 |
|
Antony Dovgal
|
feba2edba2
|
initialize variables
|
2006-12-07 20:45:58 +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 |
|
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
|
9ce985bbae
|
cosmetic improvements
|
2006-12-05 23:03:19 +00:00 |
|
Antony Dovgal
|
5e7eed6a9a
|
MFH: nuke redundant zval_ptr_dtor() call
|
2006-12-05 18:42:38 +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
|
7999c9d251
|
Fixed bug #39718 (possible crash if assert.callback is set in ini).
|
2006-12-03 17:13:11 +00:00 |
|
Antony Dovgal
|
065be7056d
|
MFH: fix AIX build
|
2006-12-03 13:46:37 +00:00 |
|
Ilia Alshanetsky
|
891bd7888f
|
Use reantrant crypt_r() whenever possible.
|
2006-11-30 15:59:53 +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
|
60bb494607
|
MFH: fix #39673 (file_get_contents causes bus error on certain offsets)
|
2006-11-29 11:12:59 +00:00 |
|
Antony Dovgal
|
aaf120127e
|
add php_unescape_html_entities() proto to the header
(fixes #39665)
|
2006-11-28 20:41:07 +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
|
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 |
|
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
|
df1a1c8441
|
MFH: fix #39576 (array_walk() doesn't separate userdata zval)
|
2006-11-22 10:42:41 +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 |
|
Antony Dovgal
|
c220da74ef
|
MFH test
|
2006-11-20 20:55:51 +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 |
|
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 |
|
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 |
|
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 |
|
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 |
|
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 |
|
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 |
|
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 |
|
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 |
|
Ilia Alshanetsky
|
d4a64fba74
|
removed bogus char
|
2006-11-12 17:23:01 +00:00 |
|
Ilia Alshanetsky
|
e0d385a328
|
Optimized array functions utilizing php_splice().
|
2006-11-12 17:13:22 +00:00 |
|
Hannes Magnusson
|
7b81e554ae
|
MFH: Fixed bug#36975 (natcasesort() causes array_pop() to misbehave)
|
2006-11-12 01:14:39 +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
|
a930751112
|
Faster and better licensed implementation
|
2006-11-10 10:10:38 +00:00 |
|
Ilia Alshanetsky
|
126be8ec7c
|
Added missing API declarations.
|
2006-11-10 01:28:59 +00:00 |
|
Ilia Alshanetsky
|
ddae41877f
|
Added missing PHPAPI declaration
|
2006-11-09 20:01:41 +00:00 |
|
Dmitry Stogov
|
25f01e8ec3
|
Fixed tests
|
2006-11-09 08:29:18 +00:00 |
|
Ilia Alshanetsky
|
d6b3b73490
|
Fixed tests
|
2006-11-07 20:24:38 +00:00 |
|
Ilia Alshanetsky
|
07cdfefdee
|
Fixed bug #39350 (crash with implode("\n", array(false))).
|
2006-11-06 17:21:05 +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 |
|
Rasmus Lerdorf
|
cea64d52fa
|
data: and php:stdin/input allow_url_include checks
|
2006-11-05 20:08:58 +00:00 |
|
Hannes Magnusson
|
b11b08e987
|
MFH: fix parameter parsing in getrusage()
|
2006-11-03 15:48:39 +00:00 |
|
Hannes Magnusson
|
050f94f746
|
MFH: Fix double "wron param count" messages
|
2006-11-03 14:46:48 +00:00 |
|
Hannes Magnusson
|
4f4e724b1b
|
MFH: Remove SKIPIF
|
2006-11-03 14:17:40 +00:00 |
|
Ilia Alshanetsky
|
bd2ab7bc15
|
Fixed bug #39215 (Inappropriate close of stdin/stdout/stderr).
|
2006-11-03 13:34:19 +00:00 |
|
Ilia Alshanetsky
|
3a533934c7
|
Added missing boundary checks.
|
2006-11-01 01:55:11 +00:00 |
|
Antony Dovgal
|
0cf7b1012f
|
add new test by Pierre
|
2006-10-19 12:07:07 +00:00 |
|
Antony Dovgal
|
0ebfbfe791
|
MFH: initialize optional vars
|
2006-10-16 19:27:57 +00:00 |
|
Hannes Magnusson
|
b3a914aca8
|
Fix test (bug#39097)
|
2006-10-15 13:43:45 +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 |
|
Sara Golemon
|
adf31588d2
|
MFH(r-1.96) Bugfix#38649 Optional param not initialized
|
2006-10-11 23:22:45 +00:00 |
|
Antony Dovgal
|
e20650616e
|
add test
|
2006-10-11 14:57:52 +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 |
|
Ilia Alshanetsky
|
7b77d536c3
|
Fixed bug #37262 (var_export() does not escape \0 character).
|
2006-10-09 18:08:34 +00:00 |
|
Antony Dovgal
|
24195cf941
|
re-add the test
|
2006-10-06 14:50:46 +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 |
|
Andrei Zmievski
|
e779c3aa36
|
Increment replace count value for case-sensitive single char searches.
|
2006-10-05 18:23:19 +00:00 |
|
Ilia Alshanetsky
|
9230cf3da6
|
Fixed missing open_basedir check inside chdir() function.
|
2006-10-04 23:19:25 +00:00 |
|
Edin Kadribasic
|
38772455a4
|
Update credits
|
2006-10-04 12:51:33 +00:00 |
|
Antony Dovgal
|
d8648eae57
|
MFH: fix #39032 (strcspn() stops on null character)
|
2006-10-04 11:14:32 +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 |
|
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 |
|
Hannes Magnusson
|
39219cf7fe
|
protos
|
2006-10-02 07:58:13 +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 |
|
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 |
|
Antony Dovgal
|
8c09e1ca40
|
fix test name
|
2006-09-28 22:02:04 +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
|
30a015a92f
|
MFH: fix #38981 (using FTP URLs in get_headers() causes crash)
|
2006-09-28 12:55:15 +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 |
|
Ilia Alshanetsky
|
cc0d254e4f
|
Fixed bug #38891 (get_headers() do not work with curl-wrappers).
|
2006-09-25 16:00:43 +00:00 |
|
Antony Dovgal
|
39856ab9cb
|
MFH: fix possible segfault in #38891
|
2006-09-23 11:58:58 +00:00 |
|
Ilia Alshanetsky
|
af993553fb
|
array_key_exists() should not work by by-ref
|
2006-09-19 23:44:30 +00:00 |
|
Hannes Magnusson
|
db5dc9d5d8
|
fix test
|
2006-09-19 12:25:27 +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
|
92c3cfd81f
|
Additional expand_filepath() checks
|
2006-09-16 18:30:03 +00:00 |
|
Antony Dovgal
|
04da058284
|
MFH: fix leak when call to shutdown function fails
|
2006-09-15 09:12:17 +00:00 |
|
Antony Dovgal
|
99b133d7a7
|
MFH: fix double free(), add test
|
2006-09-15 07:27:22 +00:00 |
|
Dmitry Stogov
|
3fcfdf573d
|
Write valid run-time value for Zend Memeory Manager
|
2006-09-14 08:01:48 +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
|
88b59df262
|
add new tests
|
2006-09-07 11:48:30 +00:00 |
|
Ilia Alshanetsky
|
8e86a189ec
|
Fixed bug #38464 (array_count_values() mishandles numeric strings).
|
2006-09-06 17:25:57 +00:00 |
|
Nuno Lopes
|
731b68fbc5
|
fix gcc warning
|
2006-09-04 19:14:59 +00:00 |
|
Johannes Schlüter
|
688efae2d0
|
- Remove version number here as already done in HEAD
|
2006-09-03 11:27:50 +00:00 |
|
Pierre Joye
|
d63e411e9a
|
- MFH
|
2006-08-31 22:52:54 +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
|
644a796525
|
MFH: fix leak in iptcembed()
|
2006-08-30 16:30:14 +00:00 |
|
Hannes Magnusson
|
d6ec9d21ec
|
fix test
|
2006-08-30 09:44:53 +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
|
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 |
|
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
|
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 |
|
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 |
|
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
|
2a41a50216
|
Fixed bug #38524 (strptime() does not initialize the internal date storage
structure).
|
2006-08-20 18:20:07 +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
|
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
|
c3209b53d2
|
new tests
|
2006-08-15 08:54:15 +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
|
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
|
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 |
|
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 |
|
Andrei Zmievski
|
3d7a1c3972
|
Make array_merge(_recursive) handle binary keys safely. (Patch by Matt W)
|
2006-07-30 03:31:18 +00:00 |
|
Ilia Alshanetsky
|
726dee9ee3
|
ext/standard/info.c ext/standard/info.h
|
2006-07-28 14:23:35 +00:00 |
|
Antony Dovgal
|
a76b852989
|
fix test
|
2006-07-28 13:47:56 +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 |
|
foobar
|
60562a6312
|
update credits
|
2006-07-27 01:21:27 +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 |
|
Hannes Magnusson
|
d5ec319367
|
MFH: Update protos & arginfo for memory_get_usage() & memory_get_peak_usage()
|
2006-07-25 16:41:04 +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 |
|
Marcus Boerger
|
5da6415bfe
|
- MFH Correctly handle binary proeprty names which are not mangled
|
2006-07-24 23:40:57 +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 |
|
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 |
|
Andrei Zmievski
|
1223119155
|
MFH
|
2006-07-21 23:54:19 +00:00 |
|
foobar
|
34ae4eafd0
|
update
|
2006-07-20 10:09:09 +00:00 |
|
Michael Wallner
|
46f21b8a32
|
MFH: added error_get_last() function
|
2006-07-19 12:25:46 +00:00 |
|
Dmitry Stogov
|
29ed52ffa4
|
New memory manager
|
2006-07-18 09:06: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 |
|
Antony Dovgal
|
f3f44275f4
|
MFH
|
2006-07-17 06:45:08 +00:00 |
|
Antony Dovgal
|
e79591b081
|
fix test
|
2006-07-16 15:59:08 +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
|
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 |
|
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 |
|
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 |
|
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 |
|
Dmitry Stogov
|
83ac79600e
|
Fixed bug #37947 (zend_ptr_stack reallocation problem)
|
2006-07-10 14:02:40 +00:00 |
|
Ilia Alshanetsky
|
278dc574f2
|
E_ERROR > E_RECOVERABLE_ERROR
|
2006-07-05 17:38:14 +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 |
|
Hannes Magnusson
|
87bc74ea7a
|
fix tests
|
2006-07-03 16:03:51 +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 |
|
Hannes Magnusson
|
6910275d51
|
MFH reference fixes
|
2006-06-30 18:17:38 +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 |
|
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 |
|
Ilia Alshanetsky
|
24ac7931cd
|
Improved safe_mode check for the error_log() function.
|
2006-06-28 22:08:42 +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 |
|
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 |
|
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 |
|
Rasmus Lerdorf
|
862c4d2345
|
MFH: fix sapi_getenv() leak
|
2006-06-26 13:15:20 +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
|
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 |
|
Ilia Alshanetsky
|
f1d09682fb
|
Change E_ERROR to E_RECOVERABLE_ERROR
|
2006-06-23 11:37:53 +00:00 |
|
Nuno Lopes
|
b7bca610dd
|
make sure the test outputs what we want
|
2006-06-20 21:49:16 +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 |
|
Antony Dovgal
|
44005b7986
|
fix test
|
2006-06-20 13:14:29 +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 |
|
Ilia Alshanetsky
|
f876b800a2
|
Fully print array() in phpinfo().
|
2006-06-11 16:27:16 +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 |
|
Andrei Zmievski
|
5735927d86
|
I swear it wasn't me.
|
2006-06-03 18:56:44 +00:00 |
|
Ilia Alshanetsky
|
5b5e7a4de9
|
Fixed compiler warning
|
2006-06-01 22:42:22 +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 |
|
Sara Golemon
|
79b21ec4cf
|
MFH: Minor fixes (bjori)
|
2006-05-30 19:06: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 |
|
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 |
|