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
Jani Taskinen
855034b955
- Fixed bug #49032 (SplFileObject::fscanf() variables passed by reference)
2009-07-23 14:42:46 +00:00
Ilia Alshanetsky
c16b7585f6
Fixed bug #48788 (RecursiveDirectoryIterator doesn't descend into symlinked
...
directories).
[DOC]
To avoid breaking how existing code works a new constant is introduced for
the RecursiveDirectoryIterator() that directs the code to follow symlinks.
This constant RecursiveDirectoryIterator::FOLLOW_SYMLINKS can be passed a
flag to the constructor to trigger symlink following.
2009-07-08 03:06:59 +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
Dmitry Stogov
e583ce82ec
Fixed bug #48643 (String functions memory issue)
2009-06-24 08:53:18 +00:00
Johannes Schlüter
aded4474fc
MFH: Fix build problem (Kalle)
2009-06-23 18:14:27 +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
Etienne Kneuss
b8d64e4085
MFH: Include other flags as well
2009-06-04 14:46:26 +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
Felipe Pena
941ac63eef
- MFH: Added missing param checks
2009-05-23 15:14:15 +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
Scott MacVicar
01a6919ff0
Fix bug #48206 again
2009-05-09 19:45:26 +00:00
Scott MacVicar
e89c1cf7d9
MFH Fix bug #48206 - Iterating over an invalid data structure leads to a segfault
2009-05-09 19:35:09 +00:00
Kalle Sommer Nielsen
895327b202
MFH: Update copyright year + line feeds
2009-05-02 01:53:45 +00:00
Felipe Pena
f55c56b74b
- MFH: Fixed bug #48120 (Implementing abstract class FilterIterator in regexiterator.inc)
2009-05-01 01:55:41 +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
8623e9db8b
MFH: Fix #47231 (offsetGet error using incorrect offset)
2009-03-19 03:01:37 +00:00
Etienne Kneuss
c44d7b3576
MFH: Add test covering for #47671
2009-03-19 02:47:00 +00:00
Etienne Kneuss
225d86dcfa
MFH: Fix #47671 (cloning SplObjectStorage instances)
2009-03-19 02:45:17 +00:00
Marcus Boerger
3baf61b513
- MFH Safer flag handling as requested by Greg
2009-03-10 23:28:17 +00:00
Etienne Kneuss
ff334d32f6
MFH: Fix #47031 (Fix constants in example)
2009-02-03 12:54:44 +00:00
Pierre Joye
1c87df548b
- fix build
2009-01-27 21:53:49 +00:00
Antony Dovgal
029f5e651a
fix compile warning
2009-01-27 14:50:27 +00:00
Etienne Kneuss
e094d1aa44
MFH: Improve spl_object_hash()
2009-01-26 11:38:03 +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
5755d152ca
MFH: Implement SplObjectStorage::addAll/removeAll
2009-01-16 22:20:53 +00:00
Etienne Kneuss
cd63e52c0b
MFH: Fix #47045 (Correctly compare splobjectstorages with ==)
2009-01-14 15:53:03 +00:00
Sebastian Bergmann
08659c2dcd
MFH: Bump copyright year, 3 of 3.
2008-12-31 11:15:49 +00:00
Etienne Kneuss
b296c25ba2
MFH: Fix #45820 (Empty ArrayObject keys not allowed)
2008-12-30 23:34:29 +00:00
Etienne Kneuss
f48d22afa1
MFH: Fix #46646 (Implement zend functions to restrict serialization or internal classes)
2008-12-22 14:11:49 +00:00
Marcus Boerger
e244527833
- MFH Remove more dead code
2008-12-06 15:24:47 +00:00
Marcus Boerger
dbee447265
- MFH Drop dead code
2008-12-06 15:16:00 +00:00
Hannes Magnusson
97f64c3957
Fix arginfo
2008-11-30 00:23:06 +00:00
Hannes Magnusson
ad672f1a93
MFH: Fix proto
2008-11-30 00:12:29 +00:00
Dmitry Stogov
7d4fd3fd38
Fixed bug #46409 (__invoke method called outside of object context when using array_map)
2008-11-27 19:01:23 +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
Arnaud Le Blanc
756aef0607
CS
2008-11-19 17:53:47 +00:00
Arnaud Le Blanc
a46300ec06
Improved ArrayObject performance (made spl_hash_verify_pos() an O(1)
...
and removed some spl_array_get_hash_table() calls). Fixes #46039
2008-11-19 14:41:40 +00:00
Etienne Kneuss
3919b16f04
MFH: Fix #46241 (stacked error_handlers, error_handling in general)
2008-11-19 02:00:53 +00:00
Felipe Pena
fc2fb50d09
- MFH: Added 'static' into ZEND_BEGIN_ARG_INFO_EX macro
2008-11-17 11:28:01 +00:00
Etienne Kneuss
e415c37ed4
MFH: Fix #46421 (Take care about /)
2008-11-06 01:07:22 +00:00
Etienne Kneuss
27e41ff48c
MFH: Fix #45976 (Move SXE from SPL to SimpleXML)
2008-11-06 00:37:13 +00:00
Felipe Pena
7a37fa2d6b
- Revert ZEND_BEGIN_ARG_INFO change
2008-11-02 21:19:39 +00:00
Felipe Pena
df10005563
- MFH: Added 'static' into ZEND_BEGIN_ARG_INFO_EX macro
2008-10-24 14:35:40 +00:00
Arnaud Le Blanc
261f0c32a5
initialize optional vars
2008-10-21 22:08:20 +00:00
Etienne Kneuss
1a642296ba
Fix #46317 (Iterator class not properly checked)
2008-10-19 18:00:24 +00:00
Antony Dovgal
8696c38966
MFH: fix memleak
2008-10-17 22:09:44 +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
Felipe Pena
084124fb37
- MFH: Fixed bug #46088 (RegexIterator::accept - segfault)
2008-09-22 13:09:09 +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
Rob Richards
0bbb07cff6
no zstr in 5_3
2008-08-25 19:38:04 +00:00
Jani Taskinen
1081c6ce1e
MFH
2008-08-25 19:07:20 +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
52797252b4
MFH
2008-08-14 23:47:42 +00:00
Jani Taskinen
803f3011c6
MFH
2008-08-14 23:29:13 +00:00
Marcus Boerger
32f9d0e180
- MFH Improve exception linking
2008-08-14 10:24:52 +00:00
Marcus Boerger
0d7045e13b
- MFH EXPECT rather than EXPECTF
2008-08-11 17:30:37 +00:00
Etienne Kneuss
c77ca4c34a
MFH: Fix error_handling usage in various extensions
2008-08-08 22:07:07 +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
Etienne Kneuss
360fb51980
MFH: Remove cast and fix mem errors
2008-08-03 18:16:10 +00:00
Felipe Pena
e304515ddb
- MFH: Added parameter TSRMLS_DC in zend_is_callable()
2008-08-02 04:46:07 +00:00
Dmitry Stogov
b6cca30211
Fixed memory leak
2008-07-29 14:28:11 +00:00
Dmitry Stogov
3c62c4bf7e
Removed warning
2008-07-29 11:50:05 +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
Dmitry Stogov
691d4a6999
Fixed uninitialised data
2008-07-25 08:23:07 +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
Dmitry Stogov
feb8580166
LSB parent/self forwarding
2008-07-24 09:42:18 +00:00
Steph Fox
01b8829f73
MFH Make test x-platform
2008-07-24 08:56:51 +00:00
Steph Fox
0aeea4bdbf
MFH SPL_FILE_DIR_UNIXPATHS.
2008-07-24 08:55:52 +00:00
Marcus Boerger
d78f5554e7
- [DOC] Add FilesystemIterator::SKIP_DOTS (flag to skip '.' and '..' in iteration)
2008-07-23 06:12:29 +00:00
Marcus Boerger
e48d79ba07
- MFH Add new classes
2008-07-23 06:08:07 +00:00
Marcus Boerger
ae8ef6c13a
- MFH Add MultipleIterator (Arnaud, Marcus)
2008-07-22 22:54:35 +00:00
Etienne Kneuss
6f289c582b
MFH: Iterator methods overwriting optimisations
2008-07-20 17:32:10 +00:00
Etienne Kneuss
3d0d02f95b
MFH: Fix build for solaris
2008-07-20 16:32:55 +00:00
Etienne Kneuss
5495813bb3
MFH: Complete the ZTS build fix
2008-07-19 19:45:55 +00:00
Derick Rethans
5501431626
- MFH: Fixed ZTS build.
2008-07-19 19:24:07 +00:00
Marcus Boerger
0b42dbce38
- MFH Add MultipleIterator ( http://blog.somabo.de/2008/01/multipleiterator-for-php.html )
2008-07-19 15:56:59 +00:00
Marcus Boerger
e537b7934d
- MFH Added RecursiveTreeIterator
2008-07-19 15:49:21 +00:00
Etienne Kneuss
f4c3f18053
MFH: Fix valgrind errors in array_method, and possibly #45349 (Thanks tony for the patch)
2008-07-19 13:13:57 +00:00
Etienne Kneuss
8dafec40be
MFH: Implement DirectoryIterator::seek
2008-07-19 11:20:18 +00:00
Antony Dovgal
cd408f1235
MFH: minor speedup - convert offset to long only when needed
2008-07-14 08:09:09 +00:00
Marcus Boerger
ca64703134
- Use new helper
2008-07-13 21:45:07 +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
003841e312
MFH: Move SXI::count to SXE::count and make it user-friendly
2008-07-09 21:27:28 +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
Felipe Pena
bedd323878
- Added arginfo (functions)
2008-07-03 01:55:48 +00:00
Antony Dovgal
f77382f412
MFH
2008-07-02 12:25:15 +00:00
Antony Dovgal
9d4ede194f
MFH: check return value of hash_find()
2008-07-02 10:47:11 +00:00
Pierre Joye
c9ec9fed7b
- set PHP_[EXTNAME] to yes for spl, pcre and reflection (always on), this variable is required by ADD_EXTENSION_DEP
2008-06-23 10:22:42 +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
da022874c5
MFH
2008-06-12 12:40:13 +00:00
Etienne Kneuss
84ec12d36a
add get_debug_info
2008-06-09 17:29:23 +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
5d6b1c6ead
MFH
2008-06-07 14:09:06 +00:00
Antony Dovgal
344c076584
add new test
2008-06-07 12:49:35 +00:00
Antony Dovgal
83d26fc47d
MFH: disallow $a[] = value syntax
2008-06-07 12:47:04 +00:00
Antony Dovgal
b8bd4cbbc6
MFH
2008-06-07 08:05:55 +00:00
Etienne Kneuss
e909912389
MFH: Fix segfault caused by get_current_data on an uninitialized element
2008-06-07 01:46:44 +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
Etienne Kneuss
d4aa83d273
MFH: Also register the get_iterator handler for Max/Min Heap
2008-05-24 14:38: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
Elizabeth Marie Smith
3adf07b5c6
Fix reflection (always static, never shared) and disable turning off pcre and spl (also always static, never shared)
2008-05-02 14:05:53 +00:00
Dmitry Stogov
3a86a06619
Added missing lazy initialization
2008-04-29 09:18:26 +00:00
Marcus Boerger
26f7d6e48b
- MFH SPL can no longer be disabld as discussed some time ago (checked back with RM)
2008-04-09 21:53:00 +00:00
Etienne Kneuss
54b70b6015
MFH: Fix #44511 (Ensure no exception was already thrown by php_stream_opendir)
2008-04-09 19:01:12 +00:00
Marcus Boerger
af316021e8
- Rewrite scanner to be based on re2c instead of flex
...
The full patch is available as:
http://php.net/~helly/php-re2c-5.3-20080316.diff.txt
This is against php-re2c repository version 98
An older patch against version 97 is available under:
http://php.net/~helly/php-re2c-97-20080316.diff.txt
2008-03-16 21:06:55 +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
7c2052957c
MFH: Fix #44288 (Move declarations)
2008-02-29 09:26:01 +00:00
Etienne Kneuss
6e46f25b12
MFH: Fix folding
2008-02-25 23:41:04 +00:00
Etienne Kneuss
c54045a1f9
MFH: SplHeap, SplMinHeap, SplMaxHeap, SplPriorityQueue implementation
2008-02-25 23:39:08 +00:00
Etienne Kneuss
09a928b9c4
MFH: Add debug_info handler to SplDoublyLinkedList/Stack/Queue to make them var_dump friendly
2008-02-19 00:04:20 +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
Etienne Kneuss
80861c001e
MFH: Provide ctod/dtor with TSRM
2008-02-11 16:39:20 +00:00
Etienne Kneuss
901cb5a454
MFH: cosmetics
2008-02-11 13:59:23 +00:00
Marcus Boerger
95262f8ac3
- MFH Really last flag change (got confused with code)
2008-02-04 21:37:47 +00:00
Marcus Boerger
dc8bfcaade
- MFH Update docu
2008-02-04 20:40:47 +00:00
Marcus Boerger
8f6a6a800e
- MFH Fix/add folding markers
2008-02-04 19:40:49 +00:00
Marcus Boerger
81a5389af7
- MFH Really fix flag handling
2008-02-04 19:33:10 +00:00
Marcus Boerger
b7a04d786f
- MFH Fix #44018 (RecursiveDirectoryIterator options inconsistancy)
2008-02-04 18:46:13 +00:00
Marcus Boerger
a547c556b6
- MFH Fix default flag value in contructor
2008-02-04 17:19:07 +00:00
Marcus Boerger
36caad5628
- MFH Fix messages and tests
2008-02-04 17:07:07 +00:00
Marcus Boerger
fdf95a00dc
- CS/WS
2008-02-04 16:48:06 +00:00
Marcus Boerger
b628fc219a
- MFH Synch directory changes
...
[DOC]
# Class FilesystemIterator was introduced to have a better DirectoryIterator
# without having to change DirectoryIterator or RecursiveDirectoryIterator.
# On top of FilterIterator the new GlobIterator was introduced. This one allows
# to implement Countable(). But a glob stream flattens all structure, so it
# cannot be derived from RedursiveIterator. With the new structure all children
# of FilesystemIterator have nearly the same behavior. Just their capabilities
# are a bit different. Check out new inheritance tree on SplFileInfo:
#
# [marcus@frodo PHP_5_3]$ php ext/spl/examples/class_tree.php SplFileInfo
# make: `sapi/cli/php' is up to date.
# SplFileInfo
# |-DirectoryIterator (Iterator)
# | \-FilesystemIterator
# | |-GlobIterator (Countable)
# | \-RecursiveDirectoryIterator (RecursiveIterator)
# | \-Phar (ArrayAccess, Countable)
# |-PharFileInfo
# \-SplFileObject (RecursiveIterator, SeekableIterator)
# \-SplTempFileObject
2008-02-02 23:09:38 +00:00
Marcus Boerger
cd2953db57
- MFH Show interfaces
2008-02-02 21:02:25 +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
7cced8f520
- Fix build, thanks Christian Rodriguez for noticing
...
# I wonder why the other machine didn't catch this
2008-02-01 23:46:36 +00:00
Marcus Boerger
55b17871a4
- MFH Fix test
2008-01-31 07:44:01 +00:00
Elizabeth Marie Smith
78a9df9004
Fix windows build
2008-01-31 02:35:44 +00:00
Marcus Boerger
116539a5d1
- WS
2008-01-30 23:45:12 +00:00
Marcus Boerger
ef9453546e
- Sub path may be NULL
2008-01-30 23:08:13 +00:00
Marcus Boerger
0b71904acc
- Fixed glob:// stream handling in (Recursive)DirectoryIterator.
2008-01-30 20:31:07 +00:00
Dmitry Stogov
240fa244c3
Improved PHP binary size and startup speed with GCC4 visibility control (Nuno)
2008-01-30 09:41:12 +00:00
Marcus Boerger
e9914e9d06
- MFH Make SplObjectStorage implement ArrayAccess
...
[DOC]
2008-01-28 22:48:15 +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
Marcus Boerger
5081a15490
- Minor rearrange and fix potential issue with double adding
2008-01-27 15:23:14 +00:00
Marcus Boerger
6b778b0def
- MFH revert over constfying
2008-01-27 15:04:41 +00:00
Etienne Kneuss
bfe7a47b15
MFH: Typo
2008-01-27 14:08:06 +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
Nuno Lopes
65e86e459a
more const kewywording
...
remove spl_functions_none var (wast used anywhere
2008-01-25 20:29:48 +00:00
Etienne Kneuss
de2bb0f497
MFH: Typos (Dan Scott)
...
ctor inside the structure. dtor/ctor used on push/pop for better potential interoperability
2008-01-22 19:55:31 +00:00
Etienne Kneuss
7366d48c04
MFH: Add doxygen docs for SplDoublyLinkedList, SplStack, SplQueue
2008-01-21 21:55:55 +00:00
Etienne Kneuss
5c5d5dd0f6
MFH: Fix mem errors
2008-01-20 13:26:03 +00:00
Rob Richards
05534af71b
MFH: fix win build
2008-01-15 15:46:20 +00:00
Etienne Kneuss
67e82261c2
Fix ZTS build, fix tests
2008-01-15 12:17:35 +00:00
Etienne Kneuss
8e2154f711
MFH: Bump year
2008-01-15 09:44:07 +00:00
Etienne Kneuss
1b4cac77ba
MFH: Implement splDoublyLinkedList, splQueue, splStack classes in SPL
2008-01-15 09:38:15 +00:00
Marcus Boerger
522166bad1
- MFH Fix bug in example code found by Surf Chen
2008-01-10 10:11:33 +00:00
Ilia Alshanetsky
fc74136a90
Fixed bug #43647 (Make FindFile use PATH_SEPARATOR instead of ";")
2008-01-02 19:19:31 +00:00
Sebastian Bergmann
d1dded8751
MFH: Bump copyright year, 2 of 2.
2007-12-31 07:17:19 +00:00
Ilia Alshanetsky
31fb02db2e
Kill unused vars
2007-12-17 19:00:07 +00:00
Marcus Boerger
aabb1c3097
- Fix folding
2007-12-17 13:46:27 +00:00
Johannes Schlüter
57189ca513
- MFH: Fix #43611 SplObjectStorage is available since 5.1.2
2007-12-16 22:19:49 +00:00
Hannes Magnusson
bfad3071cd
Fix typo
2007-12-16 18:31:07 +00:00
David Coallier
7c1087f0aa
- Nitpicking, using same code (without unicode handling) than in HEAD
...
just removed useless } else {
2007-12-12 03:29:31 +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
Rob Richards
d4cbb77c90
fix win build
2007-12-07 13:33:10 +00:00
Marcus Boerger
cd77dc1242
- Fix for #41528 (Classes extending ArrayObject do not serialize correctly)
2007-12-06 16:04:17 +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
dcd3b197e7
MFH:- Fixed bug #43365 (Several enums have trailing commas)
2007-11-26 10:59:04 +00:00
Dmitry Stogov
648fbe9d58
Fixed bug #43128 (Very long class name causes segfault)
2007-11-22 13:27:13 +00:00
Dmitry Stogov
c3ab6bd091
Fixed bug #43136 (possible crash on script execution timeout. The EG(function_state_ptr) is completely removed, EG(current_execute_data)->function_state must be used instead)
2007-11-20 09:51:12 +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
Jani Taskinen
b489251177
- MFH from HEAD:
...
. Folding tags
. Parameter parsing
. SPL debug info
. array function improvements (not all yet)
. Improvements to function calling with call_user_* functions
. Improvements to debugging info in var_dump/print_r
# I propably forgot already something but this all was pretty close tied
# to each other so it wasn't possible to do it in parts.
2007-11-02 19:40:39 +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
Yiduo (David) Wang
4b4d634cb9
MFH: Added macros for managing zval refcounts and is_ref statuses
2007-10-07 05:22:07 +00:00
David Soria Parra
fd841a44db
WS fix. Space instead of tab.
2007-10-05 11:43:09 +00:00
David Soria Parra
7db53fe049
WS/Indent fix
2007-10-05 09:37:17 +00:00
David Soria Parra
d4e8fa62c6
MFH: Add an escape parameter to fgetcsv to satisfy rfc4180 and bug #40501 .
...
[DOC] 5th parameter available since PHP 5.3+
2007-10-03 10:44:32 +00:00
Dmitry Stogov
6c810b0d4c
Improved memory usage by movig constants to read only memory. (Dmitry, Pierre)
2007-09-27 18:00:48 +00:00
Ilia Alshanetsky
ddc1871576
Improve check for filename (fixed coverity issue #355 )
2007-09-22 15:55:35 +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
cf53dfaff3
MFH
2007-06-05 12:02:46 +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
Marcus Boerger
93583f9680
- MFH Add invert option to RegexIterator
2007-05-11 00:15:25 +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
Marcus Boerger
e910699347
- MFH Update docu
2007-04-22 17:13:52 +00:00
Antony Dovgal
bb489851e9
win32 test fixes
2007-04-18 08:06:29 +00:00
Marcus Boerger
170af7e861
- MFH Fix #41109 : recursiveiterator.inc says 'implements' Iterator instead of 'extends'
2007-04-17 06:33:50 +00:00
Dmitry Stogov
4de76f02ea
Fixed 64-bit support
2007-04-09 15:38:58 +00:00
Marcus Boerger
515f4f6e6f
- Fix 40442
2007-04-06 17:57:10 +00:00
Marcus Boerger
0ec117146e
- Add bug name
2007-04-06 17:54:22 +00:00
Marcus Boerger
b08cfa8833
- Better fix for #40091
2007-04-06 16:00:08 +00:00
Marcus Boerger
63d8f70206
- Fix #40442
2007-04-06 15:32:30 +00:00
Marcus Boerger
eceb7faee0
- MFH Drop double variable declaration
2007-03-24 16:28:53 +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
fa29c1a2f5
- Fix copy'n'paste issues
2007-03-04 14:01:06 +00:00
Marcus Boerger
ed359b4529
- MFH simplify, synch docu/implementation
2007-03-04 12:18:02 +00:00