php-src/Zend/tests/numeric_strings
Nikita Popov 16b9f19678 Fix compile-time/run-time discrepancies with unary operators
This addresses two issues:
 * ~ throws for a number of types, and we should not compile-time
   evaluate in that case. Add a check similar to what we do for
   binary ops.
 * Unary +/- may produce a different error message due to
   canonicalization of the constant operand to the RHS. To avoid
   this, put the constant operand on the RHS right away.

Fixes oss-fuzz #25649.
2020-09-15 15:08:55 +02:00
..
array_offset.phpt Promote "undefined array key" notice to warning 2020-08-03 14:40:50 +02:00
explicit_cast_leading_numeric_must_work.phpt
invalid_numeric_string_must_generate_warning_assign.phpt
invalid_numeric_strings_must_generate_warning.phpt Fix compile-time/run-time discrepancies with unary operators 2020-09-15 15:08:55 +02:00
neg_num_string.phpt
string_offset.phpt
trailling_whitespaces.phpt