History log of /PHP-7.3/ext/spl/spl_directory.c (Results 51 – 75 of 386)
Revision (<<< Hide revision tags) (Show revision tags >>>) Date Author Comments
Revision tags: php-5.6.19RC1, php-7.0.4RC1, php-5.6.18, php-7.0.3, php-5.5.32, php-5.6.18RC1, php-7.0.3RC1, php-5.6.17, php-5.5.31, php-7.0.2
# 49493a2d 01-Jan-2016 Lior Kaplan

Happy new year (Update copyright to 2016)


# 618b9611 25-Dec-2015 Tom Van Looy

Remove leftovers of TSRMLS in code


# aadb3dd5 23-Dec-2015 Tom Van Looy

These function docs are referencing zend_object_value but this should be zend_object


Revision tags: php-7.0.2RC1, php-5.6.17RC1, php-7.0.1RC1, php-7.0.0, php-5.6.16, php-7.0.0RC8, php-7.0.0RC7, php-5.6.16RC1, php-5.6.15, php-7.0.0RC6, php-7.0.1, php-5.6.15RC1, php-7.0.0RC5, php-5.5.30, php-5.6.14, php-7.0.0RC4
# 368d3ff0 23-Sep-2015 Bishop Bettini

Bug #70561: Fix DirectoryIterator to throw OutOfBoundsException

-------------------------------------------------------------------------------
DirectoryIterator implements SeekableItera

Bug #70561: Fix DirectoryIterator to throw OutOfBoundsException

-------------------------------------------------------------------------------
DirectoryIterator implements SeekableIterator, which "should throw an
OutOfBoundsException if the position is not seekable". As is, seek just returns
and one must call valid(). This approach is different than most (all?) other
SeekableIterator implementations and leads to developer confusion. See the
bug report for a specific example.

show more ...


# e45f6724 22-Sep-2015 Dmitry Stogov

Cleanup: don't keep useless dangling pointer


Revision tags: php-5.6.14RC1, php-7.0.0RC3, php-5.6.13, php-7.0.0RC2, php-5.5.29, php-5.4.45, php-5.6.13RC1, php-7.0.0RC1, php-5.6.12, php-5.5.28, php-7.0.0beta3, php-5.4.44, php-5.6.12RC1, php-7.0.0beta2
# 21686f1b 13-Jul-2015 Anthony Ferrara

Revert SplFileInfo BC break while keeping fix for assertion removal

This reverts the minor bc-break where .test would return an empty extension. This is different from 5.x's behavior.

Revert SplFileInfo BC break while keeping fix for assertion removal

This reverts the minor bc-break where .test would return an empty extension. This is different from 5.x's behavior.

In 7, it would result in an assertion failure crash. The fix for the removal of this assertion is kept, keeping BC with 5.x.

show more ...


# 4b78636f 13-Jul-2015 Anthony Ferrara

Fix issue with SplFileInfo::getExtension() on files with only a leading '.' character

Currently, there is an assert() that fails on files like .gitignore crashing PHP. This patch fixes that.

Fix issue with SplFileInfo::getExtension() on files with only a leading '.' character

Currently, there is an assert() that fails on files like .gitignore crashing PHP. This patch fixes that.
Instead, now an empty string is returned (since the file has no extension). A test has been added to test this behavior.

show more ...


Revision tags: php-7.0.0beta1, php-5.6.11, php-5.5.27, php-5.4.43
# 7ec1e174 06-Jul-2015 Aaron Piotrowski

Update memory freeing and other issues, revert some changes


# 907476f3 05-Jul-2015 Aaron Piotrowski

Convert E_ERROR to thrown Error in extensions


# 7d82deab 01-Jul-2015 Dmitry Stogov

Cleanup (avoid reallocation).


# 53403fe5 30-Jun-2015 Dmitry Stogov

Get rid of ZVAL_ZVAL() macro usages. Replace them with more clear and optimal equialent sequences.


# 4a2e40bb 30-Jun-2015 Dmitry Stogov

Use ZSTR_ API to access zend_string elements (this is just renaming without semantick changes).


