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
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
Gabriel Caruso
21e3b0c70c
Remove trailing whitespace in inc files
2018-02-10 19:20:23 +01:00
Gabriel Caruso
2d48d734a2
Fix some misspellings
2018-02-06 16:59:00 +01:00
Gabriel Caruso
fef879a2d6
Use bool instead of boolean while throwing a type error
...
PHP requires boolean typehints to be written "bool" and disallows
"boolean" as an alias. This changes the error messages to match
the actual type name and avoids confusing messages like "must be
of type boolean, boolean given".
This a followup to ce1d69a1f6
, which
implements the same change for integer->int.
2018-02-04 23:09:40 +01:00
Gabriel Caruso
ce1d69a1f6
Use int instead of integer in type errors
...
PHP requires integer typehints to be written "int" and does not
allow "integer" as an alias. This changes type error messages to
match the actual type name and avoids confusing messages like
"must be of the type integer, integer given".
2018-02-04 19:08:23 +01:00
Gabriel Caruso
b0d3c1bf83
Add and fix SKIPIF sections
2018-02-04 17:26:37 +01:00
Nikita Popov
c58b307833
Remove checks for unicode.semantics ini option
2018-02-03 19:50:20 +01:00
Dmitry Stogov
b3e22da745
Use OBJ_FLAGS() macro to access object flags (even if they are currently stored together with GC_FLAGS)
2018-01-22 15:57:00 +03:00
Xinchen Hui
a6519d0514
year++
2018-01-02 12:57:58 +08:00
Nikita Popov
ac7e8bdbfa
Merge branch 'PHP-7.2'
2017-12-17 12:48:11 +01:00
Jaromír Doleček
200bf9b5d7
Fix bug #75615
...
Remove -I without argument in pdo_mysql config.m4.
2017-12-17 12:47:35 +01:00
Dmitry Stogov
b864e6b58c
Move constants into read-only data segment
2017-12-15 01:55:00 +03: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
Anatol Belski
756aaaf806
Merge branch 'PHP-7.2'
...
* PHP-7.2:
Fixed bug #75018 , fixed bug #75177
2017-09-13 14:12:53 +02:00
Anatol Belski
b134793b32
Merge branch 'PHP-7.1' into PHP-7.2
...
* PHP-7.1:
Fixed bug #75018 , fixed bug #75177
2017-09-13 14:12:31 +02:00
Anatol Belski
3d93856c4a
Fixed bug #75018 , fixed bug #75177
...
Both are caused by the same cast issue in mysqlnd on 32-bit.
2017-09-13 14:10:30 +02:00
Kalle Sommer Nielsen
c34ba92782
Get rid of all these old package[2].xml files, most of these had no had a release since PHP4, or any release at all in close to 10 years, some even did not have a package registered at pecl
...
OCI, PDO_OCI and zip are left as they are actively developed and released there
2017-08-17 22:09:29 +02:00
Xinchen Hui
9b87b73fec
Req #74963 (Improved error message on fetching property of non-object)
2017-07-31 11:51:23 +08:00
Xinchen Hui
dbd729e86b
Req #74963 (Improved error message on fetching property of non-object)
2017-07-31 11:43:14 +08:00
Nikita Popov
8c1dc840b5
Remove version checks for MySQL < 5.0
2017-07-19 19:34:14 +02:00
Nikita Popov
f9d6cff67e
Merge branch 'PHP-7.1' into PHP-7.2
2017-07-18 21:45:41 +02:00
Nikita Popov
4e9158da76
Merge branch 'PHP-7.0' into PHP-7.1
2017-07-18 21:45:35 +02:00
YaoGuai
51cdd3dc50
Fix check of mysql_commit() return value
...
For mysql_commit() everything non-zero is an error.
2017-07-18 21:45:02 +02:00
Xinchen Hui
36848f6e08
Merge branch 'PHP-7.1'
...
* PHP-7.1:
Update NEWS
Remove unused var
Fix invalid free of persistent results on error/connection loss in mysqlnd (bug 74376)
2017-04-07 15:21:57 +08:00
Xinchen Hui
39327b90e3
Merge branch 'PHP-7.0' into PHP-7.1
...
* PHP-7.0:
Fix invalid free of persistent results on error/connection loss in mysqlnd (bug 74376)
Conflicts:
ext/mysqlnd/mysqlnd_ps.c
2017-04-07 15:20:53 +08:00
Yussuf Khalil
27120d4412
Fix invalid free of persistent results on error/connection loss in mysqlnd (bug 74376)
2017-04-05 20:57:03 +02:00
Adam Baratz
4afce8ec8c
Add PDO parameter types for national character set strings
2017-03-20 18:25:50 -04:00
Adam Baratz
d5c57cb163
Remove unused field
2017-03-20 13:05:13 -04:00
Nikita Popov
30be110c5a
Merge branch 'PHP-7.1'
2017-03-09 17:32:08 +01:00
Nikita Popov
314ef0ff69
Merge branch 'PHP-7.0' into PHP-7.1
2017-03-09 17:32:01 +01:00
Thomas Orozco
247ce052cd
Fixed bug #71003 : Add PDO::MYSQL_ATTR_SSL_VERIFY_SERVER_CERT
2017-03-09 17:31:21 +01:00
Sammy Kaye Powers
dac6c639bb
Update copyright headers to 2017
2017-01-04 11:23:42 -06:00
Sammy Kaye Powers
478f119ab9
Update copyright headers to 2017
2017-01-04 11:14:55 -06:00
Sammy Kaye Powers
9e29f841ce
Update copyright headers to 2017
2017-01-02 09:30:12 -06:00
Matteo Beccati
d060060c08
Merge branch 'PHP-7.1'
...
* PHP-7.1:
Skip tests when secure_file_priv dir not writable
Add missing UPGRADING entry. Manual is updated before 7.0 release.
2016-12-15 09:32:26 +01:00
Matteo Beccati
72fb941bd4
Merge branch 'PHP-7.0' into PHP-7.1
...
* PHP-7.0:
Skip tests when secure_file_priv dir not writable
Add missing UPGRADING entry. Manual is updated before 7.0 release.
2016-12-15 09:32:04 +01:00
Matteo Beccati
7c696fa886
Merge branch 'PHP-5.6' into PHP-7.0
...
* PHP-5.6:
Skip tests when secure_file_priv dir not writable
2016-12-15 09:31:54 +01:00
Matteo Beccati
0c9324ea9b
Skip tests when secure_file_priv dir not writable
2016-12-15 09:31:00 +01:00
Nikita Popov
5af586bec5
Remove more PHP 6 leftovers from tests
2016-11-24 22:39:39 +01:00
Nikita Popov
45f7b2bcc8
Fix CRLF line-endings in tests
...
Also fix a single instance of CRLF in ibase_query.c.
2016-11-20 22:31:24 +01:00
Pedro Magalhães
9c5af4e4cb
Remove the b prefix from literals on unrelated tests
2016-11-20 21:11:53 +01:00
Tom Van Looy
442fd2f92a
Cleanup tests version checks
2016-11-20 14:16:50 +01:00
Adam Baratz
0eeb06bf17
Addendum to #73234 : Assume param types are nullable
2016-10-12 11:59:01 -04:00
Adam Baratz
6ddfce116b
Fix tests affected by 32b6154a61
2016-10-11 10:15:50 -04:00
Adam Baratz
0785a5e6dc
Fix message typos in PDO tests
2016-08-24 18:39:37 -04:00
Xinchen Hui
3f1e9ed8f8
Merge branch 'PHP-7.0' into PHP-7.1
...
* PHP-7.0:
Fixed bug #72788 (Invalid memory access when using persistent PDO connection)
Remove typo'd commit
Fix bug 72788: Invalid memory access when database_object_handle is undefined. Also fix memory leak in dbh_free when using persistent PDO connections.
2016-08-09 11:32:34 +08:00
Keyur
a74c7cb528
Remove typo'd commit
2016-08-09 01:36:15 +00:00
Keyur
3f25c4228a
Fix bug 72788: Invalid memory access when database_object_handle
...
is undefined. Also fix memory leak in dbh_free when using persistent
PDO connections.
2016-08-09 00:16:46 +00:00