1
0
mirror of https://github.com/php/php-src.git synced 2026-04-28 10:43:30 +02:00
Commit Graph

52498 Commits

Author SHA1 Message Date
inem0o f795bdfd30 Add lcg arginfo stubs 2019-08-16 12:56:07 +02:00
inem0o f1eca42825 Add ftok arginfo stubs 2019-08-16 12:53:11 +02:00
Victor Gazotti 75a3213d19 creating stubs for echant ext 2019-08-15 15:16:56 +02:00
Christoph M. Becker a3abbc0920 Unify ZPP handling in ext/sqlite3
Since `zend_parse_parameters()` now throws on failure, it doesn't make
sense anymore to use `zend_parse_parameters_throw()` instead, and also
it's useless to set an explicit return value.
2019-08-15 13:31:02 +02:00
Christoph M. Becker e3ebdb6be2 Don't repeat yourself
SQLite3::bindParam() and SQLite3::bindValue() have identical
implementation (the only thing that differs is the second parameter's
passing mode), so we unify the implementation.
2019-08-15 13:10:53 +02:00
Craig Duncan 107c1e0c1b Convert sqlite3 functions arginfo to php stubs 2019-08-15 12:56:46 +02:00
Nikita Popov 743d27631f Normalize SimpleXML::asXML() argument handling
Remove odd manual checks in favor of a standard zpp call.
2019-08-15 11:18:56 +02:00
Nikita Popov deceafbe63 Merge branch 'PHP-7.4' 2019-08-15 10:40:45 +02:00
Nikita Popov 34885408db Fixed bug #78409
This removes an incorrect optimization (I think this code used to be
necessary to properly handle references in the Serializable based
implementation, but now this code just avoids an array duplication
in a way that is not sound).
2019-08-15 10:40:28 +02:00
Theodore Brown e2b0fb946b Add hrtime arginfo stubs 2019-08-14 16:46:10 +02:00
Victor Gazotti 262227fc9e Add some stubs at ctype ext 2019-08-14 16:43:26 +02:00
jason-liew ffffaf12cf add some stubs for array func in basic_functions 2019-08-14 15:27:58 +02:00
Stephen Reay f40cc41465 Added arginfo stub for posix extension 2019-08-14 14:40:37 +02:00
Nikita Popov d0f4ec4c31 Merge branch 'PHP-7.4' 2019-08-13 20:24:39 +02:00
Nikita Popov d891b5f458 Fixed bug #78410 2019-08-13 20:23:56 +02:00
Nikita Popov 8c927442b4 Merge branch 'PHP-7.4' 2019-08-13 14:54:57 +02:00
Islam Israfilov 1dc88ff67e Add inet_ntop and inet_pton stubs 2019-08-13 14:52:14 +02:00
Nikita Popov fdfc7ea932 Don't return persistent string from get_cfg_var()
This is not thread-safe.
2019-08-13 14:50:01 +02:00
Nikita Popov 201729840c Mark PCRE locale key as local persistent 2019-08-13 14:49:59 +02:00
Christoph M. Becker e7ac9428d8 Merge branch 'PHP-7.4'
* PHP-7.4:
  Remove dead code
2019-08-13 13:29:35 +02:00
Christoph M. Becker eb25176ab3 Remove dead code 2019-08-13 13:29:11 +02:00
Stephen Reay d4e5e63b6c Added zip arginfo stubs 2019-08-13 13:01:51 +02:00
Nikita Popov be4b66a369 Merge branch 'PHP-7.4' 2019-08-13 12:35:02 +02:00
Nikita Popov bc690d63f6 Adjust GC count in SPL test 2019-08-13 12:34:48 +02:00
inem0o ccf79547af Add crypt() function's stub
Closes GH-4515.
2019-08-13 11:28:32 +02:00
Nikita Popov 19378ae44a Merge branch 'PHP-7.4' 2019-08-13 11:23:35 +02:00
Nikita Popov 76fecb339f Merge branch 'PHP-7.3' into PHP-7.4 2019-08-13 11:23:06 +02:00
Nikita Popov a33361a37c Merge branch 'PHP-7.2' into PHP-7.3 2019-08-13 11:22:41 +02:00
Nikita Popov 4eeb41d1ea Fixed bug #77191 2019-08-13 11:19:58 +02:00
inem0o fb363f7f00 add syslog arginfo stubs 2019-08-13 09:58:26 +02:00
Craig Duncan 06aa2ae993 Update the date class arginfo the new format 2019-08-12 20:57:30 +01:00
Stephen Reay 0b3a10aecc Add readline arginfo stubs 2019-08-12 16:03:26 +02:00
Christoph M. Becker cd57fb5140 Merge branch 'PHP-7.4'
* PHP-7.4:
  Add missing argument checks
2019-08-12 15:42:26 +02:00
Christoph M. Becker b1189b18d2 Add missing argument checks
These functions don't expect any arguments, so we should check that
none are given.
2019-08-12 15:36:35 +02:00
Kyle b17957eaac Add missing parameters to __set_state() methods
Closes GH-4526.
2019-08-12 15:20:23 +02:00
Christoph M. Becker 4281b1378e Don't explicitly set return value on ZPP/ZFR failure
Failing `zend_parse_parameters()` and `zend_fetch_resource()` throw as
of PHP 8.0.0, so explicitly setting a return value is useless, and also
slightly confusing.
2019-08-12 14:42:26 +02:00
Stephen Reay 9f95d68ca3 Added arginfo stubs for sysvmsg
Closes GH-4522.
2019-08-12 10:28:52 +02:00
Nikita Popov 7c49951769 Support regenerating all stubs 2019-08-12 10:27:22 +02:00
Stephen Reay 434f5329f7 Fixed inconsistent naming for stub, return type for shmop_size 2019-08-12 10:13:53 +02:00
Stephen Reay c5a7f61eca Fix return type on shmop_close 2019-08-12 10:13:52 +02:00
Stephen Reay 93efcaa9c3 Added shmop arginfo stubs 2019-08-12 10:13:52 +02:00
Stephen Reay 47b95bd83c Added arginfo stubs for sysvsem
Closes GH-4523.
2019-08-12 10:05:36 +02:00
Stephen Reay 5db3306981 Added arginfo stubs for svsvshm
Closes GH-4524.
2019-08-12 10:05:36 +02:00
Nikita Popov 429378d78d Remove some misleading RETURN_FALSE
These functions throw, so they can't return false.

This is just a subset...
2019-08-12 10:05:36 +02:00
Christoph M. Becker 193dcec529 Don't explicitly set return value on ZPP failure
Failing ZPP throws as of PHP 8.0.0, so explicitly setting a return
value is useless, and also slightly confusing.
2019-08-12 10:02:45 +02:00
Christoph M. Becker 3e80b13682 Don't throw manual exceptions on ZPP failure
As of PHP 8.0.0, ZPP throws on failure, so manually throwing exceptions
is superfluous and confusing.
2019-08-11 22:21:08 +02:00
Christoph M. Becker 177981d80d Add com_dotnet function stubs 2019-08-11 21:46:14 +02:00
Stephen Reay cfbcd4caef Arginfo stubs for tokenizer 2019-08-11 19:03:04 +02:00
inem0o 1376f61aed Add crc32 stub 2019-08-11 18:33:58 +02:00
Derick Rethans 0835e66372 Updated to version 2019.2 (2019b) 2019-08-11 16:06:00 +01:00