Nikita Popov
f48ee1ff58
Clarify that the get_properties handler is required
...
Some places were checking for non-null get_properties, some weren't.
Make it clear that the handler is required and such checks are not
necessary.
2018-10-04 12:46:50 +02:00
Nikita Popov
74d138e4a3
Fix incorrect printf modifier after size_t changes
2018-10-04 12:13:46 +02:00
Remi Collet
1ac97c77cb
Merge branch 'PHP-7.3'
...
* PHP-7.3:
Allow to disable pcre.jit when system library is used as it is for now broken on some arch (s390x...)
2018-10-04 11:46:37 +02:00
Remi Collet
bbfea4b470
Allow to disable pcre.jit when system library is used
...
as it is for now broken on some arch (s390x...)
2018-10-04 11:45:35 +02:00
Pierrick Charron
e450679dcd
Merge branch 'PHP-7.3'
2018-10-03 19:44:46 -04:00
Pierrick Charron
02b2dbb724
Add constants from curl 7.50 to 7.55
2018-10-03 19:43:59 -04:00
Kalle Sommer Nielsen
d604f65de5
Merge branch 'master' of git.php.net:/php-src
2018-10-03 13:36:30 +02:00
Kalle Sommer Nielsen
5268f367ce
Hopefully last round of size_t fixes, this makes the remaining php_hash_ops use size_t over an int
2018-10-03 13:36:05 +02:00
Remi Collet
4778578b56
Merge branch 'PHP-7.3'
...
* PHP-7.3:
bump zip extension version
2018-10-03 12:59:46 +02:00
Remi Collet
726a77cfdd
Merge branch 'PHP-7.2' into PHP-7.3
...
* PHP-7.2:
bump zip extension version
2018-10-03 12:59:31 +02:00
Remi Collet
da05b7e81e
bump zip extension version
2018-10-03 12:59:01 +02:00
Kalle Sommer Nielsen
c116326793
Remove $ext_shared usage for ext/hash in the Unix build script (Thanks Christoph for the notice)
2018-10-03 11:36:11 +02:00
Kalle Sommer Nielsen
0d7d2a2011
Merge branch 'master' of git.php.net:/php-src
2018-10-03 11:33:15 +02:00
Kalle Sommer Nielsen
84b0d0faba
Second round of fixing compiler warnings in ext/hash. Lots of the signatures that previously was unsigned int is now size_t, there was a fair bit of inconsistency there already and this commit should make it all sync nicely
2018-10-03 11:32:57 +02:00
Nikita Popov
1e14b7a369
Write to correct smart_str
...
Mixed this up during the migration to ZEND_HASH_FOREACH.
2018-10-03 11:03:55 +02:00
Nikita Popov
a659d16adf
Merge branch 'PHP-7.3'
2018-10-03 10:50:38 +02:00
Nikita Popov
9f3ea20320
Merge branch 'PHP-7.2' into PHP-7.3
2018-10-03 10:50:27 +02:00
Nikita Popov
54aa76167b
Merge branch 'PHP-7.1' into PHP-7.2
2018-10-03 10:50:16 +02:00
Nikita Popov
945f315506
Reflection: Copy invoke function also in the variadic case
...
It doesn't matter how the parameters are provided, we always have
to copy the trampoline invoke function.
2018-10-03 10:48:42 +02:00
Nikita Popov
ac96a57818
Remove uses of apply_with_arguments API in reflection
...
Instead of ZEND_HASH_FOREACH. As a side-effect, this fixes a latent
bug in _addmethod, where a zval was interpreted as a zval*.
Also apply some optimizations to getProperties() while at it: For
declared properties, use the HT key instead of unmangling the
property name. For dynamic properties check INDIRECT instead of
looking up prop info to determine if the property is dynamic.
2018-10-03 10:37:42 +02:00
Kalle Sommer Nielsen
f7991ca656
Revert "Fix compiler warnings in ext/hash"
...
This reverts commit 596fbf7393
.
2018-10-03 10:37:20 +02:00
Kalle Sommer Nielsen
596fbf7393
Fix compiler warnings in ext/hash
2018-10-03 08:48:27 +02:00
Kalle Sommer Nielsen
f73c0102d6
Update hash tests for consistency in their titles and remove the skipif sections (except for the mhash related tests)
2018-10-03 08:48:11 +02:00
Kalle Sommer Nielsen
bf34442581
Implemented RFC "Always available hash extension"
2018-10-03 08:47:07 +02:00
Nikita Popov
10b1ab9275
Some reflection cleanups
...
Use zend_string and zend_string_tolower in more places, clean up
__invoke handling slightly.
2018-10-02 23:14:13 +02:00
Nikita Popov
784579d99a
Merge branch 'PHP-7.3'
2018-10-02 18:20:30 +02:00
Nikita Popov
a42801abe3
Merge branch 'PHP-7.2' into PHP-7.3
2018-10-02 18:20:25 +02:00
Nikita Popov
f0647edd88
Fixed bug #66430
2018-10-02 18:19:53 +02:00
Nikita Popov
c8188fdd3b
Merge branch 'PHP-7.3'
2018-10-02 17:49:08 +02:00
Nikita Popov
b8392803f9
Merge branch 'PHP-7.2' into PHP-7.3
2018-10-02 17:48:56 +02:00
Nikita Popov
d2477b284b
Fixed bug #76936
2018-10-02 17:47:07 +02:00
Nikita Popov
aec6421409
Merge branch 'PHP-7.3'
2018-10-02 16:14:36 +02:00
Nikita Popov
26f82a7706
Fixed bug #76958
2018-10-02 16:13:51 +02:00
Nikita Popov
9cfd8f43c2
Don't fall back to vtbl_pass if no matching vtbl found
...
If we don't know how to convert between two encodings, make sure
we error instead of ignoring the issue.
Explicitly use vtbl_pass if we are round-tripping wchar->wchar or
8bit->8bit. Fingers crossed that nothing else relies on the
vtbl_pass fallback...
2018-10-02 16:07:22 +02:00
Dmitry Stogov
34a491d1ed
Turn accel_activate into module callback.
2018-10-01 14:10:54 +03:00
Dmitry Stogov
c25e7439ae
Get rid of accel_deactivate() calback
2018-10-01 13:53:15 +03:00
Remi Collet
0ae5f82135
Fixed bug #76908 PDO_OCI getColumnMeta() not implemented
...
Merge branch 'feature-getcolumnmeta' of https://github.com/Letargie/php-src into Letargie-feature-getcolumnmeta
* 'feature-getcolumnmeta' of https://github.com/Letargie/php-src :
Removing last unused
Last few changes : . force the nls_date_format . add the scale to the return of the function . add tests on some function return . removing unused variables
cs
Changes : . Add the distinction between NUMBER and FLOAT types . Changing BFLOAT text to be BINARY_FLOAT . Changing BDOUBLE text to be BINARY_DOUBLE . Add the data types names for NCHAR, NVARCHAR and NCLOB . Few changes in the tests
fixing comments
Update oci_statement.c
Add the PDOStatement::getColumnMeta() function to the pdo_oci driver
2018-10-01 07:16:48 +02:00
Nikita Popov
ab2120e4e5
Fix test
2018-09-30 19:56:28 +02:00
Kalle Sommer Nielsen
8595dc8fa9
Fix some tests and improve coverage for Windows in SPL
2018-09-30 10:41:34 +02:00
Gabriel Caruso
257bec33f8
Use already set variable
2018-09-30 02:01:10 -03:00
Nikita Popov
03ba053af0
Merge branch 'PHP-7.3'
2018-09-29 21:20:08 +02:00
Nikita Popov
b617a5b2ea
Merge branch 'PHP-7.2' into PHP-7.3
2018-09-29 21:20:01 +02:00
James Titcumb
950c338f80
Fix reflection arguments for sodium_memzero function
2018-09-29 21:19:42 +02:00
Nikita Popov
96da1fe8a9
Fixed bug #76737
...
Explicitly prohibit serialization and unserialization of reflection
objects.
2018-09-29 14:47:57 +02:00
Peter Kokot
80c6ba26e3
Remove and refactor ext/spl/examples
...
- Test file from ext/spl/examples has been moved to ext/spl/tests
- Other custom SPL examples and implementations were removed in favor of
the PHP manual.
2018-09-29 09:29:32 +02:00
Peter Kokot
ab60b79912
Remove outdated soap examples
...
This patch removes PHP soap extension examples in favor of the PHP
manual.
2018-09-29 09:26:29 +02:00
Peter Kokot
61536b9d64
Remove unused ext/bz2/php_bz2.def
...
Exporting symbols has been added via
a7ba08a0bd
and then removed via
d5c6825241
2018-09-29 09:23:31 +02:00
Nikita Popov
36a4f58ab9
Remove redundant ce from reflection property_reference
...
The ce is already stored in the main reflection object, no need to
store it twice.
2018-09-28 23:16:10 +02:00
Nikita Popov
570f9f6281
Only store zend_type inside reflection type_reference
...
We don't need the full arg_info and the baggage associated with it.
Storing the type should be safe, as it's part of structures which
are never released during a request (arg_info and in the future
prop_info).
2018-09-28 22:27:14 +02:00
Peter Kokot
390b74ee34
Rename ext/snmp/tests/bigtest.sh to bigtest
...
This can avoid some confusions with .gitignored autogenerated `.sh`
files in test directories and to distinguish the autogenerated shell
files from the tracked in Git ones more easily.
2018-09-27 02:41:54 +02:00