Commit Graph

764 Commits

Author SHA1 Message Date
Anatoliy Belsky
adfb4c62b7 Fix bug 61671 ext\spl\tests\fileobject_003.phpt fails
The solution was already introduced in 5.4 by Etienne Kneuss and
Pierre but wasn't merged back into 5.3 . SplFileObject should
not be used with directories. So just putting together all the
necessary pieces from 5.4
2012-04-19 11:33:12 +02:00
Anatoliy Belsky
b2f2e1d6cc Fix bug #61659 Test ext\spl\tests\bug60082.phpt fails 2012-04-10 14:03:19 +02:00
Shein Alexey
dda95b794c Merge branch 'PHP-5.4'
* PHP-5.4:
  Added failing test for ArrayObject::offsetExists().
2012-03-27 19:02:01 +05:00
Shein Alexey
1b179545c2 Merge branch 'PHP-5.3' into PHP-5.4
* PHP-5.3:
  Added failing test for ArrayObject::offsetExists().
2012-03-27 19:00:28 +05:00
Shein Alexey
ddac4688e8 Added failing test for ArrayObject::offsetExists(). 2012-03-27 18:59:04 +05:00
Gustavo André dos Santos Lopes
30642380de Merge branch '5.4' 2012-03-23 22:14:56 +00:00
Gustavo André dos Santos Lopes
e018e2ae86 Merge branch '5.3' into 5.4 2012-03-23 22:14:36 +00:00
Gustavo André dos Santos Lopes
372801d94c Fixed tests that var_dump/print_r DOM objects. 2012-03-23 22:08:33 +00:00
Gustavo André dos Santos Lopes
8609338a03 Merge branch '5.4' 2012-03-23 11:32:43 +00:00
Gustavo André dos Santos Lopes
0cf70b1a42 Merge branch '5.3' into 5.4 2012-03-23 11:32:20 +00:00
Gustavo André dos Santos Lopes
85725337d5 Revert "Revert "- Fixed bug #61418 (Segmentation fault when DirectoryIterator's or" - causes bug #61482"
This reverts commit a89c4a34ee.
2012-03-23 09:40:27 +00:00
Stanislav Malyshev
2e19cccad7 Merge branch 'PHP-5.4'
* PHP-5.4:
  Revert "- Fixed bug #61418 (Segmentation fault when DirectoryIterator's or" - causes bug #61482
  update for git
2012-03-22 22:31:10 -07:00
Stanislav Malyshev
bcc15b5633 Merge branch 'PHP-5.3' into PHP-5.4
* PHP-5.3:
  Revert "- Fixed bug #61418 (Segmentation fault when DirectoryIterator's or" - causes bug #61482
  Add initialization tests for SQLT_INT binds
  Fix NEWS
2012-03-22 22:30:51 -07:00
Stanislav Malyshev
a89c4a34ee Revert "- Fixed bug #61418 (Segmentation fault when DirectoryIterator's or" - causes bug #61482
This reverts commit 714f1ff4b3.
2012-03-22 22:29:50 -07:00
Gustavo André dos Santos Lopes
65a97bec88 Merge branch '5.4' 2012-03-21 13:15:52 +00:00
Gustavo André dos Santos Lopes
54f0d50d3e Made some SplFileObject::fputcsv not pollute the working dir. 2012-03-21 13:13:17 +00:00
Gustavo André dos Santos Lopes
a19dba56d2 Merge branch '5.4'
Conflicts:
	NEWS
2012-03-21 12:43:51 +00:00
Gustavo André dos Santos Lopes
0f001703a8 Fixed bug #61453.
The "hash" function used strncpy on data that would have NUL bytes, ending the
copy prematurely and causing collisions between objects.
2012-03-21 12:42:09 +00:00
Christopher Jones
faa731f147 Merge branch 'PHP-5.4'
* PHP-5.4:
  Minor text changes (to try new git repo)
  Issue-60742: Added FilesystemIterator::OTHER_MODE_MASK
2012-03-19 15:19:00 -07:00
Joshua Thijssen
91f2d3809e Issue-60742: Added FilesystemIterator::OTHER_MODE_MASK 2012-03-19 21:48:55 +01:00
Gustavo André dos Santos Lopes
a3699726f9 - Fixed bug #61418 (Segmentation fault when DirectoryIterator's or
FilesystemIterator's iterators are requested more than once without
  having had its dtor callback called in between).
2012-03-18 15:07:20 +00:00
Gustavo André dos Santos Lopes
d870a41118 - Fixed bug #61418 (Segmentation fault when DirectoryIterator's or
FilesystemIterator's iterators are requested more than once without
  having had its dtor callback called in between).
2012-03-18 15:07:20 +00:00
Gustavo André dos Santos Lopes
714f1ff4b3 - Fixed bug #61418 (Segmentation fault when DirectoryIterator's or
FilesystemIterator's iterators are requested more than once without
  having had its dtor callback called in between).
