Hannes Magnusson
ddb7740944
typo
2011-09-05 12:00:24 +00:00
Pierre Joye
a65e04be53
- not used anymore, one version to rule them all
2011-09-05 11:00:52 +00:00
Shein Alexey
fae3000d44
Make the test faster, what was done:
...
1) replaced multiple htmlentities calls with one call to get_html_translation table since they share the same code internally
2) reduced the upper range of the "for" loop to 0x2710 (10000), according to http://www.w3.org/TR/html4/sgml/entities.html it's enough
3) placed additional check to make sure all entities from get_html_translation_table were checked in the test
2011-09-05 11:00:14 +00:00
Hannes Magnusson
a1ecf8c887
Fix test to use microtime() as time() doesn't always catchup fast enough :]
2011-09-05 10:55:07 +00:00
Pierre Joye
8d0096e2d9
- unify warning between win and unix and enable test
2011-09-04 21:48:22 +00:00
Ferenc Kovacs
c6d59bd2fa
pass an absolute path for the php binary to proc_open, without this the test would fail if ran with a relative TEST_DEV_EXECUTABLE
2011-09-02 20:28:39 +00:00
Tjerk Anne Meesters
323ee1fe4c
Fixed expect format to ignore the textual error message from readlink().
...
Bug #55555
2011-08-31 18:26:23 +00:00
Arpad Ray
a6a08dc322
Fixed bug #55366 : keys lost when using substr_replace an array
2011-08-29 21:35:28 +00:00
Ilia Alshanetsky
cc93e8e51f
Fixed bug #55399 (parse_url() incorrectly treats ':' as a valid path)
2011-08-11 13:01:52 +00:00
Pierre Joye
673fe19b39
- add test for blowfish 1.2 (Solar Designer)
2011-07-31 10:11:20 +00:00
Philip Olson
0b9be2918d
Updated is_a() and is_subclass_of() tests as per the removed E_WARNING from r313162 which was inspired by discussion after r312904 and PHP Bug #53727
2011-07-15 19:17:22 +00:00
Dmitry Stogov
7d1eef4aa7
Fixed bug #54332 (Crash in zend_mm_check_ptr // Heap corruption)
2011-07-11 09:47:59 +00:00
Stanislav Malyshev
5bd0be8a15
fix crypt() issue with overlong salt
2011-07-04 23:38:09 +00:00
Dmitry Stogov
293f710827
Fixed bug #53727 (Inconsistent behavior of is_subclass_of with interfaces)
2011-07-04 14:55:39 +00:00
Gustavo André dos Santos Lopes
3dafd9549d
- Fixed bug #55082 (var_export() doesn't escape properties properly).
2011-06-30 09:26:35 +00:00
Ilia Alshanetsky
aa2ec7517e
Fixed test
2011-06-28 23:47:05 +00:00
Hannes Magnusson
71a5c3d7ec
These are annoyingly slow
2011-06-23 21:27:42 +00:00
Ilia Alshanetsky
9277da7d9d
Fixed test to account for smaller default floating point # precision
2011-06-08 02:03:14 +00:00
Hannes Magnusson
3b030ec75f
Fixed bug #54946 (stream_get_contents infinite loop)
2011-05-29 12:29:19 +00:00
Ilia Alshanetsky
69a12bfb3f
Fixed bug #53848 (fgetcsv() ignores spaces at beginnings of fields).
2011-05-29 10:23:06 +00:00
Philip Olson
983cedfd94
Fixed test, as per r311323
2011-05-25 00:02:05 +00:00
Felipe Pena
4bf9334a82
- Fixed bug #50363 (Invalid parsing in convert.quoted-printable-decode filter)
...
Patch by: slusarz at curecanti dot org
2011-05-24 23:49:26 +00:00
Philip Olson
e2caad5f96
Updated test. touch() emits E_WARNING for bogus values. Updated 5.3 test to look the same.
2011-05-24 23:27:49 +00:00
Pierre Joye
e38369c532
- Fix #54721 , different Hashes on Windows, BSD and Linux on wrong Salt size
2011-05-24 13:48:04 +00:00
Pierre Joye
0d8e83532a
- make svn-eol LF and use one test for unix and windows
2011-05-24 09:44:55 +00:00
Rasmus Lerdorf
ba8ce4a6d4
Increase the overly conservative pcre backtrack limit from 100000 to 1000000
2011-05-21 19:48:37 +00:00
Ferenc Kovacs
f551ed4189
fix the test with the removal of the unnecessary newline
2011-05-16 23:33:05 +00:00
Ferenc Kovacs
23cab07e4f
adding the serialize_precision=100 for the tests, credits to Mats Lindh for reporting it
2011-05-16 23:31:14 +00:00
Ferenc Kovacs
36fde4043b
removing XFAIL as #39863 has already been fixed
2011-05-16 23:28:46 +00:00
Ferenc Kovacs
a944f7a663
reverting 311103,311105-311109, will commit them to all three branches
2011-05-16 23:22:17 +00:00
Ferenc Kovacs
76425aaca1
fix the test with the removal of the unnecessary newline
2011-05-16 19:51:39 +00:00
Ferenc Kovacs
c4e6beebb3
adding the serialize_precision=100 for the tests, credits to Mats Lindh for reporting it
2011-05-16 19:49:59 +00:00
Ferenc Kovacs
df2ca16fa8
removing XFAIL as #39863 has already been fixed
2011-05-16 19:40:12 +00:00
Rasmus Lerdorf
24be7e2106
We can't really predict what will happen on an unknown host lookup
...
since bogus ISPs like Comcast and many others try to "help" by resolving
everything to their own search page.
2011-05-15 01:52:07 +00:00
Martin Jansen
2ce1fd71ea
Fixed two failing tests that were caused by arbitrarily chosen
...
but apparently bogus upper resp. lower limits for mt_rand().
2011-05-14 20:29:46 +00:00
Antony Dovgal
176c6fe901
fix test
2011-05-04 08:28:31 +00:00
Antony Dovgal
278392a10b
fix tests
2011-05-03 11:15:45 +00:00
Gustavo André dos Santos Lopes
6df67ace20
- Fixed bug #54623 (Segfault when when writing to a persistent socket after
...
closing a copy of the socket).
2011-05-01 03:57:01 +00:00
Rasmus Lerdorf
8192ba2b60
Someone fixed these in trunk and didn't backport to PHP_5_3
2011-04-27 05:05:32 +00:00
Pierrick Charron
1153eaf505
Revert bug #54454 fix from PHP_5_3 branch to avoid BC break in minor release
2011-04-21 01:51:24 +00:00
Stanislav Malyshev
2e206e0761
fix bug #54238 (use-after-free in substr_replace())
2011-04-13 06:32:41 +00:00
Adam Harvey
840308cfd0
Implement FR #54459 (Range function accuracy) by changing the way range()
...
calculates values when used with floating point bounds/step.
2011-04-06 10:23:06 +00:00
Adam Harvey
f9721d03f7
Fix duplicated test.
2011-04-06 10:16:14 +00:00
Pierrick Charron
e8486cc374
Fix common typos in the source code (Reported in Bug #54065 )
...
# External libraries were excluded
# Thanks eitan at eitanadler dot com for the first patch :)
2011-04-03 21:46:52 +00:00
Pierrick Charron
4919f3286b
Fixed bug #54454 (substr_compare incorrectly reports equality in some cases)
2011-04-03 07:18:27 +00:00
Pierrick Charron
5a53a74304
Fixed bug #54180 (parse_url() incorrectly parses path when ? in fragment)
2011-03-17 18:02:58 +00:00
Pierrick Charron
e68e2893c0
# Revert bug fix (will commit it again on 5.3 branch when 5.3.6 will be released)
2011-03-13 17:14:18 +00:00
Pierrick Charron
ee832705d1
Fixed bug #54180 (parse_url() incorrectly parses path when ? in fragment)
2011-03-13 04:02:56 +00:00
Eyal Teutsch
94b3d60a4f
fixed tests to match the new float precision of 53, as described in bug 47168
2011-03-10 13:25:19 +00:00
Gustavo André dos Santos Lopes
1b2d14c5e1
- Fixed bug #54055 (buffer overrun with high values for precision ini
...
setting).
#This fix (for g/G/k/H modes) is done at a different level than that for the
#modes e/E/f/F, at a bit higher level and therefore with less coverage. I
#chose this because it addresses the problem where it is -- the calling function
#that passes a buffer too small to php_gcvt.
2011-02-21 06:53:24 +00:00
Gustavo André dos Santos Lopes
6dfee4f877
- Changed default serialize_precision from 100 to 17, as discussed in internals.
2011-02-08 21:40:51 +00:00
Ilia Alshanetsky
145c4cbc56
Fixed parse_url() tests to account for port validation
2011-02-06 17:23:57 +00:00
Gustavo André dos Santos Lopes
36d82e8a85
- Fixed bug #53903 (userspace stream stat callback does not separate the
...
elements of the returned array before converting them).
2011-02-01 22:55:17 +00:00
Ilia Alshanetsky
82287511ad
Fixed bug 48484 (array_product() always returns 0 for an empty array).
2010-12-12 19:27:04 +00:00
Gustavo André dos Santos Lopes
ff77814d03
- Tests and small parsing correction for php://fd wrapper
2010-12-11 02:08:02 +00:00
Felipe Pena
75eeee8f24
- Fixed test (Eyal Teutsch)
2010-12-04 15:57:08 +00:00
Jani Taskinen
85ef85a0b4
- Fix test
2010-12-03 16:02:47 +00:00
Ilia Alshanetsky
f28cff1925
Fixed bug #52327 (base64_decode() improper handling of leading padding in strict mode)
2010-11-26 20:59:13 +00:00
Gustavo André dos Santos Lopes
05abc63d14
- Fixed bug #53403 (use of unitialized values). Fixes the fix for bug #46587 .
...
- Added test for bug #46587 .
2010-11-25 16:44:20 +00:00
Gustavo André dos Santos Lopes
2a545be57f
- Fix tests for \0 patch in PHP 5.3.
...
- Fix constants_error_004.phpt (closes bug #51901 )
2010-11-22 05:10:14 +00:00
Felipe Pena
93a4e0d1fa
- Fixed extract() to do not overwrite $GLOBALS and $this when using EXTR_OVERWRITE.
...
patch by: jorto at redhat dot com
2010-11-19 22:06:44 +00:00
Ilia Alshanetsky
a8b4724747
Fixed bug #47168 (printf of floating point variable prints maximum of 40 decimal places).
2010-11-19 16:36:10 +00:00
Gustavo André dos Santos Lopes
cdab5577c0
- Fixed borked test bug52820.phpt.
...
- Synced htmlentities17.phpt with trunk; there's no ≀ entity
in HTML 4.01.
2010-11-18 21:44:42 +00:00
Felipe Pena
bbf58f9234
- Fixed bug #53319 (strip_tags() may strip '<br />' incorrectly)
2010-11-16 22:16:44 +00:00
Gustavo André dos Santos Lopes
1045aa2a7c
- Fixed bug #52820 (writes to fopencookie FILE* not commited when seeking the
...
stream).
2010-11-15 18:22:52 +00:00
Patrick Allaert
817776d1b9
- Fixed tests not passing under windows because of the directory separator
...
difference (thanks Eyal Teutsch for reporting)
2010-11-08 09:29:15 +00:00
Felipe Pena
50863932a6
- Fixed bug #53248 (rawurlencode RFC 3986 EBCDIC support misses tilde char).
...
patch by: Justin Martin (frozenfire@php)
2010-11-07 12:59:22 +00:00
Gustavo André dos Santos Lopes
dd038a9c89
- Added CLEAN section to recently committed test.
2010-11-05 01:56:28 +00:00
Gustavo André dos Santos Lopes
68107ae1c3
- Fixed bug #53241 (stream casting that relies on fdopen/fopencookie fails
...
with streams opened with, inter alia, the 'xb' mode).
2010-11-05 01:29:08 +00:00
Gustavo André dos Santos Lopes
231da1a5cb
- Fixed bug #53198 (changing INI setting "from" with ini_set did not have any
...
effect)
#Made "from" a proper INI setting and bound it to a global variable.
#Previously, it was simply read from the hash table with the parsed ini file
#by using cfg_get_string (I wonder why this mechanism still exists...)
2010-10-29 15:29:15 +00:00
Gustavo André dos Santos Lopes
a3cef7b435
- Three tests were "broken" by rev #304404 , not two. Commit the change
...
to remaining one.
2010-10-14 19:33:12 +00:00
Gustavo André dos Santos Lopes
30d6cc8919
- Fixed get_next_char(), used by htmlentities/htmlspecialchars, accepting
...
certain ill-formed UTF-8 sequences.
2010-10-14 19:14:06 +00:00
Gustavo André dos Santos Lopes
99b613cbc8
- Added a 3rd parameter to get_html_translation_table. It now takes a charset
...
hint, like htmlentities et al.
- Fixed bug #49407 (get_html_translation_table doesn't handle UTF-8).
- Fixed bug #25927 (get_html_translation_table calls the ' ' instead of
').
- Fixed tests for get_html_translation_table and unified the Windows and
non-Windows versions of the tests.
2010-10-12 02:51:11 +00:00
Gustavo André dos Santos Lopes
4e2fd7eeba
- Fixed a typo in rev #304208 (24 instead of 34/'"').
...
- Improved the test bug53021.phpt to reflect other fixes in rev #304208 .
- Updated NEWS to reflect other fixes in rev #304208 .
2010-10-08 17:27:19 +00:00
Gustavo André dos Santos Lopes
485a094334
- Fixed bug #53021 (In html_entity_decode, failure to convert numeric entities with ENT_NOQUOTES and ISO-8859-1).
2010-10-08 16:19:58 +00:00
Patrick Allaert
bf6440d00a
Fixed typo in tests (thx Eyal)
2010-10-05 10:42:13 +00:00
Kalle Sommer Nielsen
8deefa8780
Changed deprecated ini options on startup from E_WARNING to E_DEPRECATED ( Fixes #52570 )
...
# Trunk patch will follow shortly
2010-08-11 21:12:18 +00:00
Ilia Alshanetsky
7ab1a74f49
Additional fix for bug #52550 & fix test & warning from previous fixes
2010-08-08 15:45:02 +00:00
Felipe Pena
1e17bb2aab
- Fixed bug #52534 (var_export array with negative key)
2010-08-04 23:11:44 +00:00
Adam Harvey
2e1cd1e133
Revert r301354, since we don't need a test for a bogus bug.
2010-07-19 09:58:19 +00:00
Kai Schroeder
ede218d54c
Test for #52359
2010-07-17 21:26:01 +00:00
Scott MacVicar
c02f6724a8
Doing this as a seperate commit unless we need to back it out.
...
Fix a bug when var_export() causes a fatal error that could inadvertently display data due to flushing of the output buffer.
Examples include, memory limit, execution time and recursion.
2010-07-09 21:19:27 +00:00
Felipe Pena
a4d1188313
- Fixed tests
2010-07-06 00:25:52 +00:00
Felipe Pena
5a3a34e3e6
- Fixed bug #52138 (Constants are parsed into the ini file for section names)
2010-06-24 22:32:42 +00:00
Pierre Joye
cfd930d218
- #50563 , removing E_WARNING from parse_url()
2010-06-16 18:56:24 +00:00
Dmitry Stogov
d24c14cb59
Fixed bug #51552 (debug_backtrace() causes segmentation fault and/or memory issues)
2010-06-11 08:53:31 +00:00
Christopher Jones
5441c86936
New test for file_exists (bug #39863 ). It currently xfail's
2010-06-05 19:44:48 +00:00
Felipe Pena
00191c3c34
- Fixed bug #51899 (Parse error in parse_ini_file() function when empy value followed by no newline)
2010-05-26 02:18:17 +00:00
Christopher Jones
3bdc7518a2
New current()/next() test
2010-05-20 17:55:58 +00:00
Michael Wallner
60c236be92
* fixed bug #47842 sscanf() does not support 64-bit values
2010-05-19 11:28:08 +00:00
Adam Harvey
e0e0147003
Alter the getmxrr() test to use lists.php.net (which we presumably control)
...
instead of ez.no (which we presumably don't) for the single MX record test.
2010-05-04 09:41:47 +00:00
Adam Harvey
592daf8453
Fix for bug #51604 (newline in end of header is shown in start of message).
...
Patch by Daniel Egeberg.
2010-04-22 02:22:49 +00:00
Felipe Pena
462580cd7d
- Fix tests
2010-04-04 17:21:27 +00:00
Felipe Pena
49a81742ef
- Fix test
2010-04-04 16:57:44 +00:00
Felipe Pena
4d571dee74
- Fixed tests
2010-04-03 15:42:42 +00:00
Felipe Pena
a140e70661
- Fixed bug #51445 (var_dump() invalid/slow *RECURSION* detection)
2010-04-02 21:44:09 +00:00
Hannes Magnusson
abd893a2ae
Fix tests
2010-03-24 22:06:21 +00:00
Hannes Magnusson
a1cce74e96
Fix test (the key can be negative)
2010-03-24 21:57:30 +00:00
Jani Taskinen
af49e58f51
- Reverted r296062 and r296065
2010-03-12 10:28:59 +00:00
Jani Taskinen
06f072cb5e
MFH: Improved / fixed output buffering (Michael Wallner)
2010-03-11 10:24:29 +00:00