Dmitry Stogov
29f068779f
Fixed ext/spl/tests/iterator_035.phpt
2014-04-09 23:49:58 +04:00
Dmitry Stogov
a938b24607
Fixed resource to integer conversion
2014-04-09 22:31:40 +04:00
Dmitry Stogov
085be9d618
Fixed ArrayObject::sort() family
2014-04-09 14:25:35 +04:00
Etienne Kneuss
6acfaa982b
Merge branch 'PHP-5.6'
2014-04-09 11:52:11 +02:00
Etienne Kneuss
6006a3ed51
Merge branch 'PHP-5.5' into PHP-5.6
2014-04-09 11:36:36 +02:00
Joshua Thijssen
e8d6c6587d
fixed bug66702 : regexiterator's invert flag doesn't work as expected
2014-04-09 11:13:33 +02:00
Dmitry Stogov
7402af380b
Fixed destruction of objects and iterators on unclean request shutdown and GC (few cases are still unfixed).
...
Now we destroy objects it two steps. At first - object properties of all objects and only then the objects their selves.
2014-04-09 01:50:15 +04:00
Dmitry Stogov
76cc99fe60
Refactored ZVAL flags usage to simplify various checks (e.g. Z_REFCOUNTED(), candidate for GC, etc)
2014-04-03 15:26:23 +04:00
Dmitry Stogov
d8099d0468
Changed data layout to allow more efficient operations
2014-04-02 14:34:44 +04:00
Dmitry Stogov
6b2ed577fd
Avoid unnecessry reallocations
2014-04-01 22:36:17 +04:00
Dmitry Stogov
ea85451b65
Refactored data structures to keep zend_object* instead of a whole zval in some places
2014-03-28 02:11:22 +04:00
Dmitry Stogov
887189ca31
Refactored IS_INDIRECT usage for CV and object properties to support HashTable resizing
2014-03-26 18:07:31 +04:00
Tjerk Meesters
4cb19f0a0f
Added TSRMLS_CC to zend_is_true() calls
2014-03-25 19:05:43 +08:00
Tjerk Meesters
6018c47a28
Merge branch 'PHP-5.6'
2014-03-25 18:19:42 +08:00
Tjerk Meesters
5dee3c11fe
Call offsetGet() when called with isset() on ArrayObject derivatives
2014-03-25 18:15:18 +08:00
Dmitry Stogov
f2a598393f
Fixed wrong assignment
2014-03-22 02:40:41 +04:00
Dmitry Stogov
0e91c5a586
Fixed refcounting
2014-03-22 01:13:15 +04:00
Dmitry Stogov
6da4759769
Fixed refcounting
2014-03-22 00:00:20 +04:00
Dmitry Stogov
b7938ab1bd
Refactored GC (incomplete)
2014-03-19 17:00:28 +04:00
Xinchen Hui
639c4da20a
Forgot fix similar issue in spl_recursive_it_get_method
2014-03-16 23:04:07 +08:00
Xinchen Hui
86aa343d3b
Fixed spl_dual_it_get_method
2014-03-16 23:02:14 +08:00
Xinchen Hui
b78bbe93ca
Fixed segfault (invalid free handling)
2014-03-16 22:05:38 +08:00
Xinchen Hui
5df7fe59f3
Fixed wrong md5 str length
2014-03-16 15:52:50 +08:00
Xinchen Hui
5639a2a8ef
Reflection doesn't return ref anymore
2014-03-16 15:47:08 +08:00
Xinchen Hui
051a3eb45b
Fixed string handling in ext/spl/tests/recursive_tree_iterator_001.phpt
2014-03-16 15:45:45 +08:00
Xinchen Hui
ef1e006bd6
Refactor php_pcre_replace to return zend_string
2014-03-16 08:44:07 +08:00
Xinchen Hui
6dd3d5cb36
Should not release container before dup
2014-03-15 22:43:40 +08:00
Xinchen Hui
d0bbc227aa
IS_UNDEF should never goes to user script land
2014-03-15 22:37:27 +08:00
Xinchen Hui
2a8cef80cf
Fixed typo
2014-03-15 22:23:30 +08:00
Xinchen Hui
b264e96497
Fixed bug codes in SplFileInfo::getExtension
2014-03-15 22:17:55 +08:00
Xinchen Hui
a49781f20d
Fixed refcounted
2014-03-15 22:13:55 +08:00
Xinchen Hui
9d4dca0880
Refactor Spl_Directory to fixed bug after default_properties changed
2014-03-15 22:07:40 +08:00
Xinchen Hui
34dac6ddbc
Fixed several bugs in spl_autoload
2014-03-15 19:34:07 +08:00
Xinchen Hui
19045f0d27
Fixed refcount asseration
2014-03-15 19:16:07 +08:00
Xinchen Hui
8558dc8eaf
Refactor Spl_Heap to fixed bug after default_properties change
2014-03-15 19:14:11 +08:00
Xinchen Hui
cc79496b97
Refactor Spl_Iterators to fixed default_properties change
2014-03-15 16:33:55 +08:00
Xinchen Hui
6c10f7ac36
Refactored Spl_Dllist to fixed zend_object->default_properties change
2014-03-15 14:44:50 +08:00
Xinchen Hui
4d9d08269c
Refactored Spl_Arrary to fixed zend_object->default_properties change
2014-03-15 14:32:32 +08:00
Xinchen Hui
bfe1f224b2
Fixed fixed_array returning initializing
2014-03-15 13:20:23 +08:00
Xinchen Hui
28e0a58018
Fixed fixedarray iterator fetching
2014-03-15 13:18:32 +08:00
Xinchen Hui
b2432872c4
Fixed fixed_array fetching
2014-03-15 13:12:55 +08:00
Xinchen Hui
350260624d
Fixing SplFixedArray (this probably will be revert, just show what the problem is)
2014-03-08 19:03:38 +08:00
Xinchen Hui
1d4cea40e3
Refactor SplObjectStorage make it works
2014-03-08 14:47:55 +08:00
Tjerk Meesters
777831a24b
Merge branch 'PHP-5.6'
2014-03-07 19:24:50 +08:00
Tjerk Meesters
8d3f4b647b
Merge branch 'PHP-5.5' into PHP-5.6
2014-03-07 19:24:02 +08:00
Tjerk Meesters
972935cd95
Fixed null termination
2014-03-07 19:23:46 +08:00
Tjerk Meesters
7137775ec2
Merge branch 'PHP-5.6'
2014-03-07 19:01:53 +08:00
Tjerk Meesters
64906cdc38
Merge branch 'PHP-5.5' into PHP-5.6
2014-03-07 18:57:36 +08:00
datibbaw
3c673fed34
Add fread(length) method
...
Fixed off-by-one write bug
Added test
2014-03-07 18:50:33 +08:00
Dmitry Stogov
19670c2bbc
Fixied calling object closures from internal functions
2014-03-05 01:54:21 +04:00
Xinchen Hui
05e8f28533
This should be a real problem
2014-03-02 14:35:41 +08:00
Xinchen Hui
171fde5491
Fixed SplPriorityQueue's free_obj
2014-03-01 12:44:33 +08:00
Xinchen Hui
7235048ca1
Fixing spl_autoload functional (one test failed due to get_closure)
2014-03-01 00:44:02 +08:00
Xinchen Hui
7208b9660c
Fixed autoload_func_info using zval instead of zval *
2014-02-28 23:05:13 +08:00
Xinchen Hui
237dbd972e
Fixed uninilized intern
2014-02-28 22:55:59 +08:00
Xinchen Hui
4340f1a561
Fixed offset_key
2014-02-28 22:52:18 +08:00
Xinchen Hui
0680cdb4ac
Fixed refcount handling
2014-02-28 22:47:24 +08:00
Xinchen Hui
2a82660923
Temporary fix zcontext
2014-02-28 22:21:51 +08:00
Xinchen Hui
990c923ef4
Refactored spl_filesystem_iterator
2014-02-28 19:07:54 +08:00
Xinchen Hui
7dcb14ebcd
We need to stash the object_ptr in fci
2014-02-28 17:12:53 +08:00
Anatol Belski
bad0b4fc8c
Merge branch 'PHP-5.6'
...
* PHP-5.6:
primitive test fixes
2014-02-28 09:45:02 +01:00
Anatol Belski
1cb4398ac1
primitive test fixes
2014-02-28 09:43:57 +01:00
Xinchen Hui
b353d5abe9
Fixed un-initilized iterator in DirectoyItrator
2014-02-28 16:06:47 +08:00
Xinchen Hui
0def388427
Fixed Z_ADDREF
2014-02-28 15:29:00 +08:00
Xinchen Hui
1265850fef
Add zend_iterator_dtor
2014-02-28 15:03:43 +08:00
Xinchen Hui
a5ce7d526e
Revert "Move zend_objects_store_put out of zend_object_std_init"
...
This reverts commit 8ced4f0ac9
.
2014-02-28 13:59:07 +08:00
Xinchen Hui
8ced4f0ac9
Move zend_objects_store_put out of zend_object_std_init
2014-02-28 12:59:51 +08:00
Xinchen Hui
cfa93d08f5
Unused element
2014-02-27 22:50:31 +08:00
Xinchen Hui
0817cee164
Fixed object creating (std_init calls store_put now)
2014-02-27 22:47:30 +08:00
Dmitry Stogov
3696e038e5
Various fixes related to read_property(), read_dimension() and iterators refactoring
2014-02-27 16:07:36 +04:00
Dmitry Stogov
4ba590697e
Merge branch 'refactoring2' of github.com:zendtech/php into refactoring2
2014-02-27 15:40:51 +04:00
Dmitry Stogov
1c3ba95bb5
Refactored read_property() and read_dimension() handlers
2014-02-27 15:40:13 +04:00
Xinchen Hui
382b0dfdb7
Refactoring zend_iterator (incompleted)
2014-02-27 19:19:02 +08:00
Ferenc Kovacs
6dd8a4d4f0
Merge branch 'PHP-5.6'
...
* PHP-5.6:
fix tests broken by 633f898f15
2014-02-27 02:33:20 +01:00
Ferenc Kovacs
42a43d4531
Merge branch 'PHP-5.5' into PHP-5.6
...
* PHP-5.5:
fix tests broken by 633f898f15
2014-02-27 02:32:47 +01:00
Ferenc Kovacs
fd20278fa5
Merge branch 'PHP-5.4' into PHP-5.5
...
* PHP-5.4:
fix tests broken by 633f898f15
2014-02-27 02:32:07 +01:00
Ferenc Kovacs
bd961f3e87
fix tests broken by 633f898f15
2014-02-27 02:31:42 +01:00
Dmitry Stogov
495551aa8c
Fixed iterators API. zend_iterator_init() has to be used in each get_iterator() callback.
2014-02-26 15:01:08 +04:00
Dmitry Stogov
639e4e1afa
Changes zend_is_callable() to use zend_string* instead of char*
2014-02-25 16:03:34 +04:00
Xinchen Hui
595741f6ec
Fixed test fail in ext/standard/tests/serialize/bug64354_1.php
2014-02-25 17:58:01 +08:00
Xinchen Hui
71dac3d54f
Don't add_ref in add_*_str functions
2014-02-25 15:47:24 +08:00
Xinchen Hui
c0aba2c641
Refactor basename using zend_string
2014-02-23 18:08:35 +08:00
Dmitry Stogov
52bd62eca8
Fixed assertions
2014-02-21 20:35:40 +04:00
Xinchen Hui
c1c4d26817
Use better data structures (incomplete)
2014-02-19 17:58:39 +08:00
Xinchen Hui
43b03c74b3
Refacting smart_str
2014-02-18 17:42:46 +08:00
Dmitry Stogov
2b9b9afa7a
Use better data structures (incomplete)
2014-02-17 17:59:18 +04:00
Xinchen Hui
ad1838d248
Use better data structures (incomplete)
2014-02-16 22:27:31 +08:00
Xinchen Hui
f0168baecf
Use better data structures (incomplete)
2014-02-16 22:15:54 +08:00
Xinchen Hui
34aefa5604
Use better data structures (incomplete)
2014-02-15 23:21:09 +08:00
Xinchen Hui
6cb316cf5d
Use better data structures (incomplete)
2014-02-14 23:11:40 +08:00
Xinchen Hui
068ec75f8b
Use better data structures (incomplete)
2014-02-14 17:05:04 +08:00
Dmitry Stogov
6306918ed2
Use better data structures (incomplete)
2014-02-12 23:54:04 +04:00
Dmitry Stogov
7a9348f45d
Reverted zval_clear() and zval_release() back to zval_ptr_dtor()
2014-02-12 22:51:19 +04:00
Xinchen Hui
d3954f16d3
Use better data structures (incomplete) -- stash for today work
2014-02-12 22:15:08 +08:00
Dmitry Stogov
4e66abad54
Use better data structures (incomplete) - refactored return_value handling
2014-02-12 14:29:51 +04:00
Xinchen Hui
3f4c877bf7
Use better data structures (incomplete)
2014-02-11 19:33:18 +08:00
Dmitry Stogov
f4cfaf36e2
Use better data structures (incomplete)
2014-02-10 10:04:30 +04:00
Xinchen Hui
0f53e37494
Merge branch 'PHP-5.6'
2014-01-03 11:09:07 +08:00
Xinchen Hui
c081ce628f
Bump year
2014-01-03 11:08:10 +08:00
Xinchen Hui
47c9027772
Bump year
2014-01-03 11:06:16 +08:00
Xinchen Hui
c0d060f5c0
Bump year
2014-01-03 11:04:26 +08:00
Dmitry Stogov
65fd18fd88
Merge branch 'PHP-5.6'
...
* PHP-5.6:
Improved empty string handling. Now ZE uses an interned string instead of allocation new empty string each time. (Some extensions might need to be fixed using str_efree() instead of efree() to support interned strings).
Conflicts:
NEWS
Zend/zend_extensions.h
Zend/zend_modules.h
2013-12-26 14:51:05 +04:00
Dmitry Stogov
03a37de9b3
Improved empty string handling. Now ZE uses an interned string instead of allocation new empty string each time. (Some extensions might need to be fixed using str_efree() instead of efree() to support interned strings).
2013-12-26 14:47:13 +04:00
Kalle Sommer Nielsen
d14670ccdb
Eliminate another TSRMLS_FETCH() in i_zend_is_true()
...
# Affected extensions have all been updated, ext/opcache and ext/zip
# both have macros for cross version compatibility
2013-12-18 07:25:05 +01:00
Dmitry Stogov
0f39089384
Merge branch 'PHP-5.5' into PHP-5.6
...
* PHP-5.5:
Fixed tests
2013-12-02 12:05:29 +04:00
Dmitry Stogov
2f5ab04c5f
Merge branch 'PHP-5.4' into PHP-5.5
...
* PHP-5.4:
Fixed tests
2013-12-02 12:04:07 +04:00
Dmitry Stogov
edbefd1d5c
Fixed tests
2013-12-02 11:53:35 +04:00
Ferenc Kovacs
91108818e1
Merge branch 'PHP-5.4' into PHP-5.5
...
Conflicts:
ext/spl/tests/SplFileObject_rewind_error001.phpt
2013-11-06 10:46:34 +01:00
ptarjan
9c1e1bbc05
fix many parallel test issues
...
While running these on HHVM I've run into a lot of parallelism issues.
I'm backporting all the fixes I had to do in
https://github.com/facebook/hiphop-php/blob/master/hphp/tools/import_zend_test.py#L650
to php core.
Most of these changes were just filenames that were shared between
tests, but I did more surgery on the fixed ports. I can apreciate port
31337 as much as the next nerd, but random ports are better for tests.
2013-11-06 10:31:47 +01:00
Christopher Jones
c439ac6c35
Cleanup temp test file
2013-11-06 10:31:35 +01:00
Levi Morrison
7f3b5b77cc
Standardized usage of zpp_none and the order of the comparison zpp(...) == FAILURE
2013-10-11 10:32:40 -06:00
Sara Golemon
92fe33c570
Merge branch 'pull-request/473'
2013-09-26 13:24:08 -07:00
Nikita Popov
0d7a638866
Implement variadic function syntax
...
As per RFC: https://wiki.php.net/rfc/variadics
2013-09-26 18:39:17 +02:00
ptarjan
ecbe4af0de
fix many parallel test issues
...
While running these on HHVM I've run into a lot of parallelism issues.
I'm backporting all the fixes I had to do in
https://github.com/facebook/hiphop-php/blob/master/hphp/tools/import_zend_test.py#L650
to php core.
Most of these changes were just filenames that were shared between
tests, but I did more surgery on the fixed ports. I can apreciate port
31337 as much as the next nerd, but random ports are better for tests.
2013-09-26 00:30:23 -07:00
David Soria Parra
dc7015d4e4
Merge branch 'PHP-5.5'
...
* PHP-5.5:
Revert "EmptyIterator now implements Countable; fixes bug 60577"
2013-09-18 15:06:58 +02:00
David Soria Parra
94e4c4df86
Merge branch 'PHP-5.4' into PHP-5.5
...
* PHP-5.4:
Revert "EmptyIterator now implements Countable; fixes bug 60577"
2013-09-18 15:06:51 +02:00
David Soria Parra
7a24ee13ec
Revert "EmptyIterator now implements Countable; fixes bug 60577"
...
This reverts commit 8a936e8eb9
.
2013-09-18 15:06:36 +02:00
Michael Wallner
6866b45a48
fix test concurrency
2013-09-18 10:52:35 +02:00
David Soria Parra
ca75e6f760
Merge branch 'PHP-5.5'
...
* PHP-5.5:
NEWS for #60577
NEWS for bug #64441
Fix bug #64441 (FILTER_VALIDATE_URL rejects fully qualified domain names)
EmptyIterator now implements Countable; fixes bug 60577
News for bugfix #64157
Bug 64157 Changed error message to make sense
2013-09-16 23:36:48 +02:00
David Soria Parra
3d6ac70e66
Merge branch 'PHP-5.4' into PHP-5.5
...
* PHP-5.4:
NEWS for #60577
NEWS for bug #64441
Fix bug #64441 (FILTER_VALIDATE_URL rejects fully qualified domain names)
EmptyIterator now implements Countable; fixes bug 60577
News for bugfix #64157
Bug 64157 Changed error message to make sense
2013-09-16 23:36:37 +02:00
Levi Morrison
8a936e8eb9
EmptyIterator now implements Countable; fixes bug 60577
...
(cherry picked from commit 6398844c86bee08abe4ee3f206ecd86ad0a498f9)
2013-09-16 04:04:53 +02:00
Nikita Popov
5350b9957a
Merge branch 'PHP-5.5'
2013-09-12 23:30:40 +02:00
Levi Morrison
d76959a3b9
Fixed minor bug in test.
2013-09-12 23:29:52 +02:00
Nikita Popov
64ee0cde5d
Merge branch 'PHP-5.5'
2013-09-12 17:49:28 +02:00
Nikita Popov
ad976d8240
Fix bug #64782 : SplFileObject constructor make $context optional
2013-09-12 17:46:14 +02:00
Christopher Jones
3c166c4758
Merge branch 'PHP-5.5'
...
* PHP-5.5:
Reduce (some) compile noise of 'unused variable' and 'may be used uninitialized' warnings.
Conflicts:
ext/gmp/gmp.c
2013-08-14 20:47:00 -07:00
Christopher Jones
39612afc72
Merge branch 'PHP-5.4' into PHP-5.5
...
* PHP-5.4:
Reduce (some) compile noise of 'unused variable' and 'may be used uninitialized' warnings.
Conflicts:
ext/dba/libinifile/inifile.c
2013-08-14 20:43:25 -07:00
Christopher Jones
9ad97cd489
Reduce (some) compile noise of 'unused variable' and 'may be used uninitialized' warnings.
2013-08-14 20:36:50 -07:00
Michael Wallner
14caf174ff
unify stdint type usage
...
if you need C99 stdint types, just include "php_stdint.h"
2013-08-06 22:49:56 +02:00
Stanislav Malyshev
e4f9619fad
fix compiler warning, use longs for hashes
2013-08-04 18:04:45 -07:00
Stanislav Malyshev
c793a65690
Merge branch 'PHP-5.4' into PHP-5.5
...
* PHP-5.4:
non living code related typo fixes
Conflicts:
Zend/zend_compile.c
2013-08-04 16:06:24 -07:00
Veres Lajos
8d86597d73
non living code related typo fixes
2013-08-04 16:05:36 -07:00
Rasmus Lerdorf
3d0aca80f2
Merge commit 'e55f08a' into PHP-5.5
...
* commit 'e55f08a':
This test will only work if gc is enabled
2013-08-02 12:01:12 -04:00
Rasmus Lerdorf
e55f08a5ae
This test will only work if gc is enabled
2013-08-02 12:00:48 -04:00
Xinchen Hui
9126909c08
Merge branch 'PHP-5.4' into PHP-5.5
2013-07-25 22:44:19 +08:00
Xinchen Hui
9909c4d4c4
Fixed bug #65328 (Segfault when getting SplStack object Value)
2013-07-25 22:43:41 +08:00
Adam Harvey
f9000fde98
Expand the ZEND_STRL macro to handle platforms where strncmp() is a macro.
...
On most platforms, this works fine, but on Linux armhf, strncmp() is a macro
rather than a real function, ergo the macro expansion of ZEND_STRL doesn't
occur until after the compiler knows it needs three parameters for strncmp()
and we get a compile error.
Fixes the fix for bug #61697 .
2013-07-23 11:15:43 -07:00
Stanislav Malyshev
83ced9124e
Fix bug #61697 - spl_autoload_functions returns lambda functions incorrectly
2013-07-21 22:47:10 -07:00
Joshua Thijssen
5027fa79d7
Added recursivetreeiterator::setPostfix() method
2013-07-21 22:20:58 -07:00
Stanislav Malyshev
68e630b72f
Merge branch 'PHP-5.4' into PHP-5.5
...
* PHP-5.4:
fix invalid variable name at ext/spl/internal/multipleiterator.inc (key() method, too)
fix invalid variable name at ext/spl/internal/multipleiterator.inc
2013-07-15 00:36:35 -07:00
sasezaki
e617679c0b
fix invalid variable name at ext/spl/internal/multipleiterator.inc (key() method, too)
2013-07-15 00:36:29 -07:00
kazusuke sasezaki
76775a3aa7
fix invalid variable name at ext/spl/internal/multipleiterator.inc
2013-07-15 00:36:19 -07:00
Veres Lajos
e9a95d78ef
typo fixes
2013-07-15 00:23:03 -07:00
Veres Lajos
72085b0e5f
typo fixes
2013-07-15 00:18:57 -07:00
Christopher Jones
3478ddc1f0
Cleanup temp test file
2013-07-10 11:17:52 -07:00
Adam Harvey
3becd3879f
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).
2013-06-28 13:50:33 -07:00
Xinchen Hui
c2cfc242c4
Merge branch 'PHP-5.4' into PHP-5.5
2013-06-27 12:38:13 +08:00
Xinchen Hui
fa8611c81e
Fixed bug #65136 (RecursiveDirectoryIterator segfault)
2013-06-27 12:37:57 +08:00
Felipe Pena
f5bf90ef34
Merge branch 'PHP-5.4' into PHP-5.5
...
* PHP-5.4:
- Fixed bug #62672 (Error on serialize of ArrayObject) patch by: lior dot k at zend dot com
- BFN
2013-06-25 21:18:34 -03:00
Felipe Pena
04db57066d
- Fixed bug #62672 (Error on serialize of ArrayObject) patch by: lior dot k at zend dot com
2013-06-25 21:18:09 -03:00
Xinchen Hui
9d9ec2a90e
Merge branch 'PHP-5.4' into PHP-5.5
2013-06-25 13:38:50 +08:00
Xinchen Hui
38eb909d06
Fixed Bug #61828 (Memleak when calling Directory(Recursive)Iterator/Spl(Temp)FileObject ctor twice)
2013-06-25 13:38:27 +08:00
Stanislav Malyshev
af5e2eaf8d
Merge branch 'pull-request/320'
...
* pull-request/320:
this is test 5 not 6
fix race condition
more shared names that create race conditions
change to a unique filename
more shared filenames
yet another shared filename
don't share a filename to stop race conditions
fix race condition for 2-4 and normalize names for others
fix race condition when running tests in parallel
clean up after test
Fix #64572 : Clean up after the test
Fix #64572 : Clean up after the test
2013-06-17 01:06:20 -07:00
Stanislav Malyshev
6b896fa57f
Merge branch 'pull-request/320'
...
* pull-request/320:
this is test 5 not 6
fix race condition
more shared names that create race conditions
change to a unique filename
more shared filenames
yet another shared filename
don't share a filename to stop race conditions
fix race condition for 2-4 and normalize names for others
fix race condition when running tests in parallel
clean up after test
Fix #64572 : Clean up after the test
Fix #64572 : Clean up after the test
2013-06-17 01:06:01 -07:00
Stanislav Malyshev
02e4d7a290
Merge branch 'pull-request/341'
...
* pull-request/341: (23 commits)
typofixes
2013-06-10 14:30:59 -07:00
Stanislav Malyshev
ac40c0b562
Merge branch 'pull-request/341'
...
* pull-request/341: (23 commits)
typofixes
2013-06-10 14:20:18 -07:00
Xinchen Hui
3f229f4364
Merge branch 'PHP-5.4' into PHP-5.5
2013-06-09 22:25:49 +08:00
Xinchen Hui
f338510c94
Merge branch 'PHP-5.3' into PHP-5.4
2013-06-09 22:25:07 +08:00
Xinchen Hui
75c57122e3
Fixed bug #64997 (Segfault while using RecursiveIteratorIterator on 64-bits systems)
2013-06-09 22:24:48 +08:00
Xinchen Hui
da6916a770
fix memory leak
...
the value shouldn't be ref, use z_add_ref is enough
2013-03-21 10:58:58 +08:00
Anatol Belski
b3d82845db
fix C89 compat
2013-03-19 15:13:27 +01:00
Mark Baker
4257469079
Fix #48358 add() method for SplDoublyLinkedLis
2013-03-19 14:46:21 +01:00
Etienne Kneuss
b46897941a
Merge branch 'PHP-5.4' into PHP-5.5
...
* PHP-5.4:
Remove spurious int cast in between two longs
2013-03-16 18:20:16 +01:00
Etienne Kneuss
5de1b08482
Merge branch 'PHP-5.3' into PHP-5.4
...
* PHP-5.3:
Remove spurious int cast in between two longs
2013-03-16 18:20:06 +01:00
Etienne Kneuss
62364e6e01
Remove spurious int cast in between two longs
2013-03-16 18:19:14 +01:00
Xinchen Hui
c1cf7538f0
Fixed test after nick previous fix
2013-03-16 23:16:32 +08:00
Nikita Popov
28634bf603
Forgot to remove some now unused variables
2013-03-12 17:39:20 +01:00
Nikita Popov
fcc6611de9
Add support for non-scalar Iterator keys in foreach
...
RFC: https://wiki.php.net/rfc/foreach-non-scalar-keys
2013-03-12 17:27:31 +01:00
Stanislav Malyshev
207d0ee08a
Merge branch 'PHP-5.4' into PHP-5.5
...
* PHP-5.4:
Bug #52861 : unset fails with ArrayObject and deep arrays
2013-02-26 22:13:01 -08:00
Stanislav Malyshev
7c08232509
Merge branch 'PHP-5.3' into PHP-5.4
...
* PHP-5.3:
Bug #52861 : unset fails with ArrayObject and deep arrays
2013-02-26 22:12:36 -08:00
Mike Willbanks
61099f8585
Bug #52861 : unset fails with ArrayObject and deep arrays
...
When checking to make into a reference write, readwrite are checked but not unset
2013-02-26 22:11:52 -08:00
Xinchen Hui
e75804c34e
Merge branch 'PHP-5.4' into PHP-5.5
2013-02-24 12:59:10 +08:00
Xinchen Hui
d24ac6953e
Merge branch 'PHP-5.3' into PHP-5.4
...
Conflicts:
ext/spl/spl_fixedarray.c
2013-02-24 12:58:39 +08:00
Xinchen Hui
1b58bd39a6
Fixed bug #64264 (SPLFixedArray toArray problem)
2013-02-24 12:55:53 +08:00
Stanislav Malyshev
0c6d903ce7
fix bug #49348 - issue notice on get_property_ptr_ptr when used for read
2013-02-18 20:56:02 -08:00
Xinchen Hui
d3291de51a
Merge branch 'PHP-5.4' into PHP-5.5
2013-02-17 11:06:33 +08:00
Xinchen Hui
263accb626
Merge branch 'PHP-5.3' into PHP-5.4
2013-02-17 11:05:34 +08:00
Xinchen Hui
01ae5c3c2f
Fixed bug #64228 (RecursiveDirectoryIterator always assumes SKIP_DOTS)
2013-02-17 11:04:36 +08:00
Nikita Popov
f540e086e2
Fixed bug #64106 : Segfault on SplFixedArray[][x] = y when extended
2013-01-30 20:40:02 +01:00
Nikita Popov
bb4d11b405
Merge branch 'PHP-5.3' into PHP-5.4
2013-01-30 20:25:59 +01:00
Nikita Popov
321f4f18e5
Fixed bug #64106 : Segfault on SplFixedArray[][x] = y when extended
2013-01-30 20:23:39 +01:00
Gustavo Lopes
fc7b054c2d
Merge branch 'PHP-5.4' into PHP-5.5
...
* PHP-5.4:
Fix bug #64023 (__toString() & SplFileInfo)
2013-01-23 13:24:50 +01:00
Gustavo Lopes
b8b3bb08b2
Merge branch 'bug64023' into PHP-5.4
...
* bug64023:
Fix bug #64023 (__toString() & SplFileInfo)
Conflicts:
Zend/zend_vm_def.h
Zend/zend_vm_execute.h
2013-01-22 12:24:33 +01:00
Gustavo Lopes
aa0adce47d
Fix bug #64023 (__toString() & SplFileInfo)
...
Defining a __toString() method was having no effect when concatenating
the object. This was because the cast_object() handler would ignore
__toString().
Using echo() directly would actually use __toString(), but this was a
bug: the ECHO handler would try zend_std_cast_object_tostring() before
cast_object(), but cast_object() should have priority as
zend_std_cast_object_tostring() assumes an object with a
zend_class_entry.
2013-01-22 11:33:29 +01:00
Stanislav Malyshev
deeacc7106
Merge branch 'PHP-5.4' into PHP-5.5
...
* PHP-5.4:
fix bug #63462 (Magic methods called twice for unset protected properties)
NEWS for bug #64011 . See 77ee200
Fix bug #64011 (get_html_translation_table())
Fix News
Update the arguments in the prototype of fpm_socket_unix_test_connect().
fixed build
NEWS for bug #63893
Fixed inconsequential bug in strtr()
Revert "Apply the fputcsv test fix to SplFileObject_fputcsv.phpt. Mea culpa."
Revert "Update fputcsv() to escape all characters equally."
Remove _GNU_SOURCE, add local heap sort
The compiler can figure this out
Remove unused block
strtr() with 2nd param array - optimization
Refactoring, bugs & leaks
Optimize strtr w/ 2nd arg array
2013-01-18 13:42:04 -08:00
Adam Harvey
83864b470b
Revert "Apply the fputcsv test fix to SplFileObject_fputcsv.phpt. Mea culpa."
...
This reverts commit 0510701474
.
2013-01-15 17:37:21 +08:00
Adam Harvey
8bf937f9bf
Merge branch 'PHP-5.4' into PHP-5.5
...
* PHP-5.4:
Apply the fputcsv test fix to SplFileObject_fputcsv.phpt. Mea culpa.
2013-01-15 15:50:57 +08:00
Adam Harvey
0510701474
Apply the fputcsv test fix to SplFileObject_fputcsv.phpt. Mea culpa.
2013-01-15 15:49:52 +08:00
Xinchen Hui
a666285bc2
Happy New Year
2013-01-01 16:37:09 +08:00
Xinchen Hui
0a7395e009
Happy New Year
2013-01-01 16:28:54 +08:00
Xinchen Hui
a2045ff332
Happy New Year~
2013-01-01 16:02:16 +08:00
Xinchen Hui
4d2593e1be
Merge branch 'PHP-5.4' into PHP-5.5
2012-12-13 10:45:33 +08:00
Xinchen Hui
1f516510b7
Merge branch 'PHP-5.3' into PHP-5.4
2012-12-13 10:44:56 +08:00
Xinchen Hui
39a3007ab2
MFH
2012-12-13 10:44:14 +08:00
Dmitry Stogov
bc7857169a
Merge branch 'PHP-5.4' into PHP-5.5
...
* PHP-5.4:
Use get_gc instead of hacks of get_properties
2012-12-05 17:59:46 +04:00
Dmitry Stogov
df97c3aa0d
Use get_gc instead of hacks of get_properties
2012-12-05 17:58:36 +04:00
Dmitry Stogov
274ceb3d8d
Merge branch 'PHP-5.4' into PHP-5.5
...
* PHP-5.4:
Fixed bug #63680 (Memleak in splfixedarray with cycle reference)
Conflicts:
NEWS
2012-12-05 17:55:21 +04:00
Dmitry Stogov
881416cda6
Fixed bug #63680 (Memleak in splfixedarray with cycle reference)
2012-12-05 17:53:26 +04:00
Ferenc Kovacs
240f8d06de
commented out the HHC_LOCATION line, as there are no easy to use alternatives for
...
hhc.exe on linux.
we should either run the chm build on a windows box(maybe on the replacement of oti1),
or look into running it through wine see
http://cweiske.de/tagebuch/Generating%20CHM%20files%20with%20Wine%20on%20a%20Linux%20server,%20and%20a%20bit%20about%20PEAR's%20PhD%20transition.htm
for details.
I also set DOT_CLEANUP to NO as the doc generation was spitting out errors regarding some dot
file cannot be found.
2012-10-25 17:11:13 +02:00
Xinchen Hui
1b9e0de2cc
Remove executable permission on inc
2012-10-10 10:44:34 +08:00
Xinchen Hui
610c7fbe7b
Remove executable permission on phpt
2012-10-10 10:27:49 +08:00
Xinchen Hui
6284ef112e
Fixed bug #63236 (Executable permission on various source files)
2012-10-09 13:28:31 +08:00
Xinchen Hui
69a4301f6c
Merge branch 'PHP-5.3' into PHP-5.4
2012-10-10 10:45:07 +08:00
Xinchen Hui
e081c55fb5
Merge branch 'PHP-5.3' into PHP-5.4
2012-10-10 10:31:31 +08:00
Xinchen Hui
e4a8fa6a15
Merge branch 'PHP-5.3' into PHP-5.4
2012-10-09 13:29:51 +08:00
Xinchen Hui
139ac42bec
Fixed bug #63184 test (ext/spl/tests/RecursiveDirectoryIterator_getSubPathname_basic.phpt failed)
2012-10-01 22:42:22 +08:00
Xinchen Hui
175a9de47f
Fix test
2012-10-01 00:15:47 +08:00
Xinchen Hui
4e5e8c9da0
Merge branch 'PHP-5.4'
2012-10-10 10:45:34 +08:00
Xinchen Hui
4b152e5470
Merge branch 'PHP-5.4'
2012-10-10 10:32:38 +08:00
Xinchen Hui
75a2c0d715
Merge branch 'PHP-5.4'
2012-10-09 13:30:22 +08:00
Xinchen Hui
a81d431068
Merge branch 'PHP-5.4'
2012-10-01 22:45:15 +08:00
Xinchen Hui
f8d1fc62fa
Merge branch 'PHP-5.4'
2012-10-01 00:17:11 +08:00
Xinchen Hui
d6ca1c9b9a
Merge branch 'PHP-5.4'
2012-09-29 14:39:59 +08:00
Xinchen Hui
36c10242cd
Remove meaningless md5 string && Attempt to fix #63184
2012-09-29 14:38:29 +08:00
Anatoliy Belsky
87df717909
Merge branch 'PHP-5.4'
...
* PHP-5.4:
fix unix/win dir separators
2012-09-27 19:54:12 +02:00
Anatoliy Belsky
6a50a8640c
fix unix/win dir separators
2012-09-27 19:52:34 +02:00
Lars Strojny
6793e09a4e
Merge branch 'PHP-5.4'
2012-09-18 23:17:31 +02:00
Lars Strojny
ee172ce3cc
Merging PR #116
2012-09-18 23:15:03 +02:00
Xinchen Hui
7b5960b085
Merge branch 'PHP-5.4'
2012-09-01 14:38:33 +08:00
Xinchen Hui
f3108b5f81
Remove extra blank in notice message, should act as same as vm
2012-09-01 14:37:45 +08:00
Xinchen Hui
59e34bad32
Merge branch 'PHP-5.4'
2012-09-01 14:27:59 +08:00
Xinchen Hui
863e7e0acb
Merge branch 'PHP-5.3' into PHP-5.4
...
Conflicts:
ext/spl/spl_array.c
2012-09-01 14:27:09 +08:00
Xinchen Hui
67d7d03f00
Fixed bug #62987 (Assigning to ArrayObject[null][something] overrides all undefined variables)
...
The get_zval_ptr_ptr of spl_array handler should act as same as the vm's
2012-09-01 14:21:34 +08:00
Xinchen Hui
a3d701e11c
Merge branch 'PHP-5.4'
2012-08-23 23:28:24 +08:00
Xinchen Hui
13bcf685cb
Fixed bug #62904 (Crash when cloning an object which inherits SplFixedArray)
2012-08-23 23:27:16 +08:00
Xinchen Hui
42f91d6ac6
Fixed bug #62904 (Crash when cloning an object which inherits SplFixedArray)
2012-08-23 23:21:25 +08:00
Xinchen Hui
546b0e4a99
Merge branch 'PHP-5.4'
2012-08-21 13:33:23 +08:00
Xinchen Hui
8722173ad5
Implemented FR #62840 (Add sort flag to ArrayObject::ksort)
2012-08-21 13:32:15 +08:00
Felipe Pena
9ad748edfb
Merge branch 'PHP-5.4'
...
* PHP-5.4:
- Value stored to var is never used
2012-08-19 12:55:46 -03:00
Felipe Pena
2497bb97e7
Merge branch 'PHP-5.3' into PHP-5.4
...
* PHP-5.3:
- Value stored to var is never used
2012-08-19 12:55:43 -03:00
Felipe Pena
6cd0e446dd
- Value stored to var is never used
2012-08-19 12:55:38 -03:00
Xinchen Hui
e51acee43d
Merge branch 'PHP-5.4'
2012-08-13 11:04:05 +08:00
Xinchen Hui
212cfb95d1
more test script for #62328
2012-08-13 11:03:35 +08:00
Xinchen Hui
777b6679a4
missed the test script
2012-07-21 23:30:32 +08:00
Xinchen Hui
cc30524c89
Fixed bug #62616 (ArrayIterator::count() from IteratorIterator instance gives Segmentation fault)
2012-07-21 23:26:18 +08:00
Xinchen Hui
a580405f38
Merge branch 'PHP-5.4'
...
* PHP-5.4:
Fixed bug #62616 (ArrayIterator::count() from IteratorIterator instance gives Segmentation fault)
2012-07-21 22:46:14 +08:00
Xinchen Hui
0c996613c0
Fixed bug #62616 (ArrayIterator::count() from IteratorIterator instance gives Segmentation fault)
2012-07-21 22:45:16 +08:00
Xinchen Hui
8238c6a4c8
test script for bug #61697
2012-07-18 19:19:31 +08:00
Stanislav Malyshev
e84c5be631
Merge branch 'PHP-5.4'
...
* PHP-5.4:
Fixed bug #61527 (Recursive/ArrayIterator gives misleading notice when array empty or moved to the end)
2012-07-14 22:35:47 -07:00
Stanislav Malyshev
a5d45bae85
Fixed bug #61527 (Recursive/ArrayIterator gives misleading notice when array empty or moved to the end)
2012-07-14 22:34:28 -07:00
Stanislav Malyshev
455f3de802
Merge branch 'PHP-5.4'
...
* PHP-5.4:
removed unneccesary arrat and ini settings
addition SplFileObject tests
new tests from PHP TestFest June 2012
2012-07-14 19:25:16 -07:00
donnut
53ba768ed8
removed unneccesary arrat and ini settings
2012-07-14 19:22:03 -07:00
donnut
4539d799bb
addition SplFileObject tests
2012-07-14 19:21:50 -07:00
donnut
2cb7a678a1
new tests from PHP TestFest June 2012
2012-07-14 19:21:34 -07:00
Anatoliy Belsky
ed1f5b4dae
Merge branch 'PHP-5.4'
...
* PHP-5.4:
reverted news about #62477
reverted changes for #62477
Conflicts:
NEWS
2012-07-12 11:02:33 +02:00
Anatoliy Belsky
86428169d3
Merge branch 'PHP-5.3' into PHP-5.4
...
* PHP-5.3:
reverted changes for #62477
2012-07-12 10:57:26 +02:00
Anatoliy Belsky
ad7eeba3c1
reverted changes for #62477
2012-07-12 10:54:14 +02:00
Anatoliy Belsky
b530d6d790
Merge branch 'PHP-5.4'
...
* PHP-5.4:
Fixed bug #62477 LimitIterator int overflow
2012-07-11 22:30:40 +02:00
Anatoliy Belsky
40f8010a13
Merge branch 'PHP-5.3' into PHP-5.4
...
* PHP-5.3:
Fixed bug #62477 LimitIterator int overflow
2012-07-11 22:29:45 +02:00
Anatoliy Belsky
b383ddf1e5
Fixed bug #62477 LimitIterator int overflow
2012-07-11 22:25:31 +02:00