2012-03-18 15:07:20 +00:00
Felipe Pena
af2fc625df - Fixed memory leak when calling SplFileInfo's constructor twice 2012-03-11 15:42:57 +00:00
Felipe Pena
3954743813 - Fixed memory leak when calling SplFileInfo's constructor twice 2012-03-11 15:42:57 +00:00
Felipe Pena
80cb6e56f6 - Fixed memory leak when calling SplFileInfo's constructor twice 2012-03-11 15:42:57 +00:00
Xinchen Hui
533d90066e Fix test 2012-03-11 08:30:30 +00:00
Xinchen Hui
e6ec1fb166 Fixed bug #61347 (inconsist isset behavior of Arrayobject) 2012-03-11 08:27:55 +00:00
Xinchen Hui
430486f0bf Fixed bug #61347 (inconsist isset behavior of Arrayobject) 2012-03-11 08:27:55 +00:00
Xinchen Hui
a7639291b4 Fixed bug #61347 (inconsist isset behavior of Arrayobject) 2012-03-11 08:27:55 +00:00
Gustavo André dos Santos Lopes
23e65a9dcc - Fixed bug #61326 (ArrayObject comparison). 2012-03-10 17:19:39 +00:00
Gustavo André dos Santos Lopes
88ba84fa7d - Fixed bug #61326 (ArrayObject comparison). 2012-03-10 17:19:39 +00:00
Gustavo André dos Santos Lopes
7bbf5fe650 - Fixed bug #61326 (ArrayObject comparison). 2012-03-10 17:19:39 +00:00
Olivier DOUCET
e613889d50 more verbose skip reason in test files with not so obvious extension requirements 2012-02-25 12:10:41 +00:00
Olivier DOUCET
bdbcc1789d more verbose skip reason in test files with not so obvious extension requirements 2012-02-25 12:10:41 +00:00
Olivier DOUCET
ce535f1819 more verbose skip reason in test files with not so obvious extension requirements 2012-02-25 12:10:41 +00:00
Adam Harvey
37272e46de Add a __wakeup() method to SplFixedArray, thereby fixing serialising an
SplFixedArray object and bug #60560 (SplFixedArray un-/serialize, getSize(),
count() return 0, keys are strings).
2012-02-21 10:34:42 +00:00
Etienne Kneuss
78c8b4c8ff Fix test 2012-02-01 13:25:32 +00:00
Rasmus Lerdorf
ac5718cdd3 These tests don't work if run as root 2012-01-08 18:43:30 +00:00
Rasmus Lerdorf
cb6603ac56 These tests don't work if run as root 2012-01-08 18:43:30 +00:00
Rasmus Lerdorf
f1191166d8 These tests don't work if run as root 2012-01-08 18:43:30 +00:00
Rasmus Lerdorf
adc8c296ac Make sure gc is enabled 2012-01-08 18:22:50 +00:00
Rasmus Lerdorf
2651a1fc39 Make sure gc is enabled 2012-01-08 18:22:50 +00:00
Rasmus Lerdorf
a7dca551f7 This test only works if gc is enabled 2012-01-08 18:21:13 +00:00
Patrick Allaert
ea25a9be03 Added tests contributions on spl_autoload and stream_context_set_option()
Thank you Jean-Marc Fontaine and Alter Way
2011-12-09 11:45:39 +00:00
Patrick Allaert
183493d624 Added tests contributions on spl_autoload and stream_context_set_option()
Thank you Jean-Marc Fontaine and Alter Way
2011-12-09 11:23:19 +00:00
Patrick Allaert
2b392c9c10 Added tests contributions on spl_autoload and stream_context_set_option()
Thank you Jean-Marc Fontaine and Alter Way
2011-12-09 11:15:12 +00:00
Michael Wallner
d8ca919da1 Fixed bug #60240 (invalid read/writes when unserializing specially crafted strings) 2011-12-02 11:50:22 +00:00
Michael Wallner
955cc549a0 Fixed bug #60240 (invalid read/writes when unserializing specially crafted strings) 2011-12-02 11:50:22 +00:00
Rasmus Lerdorf
3f930c10bf functor? Where did that come from? 2011-11-14 16:23:56 +00:00
Lars Strojny
7d0fe66ebe Adjusting error messages 2011-11-14 00:26:37 +00:00
Peter Cowburn
9b86852d6e add 3rd parameter to arg info for splfileobject fgetcsv/setcsvcontrol (bug #60201) 2011-11-02 13:24:46 +00:00
Peter Cowburn
ac8ece2718 add 3rd parameter to arg info for splfileobject fgetcsv/setcsvcontrol (bug #60201) 2011-11-02 13:24:46 +00:00
Ferenc Kovacs
28faed47c4 ignore this test on FreeBSD per #60186 2011-11-01 10:25:47 +00:00
Ferenc Kovacs
bb4f96b2a1 duh 2011-11-01 10:20:39 +00:00
Ferenc Kovacs
5a2a02f655 marking ext/spl/tests/bug60082.phpt as slow test 2011-11-01 10:10:24 +00:00
Gustavo André dos Santos Lopes
32f7337bd4 - Reverted changes that required constructor overrides to invoke the parent
constructor in several SPL classes and applied 5.3 fixes instead.
  Related bugs: #54384, #55175 and #55300
2011-10-29 23:17:18 +00:00
Gustavo André dos Santos Lopes
41abc6d017 - Reverted changes that required constructor overrides to invoke the parent
constructor in several SPL classes and applied 5.3 fixes instead.
  Related bugs: #54384, #55175 and #55300
2011-10-29 23:17:18 +00:00
Stanislav Malyshev
d81ea16ef1 Changed silent conversion of array to string to produce a notice. (Patrick) 2011-10-21 06:08:47 +00:00
Stanislav Malyshev
ed12ebc79c Changed silent conversion of array to string to produce a notice. (Patrick) 2011-10-21 06:08:47 +00:00
Xinchen Hui
d2c8d30bb9 Test for #60082 2011-10-19 02:28:53 +00:00
Hannes Magnusson
f19a112185 Test for non-string replacement, bug#54304 2011-09-12 17:20:44 +00:00
Hannes Magnusson
76d9a3fa3d Test for non-string replacement, bug#54304 2011-09-12 17:20:44 +00:00
Hannes Magnusson
4653534643 Test for non-string replacement, bug#54304 2011-09-12 17:20:44 +00:00
Pierre Joye
4ccef0b950 - improve r316420 (SplFileObject cannot and should not accept directories) 2011-09-08 23:07:48 +00:00
Pierre Joye
38c698c062 - improve r316420 (SplFileObject cannot and should not accept directories) 2011-09-08 23:07:48 +00:00
Pierre Joye
376ba8c92e - force LF 2011-09-08 16:10:07 +00:00
Pierre Joye
59571f6fce - force LF 2011-09-08 16:10:07 +00:00
Etienne Kneuss
5cc7663098 SplFileObject does not accept directories. It did not check for that and blindly opened the directory, which works on linux but fails on windows. Now SplFileObject uses a stat() call to make sure it isn't a directory, if it is, it fails with an exception. Tests have been changed accordingly. 2011-09-08 15:52:59 +00:00
Etienne Kneuss
3afb143e65 SplFileObject does not accept directories. It did not check for that and blindly opened the directory, which works on linux but fails on windows. Now SplFileObject uses a stat() call to make sure it isn't a directory, if it is, it fails with an exception. Tests have been changed accordingly. 2011-09-08 15:52:59 +00:00
Hannes Magnusson
a6c07ae0d3 Fix cleanup routines 2011-09-07 12:05:19 +00:00
Hannes Magnusson
12d67c1a45 Fix cleanup routines 2011-09-07 12:05:19 +00:00
Hannes Magnusson
04044dd07e Fix cleanup routines 2011-09-07 12:05:19 +00:00
Xinchen Hui
16d0023daf fix skipif description 2011-09-07 00:59:10 +00:00
Xinchen Hui
b1263c4363 fix skipif description 2011-09-07 00:59:10 +00:00
Xinchen Hui
b7788089e1 fix skipif description 2011-09-07 00:59:10 +00:00
Pierre Joye
f2b8c5395c - use a more portable name for the filename 2011-09-06 11:24:21 +00:00
Pierre Joye
efc45f8b60 - use a more portable name for the filename 2011-09-06 11:24:21 +00:00
Pierre Joye
f438a87d90 - use something we know it exists... 2011-09-06 07:26:05 +00:00
Pierre Joye
71cda5ea0a - use something we know it exists... 2011-09-06 07:26:05 +00:00
Pierre Joye
1d22c75eb3 - use something we know it exists... 2011-09-06 07:26:05 +00:00
Pierre Joye
c97a56e77f - skip on win, name.. name. are not valid names 2011-09-06 07:23:20 +00:00
Pierre Joye
d29a253629 - skip on win, name.. name. are not valid names 2011-09-06 07:23:20 +00:00
Pierre Joye
80a2175c37 - skip on win, name.. name. are not valid names 2011-09-06 07:23:20 +00:00
Hannes Magnusson
eba373139c Add skipifs for bug#54971 (patch by datibbaw@) 2011-08-30 13:46:24 +00:00
Hannes Magnusson
850d865551 Add skipifs for bug#54971 (patch by datibbaw@) 2011-08-30 13:46:24 +00:00
Hannes Magnusson
d972f636c9 Add skipifs for bug#54971 (patch by datibbaw@) 2011-08-30 13:46:24 +00:00
Stefan Marr
dca6f950a9 Added forgotten tests cases for class_uses() from commit rev. 313640 2011-07-24 10:20:08 +00:00
Stefan Marr
f9cb269d59 Added forgotten tests cases for class_uses() from commit rev. 313640 2011-07-24 10:20:08 +00:00
Pierrick Charron
824726073b Delete empty test files (old MQ tests) 2011-07-22 12:12:05 +00:00
Pierrick Charron
fb5da94c1b Delete empty test files (old MQ tests) 2011-07-22 12:12:05 +00:00
Pierre Joye
45420bb669 - remove magic quotes support, functions are kept (see the NEWS entry for the details) for BC reasons but do not allow to set enable MQ, missing tests changes in 5.4 2011-07-22 11:56:20 +00:00
Pierre Joye
cc1c7af037 - remove magic quotes support, functions are kept (see the NEWS entry for the details) for BC reasons but do not allow to set enable MQ 2011-07-22 11:25:30 +00:00
Etienne Kneuss
c13f2c3e2c Fix #48860 Implement Serialization for DLL 2011-07-12 21:43:17 +00:00
Etienne Kneuss
fdce66dfd2 Fix #48860 Implement Serialization for DLL 2011-07-12 21:43:17 +00:00
Pierrick Charron
1b416caeb1 Fixed bug #54971 (Wrong result when using iterator_to_array with use_keys on true) 2011-06-28 11:09:06 +00:00
Pierrick Charron
e53ca46fc0 Fixed bug #54971 (Wrong result when using iterator_to_array with use_keys on true) 2011-06-28 11:09:06 +00:00
Pierrick Charron
a814063804 Fixed bug #54971 (Wrong result when using iterator_to_array with use_keys on true) 2011-06-28 11:09:06 +00:00
Knut Urdalen
778edca904 fixed temp directory names in spl tests 2011-06-25 07:45:41 +00:00
Knut Urdalen
785a7a5056 fixed temp directory names in spl tests 2011-06-25 07:45:41 +00:00
Knut Urdalen
db34dc0a8b fixed temp directory names in spl tests 2011-06-25 07:45:41 +00:00
Knut Urdalen
f8e21c395b fixed/refactored some spl tests related to owner/group retrieval 2011-06-25 04:50:42 +00:00
Knut Urdalen
bf61fbb33a fixed/refactored some spl tests related to owner/group retrieval 2011-06-25 04:50:42 +00:00
Knut Urdalen
fe724baa4d fixed/refactored some spl tests related to owner/group retrieval 2011-06-25 04:50:42 +00:00
Felipe Pena
47315dfdf6 - Fixed bug #54970 (SplFixedArray::setSize() isn't resizing) 2011-06-02 00:40:27 +00:00
Felipe Pena
767f924665 - Fixed bug #54970 (SplFixedArray::setSize() isn't resizing) 2011-06-02 00:40:27 +00:00
Felipe Pena
df4c4a9e7f - Fixed bug #54970 (SplFixedArray::setSize() isn't resizing) 2011-06-02 00:40:27 +00:00
Dmitry Stogov
77ed819430 Fixed bug #54323 (Accessing unset()'ed ArrayObject's property causes crash) 2011-04-07 14:52:30 +00:00
Gustavo André dos Santos Lopes
2975308e1a - Fixed bug #54384 (Dual iterators, GlobIterator, SplFileObject and
SplTempFileObject crash when user-space classes don't call the paren
  constructor).
2011-04-04 02:50:27 +00:00
Gustavo André dos Santos Lopes
f7b7b6aa9e - Improved upon r309729.
- Extented strategy to remaining the classes on spl_directory.c, even those that don't crash.
- UPGRADING.
- Better bug54384.phpt, with all the classes covered.
2011-03-27 22:44:34 +00:00
Arnaud Le Blanc
b83e243c23 Added CallbackFilterIterator and RecursiveCallbackFilterIterator classes
[DOC] This is a concrete FilterIterator which takes a callback as
constructor parameter, and uses this callback for filtering. This allows
to use FilterIterator without extending it.

CallbackFilterIterator Example:

$it = new ArrayIterator(range(1,100));
$it = new CallbackFilterIterator($it, function($value) {
	return $value % 2;
});
foreach($it as $value) // ...

RecursiveCallbackFilterIterator Example:

$it = new RecursiveDirectoryIterator("/");
$it = new RecursiveCallbackFilterIterator($it, function($file, $k, $it) {
	return $it->hasChildren() || $file->getSize() > 1024;
});
foreach(new RecursiveIteratorIterator($it) as $file) // ...

The callback takes the current value, the current key and the inner
iterator as parameters.
2011-03-27 20:13:27 +00:00
Gustavo André dos Santos Lopes
c2fe893985 - Fixed bug #54384: Several SPL classes crash when parent constructor is
not called.
#Merge to 5.3 pending (slight BC break on AppendIterator, as it's no
#longer possible to defer the call to the parent constructor until
#after the constructor is performed).
#Bugs fixed in an atypical way for SPL. The parent constructor call
#check is performed at construction time by using a wrapper constructor
#instead of a check on the beginning of each instance method.
#Perhaps this should be uniformized in trunk; this method was mainly
#applied only to the ones crashing, except a few iterators (at least
#AppendIterator and RecursiveIteratorIterator).
2011-03-27 04:21:06 +00:00
Felipe Pena
39e0aa4dc6 - Fixed bug #54292 (Wrong parameter causes crash in SplFileObject::__construct()) 2011-03-23 22:46:04 +00:00
Felipe Pena
0ab7f1cebf - Fixed bug #54292 (Wrong parameter causes crash in SplFileObject::__construct()) 2011-03-23 22:46:04 +00:00
Felipe Pena
0dd448cbf1 - Fixed bug #54281 (Crash in non-initialized RecursiveIteratorIterator) 2011-03-22 22:41:16 +00:00
Felipe Pena
11c4a5b96a - Fixed bug #54281 (Crash in non-initialized RecursiveIteratorIterator) 2011-03-22 22:41:16 +00:00
Gustavo André dos Santos Lopes
f06e3ba5c1 - Fixed bug #54291 (Crash iterating DirectoryIterator for dir name starting
with \0).
2011-03-19 23:15:04 +00:00
Gustavo André dos Santos Lopes
8deb11c0c3 - Fixed bug #54291 (Crash iterating DirectoryIterator for dir name starting
with \0).
2011-03-19 23:15:04 +00:00
Peter Cowburn
14c6cc5b7f MFH - Added SplFileInfo::getExtension() (FR #48767) 2011-02-11 22:07:22 +00:00
Adam Harvey
6bc25ca285 Fix bug #53914 (SPL assumes HAVE_GLOB is defined). Original patch by Chris
Jones; test updates by myself.
2011-02-04 10:49:49 +00:00
Adam Harvey
a7d4b80ca2 Fix bug #53914 (SPL assumes HAVE_GLOB is defined). Original patch by Chris
Jones; test updates by myself.
2011-02-04 10:49:49 +00:00
Adam Harvey
3571c955b5 Implement request #53659 (Implementing RegexIterator::getRegex() method). Patch
by Joshua Thijssen.
2011-01-06 02:32:02 +00:00
Adam Harvey
e4fe297006 Remove empty files left when r306542 was reverted in r306552. 2011-01-06 02:24:49 +00:00
Adam Harvey
e7a1d5004e Remove empty files left when r306542 was reverted in r306552. 2011-01-06 02:24:49 +00:00
Etienne Kneuss
47fc5e06f0 Implement SplObjectStorage::removeAllExcept (Patch by Matthey Turland) 2011-01-05 15:01:18 +00:00
Etienne Kneuss
78728e33fa Implement SplObjectStorage::removeAllExcept (Patch by Matthey Turland) 2011-01-05 15:01:18 +00:00
Eyal Teutsch
cc1759598f SplFileObject_fgetcsv files: SplFileObject__fgetcsv.csv used instead of SplFileObject::fgetcsv.csv, as to make this naming convetion windows legitimate 2010-12-26 13:29:29 +00:00
Eyal Teutsch
83ef8850a0 SplFileObject_fgetcsv files: SplFileObject__fgetcsv.csv used instead of SplFileObject::fgetcsv.csv, as to make this naming convetion windows legitimate 2010-12-26 13:29:29 +00:00
Peter Cowburn
064a254483 Implemented FR #48767 (SplFileInfo::getExtension()) 2010-12-23 22:32:52 +00:00
Gustavo André dos Santos Lopes
9b698dbcea - Revert of revision 306542, turns out the semantics of compare() are
different in SplMinHeap and SplMaxHeap.
2010-12-21 19:52:17 +00:00
Gustavo André dos Santos Lopes
8f44d2ca36 - Revert of revision 306542, turns out the semantics of compare() are
different in SplMinHeap and SplMaxHeap.
2010-12-21 19:52:17 +00:00
Gustavo André dos Santos Lopes
4a11d76a75 - Fixed bug #53588 (SplMinHeap bad sorting with custom compare
function).
2010-12-21 17:29:14 +00:00
Gustavo André dos Santos Lopes
e427e312d4 - Fixed bug #53588 (SplMinHeap bad sorting with custom compare
function).
2010-12-21 17:29:14 +00:00
Eyal Teutsch
95c4e449d1 moved the second unlink() to the CLEAN section in the SplFileObject_fwrite_variation* tests 2010-12-12 07:24:51 +00:00
Eyal Teutsch
8e2475a787 moved the second unlink() to the CLEAN section in the SplFileObject_fwrite_variation* tests 2010-12-12 07:24:51 +00:00
Felipe Pena
9864040e35 - Fixed bug #53515 (property_exists incorrect on ArrayObject null and 0 values) 2010-12-10 23:58:33 +00:00
Felipe Pena
13c99651fc - Fixed bug #53515 (property_exists incorrect on ArrayObject null and 0 values) 2010-12-10 23:58:33 +00:00
Dmitry Stogov
c35fc78890 Fixed bug #53511 (Exceptions are lost in case an exception is thrown in catch operator) 2010-12-09 16:38:37 +00:00
Eyal Teutsch
7eb70247a3 test bug42364 included a superfluous ?> 2010-12-09 12:39:21 +00:00
Eyal Teutsch
f69051602a test bug42364 included a superfluous ?> 2010-12-09 12:39:21 +00:00
Felipe Pena
9608da9443 - Fixed bug #53362 (Segmentation fault when extending SplFixedArray) 2010-11-19 20:07:32 +00:00
Felipe Pena
f16059d697 - Fixed bug #53362 (Segmentation fault when extending SplFixedArray) 2010-11-19 20:07:32 +00:00
Jani Taskinen
d225fe4e58 - Fix test 2010-11-17 14:54:37 +00:00
Jani Taskinen
6d7fa61843 - Fix test 2010-11-17 14:54:37 +00:00
Felipe Pena
6958cb4a14 - Added missing void arg checks 2010-11-14 18:40:08 +00:00
Felipe Pena
8192f0f771 - Added missing void arg checks 2010-11-14 18:40:08 +00:00
Adam Harvey
6cb7ea4089 Implemented FR #53264 (Add fputcsv method to SplFileObject). 2010-11-09 15:07:50 +00:00
Adam Harvey
150a741fee Fix bug #53279 (SplFileObject doesn't initialise default CSV escape character). 2010-11-09 14:53:23 +00:00
Adam Harvey
84dc845ff8 Fix bug #53279 (SplFileObject doesn't initialise default CSV escape character). 2010-11-09 14:53:23 +00:00
Felipe Pena
590ad22361 - Fix the fix (wrong behavior) 2010-11-08 20:26:14 +00:00
Felipe Pena
22f7998a0d - Fix the fix (wrong behavior) 2010-11-08 20:26:14 +00:00
Felipe Pena
7636635ec5 - Fixed bug #50579 (RegexIterator::REPLACE doesn't work) 2010-11-06 00:09:50 +00:00
Felipe Pena
d31e4e7f8e - Fixed bug #50579 (RegexIterator::REPLACE doesn't work) 2010-11-06 00:09:50 +00:00
Gustavo André dos Santos Lopes
5721132c29 - Fixed bug #53071 (SPLObjectStorage defeats gc_collect_cycles). 2010-10-25 01:41:54 +00:00
Gustavo André dos Santos Lopes
7fcce35f9b - Fixed bug #53071 (SPLObjectStorage defeats gc_collect_cycles). 2010-10-25 01:41:54 +00:00
Felipe Pena
f0d2559d26 - Fixed bug #53144 (SplObjectStorage::removeAll()) 2010-10-24 14:03:07 +00:00
Felipe Pena
6887b97a8d - Fixed bug #53144 (SplObjectStorage::removeAll()) 2010-10-24 14:03:07 +00:00
Felipe Pena
2fb2f81538 - Improved fix for bug #52573 2010-08-18 01:59:37 +00:00
Felipe Pena
f3028b9226 - Improved fix for bug #52573 2010-08-18 01:59:37 +00:00
Felipe Pena
658272c9ee - Fixed bug #52573 (SplFileObject::fscanf Segmentation fault) 2010-08-10 22:37:24 +00:00
Felipe Pena
c10bb27254 - Fixed bug #52573 (SplFileObject::fscanf Segmentation fault) 2010-08-10 22:37:24 +00:00
Johannes Schlüter
e46fee1d1a Fix bug #52238: Crash when an Exception occured in iterator_to_array 2010-07-02 19:17:45 +00:00
Johannes Schlüter
21d5041c03 Fix bug #52238: Crash when an Exception occured in iterator_to_array 2010-07-02 19:17:45 +00:00
Stanislav Malyshev
865f85718f fix SplObjectStorage unserialization (CVE-2010-2225) 2010-06-29 00:58:31 +00:00
Stanislav Malyshev
de8022e905 fix SplObjectStorage unserialization (CVE-2010-2225) 2010-06-29 00:58:31 +00:00
Ben Longden
ddc9246071 Merged SplFileObject::fgetcsv tests from trunk 2010-06-15 21:42:04 +00:00
Ben Longden
45bd9b385e Added tests for SplFileObject::fgetcsv 2010-06-15 21:25:47 +00:00
Ben Longden
d1c912628d Merged SplTempFileObject tests from trunk 2010-06-15 11:20:21 +00:00
Ben Longden
675a0539db Tests for SplTempFileObject
Basic usage (no params)
Basic usage (with max memory specified)
Variation (passing a neg value to the constructor)
Error (Passing a non long int value to constructor)
2010-06-15 10:50:53 +00:00
Felipe Pena
f4dcfef570 - Fix test 2010-06-03 23:22:39 +00:00
Michael Wallner
89e93723fb Added support for object references in recursive serialize() calls. FR #36424 2010-05-26 07:24:37 +00:00
Etienne Kneuss
e6ee260b25 Implement SplObjectStorage::getHash() 2010-04-29 15:47:41 +00:00
Etienne Kneuss
a5d361e3ea Fixed #48361 (SplFileInfo::getPathName() should return the parent 2010-04-27 08:56:01 +00:00
Etienne Kneuss
07a6d66276 Fixed #48361 (SplFileInfo::getPathName() should return the parent 2010-04-27 08:56:01 +00:00
Etienne Kneuss
c200eeeb61 Fix #51374 (Wrongly initialized object properties) 2010-04-27 05:58:39 +00:00
Etienne Kneuss
739ebcc66e Fix #51374 (Wrongly initialized object properties) 2010-04-27 05:58:39 +00:00
Etienne Kneuss
9f16874a53 Fix #49723 (Skip seek when unnecessary) 2010-04-27 04:57:48 +00:00
Etienne Kneuss
6f5f6d2bca Fix #49723 (Skip seek when unnecessary) 2010-04-27 04:57:48 +00:00
Felipe Pena
0a6bcd44a7 - Removed allow_call_time_pass_reference (Pierrick) 2010-04-26 00:13:34 +00:00
Etienne Kneuss
eb88d58e6c Fix #51532 (Invalid prototype for SplFileInfo::fscanf) 2010-04-25 05:18:42 +00:00
Etienne Kneuss
d8c8cb4cca Fix #51532 (Invalid prototype for SplFileInfo::fscanf) 2010-04-25 05:18:42 +00:00
Felipe Pena
a90c801c2f - Fixed tests 2010-04-03 15:42:42 +00:00
Felipe Pena
4d571dee74 - Fixed tests 2010-04-03 15:42:42 +00:00
Peter Cowburn
fbbe3e3686 Corrected typo in LimitIterator offset exception. Fixes #51119 2010-02-22 23:55:30 +00:00
William Martin
d06e06007a Backported 5.3 tests to 5.2 and added more RecursiveIteratorIterator tests 2009-12-08 19:51:56 +00:00
Felipe Pena
8ce58b2490 - Fixed bug #50018 (Typo in spl_limit_it_seek()) 2009-10-27 21:57:26 +00:00
Johannes Schlüter
0a8fc25b7d Fix #49972 (AppendIterator undefined function crash) 2009-10-23 16:47:35 +00:00
Etienne Kneuss
ef2b799a28 Fix bug #49263 (Offset error when unserializing self-references in SplObjectStorage) 2009-10-06 13:34:56 +00:00
Antony Dovgal
66990d357c nuke duplicated tests 2009-08-31 15:32:39 +00:00
Zoe Slattery
4cc35aeaaf The last of the 2009 testfest tests 2009-08-30 18:18:50 +00:00
Zoe Slattery
0e4ce3bcca More tests from 2009 testfest 2009-08-28 14:31:19 +00:00
Zoe Slattery
1c98e49afd Test from 2009 testfest 2009-08-26 17:17:58 +00:00
Etienne Kneuss
6e164aa35a Fix several recursion problems when var_dump'ing self-referencing objects 2009-08-13 22:07:05 +00:00
Antony Dovgal
9a7bf0436a fix test 2009-08-02 20:49:20 +00:00
Hannes Magnusson
cc23b8d600 MFH: Fixed bug #44144 & add test 2009-07-28 22:25:31 +00:00
Zoe Slattery
b37019f963 fix test 2009-07-05 14:46:08 +00:00
Felipe Pena
fc4e43ec3c MFH:
- Added missing methods' arginfo (for void params)
- Fixed arginfos:
  - MultipleIterator::__construct
  - MultipleIterator::setFlags      (Thanks Philip!)
  - SplFixedArray::__construct
