com php-src: Implement 'Saner Numeric Strings' RFC:: UPGRADING Zend/tests/add_006.phpt Zend/tests/bug2477 3.phpt Zend/tests/bug31098.phpt Zend/tests/
bug39018_2.phpt Zend/tests/bug53432 .phpt Zend/tests/bug64578.phpt Zend/tests/bug 72057.phpt Zend/tests/bug73792.phpt Zend/tests/bug76534.phpt
Zend/tests/const_de reference_002.phpt Zend/tests/constant_expression s_dynamic.phpt Zend/tests/indexing_001.phpt Z
end/tests/int_conversion_exponents.phpt Zend/tes

From: Date: Wed, 29 Jul 2020 01:51:09 +0000
Subject: com php-src: Implement 'Saner Numeric Strings' RFC:: UPGRADING Zend/tests/add_006.phpt Zend/tests/bug2477 3.phpt Zend/tests/bug31098.phpt Zend/tests/
bug39018_2.phpt Zend/tests/bug53432 .phpt Zend/tests/bug64578.phpt Zend/tests/bug 72057.phpt Zend/tests/bug73792.phpt Zend/tests/bug76534.phpt
Zend/tests/const_de reference_002.phpt Zend/tests/constant_expression s_dynamic.phpt Zend/tests/indexing_001.phpt Z
end/tests/int_conversion_exponents.phpt Zend/tes
Groups: php.cvs 
Request: Send a blank email to php-cvs+get-112414@lists.php.net to get a copy of this message
Commit: b2248789ed21300aaf356336bf43b6b065183fcb Author: George Peter Banyard <girgias@php.net> Wed, 29 Jul 2020 02:51:09 +0100 Parents: f759936591c08d9bff6ab707f2f8c192f61b5bf1 Branches: master Link: http://git.php.net/?p=php-src.git;a=commitdiff;h=b2248789ed21300aaf356336bf43b6b065183fcb Log: Implement 'Saner Numeric Strings' RFC: RFC: https://wiki.php.net/rfc/saner-numeric-strings This removes the -1 allow_error mode from is_numeric_string functions and replaces it by a trailing boolean out argument to preserve BC in a couple of places. Most of the changes can be resumed to "numeric" strings which emitted a E_NOTICE now emit a E_WARNING and "numeric" strings which emitted a E_WARNING now throw a TypeError. This mostly affects: - String offsets - Arithmetic operations - Bitwise operations Closes GH-5762 Changed paths: M UPGRADING M Zend/tests/add_006.phpt M Zend/tests/bug24773.phpt M Zend/tests/bug31098.phpt M Zend/tests/bug39018_2.phpt M Zend/tests/bug53432.phpt M Zend/tests/bug64578.phpt D Zend/tests/bug72057.phpt M Zend/tests/bug73792.phpt M Zend/tests/bug76534.phpt M Zend/tests/const_dereference_002.phpt M Zend/tests/constant_expressions_dynamic.phpt M Zend/tests/indexing_001.phpt M Zend/tests/int_conversion_exponents.phpt D Zend/tests/neg_num_string.phpt D Zend/tests/non_well_formed_param_exception.phpt D Zend/tests/numeric_string_errors.phpt D Zend/tests/numeric_string_errors_assign.phpt A Zend/tests/numeric_strings/array_offset.phpt A Zend/tests/numeric_strings/explicit_cast_leading_numeric_must_work.phpt A Zend/tests/numeric_strings/invalid_numeric_string_must_generate_warning_assign.phpt A Zend/tests/numeric_strings/invalid_numeric_strings_must_generate_warning.phpt A Zend/tests/numeric_strings/neg_num_string.phpt A Zend/tests/numeric_strings/string_offset.phpt M Zend/tests/offset_assign.phpt M Zend/tests/offset_string.phpt M Zend/tests/operator_unsupported_types.phpt M Zend/tests/self_and.phpt M Zend/tests/self_mod.phpt M Zend/tests/self_or.phpt M Zend/tests/self_xor.phpt M Zend/tests/shift_001.phpt M Zend/tests/shift_002.phpt M Zend/tests/type_declarations/scalar_basic.phpt M Zend/tests/type_declarations/scalar_return_basic.phpt M Zend/tests/type_declarations/scalar_return_basic_64bit.phpt M Zend/tests/type_declarations/union_types/type_checking_weak.phpt M Zend/zend_API.c M Zend/zend_execute.c M Zend/zend_ini_scanner.l M Zend/zend_operators.c M Zend/zend_operators.h M ext/opcache/jit/zend_jit_helpers.c M ext/opcache/tests/bug71843.phpt M ext/opcache/tests/jit/fetch_dim_r_003.phpt M ext/opcache/tests/jit/fetch_dim_r_004.phpt M ext/pdo/pdo_stmt.c M ext/reflection/tests/bug76536.phpt M ext/standard/tests/general_functions/floatval.phpt M ext/standard/tests/general_functions/floatval_variation1.phpt M ext/standard/tests/math/pow_variation1.phpt M ext/standard/tests/math/pow_variation1_64bit.phpt M ext/standard/tests/math/pow_variation2.phpt M ext/standard/tests/strings/bug55871.phpt M tests/lang/bug19943.phpt M tests/lang/bug28800.phpt M tests/lang/bug29566.phpt M tests/lang/operators/add_variationStr.phpt M tests/lang/operators/bitwiseShiftLeft_variationStr.phpt M tests/lang/operators/bitwiseShiftLeft_variationStr_64bit.phpt M tests/lang/operators/bitwiseShiftRight_variationStr.phpt M tests/lang/operators/divide_variationStr.phpt M tests/lang/operators/modulus_variationStr..phpt M tests/lang/operators/multiply_variationStr.phpt M tests/lang/operators/negate_variationStr.phpt M tests/lang/operators/subtract_variationStr.phpt M tests/strings/offsets_chaining_5.phpt M tests/strings/offsets_general.phpt Diff: <Diff exceeded maximum size>

« previous php.cvs (#112414) next »