Aaron Piotrowski
d042d08807
Remodel exceptions based on Throwable interface
...
Added Throwable interface that exceptions must
implement in order to be thrown. BaseException
was removed, EngineException renamed to
Error, and TypeException and ParseException
renamed to TypeError and ParseError. Exception
and Error no longer extend a common base
class, rather they both implement the Throwable
interface.
2015-05-16 15:30:59 -05:00
Nikita Popov
c9f27ee422
Display EngineExceptions like ordinary exceptions
...
TypeException stays as-is for now because it uses messages that are
incompatible with the way exception messages are displayed.
closure_038.phpt and a few others now show that we're generating
too many exceptions for compound operations on undefined properties
-- this needs to be fixed in a followup.
2015-05-15 23:40:32 +02:00
Bob Weinand
34e6fbbfed
Merge branch 'master' of https://github.com/php/php-src
2015-05-15 22:45:35 +02:00
Nikita Popov
230b435ed4
Fix exception leak in interactive console
...
Shows up there because it throws at E_WARNING severity level and
as such leak detection is not suppressed.
2015-05-15 22:43:13 +02:00
Xinchen Hui
2eab211379
Fixed segfault
2015-05-16 00:33:49 +08:00
Xinchen Hui
249d4c7fdb
code standard
2015-05-16 00:19:43 +08:00
Xinchen Hui
7cead987bd
Merge branch 'master' of git.php.net:php-src
2015-05-15 22:57:36 +08:00
Xinchen Hui
48f3f44f32
Hint the compiler
2015-05-15 22:57:17 +08:00
Bob Weinand
6868b56e25
Fix unrelated tests and zlib window size
2015-05-15 13:59:47 +02:00
Anatol Belski
2027b949ea
remove version check
...
the cause of the recursive inclusion is fixed, it's not compiler
version dependent
2015-05-15 08:20:33 +02:00
Matteo Beccati
3bbe81286d
Updated test to include ReflectionGenerator
2015-05-15 06:52:04 +02:00
Dmitry Stogov
a464045726
Improve strtr()
2015-05-15 04:03:30 +03:00
Bob Weinand
00ea48ad43
Minor typo in warning message
2015-05-15 02:42:11 +02:00
Bob Weinand
227a21b297
Add strategy option to deflate_init()
2015-05-15 02:28:38 +02:00
Bob Weinand
dd17e18f41
Add dictionary option to {in,de}flate_init()
2015-05-15 02:28:38 +02:00
Bob Weinand
a129ded3c1
Add window option to {de,in}flate_init()
2015-05-15 02:28:37 +02:00
Ferenc Kovacs
738c71aa9a
Merge branch 'PHP-5.6'
...
* PHP-5.6:
fix NEWS
2015-05-15 01:09:45 +02:00
Ferenc Kovacs
4c5efc7456
fix NEWS
2015-05-15 01:08:50 +02:00
Anatol Belski
55f6687237
added the inclusion guard
...
the vc check can be likely removed, to be checked
2015-05-15 00:15:01 +02:00
Dmitry Stogov
196b951728
Optimized === and !== with NULL, FALSE, TRUE.
2015-05-15 01:11:29 +03:00
Bob Weinand
06693c3d43
Add NEWS/UPGRADING for ReflectionGenerator class
2015-05-14 22:30:01 +02:00
Bob Weinand
aa3c7aa438
Add ReflectionGenerator class
2015-05-14 20:10:35 +02:00
Bob Weinand
c6a6b9746d
Fix memleak in generators using symtable
2015-05-14 17:17:39 +02:00
Dmitry Stogov
fc75d07652
Fixed memory leak
2015-05-14 17:07:32 +03:00
Dmitry Stogov
0604df8a82
Fixed phpdbg build
2015-05-14 16:47:22 +03:00
Dmitry Stogov
8e9b4b5aa7
Refactored custom storage API.
2015-05-14 14:56:13 +03:00
Dmitry Stogov
abb616ae20
Merged fastcgi.* reated changes from sapi/cgi
2015-05-13 18:54:41 +03:00
Dmitry Stogov
f51e4ae42e
Fixed build
2015-05-13 18:53:58 +03:00
Julien Pauli
40d8432138
Updated NEWS
2015-05-13 15:43:03 +02:00
Antony Dovgal
2fa4e79e8a
fix tests
2015-05-13 15:34:17 +02:00
Antony Dovgal
5c02e7e7fb
merge similar if conditions
2015-05-13 15:34:17 +02:00
Antony Dovgal
7e0e88820a
add rusage support to wait() and waitpid()
...
patch by Anton Stepanenko
2015-05-13 15:34:17 +02:00
Ferenc Kovacs
917f292dc4
Merge branch 'PHP-5.6'
...
* PHP-5.6:
fix release dates for 5.6.9/5.6.10. spotted by @Jan-E on github
2015-05-13 15:30:01 +02:00
Ferenc Kovacs
e09a0b74d9
fix release dates for 5.6.9/5.6.10. spotted by @Jan-E on github
2015-05-13 15:29:08 +02:00
Anatol Belski
b312a7ee38
extend libxml exports
2015-05-13 15:20:20 +02:00
Anatol Belski
17d4be0cb7
fix libxml2 headers lookup
2015-05-13 15:20:19 +02:00
Julien Pauli
96d9a5589d
Merge branch 'PHP-5.6'
...
* PHP-5.6:
Updated NEWS
Updated NEWS
2015-05-13 14:30:11 +02:00
Julien Pauli
8fc4c9444f
Updated NEWS
2015-05-13 14:29:53 +02:00
Julien Pauli
7c5de1e99e
Merge branch 'PHP-5.5' into PHP-5.6
...
* PHP-5.5:
Updated NEWS
2015-05-13 14:29:29 +02:00
Julien Pauli
dcd230de11
Updated NEWS
2015-05-13 14:29:02 +02:00
Julien Pauli
420961524d
Merge branch 'PHP-5.6'
...
* PHP-5.6:
Close fd at the end, otherwise people complain
Add file descriptor caching to mcrypt_create_iv()
Conflicts:
ext/mcrypt/mcrypt.c
2015-05-13 14:21:19 +02:00
Julien Pauli
c09fad97d6
Merge branch 'PHP-5.5' into PHP-5.6
...
* PHP-5.5:
Close fd at the end, otherwise people complain
Add file descriptor caching to mcrypt_create_iv()
2015-05-13 14:19:04 +02:00
Leigh
f7952b90ca
Close fd at the end, otherwise people complain
...
Even though it's closed when the process terminates!
2015-05-13 14:18:32 +02:00
Leigh
c02c4aca00
Add file descriptor caching to mcrypt_create_iv()
...
This improves performance for applications that make repeated calls to
mcrypt_create_iv()
2015-05-13 14:18:32 +02:00
Julien Pauli
4f5ab6fca4
Merge branch 'PHP-5.6'
...
* PHP-5.6:
Updated NEWS
2015-05-13 13:06:19 +02:00
Julien Pauli
1b12982d39
Merge branch 'PHP-5.5' into PHP-5.6
...
* PHP-5.5:
Updated NEWS
2015-05-13 13:06:08 +02:00
Julien Pauli
43c24da166
Updated NEWS
2015-05-13 13:05:46 +02:00
Dmitry Stogov
d72a94468e
Merged FE_FETCH_R[W] with the following ASSIGN[_REF] when assigne to CV.
2015-05-13 12:55:42 +03:00
Anatol Belski
6254184a4d
ups, it should have used Zend MM
2015-05-13 11:11:37 +02:00
Dmitry Stogov
0d3a24c3f7
Merge branch 'master' of git.php.net:php-src
...
* 'master' of git.php.net:php-src:
fix build, catch up with linux part for #66048
2015-05-13 10:10:14 +03:00