Nikita Popov
9070eb38e9
Fix detection of write to built-in function for references
2014-09-23 20:42:22 +02:00
Nikita Popov
231dcc94e8
Test use of string names with \ prefix
...
And drop piece of dead code
2014-09-23 20:36:00 +02:00
Nikita Popov
75533c9b23
Test a few more error conditions in the compiler
2014-09-23 00:57:00 +02:00
Nikita Popov
51119054ff
Test error conditions for ct class const refs
...
And fix a bug found while doing so...
2014-09-23 00:40:17 +02:00
Nikita Popov
c0c431b702
Test some additional cases for constexpr evaluation
2014-09-23 00:31:38 +02:00
Nikita Popov
f30f28ec47
Fix list() destructuring to special variables
2014-09-22 18:34:40 +02:00
Andrea Faulds
12b15e5ca4
Merge branch 'master' into integer_semantics
2014-09-21 00:29:48 +01:00
Nikita Popov
6219a4e844
Merge branch 'PHP-5.6'
...
Conflicts:
Zend/zend_compile.c
2014-09-20 21:58:06 +02:00
Nikita Popov
308c0a727e
Merge branch 'PHP-5.5' into PHP-5.6
2014-09-20 21:47:59 +02:00
Nikita Popov
5e977e69e1
Fixed bug #67633
2014-09-20 21:46:25 +02:00
Andrea Faulds
7f51d73bb2
Merge branch 'master' into integer_semantics
2014-09-17 20:15:32 +01:00
krakjoe
6967f78cc9
Merge branch 'pull-request/808'
2014-09-16 15:40:31 +01:00
Andrea Faulds
db72160e5a
Merge branch 'master' into integer_semantics
...
Conflicts:
Zend/zend_operators.h
2014-09-16 13:45:06 +01:00
Xinchen Hui
ae41536c4d
Add test script for the segfault in gc while run phpspec
2014-09-15 14:49:34 +08:00
Tjerk Meesters
b192ff155d
Merge branch 'PHP-5.6'
...
* PHP-5.6:
Fixed #67985 - Incorrect last used array index copied to new array after unset
Conflicts:
Zend/zend_variables.c
2014-09-09 19:32:09 +08:00
Tjerk Meesters
7e9daf60c1
Merge branch 'PHP-5.5' into PHP-5.6
...
* PHP-5.5:
Fixed #67985 - Incorrect last used array index copied to new array after unset
2014-09-09 18:03:10 +08:00
Tjerk Meesters
aca474fa14
Merge branch 'PHP-5.4' into PHP-5.5
...
* PHP-5.4:
Fixed #67985 - Incorrect last used array index copied to new array after unset
2014-09-09 18:00:49 +08:00
Tjerk Meesters
99f0760bfb
Fixed #67985 - Incorrect last used array index copied to new array after unset
...
In master zend_array_dup() is used to do this properly; this is a workaround.
2014-09-09 17:58:45 +08:00
Tjerk Meesters
47ac4612e9
Added test case to complement commit 29397f8
2014-09-06 18:57:03 +08:00
Levi Morrison
b476eca826
Error on multiple default blocks in a switch
...
Part of RFC: https://wiki.php.net/rfc/switch.default.multiple
2014-09-05 16:07:07 -06:00
Nuno Lopes
51ce4bd87c
add a few more patterns to .gitignore
2014-08-31 15:19:14 +01:00
Nikita Popov
c59292570c
Merge branch 'PHP-5.6'
...
Conflicts:
Zend/zend_compile.c
2014-08-30 20:45:10 +02:00
Nikita Popov
d7368c2531
Fix bug #67938 : Segfault when extending interface method with variadic
...
We only want to check extra optional args if the proto function is
variadic, not when we're adding extra variadic args.
2014-08-30 20:43:34 +02:00
Nikita Popov
ae7e663330
Fix bug #67922
2014-08-29 00:18:38 +02:00
Anatol Belski
bf84517b64
fix dir separator
2014-08-28 11:56:27 +02:00
Tjerk Meesters
a79b933384
Fixed corruption of execute_data when ZEND_STRLEN has to cast an object to string.
2014-08-27 23:00:11 +08:00
Andrea Faulds
17c5e82816
Merge branch 'master' into Closure_apply
2014-08-27 01:53:26 +01:00
Nikita Popov
49b4e12e54
Add backup_doc_comment production
...
Bison can't detect the type of a mid-rule action, even if it accesses
$<str>$, so need to create a separate rule for this.
2014-08-26 22:31:58 +02:00
Nikita Popov
6db293d5e0
Merge remote-tracking branch 'php-src/master' into ast
...
Conflicts:
Zend/zend_compile.c
Zend/zend_compile.h
Zend/zend_globals.h
Zend/zend_language_parser.y
Zend/zend_language_scanner.c
Zend/zend_language_scanner.l
Zend/zend_types.h
2014-08-25 21:52:18 +02:00
Tjerk Meesters
d1d0f55e22
Use %d instead of object id
2014-08-23 08:09:08 +08:00
Tjerk Meesters
32e8d0f03e
Fixed test case based on var_dump() changes made in c1965f58d4
2014-08-23 08:06:47 +08:00
Dmitry Stogov
b0a54673f4
Fixed wrong test. Value of the static property must not be changed to string.
2014-08-21 16:15:01 +04:00
Dmitry Stogov
cf09bc7825
Fixed bug #67874 (Crash in array_map())
2014-08-20 22:06:15 +04:00
Andrea Faulds
cb770cdc03
Cast NaN and Infinity to zero
2014-08-19 20:21:23 +01:00
Dmitry Stogov
f3106998b0
Improved error message
2014-08-18 21:47:30 +04:00
Dmitry Stogov
0f5bad93fd
Fixed bug #67856 (Leak when using array_reduce with by-ref function)
2014-08-18 21:08:50 +04:00
Nikita Popov
ced6d3068a
Merge branch 'master' into ast
2014-08-18 18:16:11 +02:00
Nikita Popov
26a9dc3e04
Fix bug #67858 : Leak when $php_errormsg already set
2014-08-18 18:14:19 +02:00
Nikita Popov
458f67cd21
Fix encoding declaration handling
...
As the encoding declaration influences lexing it needs to be
immidiately handled in the parser.
2014-08-18 16:27:53 +02:00
Andrea Faulds
594a768fef
Revert "Fixed closure::bindTo bad args test"
...
This reverts commit 668d0683cd .
2014-08-18 14:51:40 +01:00
Andrea Faulds
59010bff01
Don't allow unbound scoped closures; make ->call used passed object as scope
2014-08-17 23:47:47 +01:00
Andrea Faulds
e35c8ae13e
Merge branch 'master' into Closure_apply
...
Conflicts:
Zend/zend_closures.c
Zend/zend_closures.h
Zend/zend_execute_API.c
Zend/zend_vm_def.h
2014-08-17 17:20:02 +01:00
Nikita Popov
904a83a137
Merge remote-tracking branch 'php-src/master' into ast
...
Conflicts:
ext/opcache/Optimizer/optimize_func_calls.c
2014-08-16 22:31:13 +02:00
Nikita Popov
71675a4bf8
Merge remote-tracking branch 'php-src/phpng' into ast
...
Conflicts:
Zend/zend_ast.c
Zend/zend_compile.c
Zend/zend_language_parser.y
Incomplete merge!
2014-08-16 21:55:08 +02:00
Nikita Popov
919cb32f72
Fix memory usage test
...
Can't use peak memory usage because memory usage during compilation
is now larger
2014-08-15 17:44:15 +02:00
Dmitry Stogov
b01b971ec0
Parameters with duplicate names are not allowed anymore in PHP7.
2014-08-15 11:46:04 +04:00
Dmitry Stogov
ce1af1e47b
Fixed bug #67725 (now we create immutable arrays only in SHM)
2014-08-05 15:38:43 +04:00
Dmitry Stogov
7301994c28
Merge branch 'master' into phpng
...
* master: (46 commits)
PHP_INT_MIN and _MAX tests
NEWS and UPGRADING
Added PHP_INT_MIN
Fix wrong lenght size
Bug #51096 - Remove unnecessary ? for first/last day of
Moved streams related functions to xp_ssl.c
Remove duplicate NEWS
Update NEWS
Update NEWS
Update NEWS
BFN
BFN
Fixed bug #67715 (php-milter does not build and crashes randomly).
We need to turn off any strict mode here for this warning to show up
Disable restrictions regarding arrays in constants at run-time. For the discussion around it, see the thread on the mailing list: http://www.mail-archive.com/internals@lists.php.net/msg68245.html
Revert "Fix bug #67064 in a BC safe way"
Updated NEWS for #67693
Updated NEWS for #67693
Fixed bug #67693 - incorrect push to the empty array
add missing entry to NEWS
...
Conflicts:
Zend/tests/errmsg_040.phpt
Zend/tests/ns_059.phpt
Zend/zend_language_parser.y
Zend/zend_vm_def.h
ext/openssl/openssl.c
ext/reflection/php_reflection.c
ext/session/session.c
ext/spl/spl_directory.c
ext/spl/spl_iterators.c
ext/sqlite3/sqlite3.c
ext/standard/array.c
2014-08-04 13:56:27 +04:00
Andrea Faulds
668d0683cd
Fixed closure::bindTo bad args test
2014-08-03 14:48:14 +01:00
Andrea Faulds
a748f454a8
Merge branch 'master' into Closure_apply
2014-08-01 17:02:11 +01:00