Anatol Belski
b9040b812c
Merge branch 'PHP-7.2'
...
* PHP-7.2:
Remove TSRMLS_*
2018-03-01 12:15:20 +01:00
Anatol Belski
3c58b2c31a
Remove TSRMLS_*
2018-03-01 12:12:11 +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
Gabriel Caruso
a5f1a585e6
Removed unused variables
2018-02-11 22:46:33 +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
0709eb80f3
Fix test for TCP_NODELAY constant
...
Actually check for the constant, instead of just printing a string...
2018-02-04 16:59:29 +01:00
Gabriel Caruso
9a4cc52c23
Remove superfluous PHP version check in tests
...
Also remove tests that target only old PHP versions.
2018-02-04 16:58:54 +01:00
Gabriel Caruso
53dbc69a8d
Use %d when expecting line number in tests
2018-02-02 22:35:13 +01:00
Thomas Punt
e51aadcc4e
Merge branch 'PHP-7.2'
...
* PHP-7.2:
Use the correct freeing function
2018-01-29 11:17:23 +00:00
Thomas Punt
0f393a6102
Merge branch 'PHP-7.1' into PHP-7.2
...
* PHP-7.1:
Use the correct freeing function
2018-01-29 11:13:22 +00:00
Thomas Punt
fb128f6512
Use the correct freeing function
2018-01-29 11:13:10 +00:00
Dmitry Stogov
67e47c3ee3
Eliminate useless separations
2018-01-17 12:45:23 +03: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
9e709e2fa0
Move constants into read-only data segment
2017-12-14 18:43:44 +03:00
Dmitry Stogov
6a9d2b2190
Cleanup type conversion
2017-12-07 19:24:55 +03:00
Dmitry Stogov
ccc12b82da
Avoid unnecessary reference-counting on strings.
2017-11-16 17:09:32 +03:00
Xinchen Hui
d56a534acc
RC manipulation cleanup 2
2017-11-02 12:13:35 +08:00
Sara Golemon
ec90310ea9
Guard against AI_NUMERICSERV not being defined.
2017-10-01 21:37:04 -04:00
Sara Golemon
320c4f22a4
Guard against AI_NUMERICSERV not being defined.
2017-10-01 21:32:31 -04: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
696bd37e67
Merge branch 'PHP-7.1'
...
* PHP-7.1:
Fixed condition check
Fixed condition check
another place
Conflicts:
ext/mcrypt/mcrypt.c
2017-04-10 14:49:13 +08:00
Xinchen Hui
65d77812fc
Merge branch 'PHP-7.0' into PHP-7.1
...
* PHP-7.0:
Fixed condition check
2017-04-10 14:47:42 +08:00
Xinchen Hui
4bebcb84ad
Fixed condition check
2017-04-10 14:47:24 +08:00
David Carlier
93d7cf375e
Fix openbsd build: AI_V4MAPPED, AI_ALL not defined
2017-03-27 18:55:34 +02:00
Nikita Popov
b3ca0c2500
zend-test extension to house code that is required for testing internal APIs, but that we would not want to expose for regular builds
2017-03-12 18:58:50 +00:00
Anatol Belski
0e00c56060
Merge branch 'PHP-7.1'
...
* PHP-7.1:
templatize the resource number
2017-01-13 15:50:36 +01:00
Anatol Belski
2ae5f2d1a5
Merge branch 'PHP-7.0' into PHP-7.1
...
* PHP-7.0:
templatize the resource number
2017-01-13 15:48:33 +01:00
Anatol Belski
3500262b7d
templatize the resource number
2017-01-13 15:45:35 +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
Anatol Belski
afb6ca2566
Finish remaining replacement uint => uint32_t
...
Tthe core should be normalized now, no uints anymore
2016-12-22 14:32:02 +01:00
Anatol Belski
92175d09c7
fix test portability
2016-11-26 20:27:09 +01:00
Anatol Belski
b204b3abd1
further normalizations, uint vs uint32_t
...
fix merge mistake
yet one more replacement run
2016-11-26 17:29:01 +01:00
Nikita Popov
5af586bec5
Remove more PHP 6 leftovers from tests
2016-11-24 22:39:39 +01:00
Anatol Belski
bfb9be9bd4
Merge branch 'PHP-7.1'
...
* PHP-7.1:
remove TSRMLS_*
2016-11-22 00:33:29 +01:00
Anatol Belski
d61db8d602
Merge branch 'PHP-7.0' into PHP-7.1
...
* PHP-7.0:
remove TSRMLS_*
2016-11-22 00:32:42 +01:00
Anatol Belski
5e9b4c26a5
remove TSRMLS_*
2016-11-21 23:53:37 +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
David Walker
750f3d3f65
Improve getaddrinfo implementation
...
* Fix some leaks
* Improve some comparisons and casts
* Raise a notice when an unknown hint is provided
2016-09-05 14:27:31 +02:00
David Walker
d59af68fd9
Make sure to copy the right amount of mem over. IPv6 can be larger than struct sockaddr
2016-08-24 11:22:05 -06:00
David Walker
7373ce9149
Fix #72733 : Expose getaddrinfo C function, and supporting connect/bind
...
Feature request was to expose getaddrinfo(). I accomplish this
by having an array of resources that are the addrinfo structures.
The resources can be used in new functions to connect/bind, and
one function to examine the contents of the resource.
2016-08-12 11:29:34 -06:00
Ville Hukkamäki
283b0cc8a5
Fix #72810 . Add check for SKIP_ONLINE_TESTS
2016-08-11 12:01:24 +02:00
Christoph M. Becker
81577235ee
Merge branch 'PHP-7.0' into PHP-7.1
2016-07-28 17:31:13 +02:00
Christoph M. Becker
573568bbce
Merge branch 'PHP-5.6' into PHP-7.0
2016-07-28 17:30:29 +02:00
Christoph M. Becker
c301adbbd1
Fix #72677 : SCM_CREDENTIALS related tests should be skipped on AIX
...
Patch provided by matthieu dot sarter dot external at atos dot net.
2016-07-28 17:19:47 +02:00