2009-07-04 20:31:27 +00:00
Christian Seiler
b4a43d0d94 MFH: spl_autoload_unregister/spl_autoload_functions and closures 2009-06-30 17:14:37 +00:00
Scott MacVicar
3e58e86d01 MFH Add SplDoublyLinkedList::prev() and fix a memory leak when the iterator pointer isn't at the end 2009-06-17 13:27:09 +00:00
Greg Beaver
79d05eac0d fix Bug #48541: spl_autoload_register only registers first closure, then leaks the others. Fix missing erealloc in fix for bug #40091 (PHP_5_3 only) 2009-06-13 17:30:50 +00:00
Scott MacVicar
fc8426ad31 MFH Fix bug #48493 - spl_autoload_register can leave the HT in an inconsistent way.
Need to point the second elements previous item to head so we can traverse upwards.
2009-06-09 01:58:07 +00:00
Zoe Slattery
2e8ad7f7d1 Commiting testfest tests from tek 2009-06-03 12:30:40 +00:00
Felipe Pena
0873648ef0 - New tests (testfest NorthWestUG) 2009-05-23 15:38:18 +00:00
Arnaud Le Blanc
52cc098a90 MFH: Better fix for #45622 (patch by robinf at php do net) 2009-05-21 13:26:14 +00:00
Felipe Pena
6f75314b84 - New tests (testfet LondonUG) 2009-05-17 15:24:08 +00:00
Etienne Kneuss
bc75208538 MFH: Fix bug #47534 (RecursiveDirectoryIterator::getChildren ignoring CURRENT_AS_PATHNAME) 2009-05-09 21:06:59 +00:00
Scott MacVicar
cc33f375a6 MFH Broken test when you have a snapshot as it relies on CVS 2009-05-09 20:18:43 +00:00
Sebastian Schürmann
7e5a07ab93 - fix tests
- output of spl_classes differs from 5_2 to 5_3, changed to is_array
2009-04-26 23:58:44 +00:00
Sebastian Schürmann
d2672abf45 Initial commit 2009-04-25 11:19:40 +00:00
Etienne Kneuss
3b90499884 MFH: Fix #48023 (spl_autoload_register didn't store closures) 2009-04-20 14:20:20 +00:00
Hannes Magnusson
33e01788ef MFH: Use obscure name 2009-04-06 09:31:52 +00:00
Etienne Kneuss
c44d7b3576 MFH: Add test covering for #47671 2009-03-19 02:47:00 +00:00
Felipe Pena
d29e47652f - MFH: Added missing "return;" 2009-01-20 00:43:25 +00:00
Etienne Kneuss
fc1b5427d8 MFH: Add tests for addAll/RemoveAll 2009-01-17 01:30:52 +00:00
Etienne Kneuss
cd63e52c0b MFH: Fix #47045 (Correctly compare splobjectstorages with ==) 2009-01-14 15:53:03 +00:00
Etienne Kneuss
b296c25ba2 MFH: Fix #45820 (Empty ArrayObject keys not allowed) 2008-12-30 23:34:29 +00:00
David Coallier
16de7fbd16 - MFH
- Bug #46615
- Return the count - 1 when invoking SplHeap->key()
- Adjusted the tests
2008-11-22 14:19:47 +00:00
Etienne Kneuss
27e41ff48c MFH: Fix #45976 (Move SXE from SPL to SimpleXML) 2008-11-06 00:37:13 +00:00
Etienne Kneuss
1a642296ba Fix #46317 (Iterator class not properly checked) 2008-10-19 18:00:24 +00:00
Zoe Slattery
057f422c03 Replacing explicit object ID with %d 2008-10-17 15:03:48 +00:00
Zoe Slattery
f591bffba9 Committing for Robin Fernandes 2008-10-17 14:34:55 +00:00
Etienne Kneuss
0d7d9b0540 Fix #46222 (Allow indirect modifications of Arrays inside ArrayObject + fix EG(uninitialized_zval_ptr) overwrite) 2008-10-05 14:20:55 +00:00
Etienne Kneuss
f0cf9b4c88 MFH: Fix #46192 (Serialization of ArrayObject with objects as storage) 2008-09-29 22:45:28 +00:00
Felipe Pena
54231ab577 - MFH: Fixed bug #46160 (SPL - Memory leak when exception is throwed in offsetSet method) 2008-09-23 12:06:01 +00:00
Felipe Pena
fa592702a7 - New test 2008-09-22 13:09:50 +00:00
Dmitry Stogov
b6a4094c03 Fixed bug #46115 (Memory leak when calling a method using Reflection) 2008-09-19 12:48:33 +00:00
Etienne Kneuss
6ebc3a8b9b MFH: Fix #45656 (new Class silenting exceptions in autoloaders) 2008-09-15 10:19:53 +00:00
Arnaud Le Blanc
c238cb8f84 MFH: Fixed #46053 (SplFileObject::seek - Endless loop) 2008-09-11 15:31:58 +00:00
Arnaud Le Blanc
7f5079ab3a MFH: Fixed #46051 (SplFileInfo::openFile - memory overlap) 2008-09-11 15:22:49 +00:00
Arnaud Le Blanc
506e49c6e1 MFH: Fixed bug #46031 (Segfault in AppendIterator::next) 2008-09-09 19:44:15 +00:00
Etienne Kneuss
efd817bf13 MFH: Fix #45826 (Custom serialization) 2008-08-25 18:40:44 +00:00
Marcus Boerger
0edbdd7680 - Add new test 2008-08-24 16:46:30 +00:00
Jani Taskinen
f11ce93fd5 - Remove crap 2008-08-15 15:21:04 +00:00
Jani Taskinen
803f3011c6 MFH 2008-08-14 23:29:13 +00:00
Marcus Boerger
0d7045e13b - MFH EXPECT rather than EXPECTF 2008-08-11 17:30:37 +00:00
Etienne Kneuss
16470b1e0c MFH: Test the catching of chains of exceptions 2008-08-08 14:09:45 +00:00
Robin Fernandes
cf167a669b Improve ArrayObject::exchangeArray() behaviour with objects and CoW references (see http://turl.ca/exarr ). 2008-08-04 11:45:21 +00:00
Etienne Kneuss
afb1e3efab MFH: Fix clone + add tests 2008-08-03 19:07:31 +00:00
Dmitry Stogov
b6cca30211 Fixed memory leak 2008-07-29 14:28:11 +00:00
Etienne Kneuss
1da16cef08 MFH: Increase coverage a bit 2008-07-28 14:24:45 +00:00
Dmitry Stogov
af05ce0af6 Fixed is_callable/call_user_func mess that had done different things for very similar arguments e.g. array("A","B") and "A::B" 2008-07-26 13:14:04 +00:00
Arnaud Le Blanc
77baec3f6d MFH: Fix bug #45622 (isset($arrayObject->p) misbehaves with ArrayObject::ARRAY_AS_PROPS set) 2008-07-26 12:34:10 +00:00
Arnaud Le Blanc
f9ef6c8723 MFH: Fixed bug #45614 (ArrayIterator::current(), ::key() can show 1st private prop of wrapped object) 2008-07-24 15:54:41 +00:00
Steph Fox
01b8829f73 MFH Make test x-platform 2008-07-24 08:56:51 +00:00
Marcus Boerger
ae8ef6c13a - MFH Add MultipleIterator (Arnaud, Marcus) 2008-07-22 22:54:35 +00:00
Marcus Boerger
e537b7934d - MFH Added RecursiveTreeIterator 2008-07-19 15:49:21 +00:00
Etienne Kneuss
8dafec40be MFH: Implement DirectoryIterator::seek 2008-07-19 11:20:18 +00:00
Marcus Boerger
a694fad739 - MFH Fix test 2008-07-13 21:44:38 +00:00
Antony Dovgal
4f040525ef improve code coverage 2008-07-13 19:47:52 +00:00
Etienne Kneuss
f60da35554 MFH: Implement toArray,fromArray and get_properties (Thanks Tony for the patches) 2008-07-13 15:59:52 +00:00
Marcus Boerger
e4869828a7 - MFH Allow multiple exceptions in spl's autoload 2008-07-12 14:58:41 +00:00
Etienne Kneuss
b229f9b7d8 MFH: Test extended iterators methods 2008-07-09 20:35:04 +00:00
Etienne Kneuss
767eaa7a4e MFH: - Fix filename in debug_info
- Fix #45345 (getPathInfo on the file instead of the dir)
- Remove trailing / on input
2008-07-08 22:40:48 +00:00
Etienne Kneuss
91ada2fd0a Remove .htaccess file(??) 2008-07-07 00:05:37 +00:00
Etienne Kneuss
0a2467bd05 MFH: Add missing test 2008-07-06 23:54:36 +00:00
Etienne Kneuss
0eea0a059e MFH: First part of count/handlers related fixes 2008-07-06 23:45:56 +00:00
Antony Dovgal
f77382f412 MFH 2008-07-02 12:25:15 +00:00
Etienne Kneuss
f741f6cd6e MFH: Add some tests to increase code coverage 2008-06-22 16:25:02 +00:00
Etienne Kneuss
0f5ddaf4ce MFH: Rename everything from SplFastArray to SplFixedArray 2008-06-18 14:54:40 +00:00
Etienne Kneuss
4e80cf8bac MFH: Fix #45216 (Add a default size for fgetss) 2008-06-18 10:05:29 +00:00
Etienne Kneuss
04f211e38f MFH: Add tests for iterators when instanciated without argument (by Sebastian Schürmann) 2008-06-15 11:47:34 +00:00
Etienne Kneuss
ee81b5a968 Add tests from testfest 2008-06-12 20:52:34 +00:00
Etienne Kneuss
da68b946a1 Add tests from testfest 2008-06-12 20:46:12 +00:00
Antony Dovgal
f1b8d65790 MFH: more checks and tests 2008-06-07 21:36:13 +00:00
Antony Dovgal
c80f146f81 add more tests (Felipe) 2008-06-07 14:10:42 +00:00
Antony Dovgal
344c076584 add new test 2008-06-07 12:49:35 +00:00
Etienne Kneuss
b5eaa1005a MFH: Implements C arrays wrapper 2008-06-06 23:53:43 +00:00
Etienne Kneuss
0cfdd9a7e0 MFH: Add a prepend param to spl_autoload_register 2008-05-25 12:22:38 +00:00
Etienne Kneuss
2882dde048 remove the skipif 2008-05-25 12:13:41 +00:00
Sebastian Bergmann
bad8951dbc MFH: Drop SKIPIF check for ext/spl. 2008-05-25 06:05:57 +00:00
Etienne Kneuss
3623b134e1 New tests from testfest 2008-05-24 16:49:04 +00:00
Sebastian Bergmann
0abd5bde20 MFH: Drop SKIPIF check for ext/spl. 2008-05-24 14:17:55 +00:00
Sebastian Bergmann
3a4eb3e4a6 Drop SKIPIF check for ext/spl. 2008-05-24 14:10:44 +00:00
Etienne Kneuss
5f360ab9bf Add tests from testfest 2008-05-24 13:25:24 +00:00
Etienne Kneuss
3681756cfb MFH: Fix path lookup when include_path is used 2008-05-20 21:46:51 +00:00
Etienne Kneuss
242f779fa1 MFH: Fix filesystemiterator with ./.. + add cloning tests 2008-05-18 12:17:43 +00:00
Etienne Kneuss
03463d557b Sync spl tests with HEAD 2008-05-08 12:02:17 +00:00
Etienne Kneuss
06cef68307 Add consistency with the flag 2008-05-06 23:08:06 +00:00
Marcus Boerger
c17997d4b6 - MFH Fix possible memory corruption 2008-03-13 19:46:44 +00:00
Etienne Kneuss
b57e7b44da Fix bug #41828 (Fix crash on wrong instantiation) 2008-03-12 13:34:47 +00:00
Etienne Kneuss
05ba20f9b6 MFH: Fix #44144 (object methods as spl autoload functions returned correctly) 2008-02-29 13:55:23 +00:00
Etienne Kneuss
c54045a1f9 MFH: SplHeap, SplMinHeap, SplMaxHeap, SplPriorityQueue implementation 2008-02-25 23:39:08 +00:00
Marcus Boerger
1d98b27235 - MFH Make this behave like in <= 5.2.5 and test for it 2008-02-13 12:05:34 +00:00
Marcus Boerger
36caad5628 - MFH Fix messages and tests 2008-02-04 17:07:07 +00:00
Felipe Pena
ad476edcee Fix the fix 2008-02-02 04:03:03 +00:00
Felipe Pena
1e294b1d37 Fix tests (new error message) 2008-02-02 03:20:51 +00:00
Marcus Boerger
55b17871a4 - MFH Fix test 2008-01-31 07:44:01 +00:00
Marcus Boerger
a339867860 MFH:
[DOC] Add ability to store associative infor with objects in SplObjectStorage
- Add second parameter to SplObjectStorage::attach()
- Add SplObjectStorage::setInfo()
- Add SplObjectStorage::getInfo()
2008-01-27 18:07:20 +00:00
Etienne Kneuss
36305912e9 MFH: -Pointer doesn't move if we're moving forward and shifting at the same time
-Userland implementation
-Doxygen doc
2008-01-27 13:59:51 +00:00
Etienne Kneuss
6a7074c837 MFH: Iterator implementation in SplDoublyLinkedList, SplStack, SplQueue 2008-01-26 23:04:43 +00:00
Etienne Kneuss
5c5d5dd0f6 MFH: Fix mem errors 2008-01-20 13:26:03 +00:00
Etienne Kneuss
67e82261c2 Fix ZTS build, fix tests 2008-01-15 12:17:35 +00:00
Etienne Kneuss
1b4cac77ba MFH: Implement splDoublyLinkedList, splQueue, splStack classes in SPL 2008-01-15 09:38:15 +00:00
David Coallier
2196a52edd - Unit test for bug #41528
- Checking that when you serialize a class that extends to ArrayObject
  Is keeping it's properties.
2007-12-12 00:34:06 +00:00
Marcus Boerger
d71b3de7f4 - Fixing #38618 by:
- [DOC] ArrayIterator::CHILD_ARRAYS_ONLY, ArrayObject::CHILD_ARRAYS_ONLY
  Passing this flag in the ctor prevents ArrayIterator from following
  objects in ArrayObject::getIterator(), ArrayIterator::hasChildren(),
  ArrayIterator::getChildren().
  The exact behavior might change:
    - should the flag be set by default
    - should the flag be changed to have a negative effect
2007-12-05 15:56:41 +00:00
Jani Taskinen
56ef7a5ea3 - Fix tests 2007-11-14 14:05:42 +00:00
Jani Taskinen
a541bb8078 - Fix tests
- Update README.PARAMETER_PARSING_API
2007-11-02 19:41:12 +00:00
Marcus Boerger
80893e5727 - Fix #42703 2007-10-18 04:41:39 +00:00
Marcus Boerger
56f9d57091 - Fix #42654 (maybe also a bunch of others) 2007-10-18 03:55:43 +00:00
Jani Taskinen
30dc58671d MFH 2007-09-20 14:28:12 +00:00
Johannes Schlüter
254992907c - MFH: Fix Bug #42364 Crash when using getRealPath with DirectoryIterator 2007-08-21 22:45:53 +00:00
Rob Richards
07bf252ef5 MFH: fix bug #42259 (SimpleXMLIterator loses ancestry)
add test
2007-08-14 12:10:46 +00:00
Antony Dovgal
bfed3520c9 MFH: fix #41691 (ArrayObject::exchangeArray hangs Apache) 2007-07-20 10:53:56 +00:00
Antony Dovgal
f132df4f66 MFH: fix #41692 (ArrayObject shows weird behaviour in respect to inheritance) 2007-06-27 12:30:28 +00:00
Antony Dovgal
1f65545121 fix test names 2007-05-07 18:03:01 +00:00
Johannes Schlüter
e181e3ac7b - MFH Fix "f" modifier for zend_parse_parameters_ex in case of a __call call
# only affects iterator_apply() in 5_2 branch
2007-04-30 19:54:41 +00:00
Antony Dovgal
bb489851e9 win32 test fixes 2007-04-18 08:06:29 +00:00
Marcus Boerger
0ec117146e - Add bug name 2007-04-06 17:54:22 +00:00
Marcus Boerger
63d8f70206 - Fix #40442 2007-04-06 15:32:30 +00:00
Marcus Boerger
4c1c431a38 - MFH Fix Bug #40872 (inconsistency in offsetSet, offsetExists treatment
of string enclosed integers)
2007-03-20 20:28:08 +00:00
Marcus Boerger
d2c8a3bb63 - Add tests 2007-01-21 12:30:19 +00:00
Ilia Alshanetsky
b5228f0c6c Fixed bug #40091 (spl_autoload_register with 2 instances of the same class). 2007-01-10 18:14:37 +00:00
Dmitry Stogov
7c750656f1 Fixed tests 2007-01-10 16:00:31 +00:00
Ilia Alshanetsky
13f006ac69 Fixed bug #38325 (spl_autoload_register() gaves wrong line for "class
not found").
2007-01-08 04:27:29 +00:00
Ilia Alshanetsky
5068511748 Fixed bug #40036 (empty() does not work correctly with ArrayObject when
using ARRAY_AS_PROPS).
2007-01-07 03:52:44 +00:00
Dmitry Stogov
108a2fc64c Fixed bug #39775 ("Indirect modification ..." message is not shown)
The fix breaks two SimpleXML tests those must be fixed
2006-12-08 15:55:31 +00:00
Marcus Boerger
164929d557 - MFH: Add new test 2006-11-20 19:58:01 +00:00
Hannes Magnusson
1182b325c2 MFH: SplFileObject::getFilename() no longer overwrites SplFileInfo::getFilename()
(SplFileObject::getFilename() therefor only returns the filename now)
2006-11-12 17:16:13 +00:00
Hannes Magnusson
c32408e694 MFH: fix segfault & improve test 2006-11-06 15:21:45 +00:00
Marcus Boerger
76ba475d76 - MFH: Synch 2006-11-03 18:58:41 +00:00
Sara Golemon
3042386549 MFH(r-1.114) Can't use real arrays held by ArrayObjects in write context 2006-10-20 02:11:19 +00:00
Marcus Boerger
195417eb4d - MFH Update tests 2006-07-24 23:41:09 +00:00
Marcus Boerger
85963e6300 - MFH Update RegexIterator, Docu & Tests 2006-07-21 20:14:31 +00:00
Marcus Boerger
45d09c71ba - Synch RegexIterator with HEAD 2006-07-20 22:54:21 +00:00
Marcus Boerger
55f0596fab - MFH:
. Upgrade RegexIterator capabilities, see docu
  . Update docu
  . Add test (which fails right now: iterator_049.phpt)
  . Add tests for new functionality
