Sara Golemon
49a7be0697
Implement FIPS 180-4 algos: sha512/256 and sha512/224
These algorithms are simple extensions to the existing sha512 algo
using different initialization vectors and producing truncated output.
10 years ago
Sara Golemon
7594fd0cfa
Check in generated lexer
This should have been included with my previous diff implementing octal overflow warning.
Ooops.
10 years ago
Sara Golemon
95af467d8d
Raise compiler warning on octal overflow
Addresses https://bugs.php.net/bug.php?id=71994
10 years ago
Dmitry Stogov
8462b353d0
Added news entries
10 years ago
Dmitry Stogov
be071702b3
Fixed bug #72188 (Nested try/finally blocks losing return value)
10 years ago
Dmitry Stogov
e9c3f9fcde
Fixed bug #72177 (Scope issue in __destruct after ReflectionProperty::setValue())
10 years ago
Joe Watkins
ee8f402af8
fix 1f52a03082
10 years ago
Joe Watkins
1f52a03082
fix #72180 (Env variables incorrectly pretty printed in config.nice, phpinfo)
10 years ago
Dmitry Stogov
ccf18da450
Eliminated checks for (func->op_array.fn_flags & ZEND_ACC_GENERATOR) in fast path of DO_FCALL* handlers.
This slightly improves calls to regular function and method calls in cost of a bit slower generator initialization.
Separate call frame for generators, allocated on heap, now created by ZEND_GENERATOR_CREATE instruction.
10 years ago
Nikita Popov
b5bdb40cb5
Fix phi placement for pi targets
If the pi target has multiple predecessors, we need to place a
phi there. However it's not possible to express this in terms of
dominance frontiers, so we need to explicitly add it to the phi
set.
This does not yet solve the problem of non-minimal SSA for the
case where the target has multiple predecessors, but dominates
all predecessors (apart from the one creating the pi) -- but
that's an existing issue.
10 years ago
Nikita Popov
b1c3c9a525
Explicitly construct phi set during def propagation
Previously the phi set was first computed during def propagation
and then computed again (per-block) during actual phi placement.
This commit changes this to store the phi set computed during
def propagation.
This makes SSA construction slightly faster (5%), but the main
purpose here is to pave the way for the next commit.
This also fixes a potential issue with the handling of irreducible
loops -- they generated additional phis, but these were not
accounted for in def propagation. (Though I'm not sure if we can
even have any irreducible loops right now.)
10 years ago
Anatol Belski
aea0d577f9
Merge branch 'PHP-7.0'
* PHP-7.0:
fix dir separator in test
10 years ago
Anatol Belski
f751b1ceaf
fix dir separator in test
10 years ago
Dmitry Stogov
4652fe18c7
Removed useless code
10 years ago
Anatol Belski
468b2e673f
Merge branch 'PHP-7.0'
* PHP-7.0:
update NEWS
10 years ago
Anatol Belski
d33f258495
update NEWS
10 years ago
Anatol Belski
ed2ec7be80
Merge branch 'PHP-7.0'
* PHP-7.0:
workaround the extra new line in the test out on another env
10 years ago
Dmitry Stogov
7b94b958cc
Intern some known (and offten used) strings.
10 years ago
Anatol Belski
9f50bb5bfa
workaround the extra new line in the test out on another env
10 years ago
Anatol Belski
00390449c6
Merge branch 'PHP-7.0'
* PHP-7.0:
Fixed bug #72197 pg_lo_create arbitrary read
10 years ago
Anatol Belski
7f6e285430
Fixed bug #72197 pg_lo_create arbitrary read
10 years ago
Xinchen Hui
5ddb01ce42
Merge branch 'PHP-7.0'
* PHP-7.0:
Added NEWS entry missed while doing merge
10 years ago
Xinchen Hui
3797e570b2
Added NEWS entry missed while doing merge
10 years ago
Xinchen Hui
28f35c1799
Merge branch 'PHP-7.0'
* PHP-7.0:
Committed by accident
10 years ago
Xinchen Hui
92828ae204
Committed by accident
10 years ago
Xinchen Hui
d1926742aa
Merge branch 'PHP-7.0' of git.php.net:/php-src into PHP-7.0
* 'PHP-7.0' of git.php.net:/php-src:
Fix serializing ZEND_AST_SHELL_EXEC
add missing NEWS entry
prepare for 5.6.22RC1
add missing NEWS entry
10 years ago
Xinchen Hui
8fd92e0518
Merge branch 'PHP-7.0'
* PHP-7.0:
Fixed bug #72195 (pg_pconnect/pg_connect cause use-after-free)
10 years ago
Xinchen Hui
3c0341e6f9
Fixed bug #72195 (pg_pconnect/pg_connect cause use-after-free)
10 years ago
Sara Golemon
8523b1f8ed
Merge branch 'PHP-7.0'
* PHP-7.0:
Fix serializing ZEND_AST_SHELL_EXEC
10 years ago
Sara Golemon
a73b03edea
Fix serializing ZEND_AST_SHELL_EXEC
Currently, `foo` is reserialized as `'foo'` due to misuse of zend_ast_export().
ZEND_AST_SHELL_EXEC can only contain ZEND_AST_ZVAL(string) or ZEND_AST_ENCAPS_LIST,
so just handle the ZEND_AST_ZVAL(string) case directly.
10 years ago
Dmitry Stogov
8a7a913a7a
Use main VM stack for generators. Only single call frame for generator itself is allocated on heap, call frames for nested functions are allocated on main VM stack. In case "yield" used in context of another function call, call stack has to be frozen and then restored.
10 years ago
Ferenc Kovacs
9ffbd644c4
Merge branch 'PHP-7.0'
* PHP-7.0:
add missing NEWS entry
prepare for 5.6.22RC1
add missing NEWS entry
10 years ago
Ferenc Kovacs
414eb83460
add missing NEWS entry
10 years ago
Ferenc Kovacs
edcc97df39
Merge branch 'PHP-5.6' into PHP-7.0
* PHP-5.6:
prepare for 5.6.22RC1
add missing NEWS entry
10 years ago
Ferenc Kovacs
0815f7f755
prepare for 5.6.22RC1
10 years ago
Ferenc Kovacs
89e4862e5f
add missing NEWS entry
10 years ago
Dmitry Stogov
515a61069a
Added test
10 years ago
Xinchen Hui
904ea128ee
Merge branch 'PHP-7.0'
* PHP-7.0:
Fixed Bug #72193 (dns_get_record returns array containing elements of type 'unknown')
10 years ago
Xinchen Hui
df404e2e0e
Fixed Bug #72193 (dns_get_record returns array containing elements of type 'unknown')
10 years ago
Xinchen Hui
233562c2da
Merge branch 'PHP-7.0'
* PHP-7.0:
Fixed bug #71573 (Segfault (core dumped) if paramno beyond bound)
10 years ago
Xinchen Hui
66ad4fc393
Fixed bug #71573 (Segfault (core dumped) if paramno beyond bound)
10 years ago
Derick Rethans
1c49a9fa71
Merge branch 'PHP-7.0'
10 years ago
Derick Rethans
c35bd4861d
Allow for special case for the opcache zend extension
10 years ago
Anatol Belski
208c28f152
Merge branch 'PHP-7.0'
* PHP-7.0:
fix handle leak
10 years ago
Anatol Belski
0718aa5833
Merge branch 'PHP-5.6' into PHP-7.0
* PHP-5.6:
fix handle leak
10 years ago
Anatol Belski
6b63d80a7a
fix handle leak
10 years ago
Dmitry Stogov
13ea086945
Merge branch 'PHP-7.0'
* PHP-7.0:
The "flock" structure has to be writable on AIX.
10 years ago
Dmitry Stogov
f7372f648f
Merge branch 'PHP-5.6' into PHP-7.0
* PHP-5.6:
The "flock" structure has to be writable on AIX.
10 years ago
Dmitry Stogov
90f43caf5b
The "flock" structure has to be writable on AIX.
10 years ago
Anatol Belski
fd0731f09c
Merge branch 'PHP-7.0'
* PHP-7.0:
prepare next 7.0.8
10 years ago