Revision tags: php-5.6.11RC1, php-5.5.27RC1
# 28d7bb97 23-Jun-2015 Rasmus Lerdorf

Fix more proto comments


Revision tags: php-7.0.0alpha2
# 8e10e8f9 12-Jun-2015 Dmitry Stogov

Avoid zval duplication in ZVAL_ZVAL() macro (it was necessary only in few places).
Switch from ZVAL_ZVAL() to simpler macros where possible (it makes sense to review remaining places)


Revision tags: php-5.5.26, php-7.0.0alpha1, php-5.6.10, php-5.4.42
# b470d9a0 06-Jun-2015 Willian Gustavo Veiga

Fix bug #67805 - SplFileObject setMaxLineLength.


# 8e747f68 06-Jun-2015 Willian Gustavo Veiga

Fix bug #67805 - SplFileObject setMaxLineLength.


Revision tags: POST_PHP7_NSAPI_REMOVAL, PRE_PHP7_NSAPI_REMOVAL, php-5.6.10RC1, php-5.5.26RC1, php-5.5.25, php-5.6.9, php-5.4.41, php-5.6.9RC1, php-5.5.25RC1, php-5.6.8, php-5.5.24, php-5.4.40
# 4d9a1883 08-Apr-2015 Dmitry Stogov

Fixed bug #68887 (resources are not freed correctly)


# 122d7596 02-Apr-2015 Nikita Popov

Always throw TypeException on throwing zpp failures

Introduces a ZEND_PARSE_PARAMS_THROW flag for zpp, which forces to
report FAILURE errors using a TypeException instead of a Warning,

Always throw TypeException on throwing zpp failures

Introduces a ZEND_PARSE_PARAMS_THROW flag for zpp, which forces to
report FAILURE errors using a TypeException instead of a Warning,
like it would happen in strict mode.

Adds a zend_parse_parameters_throw() convenience function, which
invokes zpp with this flag.

Converts all cases I could identify, where we currently have
throwing zpp usage in constructors and replaces them with this API.
Error handling is still replaced to EH_THROW in some cases to handle
other, domain-specific errors in constructors.

show more ...


# ea09a9fa 01-Apr-2015 Dmitry Stogov

Convert fatal errors into EngineExceptions
Make zval_update_constant_ex(), zval_update_constant(), zend_update_class_constants() and zend_ast_evaluate() return SUCCESS or FAILURE.


Revision tags: php-5.6.8RC1, php-5.5.24RC1, php-5.6.7, php-5.5.23, php-5.4.39, php-5.6.7RC1, php-5.5.23RC1, POST_PHP7_EREG_MYSQL_REMOVALS, PRE_PHP7_EREG_MYSQL_REMOVALS
# c111d1cd 20-Feb-2015 Julien Pauli

fix #68557


Revision tags: php-5.6.6, php-5.5.22, php-5.4.38
# e10e151e 13-Feb-2015 Dmitry Stogov

Merged zend_array and HashTable into the single data structure.
Now each HashTable is also zend_array, so it's refcounted and may be a subject for Copy on Write
zend_array_dup() was changed t

Merged zend_array and HashTable into the single data structure.
Now each HashTable is also zend_array, so it's refcounted and may be a subject for Copy on Write
zend_array_dup() was changed to allocate and return HashTable, instead of taking preallocated HashTable as argument.

show more ...


Revision tags: POST_PHP7_REMOVALS, PRE_PHP7_REMOVALS, php-5.6.6RC1, php-5.5.22RC1
# 9e70d767 04-Feb-2015 Dmitry Stogov

Move zend_object->guards into additional slot of zend_object->properties_table[]. As result size of objects without __get/__set/__unset/__isset magic methods is reduced.


# 59593ba6 27-Jan-2015 Xinchen Hui

Fixed #68915 (wrong assertion here)


Revision tags: php-5.5.21, php-5.6.5, php-5.4.37
# 0be3626e 18-Jan-2015 Andrea Faulds

fix build


# 4b3ae843 18-Jan-2015 Xinchen Hui

Fixed #68832 (Unchecked return value)


12345678910>>...16