Anatol Belski
fdaa540fd8
Sync with e0fe6674
2018-08-13 09:18:38 +02:00
Cristian Rodríguez
e0fe667421
Fix bug #76030 RE2C_FLAGS rarely honoured
...
Since PHP 5.3 the default lexer generator is RE2C. On Unix-alike build
systems there is also optional configure option --enable-re2c-cgoto
which enables optimized conditional jumps using non-standard computed
goto extension. It is available since RE2C 0.10.3 so it's well covered
by RE2C versions PHP uses. This patch syncs usage of -g option accross
the PHP Unix-alike build system.
2018-08-12 11:15:18 +02:00
Gabriel Caruso
aac5cdc7d7
Remove superfluous SKIPIF sections of always available interfaces
2018-07-29 18:03:34 -03:00
Peter Kokot
cf3b852109
Trim trailing whitespaces in build files
...
Some editors utilizing .editorconfig automatically trim whitespaces. For
convenience this patch removes whitespaces in certain build files:
- ext/*/config*.m4
- configure.ac
- acinclude.m4
2018-07-29 03:43:45 +02:00
Dmitry Stogov
a29a800cb0
Regenerate scanners using re2c version >= 1.0.0 (newer version, at least, produce less code)
2018-07-25 12:49:03 +03:00
Peter Kokot
8d3f8ca12a
Remove unused Git attributes ident
...
The $Id$ keywords were used in Subversion where they can be substituted
with filename, last revision number change, last changed date, and last
user who changed it.
In Git this functionality is different and can be done with Git attribute
ident. These need to be defined manually for each file in the
.gitattributes file and are afterwards replaced with 40-character
hexadecimal blob object name which is based only on the particular file
contents.
This patch simplifies handling of $Id$ keywords by removing them since
they are not used anymore.
2018-07-25 00:53:25 +02:00
Gabriel Caruso
49c193eeb3
Make more tests run and fix SKIPIF sections
2018-07-16 00:01:46 -03:00
Dmitry Stogov
b6fb584505
Replace zval_dtor() with specialized destructors
2018-07-05 13:32:39 +03:00
Dmitry Stogov
b6cc4d2009
Use zval_ptr_dtor() instead of zval_dtor() in internal functions that destroy new created object (This is safer and produces less code)
2018-07-05 11:54:26 +03:00
Dmitry Stogov
4a475a4976
Replace legacy zval_dtor() by zval_ptr_dtor_nogc() or even more specialized destructors.
...
zval_dtor() doesn't make a lot of sense in PHP-7.* and it's used incorrectly in some places.
Its occurances should be replaced by zval_ptr_dtor() or zval_ptr_dtor_nogc(), or even more specialized destructors.
2018-07-04 19:22:24 +03:00
Nikita Popov
f2c4f06f84
Remove unnecessary uses of z/ parameters
2018-06-25 22:27:42 +02:00
Dmitry Stogov
f2b4ec4bdc
Export standard object handlers, to avoid indirect access
2018-05-31 11:57:22 +03:00
Dmitry Stogov
5eb1f92f31
Use zend_string_release_ex() instread of zend_string_release() in places, where we sure about string persistence.
2018-05-28 16:27:12 +03:00
Anatol Belski
8c41e314c8
Merge branch 'PHP-7.2'
...
* PHP-7.2:
Allow pecl like usage in ext/pdo, refs #2955
2018-05-21 12:20:27 +02:00
Anatol Belski
1c8c06a403
Merge branch 'PHP-7.1' into PHP-7.2
...
* PHP-7.1:
Allow pecl like usage in ext/pdo, refs #2955
2018-05-21 12:19:45 +02:00
Tianon Gravi
bc6ddb7f45
Allow pecl like usage in ext/pdo, refs #2955
2018-05-21 12:18:46 +02:00
Dmitry Stogov
eafa92ba9d
zend_fcall_info_cache.calling_scope is not used by zend_call_function() and doesn't have to be initialized.
...
It's used only as a result of zend_is_callable() in forward_static_call and spl_autoload.
2018-05-03 19:27:04 +03:00
Dmitry Stogov
8a719c1b12
Fixed mess between BOOL and SUCCESS/FAILURE
2018-04-28 14:12:36 +03:00
Anatol Belski
6cce3548f1
Fix datatypes
2018-03-26 15:10:16 +02:00
Dmitry Stogov
1af60a2a71
Keep initialized object_handlers structures in read-only memory.
2018-03-14 14:01:45 +03:00
Gabriel Caruso
701437a948
Remove return types from some magic method in protos
...
__construct, __destruct, __wakeup does not have return types defined.
2018-03-09 12:04:46 +01:00
Gabriel Caruso
1314f0fb3a
Use int instead of long in protos
2018-02-23 11:06:20 +01:00
Gabriel Caruso
ded3d984c6
Use EXPECT instead of EXPECTF when possible
...
EXPECTF logic in run-tests.php is considerable, so let's avoid it.
2018-02-20 21:53:48 +01:00
Nikita Popov
ede663f381
Convert iterator by reference errors to exceptions
...
I'm using RuntimeException in SPL, because other SPL classes that
throw this error used it. Error is used for everything else, because
that's what core does.
2018-02-19 21:58:56 +01:00
Anatol Belski
65be13a89a
Reduce struct size by 8 bytes on 64-bit
2018-02-19 10:12:46 +01:00
Gabriel Caruso
84488d921b
Remove superfluous SKIPIF sections in more tests
2018-02-04 16:57:08 +01:00
Dmitry Stogov
a22f8ac1a9
More effecient array duplication
2018-01-17 17:57:59 +03:00
Gabriel Caruso
6400264856
Trailing whitespaces
...
Signed-off-by: Gabriel Caruso <carusogabriel34@gmail.com >
2018-01-03 14:38:00 +01:00
Anatol Belski
dd0ebc02dc
Merge branch 'PHP-7.2'
...
* PHP-7.2:
Skip test for pdo_odbc
2018-01-02 12:29:43 +01:00
Anatol Belski
8a8bf1dc13
Merge branch 'PHP-7.1' into PHP-7.2
...
* PHP-7.1:
Skip test for pdo_odbc
2018-01-02 12:29:19 +01:00
Anatol Belski
463fd04758
Skip test for pdo_odbc
...
The error messages are too discrepant and '-' is otherwise not allowed
by the parser.
2018-01-02 12:12:46 +01:00
Anatol Belski
53b79dfe09
Merge branch 'PHP-7.2'
...
* PHP-7.2:
Fix test for pdo_odbc
2018-01-02 11:39:36 +01:00
Anatol Belski
08d06f7d4f
Merge branch 'PHP-7.1' into PHP-7.2
...
* PHP-7.1:
Fix test for pdo_odbc
2018-01-02 11:39:09 +01:00
Anatol Belski
1a9d09784e
Fix test for pdo_odbc
...
SqlServer requires parentheses to the TOP argument.
2018-01-02 11:34:57 +01:00
Xinchen Hui
6cf9c91b55
Merge branch 'PHP-7.2'
...
* PHP-7.2:
regenerated with newer re2c
2018-01-02 13:59:07 +08:00
Xinchen Hui
b2346a9888
Merge branch 'PHP-7.1' into PHP-7.2
...
* PHP-7.1:
regenerated with newer re2c
2018-01-02 13:57:56 +08:00
Xinchen Hui
b65abecfdf
regenerated with newer re2c
2018-01-02 13:54:29 +08:00
Xinchen Hui
a6519d0514
year++
2018-01-02 12:57:58 +08:00
Xinchen Hui
7a7ec01a49
year++
2018-01-02 12:55:14 +08:00
Xinchen Hui
ccd4716ec7
year++
2018-01-02 12:53:31 +08:00
Dmitry Stogov
d9f5ea691f
zend_fcall_info_cache.initialized is removed (zend_fcall_info_cache is initialized if zend_fcall_info_cache.function_handler is set).
2017-12-27 15:15:03 +03:00
Anatol Belski
edab9ce1db
Merge branch 'PHP-7.2'
...
* PHP-7.2:
pdo_odbc has no driver API for quoting, skip the test
2017-12-22 16:28:48 +01:00
Anatol Belski
a93445bf55
Merge branch 'PHP-7.1' into PHP-7.2
...
* PHP-7.1:
pdo_odbc has no driver API for quoting, skip the test
2017-12-22 16:28:10 +01:00
Anatol Belski
d7cc1ce58f
pdo_odbc has no driver API for quoting, skip the test
2017-12-22 16:22:12 +01:00
Nikita Popov
744d3c5753
Merge branch 'PHP-7.2'
2017-12-17 12:57:40 +01:00
Jaromír Doleček
11eed9f3ba
Fixed bug #75616
...
PDO can be built shared on Darwin nowadays. There used to be issues
relating to symbol references between dynamically loaded shared
objects.
2017-12-17 12:56:37 +01:00
Dmitry Stogov
0d484172fe
Turn "pdo_stmt_methods" into constants.
2017-12-14 22:59:58 +03:00
Dmitry Stogov
9e709e2fa0
Move constants into read-only data segment
2017-12-14 18:43:44 +03:00
Dmitry Stogov
1db8402208
Move zend_object_iterator_funcs structures into read-only data segment
2017-12-14 14:21:22 +03:00
Peter Kokot
2783b1c823
Remove outdated TODO files
...
Some extensions included TODO files that has been present for several
years in the repository tree without changes. This included:
- ext/phar
- ext/intl
- ext/zip
- ext/soap
- ext/pdo
- ext/spl
- ext/dom
- ext/gmp
- ext/xmlwriter
- ext/xmlreader
ext/phar feature request has been created instead, and for others it
would be better to use wiki and RFC workflow instead based on current
feature requests and further PHP development requirements.
[ci skip]
2017-12-09 19:18:58 +01:00