php-src/ext/bcmath/tests
Niels Dossche 64d511ef29
Fix GH-18641: Accessing a BcMath\Number property by ref crashes
The properties are virtual so we need a custom get_property_ptr_ptr
handler.

Closes GH-18637.
2025-05-24 20:38:33 +02:00
..
number Fix GH-18641: Accessing a BcMath\Number property by ref crashes 2025-05-24 20:38:33 +02:00
bcadd.phpt Increase test coverage of _bc_do_add() (#14131) 2024-05-04 16:00:47 +02:00
bcadd_error.phpt Migrate skip checks to --EXTENSIONS--, p1 2021-03-22 17:51:02 +01:00
bcadd_large_numbers.phpt Extend tests of bcmath extension (#11563) 2023-07-05 17:43:30 +01:00
bcadd_zero.phpt Extend tests of bcmath extension (#11563) 2023-07-05 17:43:30 +01:00
bcceil.phpt [RFC] Add bcfloor, bcceil and bcround to BCMath (#13096) 2024-04-30 18:32:33 +01:00
bcceil_error.phpt [RFC] Add bcfloor, bcceil and bcround to BCMath (#13096) 2024-04-30 18:32:33 +01:00
bccomp.phpt Extend tests of bcmath extension (#11563) 2023-07-05 17:43:30 +01:00
bccomp_error.phpt Migrate skip checks to --EXTENSIONS--, p1 2021-03-22 17:51:02 +01:00
bccomp_variation001.phpt Extend tests of bcmath extension (#11563) 2023-07-05 17:43:30 +01:00
bccomp_variation002.phpt Correctly compare 0 and -0 (#17051) 2024-12-07 01:52:30 +09:00
bcdiv.phpt Extend tests of bcmath extension (#11563) 2023-07-05 17:43:30 +01:00
bcdiv_by_one.phpt ext/bcmath: Fixed bcdiv() div by one (#15629) 2024-08-30 09:33:17 +09:00
bcdiv_by_pow_10.phpt ext/bcmath: Fixed bcdiv() div by one (#15629) 2024-08-30 09:33:17 +09:00
bcdiv_error1.phpt Extend tests of bcmath extension (#11563) 2023-07-05 17:43:30 +01:00
bcdiv_error2.phpt Migrate skip checks to --EXTENSIONS--, p1 2021-03-22 17:51:02 +01:00
bcdiv_large_numbers.phpt Extend tests of bcmath extension (#11563) 2023-07-05 17:43:30 +01:00
bcdiv_zero.phpt Extend tests of bcmath extension (#11563) 2023-07-05 17:43:30 +01:00
bcdivmod.phpt [RFC] ext/bcmath: Added bcdivmod (#15740) 2024-09-23 06:43:11 +09:00
bcdivmod_by_zero.phpt [RFC] ext/bcmath: Added bcdivmod (#15740) 2024-09-23 06:43:11 +09:00
bcfloor.phpt [RFC] Add bcfloor, bcceil and bcround to BCMath (#13096) 2024-04-30 18:32:33 +01:00
bcfloor_error.phpt [RFC] Add bcfloor, bcceil and bcround to BCMath (#13096) 2024-04-30 18:32:33 +01:00
bcmod.phpt Extend tests of bcmath extension (#11563) 2023-07-05 17:43:30 +01:00
bcmod_error2.phpt Extend tests of bcmath extension (#11563) 2023-07-05 17:43:30 +01:00
bcmod_error3.phpt Migrate skip checks to --EXTENSIONS--, p1 2021-03-22 17:51:02 +01:00
bcmod_large_numbers.phpt Extend tests of bcmath extension (#11563) 2023-07-05 17:43:30 +01:00
bcmod_zero.phpt Extend tests of bcmath extension (#11563) 2023-07-05 17:43:30 +01:00
bcmul.phpt Extend tests of bcmath extension (#11563) 2023-07-05 17:43:30 +01:00
bcmul_check_overflow.phpt ext/bcmath: Prevent overflow of uint32_t/uint64_t (#14297) 2024-05-23 06:13:11 +09:00
bcmul_error.phpt Migrate skip checks to --EXTENSIONS--, p1 2021-03-22 17:51:02 +01:00
bcmul_large_numbers.phpt Extend tests of bcmath extension (#11563) 2023-07-05 17:43:30 +01:00
bcmul_zero.phpt Extend tests of bcmath extension (#11563) 2023-07-05 17:43:30 +01:00
bcpow.phpt Fixed a bug in BcMath\Number::pow() and bcpow() when raising negative powers of 0. (#16694) 2024-11-20 00:16:52 +09:00
bcpow_div_by_zero.phpt Fixed a bug in BcMath\Number::pow() and bcpow() when raising negative powers of 0. (#16694) 2024-11-20 00:16:52 +09:00
bcpow_error1.phpt Extend tests of bcmath extension (#11563) 2023-07-05 17:43:30 +01:00
bcpow_error2.phpt Extend tests of bcmath extension (#11563) 2023-07-05 17:43:30 +01:00
bcpow_error3.phpt Migrate skip checks to --EXTENSIONS--, p1 2021-03-22 17:51:02 +01:00
bcpow_large_numbers.phpt Fix GH-11761: Bcmath numbers with trailing zeros (#11798) 2023-07-26 13:48:50 +01:00
bcpow_zero.phpt Fix GH-11761: Bcmath numbers with trailing zeros (#11798) 2023-07-26 13:48:50 +01:00
bcpowmod.phpt Migrate skip checks to --EXTENSIONS--, p1 2021-03-22 17:51:02 +01:00
bcpowmod_error.phpt Migrate skip checks to --EXTENSIONS--, p1 2021-03-22 17:51:02 +01:00
bcpowmod_negative_exponent.phpt Migrate skip checks to --EXTENSIONS--, p1 2021-03-22 17:51:02 +01:00
bcpowmod_with_mod_1.phpt ext/bcmath: Fixed bug (bcpowmod() with mod = -1 returns 1 when it must be 0) 2024-05-30 15:47:25 +01:00
bcpowmod_zero_modulus.phpt Migrate skip checks to --EXTENSIONS--, p1 2021-03-22 17:51:02 +01:00
bcround_all.phpt RFC: Add the RoundingMode enum (#14833) 2024-07-18 20:44:30 +02:00
bcround_away_from_zero.phpt Correctly round rounding mode with zero edge case (#17065) 2024-12-17 00:17:23 +09:00
bcround_ceiling.phpt Correctly round rounding mode with zero edge case (#17065) 2024-12-17 00:17:23 +09:00
bcround_early_return.phpt Correctly round rounding mode with zero edge case (#17065) 2024-12-17 00:17:23 +09:00
bcround_error.phpt RFC: Add the RoundingMode enum (#14833) 2024-07-18 20:44:30 +02:00
bcround_floor.phpt Correctly round rounding mode with zero edge case (#17065) 2024-12-17 00:17:23 +09:00
bcround_half_down.phpt Correctly round rounding mode with zero edge case (#17065) 2024-12-17 00:17:23 +09:00
bcround_half_even.phpt Correctly round rounding mode with zero edge case (#17065) 2024-12-17 00:17:23 +09:00
bcround_half_odd.phpt Correctly round rounding mode with zero edge case (#17065) 2024-12-17 00:17:23 +09:00
bcround_half_up.phpt Correctly round rounding mode with zero edge case (#17065) 2024-12-17 00:17:23 +09:00
bcround_test_helper.inc Correctly round rounding mode with zero edge case (#17065) 2024-12-17 00:17:23 +09:00
bcround_toward_zero.phpt Correctly round rounding mode with zero edge case (#17065) 2024-12-17 00:17:23 +09:00
bcscale.phpt Migrate skip checks to --EXTENSIONS--, p1 2021-03-22 17:51:02 +01:00
bcscale_variation001.phpt Migrate skip checks to --EXTENSIONS--, p1 2021-03-22 17:51:02 +01:00
bcscale_variation002.phpt Migrate skip checks to --EXTENSIONS--, p1 2021-03-22 17:51:02 +01:00
bcscale_variation003.phpt Migrate skip checks to --EXTENSIONS--, p1 2021-03-22 17:51:02 +01:00
bcsqrt.phpt Extend tests of bcmath extension (#11563) 2023-07-05 17:43:30 +01:00
bcsqrt_error1.phpt Migrate skip checks to --EXTENSIONS--, p1 2021-03-22 17:51:02 +01:00
bcsqrt_error2.phpt Migrate skip checks to --EXTENSIONS--, p1 2021-03-22 17:51:02 +01:00
bcsub.phpt Extend tests of bcmath extension (#11563) 2023-07-05 17:43:30 +01:00
bcsub_error.phpt Migrate skip checks to --EXTENSIONS--, p1 2021-03-22 17:51:02 +01:00
bcsub_large_numbers.phpt Extend tests of bcmath extension (#11563) 2023-07-05 17:43:30 +01:00
bcsub_zero.phpt Extend tests of bcmath extension (#11563) 2023-07-05 17:43:30 +01:00
bug44995.phpt Migrate skip checks to --EXTENSIONS--, p1 2021-03-22 17:51:02 +01:00
bug46781.phpt Migrate skip checks to --EXTENSIONS--, p1 2021-03-22 17:51:02 +01:00
bug54598.phpt Migrate skip checks to --EXTENSIONS--, p1 2021-03-22 17:51:02 +01:00
bug60377.phpt Migrate skip checks to --EXTENSIONS--, p1 2021-03-22 17:51:02 +01:00
bug66364.phpt Extend tests of bcmath extension (#11563) 2023-07-05 17:43:30 +01:00
bug72093.phpt Migrate skip checks to --EXTENSIONS--, p1 2021-03-22 17:51:02 +01:00
bug75178.phpt Migrate skip checks to --EXTENSIONS--, p1 2021-03-22 17:51:02 +01:00
bug78238.phpt Merge branch 'PHP-8.0' 2021-07-16 16:01:03 +02:00
bug78878.phpt Migrate skip checks to --EXTENSIONS--, p1 2021-03-22 17:51:02 +01:00
bug80545.phpt Migrate skip checks to --EXTENSIONS--, p1 2021-03-22 17:51:02 +01:00
gh15968.phpt Fix GH-15968: Avoid converting objects to strings in operator calculations. (#16021) 2024-09-24 22:33:36 +09:00
gh16262.phpt Fixed a bug where size_t underflows (#16696) 2024-11-05 08:41:09 +09:00
gh16265.phpt Added early return case when result is 0 (#16697) 2024-11-05 08:38:38 +09:00
gh16978.phpt Fixed GH-16978: Avoid unnecessary padding with leading zeros (#16988) 2024-11-29 21:28:38 +09:00
gh17275.phpt Fixed GH-17275: Fixed the calculation logic of dividend scale (#17279) 2024-12-27 21:36:26 +09:00
gh17398.phpt Fixed GH-17398: bcmul memory leak (#17615) 2025-01-29 19:12:18 +09:00
negative_scale.phpt Migrate skip checks to --EXTENSIONS--, p1 2021-03-22 17:51:02 +01:00
run_bcmath_tests_function.inc Fixed a bug in BcMath\Number::pow() and bcpow() when raising negative powers of 0. (#16694) 2024-11-20 00:16:52 +09:00
scale.phpt Migrate skip checks to --EXTENSIONS--, p1 2021-03-22 17:51:02 +01:00
scale_ini.phpt Migrate skip checks to --EXTENSIONS--, p1 2021-03-22 17:51:02 +01:00
str2num_formatting.phpt Prefer EXPECT over EXPECTF 2021-06-29 17:13:02 +02:00