Ilia Alshanetsky
489c2d739a
Fixed test for PostgreSQL
2007-06-03 17:41:21 +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
c5e8992942
MFH: - Fixed bug #41555 (configure failure: regression caused by fix for #41265 )
2007-06-01 21:34:17 +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
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
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
Ilia Alshanetsky
47216d7de4
Adjust tests to reflect the new expected output
2007-05-27 17:57:57 +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 && 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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
Rob Richards
7d3c91bed3
free wholetext properly
2007-05-14 11:52:35 +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
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
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
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
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
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
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
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
Antony Dovgal
1f65545121
fix test names
2007-05-07 18:03:01 +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
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
Hannes Magnusson
1d2c53b249
Fix test
2007-05-06 13:11:31 +00:00
foobar
0d5a13ddda
MFH
2007-05-05 19:26:39 +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
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
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
Nuno Lopes
b8fbcae5b3
get ride of warnings (different signdess)
2007-05-04 17:11:05 +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
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
Ilia Alshanetsky
cd32cab680
Fixed ext/filter Email Validation Vulnerability
...
(MOPB-24 by Stefan Esser)
2007-05-03 23:38:27 +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
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
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