php-src/ext/standard
Dmitry Stogov aee2985f35 Merge branch 'scalar_type_hints_v5' of github.com:ircmaxell/php-src into scalar_type_hints_v5
* 'scalar_type_hints_v5' of github.com:ircmaxell/php-src: (54 commits)
  Add check for maintaining reference all the way through both type and return values
  Reduce the number of times that the zval needs to be separated in return type checking to those that are necessary
  Add test to ensure namespaced code can't use scalar types as class names
  Disallow relative namespace type declarations
  Add support and tests for null constant default values. Refactor complex conditionals into an extracted function for clarity and code-reuse
  Refactor as to not use call info, but add the flag to the op_array.
  Fix severity issues with callbacks, start work porting ZEND_STRLEN opcode to work with strict mode, more refactoring to come
  Fix C89 compatibility by moving a misplaced if statement
  Refactor gotos into more elaborate ifs to eliminate goto failure
  Fix return type separation with references. It now includes a check in the opcode handler and properly separates the value in both cases
  Add error case with invalid type declaration default value
  Add tests for using constants as defaults with scalar type declarations
  Refactor error messages to only append defined in the event of rendering as a fatal error. Fix relative typehints to not work
  Revert gd and mysqli to former calls for arg count errors. Fix first identified issues with zend_compile.c from nikic. Add tests for generator returns prior to first yield
  Style cleanup, as well as fixing bug with missing argument for WRONG_PARAM_COUNT_WITH_RETVAL
  Clean up API renames for zend_wrong_param_count to maintain BC, introducing a zend_wrong_param_count_ex() function when you know strict value
  Fix executor issue with ignoring strict types, which cleans up a bunch of errors. Additionally fix the expected error of 2 unrelated tests that was caused by a change to the core error messages
  Fix more tests, improve error messages in failure output for thrown exception
  Refactor error implementation significantly to centralize error mode behavior. Add zend_internal_type_error() function
  Refactor declare placement detection, allow encoding declares before type declares
  ...