2006-07-16 21:12:32 +00:00
Marcus Boerger
bd760162e6 - MFH Correct test name 2006-07-16 17:34:37 +00:00
Marcus Boerger
bb3c702162 - MFH Fix issue with SplFileObject and directories 2006-07-15 13:01:59 +00:00
Antony Dovgal
3aaf62d159 there is no Unicode in 5_2 2006-07-11 12:15:11 +00:00
Marcus Boerger
5fee10735f - MFH Add spl_object_hash() 2006-07-09 10:22:27 +00:00
Marcus Boerger
0fd2b96204 - MFH Add test 2006-07-08 12:25:57 +00:00
Hannes Magnusson
aaa1d62614 MFH: fix/add SKIPIF 2006-06-27 00:09:43 +00:00
Marcus Boerger
e0844e09bd - MFH iterator_apply() 2006-06-07 09:44:42 +00:00
Sara Golemon
79b21ec4cf MFH: Minor fixes (bjori) 2006-05-30 19:06:22 +00:00
Antony Dovgal
755caecfc9 fix test 2006-05-24 23:04:58 +00:00
Marcus Boerger
e3f89f116a - MFH
. Make code exception safe
  . Make RecursiveRegexIterator::getChildren pass regex to inner ctor
  . Fix CachingIterator::__toString() in TOSTRING_USE_KEY mode
  . Add CachingIterator::getCache()
  . Add tests
