Commit Graph

49063 Commits

Author SHA1 Message Date
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
Peter Kokot
a4102e1bc3 Remove unused and untouched ext/libmbfl/tests files
Test files of the forked and bundled libmbfl library aren't utilized
in php-src. Instead, the current approach is to use the phpt tests.
2018-09-26 23:08:04 +02:00
Dmitry Stogov
3a3840a847 Avoid useless store and checks in xlat_table. 2018-09-26 17:05:49 +03:00
Letargie
ac842c7ecd Removing last unused 2018-09-26 13:40:41 +02:00
Letargie
478f3d57e6 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
2018-09-26 13:19:29 +02:00
Peter Kokot
8c28985cae Remove outdated ext/ctype/ctpye.xml reference document
The ctype.xml file has been added with the early ctype extension
implementation and hasn't been updated with the recent changes. Also
file is not used anymore.
2018-09-26 12:57:54 +02:00
Peter Kokot
c951836721 Remove unused files
- ext/simplexml/tests/bug25756_1.xml
- ext/simplexml/tests/bug25756_2.xml
- ext/simplexml/tests/bug25756.xsd
Added via 503d74aa29 and then removed via
9e29f17493

- ext/mysqli/tests/cacert.pem
- ext/mysqli/tests/client-cert.pem
- ext/mysqli/tests/client-key.pem
Added via e9f9f66f2e and then removed via
6d51b7b2e3

- ext/gd/tests/simpletext私はガラスを食べられます.jpg
Added via 3d3f11ede4 and never used

- ext/gd/tests/src.png
Added via cc938b5df0 and never used

- ext/zlib/tests/gzgetss.test
Added via d536ecac5c as a file content of the
ext/zlib/tests/gzgetss.gzbut but never used in tests directly. Removed for
better clarity of zlib tests

- ext/soap/tests/interop/Round3/GroupD/round3_groupD_import2_absolute.wsdl
- ext/soap/tests/interop/Round4/GroupG/round4_groupG_mimerpc.wsdl
- ext/soap/tests/interop/Round4/GroupG/round4_groupG_mimedoc.wsdl
Added via 1d25fc5c7b and never used

- ext/reflection/tests/exception.inc
Removed via 9f8ba2e8a1

- ext/phar/tests/files/extracted.inc
Removed via 549bf83bd1

- ext/phar/tests/cache_list/files/extracted.inc
Added via 05c3104097 and never used
2018-09-26 12:54:20 +02:00
Letargie
f185ab7daf Merge branch 'master' of https://github.com/php/php-src into feature-getcolumnmeta 2018-09-26 11:41:50 +02:00
Peter Kokot
ab1ce6058a Make ext/session/mod_files.sh executable
Making shell script executable makes it possible to run like
`ext/session/mod_files.sh` and avoids error permission denied.
2018-09-26 06:11:13 +02:00
Peter Kokot
e3293ad35d Remove unused ext/exif/tests/test6.jpg
Added via 569c69ba36 and then removed via
fb5da94c1b
2018-09-25 22:50:17 +02:00
Peter Kokot
981e5e17fa Remove unused ext/enchant/tests files
- ext/enchant/tests/hindi_correct.txt
- ext/enchant/tests/hindi_incorrect.txt

Added via 5956f9a398 but never used.
2018-09-25 22:30:22 +02:00
Nikita Popov
74ade095db Remove unused "dummy" member in reflection_object 2018-09-25 21:47:16 +02:00
Nikita Popov
45bb95c036 Reformat macros in php_reflection.c 2018-09-25 21:47:14 +02:00
Sara Golemon
ffc7f8ae52 Merge branch 'PHP-7.3'
* PHP-7.3:
  Fixed bug #76918 Repeated parameter name in arg info
2018-09-25 12:10:33 -04:00
Sara Golemon
913c20e61f Merge branch 'PHP-7.2' into PHP-7.3
* PHP-7.2:
  Fixed bug #76918 Repeated parameter name in arg info
2018-09-25 12:10:21 -04:00
Sara Golemon
4baf4964ad Merge branch 'PHP-7.1' into PHP-7.2
* PHP-7.1:
  Fixed bug #76918 Repeated parameter name in arg info
2018-09-25 12:09:38 -04:00
Sara Golemon
b5d0eb44c0 Fixed bug #76918 Repeated parameter name in arg info 2018-09-25 11:18:24 -04:00
Dmitry Stogov
5edaa6f947 Removed unused function 2018-09-25 15:44:56 +03:00
Christopher Jones
029a8c9882 Merge branch 'PHP-7.3' 2018-09-24 20:53:42 +10:00
Christopher Jones
1d67577f4d Merge branch 'PHP-7.2' into PHP-7.3 2018-09-24 20:53:31 +10:00
Christopher Jones
682d0f8325 Merge branch 'PHP-7.1' into PHP-7.2 2018-09-24 20:53:11 +10:00
Christopher Jones
9e56a3373e Terminate smart string correctly
This is related to Zend VM regression bug #75881.  The regression was fixed in the VM, so there is no user visible change from the termination correction.
2018-09-24 20:52:58 +10:00
Christopher Jones
54b8dab8fe Merge branch 'PHP-7.3' 2018-09-24 20:14:16 +10:00
Christopher Jones
e6fae9e6f9 Merge branch 'PHP-7.2' into PHP-7.3 2018-09-24 20:14:05 +10:00
Christopher Jones
4ba1fc0a11 Merge branch 'PHP-7.1' into PHP-7.2 2018-09-24 20:06:05 +10:00
Christopher Jones
91954c24da Make usable for PECL OCI8 release for PHP 7.x 2018-09-24 20:05:54 +10:00
Christopher Jones
3413e7d1d8 Merge branch 'PHP-7.2' into PHP-7.3 2018-09-24 17:07:06 +10:00
Christopher Jones
28b89afca1 Merge branch 'PHP-7.1' into PHP-7.2 2018-09-24 17:06:59 +10:00
Christopher Jones
57eb25b393 Backport master branch comment typo fix 2018-09-24 17:06:29 +10:00
Christopher Jones
eb77030e1f Merge branch 'PHP-7.3' 2018-09-24 17:03:09 +10:00
Christopher Jones
28ecd4e1c7 Merge branch 'PHP-7.2' into PHP-7.3 2018-09-24 17:02:36 +10:00
Christopher Jones
d7b060e995 Merge branch 'PHP-7.1' into PHP-7.2 2018-09-24 17:01:20 +10:00
Christopher Jones
3d497f884f Make tests portable across PHP 7.x versions 2018-09-24 17:01:13 +10:00
Christopher Jones
a370e7d0ad Merge branch 'PHP-7.1' into PHP-7.2 2018-09-24 16:52:26 +10:00
Christopher Jones
338802b543 Remove $id from phpinfo as already done in PHP-7.3 2018-09-24 16:52:17 +10:00