2015-03-20 10:51:41 +03:00
..
html_tables Improved table search 2015-03-11 15:02:47 +03:00
tests Merge in master, fix merge conflicts and update patch to support exceptions everywhere 2015-03-18 10:50:11 -04:00
array.c Changed HashTable layout: 2015-03-13 17:13:19 +03:00
assert.c ZTS cleanup 2015-03-08 19:25:55 +08:00
base64.c bump year 2015-01-15 23:27:30 +08:00
base64.h bump year 2015-01-15 23:27:30 +08:00
basic_functions.c Fix bug #69207 - move_uploaded_file allows nulls in path 2015-03-17 16:30:57 -07:00
basic_functions.h Implemented FR #45235 A way to clear or reset the results for error_get_last() 2015-03-03 17:48:03 +08:00
browscap.c Cleanup globals initialization 2015-02-21 11:35:16 +08:00
config.m4 - Fix merge 2015-02-17 01:11:48 -02:00
config.w32 Patch commit d9f85373e3 by moving the float_to_double function to 2015-01-26 21:20:29 +00:00
crc32.c bump year 2015-01-15 23:27:30 +08:00
crc32.h bump year 2015-01-15 23:27:30 +08:00
credits_ext.h trailing whitespace removal 2015-01-10 15:07:38 -08:00
credits_sapi.h trailing whitespace removal 2015-01-10 15:07:38 -08:00
credits.c bump year 2015-01-15 23:27:30 +08:00
credits.h bump year 2015-01-15 23:27:30 +08:00
crypt_blowfish.c bump year 2015-01-15 23:27:30 +08:00
crypt_blowfish.h trailing whitespace removal 2015-01-10 15:07:38 -08:00
crypt_freesec.c trailing whitespace removal 2015-01-10 15:07:38 -08:00
crypt_freesec.h unify stdint type usage 2013-08-06 22:49:56 +02:00
crypt_sha256.c fix datatype mismatches 2014-10-22 20:46:29 +02:00
crypt_sha512.c refixed printf fmt, used portable macros 2014-09-20 15:46:19 +02:00
crypt.c Merge branch 'pull-request/989' 2015-01-31 22:04:39 -08:00
css.c bump year 2015-01-15 23:27:30 +08:00
css.h bump year 2015-01-15 23:27:30 +08:00
cyr_convert.c bump year 2015-01-15 23:27:30 +08:00
cyr_convert.h bump year 2015-01-15 23:27:30 +08:00
datetime.c bump year 2015-01-15 23:27:30 +08:00
datetime.h bump year 2015-01-15 23:27:30 +08:00
dir.c Cleanup resource handling APIs 2015-02-02 13:23:16 +08:00
dl.c Merge branch 'pull-request/988' 2015-01-31 23:11:18 -08:00
dl.h bump year 2015-01-15 23:27:30 +08:00
dns_win32.c remove unused variable 2015-02-04 18:13:26 +01:00
dns.c ZTS cleanup 2015-03-08 19:25:55 +08:00
exec.c Optimize zend_string_realloc() add more specialized versions zend_string_extend() and zend_string_truncate() 2015-03-20 02:02:42 +03:00
exec.h bump year 2015-01-15 23:27:30 +08:00
file.c Revert "Add stream_socket_crypto_info() function" 2015-03-09 23:15:57 -06:00
file.h bump year 2015-01-15 23:27:30 +08:00
filestat.c bump year 2015-01-15 23:27:30 +08:00
filters.c bump year 2015-01-15 23:27:30 +08:00
flock_compat.c Merge branch 'PHP-5.6' 2015-02-21 14:16:06 +01:00
flock_compat.h bump year 2015-01-15 23:27:30 +08:00
formatted_print.c Optimize zend_string_realloc() add more specialized versions zend_string_extend() and zend_string_truncate() 2015-03-20 02:02:42 +03:00
fsock.c bump year 2015-01-15 23:27:30 +08:00
fsock.h bump year 2015-01-15 23:27:30 +08:00
ftok.c bump year 2015-01-15 23:27:30 +08:00
ftp_fopen_wrapper.c Use zend_string* instead of char* for opened_patch handling. Avoid reallocations and improve string reuse. 2015-03-04 02:05:28 +03:00
head.c Removed erroneous condition 2015-02-06 09:41:02 +01:00
head.h bump year 2015-01-15 23:27:30 +08:00
html_tables.h Improved table search 2015-03-11 15:02:47 +03:00
html.c Improved table search 2015-03-11 15:02:47 +03:00
html.h bump year 2015-01-15 23:27:30 +08:00
http_fopen_wrapper.c Merge branch 'PHP-5.6' 2015-03-05 21:18:09 -07:00
http.c Use specialized macro for string zval creation 2015-03-12 16:53:51 +03:00
image.c fix warnings 2015-01-30 22:19:23 +01:00
incomplete_class.c bump year 2015-01-15 23:27:30 +08:00
info.c Merged zend_array and HashTable into the single data structure. 2015-02-13 22:20:39 +03:00
info.h bump year 2015-01-15 23:27:30 +08:00
iptc.c fix warnings 2015-01-30 22:19:23 +01:00
lcg.c bump year 2015-01-15 23:27:30 +08:00
levenshtein.c bump year 2015-01-15 23:27:30 +08:00
link_win32.c bump year 2015-01-15 23:27:30 +08:00
link.c fix warnings 2015-01-30 22:19:23 +01:00
mail.c bump year 2015-01-15 23:27:30 +08:00
Makefile.frag Invoke re2c with --no-generation-date to prevent unintentional / unnecessary changes in generated files. 2012-12-06 09:28:35 +01:00
math.c bump year 2015-01-15 23:27:30 +08:00
md5.c bump year 2015-01-15 23:27:30 +08:00
md5.h bump year 2015-01-15 23:27:30 +08:00
metaphone.c Optimize zend_string_realloc() add more specialized versions zend_string_extend() and zend_string_truncate() 2015-03-20 02:02:42 +03:00
microtime.c bump year 2015-01-15 23:27:30 +08:00
microtime.h bump year 2015-01-15 23:27:30 +08:00
pack.c bump year 2015-01-15 23:27:30 +08:00
pack.h bump year 2015-01-15 23:27:30 +08:00
pageinfo.c bump year 2015-01-15 23:27:30 +08:00
pageinfo.h bump year 2015-01-15 23:27:30 +08:00
password.c bump year 2015-01-15 23:27:30 +08:00
php_array.h bump year 2015-01-15 23:27:30 +08:00
php_assert.h bump year 2015-01-15 23:27:30 +08:00
php_browscap.h bump year 2015-01-15 23:27:30 +08:00
php_crypt_r.c bump year 2015-01-15 23:27:30 +08:00
php_crypt_r.h bump year 2015-01-15 23:27:30 +08:00
php_crypt.h bump year 2015-01-15 23:27:30 +08:00
php_dir.h bump year 2015-01-15 23:27:30 +08:00
php_dns.h bump year 2015-01-15 23:27:30 +08:00
php_ext_syslog.h bump year 2015-01-15 23:27:30 +08:00
php_filestat.h bump year 2015-01-15 23:27:30 +08:00
php_fopen_wrapper.c Use zend_string* instead of char* for opened_patch handling. Avoid reallocations and improve string reuse. 2015-03-04 02:05:28 +03:00
php_fopen_wrappers.h Use zend_string* instead of char* for opened_patch handling. Avoid reallocations and improve string reuse. 2015-03-04 02:05:28 +03:00
php_ftok.h bump year 2015-01-15 23:27:30 +08:00
php_http.h bump year 2015-01-15 23:27:30 +08:00
php_image.h bump year 2015-01-15 23:27:30 +08:00
php_incomplete_class.h bump year 2015-01-15 23:27:30 +08:00
php_iptc.h bump year 2015-01-15 23:27:30 +08:00
php_lcg.h bump year 2015-01-15 23:27:30 +08:00
php_link.h bump year 2015-01-15 23:27:30 +08:00
php_mail.h bump year 2015-01-15 23:27:30 +08:00
php_math.h bump year 2015-01-15 23:27:30 +08:00
php_metaphone.h bump year 2015-01-15 23:27:30 +08:00
php_password.h bump year 2015-01-15 23:27:30 +08:00
php_rand.h bump year 2015-01-15 23:27:30 +08:00
php_smart_string_public.h bump year 2015-01-15 23:27:30 +08:00
php_smart_string.h bump year 2015-01-15 23:27:30 +08:00
php_standard.h bump year 2015-01-15 23:27:30 +08:00
php_string.h Use zend_string in case we will optimize them 2015-01-20 10:59:28 +08:00
php_type.h bump year 2015-01-15 23:27:30 +08:00
php_uuencode.h bump year 2015-01-15 23:27:30 +08:00
php_var.h bump year 2015-01-15 23:27:30 +08:00
php_versioning.h bump year 2015-01-15 23:27:30 +08:00
proc_open.c Cleanup resource handling APIs 2015-02-02 13:23:16 +08:00
proc_open.h bump year 2015-01-15 23:27:30 +08:00
quot_print.c Optimize zend_string_realloc() add more specialized versions zend_string_extend() and zend_string_truncate() 2015-03-20 02:02:42 +03:00
quot_print.h bump year 2015-01-15 23:27:30 +08:00
rand.c bump year 2015-01-15 23:27:30 +08:00
scanf.c bump year 2015-01-15 23:27:30 +08:00
scanf.h bump year 2015-01-15 23:27:30 +08:00
sha1.c bump year 2015-01-15 23:27:30 +08:00
sha1.h bump year 2015-01-15 23:27:30 +08:00
soundex.c bump year 2015-01-15 23:27:30 +08:00
streamsfuncs.c Revert "Add stream_socket_crypto_info() function" 2015-03-09 23:15:57 -06:00
streamsfuncs.h Revert "Add stream_socket_crypto_info() function" 2015-03-09 23:15:57 -06:00
string.c Optimize zend_string_realloc() add more specialized versions zend_string_extend() and zend_string_truncate() 2015-03-20 02:02:42 +03:00
strnatcmp.c trailing whitespace removal 2015-01-10 15:07:38 -08:00
syslog.c bump year 2015-01-15 23:27:30 +08:00
type.c Use memcmp() instead of strncmp() 2015-03-16 15:53:54 +03:00
uniqid.c bump year 2015-01-15 23:27:30 +08:00
uniqid.h bump year 2015-01-15 23:27:30 +08:00
url_scanner_ex.c Cleanup trans sid code. Behavior is unchanged. 2015-02-02 17:06:16 +09:00
url_scanner_ex.h Cleanup trans sid code. Behavior is unchanged. 2015-02-02 17:06:16 +09:00
url_scanner_ex.re Cleanup trans sid code. Behavior is unchanged. 2015-02-02 17:06:16 +09:00
url.c Optimize zend_string_realloc() add more specialized versions zend_string_extend() and zend_string_truncate() 2015-03-20 02:02:42 +03:00
url.h bump year 2015-01-15 23:27:30 +08:00
user_filters.c Cleanup resource handling APIs 2015-02-02 13:23:16 +08:00
uuencode.c Optimize zend_string_realloc() add more specialized versions zend_string_extend() and zend_string_truncate() 2015-03-20 02:02:42 +03:00
var_unserializer.c forgot to commit this one 2015-03-17 17:16:27 -07:00
var_unserializer.re Fixed bug #68976 - Use After Free Vulnerability in unserialize() 2015-03-17 16:31:52 -07:00
var.c Use specialized macro for string zval creation 2015-03-12 16:53:51 +03:00
versioning.c bump year 2015-01-15 23:27:30 +08:00
winver.h trailing whitespace removal 2015-01-10 15:07:38 -08:00