2006-05-21 18:13:37 +00:00
Marcus Boerger
96916c95e8 - MFH Sync with head fixes part of an issue with iterator_(to_array|count) 2006-05-20 21:01:42 +00:00
Marcus Boerger
55041d6f3d - MFH Add new test 2006-05-18 22:52:04 +00:00
Marcus Boerger
69079a7537 - MFH Add new test 2006-05-18 22:42:05 +00:00
Marcus Boerger
5e5327a7e0 - MFH Add new test 2006-05-18 21:59:05 +00:00
Marcus Boerger
7d79686f45 - MFH Fixed CachingIterator issues with string conversion/__toString()
Partly by adding new mode TOSTRING_USE_INNER
2006-05-18 21:42:58 +00:00
Marcus Boerger
26a67b8925 - MFH Fixed Bug #37457 (Crash when an exception is thrown in accept() method of FilterIterator) 2006-05-16 08:21:08 +00:00
Marcus Boerger
05273a73d8 - Fix test 2006-05-11 21:01:04 +00:00
Antony Dovgal
8ee1c45a3b fix test 2006-05-11 15:43:28 +00:00
Andrei Zmievski
9e0e89c5cf Rename RegExIterator -> RegexIterator.
Also rename recursive one.
2006-05-10 16:50:57 +00:00
Marcus Boerger
982822be93 - Fix iterators part and add tests 2006-05-10 00:29:42 +00:00
Marcus Boerger
c58e1fa5be - MFH
. Fixed bug #36941 (ArrayIterator does not clone itself)
  . Fixed SEGV when ArrayObject/Iterator use reference to self
  . Added tests
2006-04-04 19:53:21 +00:00
Antony Dovgal
9a59df13cc fix segfault when assigning value by ref and add test
(I consider it's wrong that we can't do it, but we shouldn't segfault anyway)
2006-04-01 19:13:04 +00:00
Marcus Boerger
ed43fd9b3b - My eyes don't hurt anymore 2006-03-23 21:28:06 +00:00
Marcus Boerger
fe1c2cfc0f - MFH
. spl_autoload_register() return bool to denote success/failure
  . spl_autoload_unregister() acept any callable
2006-03-23 19:55:16 +00:00
Antony Dovgal
5f80bcaf26 add missing skipif sections 2006-03-23 15:03:27 +00:00