| Commit message (Collapse) | Author | Age | Files | Lines |
... | |
|\ \ \
| |/ /
| | |
| | |
| | |
| | |
| | | |
* PHP-5.4:
removed unneccesary arrat and ini settings
addition SplFileObject tests
new tests from PHP TestFest June 2012
|
| | | |
|
| | | |
|
| | | |
|
|\ \ \
| |/ /
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
* PHP-5.4:
reverted news about #62477
reverted changes for #62477
Conflicts:
NEWS
|
| |\ \
| | |/
| | |
| | |
| | | |
* PHP-5.3:
reverted changes for #62477
|
| | | |
|
|\ \ \
| |/ /
| | |
| | |
| | | |
* PHP-5.4:
Fixed bug #62477 LimitIterator int overflow
|
| |\ \
| | |/
| | |
| | |
| | | |
* PHP-5.3:
Fixed bug #62477 LimitIterator int overflow
|
| | | |
|
| | |
| | |
| | |
| | |
| | | |
This fixes the same issue in multiple extensions. This isn't needed
in later branches as 5.4 introduced object_properties_init()
|
| | |
| | |
| | |
| | |
| | | |
ArrayIterator implemented Countable only after it was already inherited by
RecursiveArrayIterator. Thus the interface was missing in RAI.
|
|\ \ \
| |/ /
| | |
| | |
| | | |
* PHP-5.4:
fixed #62433 test for win
|
| | | |
|
|\ \ \
| |/ /
| | |
| | |
| | | |
* PHP-5.4:
Fixed bug #62433 (Inconsistent behavior of RecursiveDirectoryIterator to dot files).
|
| | |
| | |
| | |
| | | |
files).
|
|\ \ \
| |/ /
| | |
| | |
| | | |
* PHP-5.4:
Fixed the common misspelling of the word occurred (occured -> occurred)
|
| | | |
|
|\ \ \
| |/ /
| | |
| | |
| | | |
* PHP-5.4:
Fixed bug RecursiveArrayIterator does not implement Countable
|
| |\ \
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
* PHP-5.3:
Fixed bug RecursiveArrayIterator does not implement Countable
Conflicts:
ext/spl/spl_array.c
|
| | | |
| | | |
| | | |
| | | |
| | | | |
ArrayIterator implemented Countable only after it was already inherited by
RecursiveArrayIterator. Thus the interface was missing in RAI.
|
|\ \ \ \
| |/ / /
| | | |
| | | |
| | | | |
* origin/PHP-5.4:
Fixed bug #62073 (Different ways of iterating over an SplMaxHeap result in different keys)
|
| |\ \ \
| | | |/
| | |/|
| | | |
| | | | |
* PHP-5.3:
Fixed bug #62073 (Different ways of iterating over an SplMaxHeap result in different keys)
|
| | |\ \
| | | |/
| | |/|
| | | | |
(Different ways of iterating over an SplMaxHeap result in in different keys)
|
| | |/
| | |
| | |
| | | |
different keys)
|
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
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
|
| | | |
|
|\ \ \
| |/ / |
|
| |\ \
| | |/ |
|
| | |
| | |
| | |
| | | |
The test added in 8c44c85 should now pass.
|
|\ \ \
| |/ /
| | |
| | |
| | | |
* PHP-5.4:
Added failing test for ArrayObject::offsetExists().
|
| |\ \
| | |/
| | |
| | |
| | | |
* PHP-5.3:
Added failing test for ArrayObject::offsetExists().
|
| | | |
|
|\ \ \
| |/ / |
|
| |\ \
| | |/ |
|
| | | |
|
|\ \ \
| |/ / |
|
| |\ \
| | |/ |
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
Turns out I'd forgotten to also update the destructor for the iterator
returned by DirectoryIterator.
The iterator for DirectoryIterator maintains the same ->current pointer
throughout its existence (the DirectoryIterator itself) and returns it
(the same object) everytime a value is requested from the iterator.
Moving forward the iterator only changes the object. Previous code
added two references to the object in get_iterator on the account of
1) the iterator memory living in its DirectoryIterator object and
2) the object being stored in iterator->current. This seems to be
unnecessary. Iterators are not responsible for incrementing the refcount
of the values they yield, that's up to the caller (the engine). What
matters for the iterator is that the object exists as long as the
iterator exists and this can be guaranteed by incremented the refcount
only once. Consequently, I only add one reference in get_iterator
(and reclaim it in the iterator destructor).
|
| | |
| | |
| | |
| | |
| | |
| | | |
DirectoryIterator's or" - causes bug #61482"
This reverts commit a89c4a34ee55686ab1430a5060e1460335fc5203.
|
|\ \ \
| |/ /
| | |
| | |
| | |
| | | |
* PHP-5.4:
Revert "- Fixed bug #61418 (Segmentation fault when DirectoryIterator's or" - causes bug #61482
update for git
|
| |\ \
| | |/
| | |
| | |
| | |
| | |
| | | |
* 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
|
| | |
| | |
| | |
| | |
| | |
| | | |
- causes bug #61482
This reverts commit 714f1ff4b37c5101b3c61ea108a3d415f41e50df.
|
| | |
| | |
| | |
| | | |
This reverts commit 14af1fe6923c65a91cd77eab5a8d4326f854391d.
|
| | | |
|
| | |
| | |
| | |
| | |
| | |
| | | |
FilesystemIterator's iterators are requested more than once without
having had its dtor callback called in between).
|
| | | |
|
| | | |
|
| | | |
|
| | | |
|