Commit Graph

19358 Commits

Author SHA1 Message Date
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
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
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
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
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
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
8853804482 MFH: fix several integer overflows in GD 2007-06-06 09:45:43 +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
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
Antony Dovgal
31ce08253c MFH 2007-06-04 17:18:51 +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
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
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
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
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 &&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
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