[php-src] Issue #7895: Uncaught TypeError: Unsupported operand types: string * string in
| From: | iluuu1994 | Date: | Thu, 06 Jan 2022 12:38:36 +0000 |
| Subject: | [php-src] Issue #7895: Uncaught TypeError: Unsupported operand types: string * string in | ||
| Groups: | php.bugs | ||
| Request: | Send a blank email to php-bugs+get-238803@lists.php.net to get a copy of this message | ||
Issue: https://github.com/php/php-src/issues/7895
Comment Author: iluuu1994
@tolgahanacar But can you provide the output of the two
var_dump calls? The error
you're describing usually occurs when one of the operands isn't a valid numeric string.
For example:
```php
$foo = 'asdf';
$bar = '3';
echo $foo * $bar;
```
https://3v4l.org/3jMvJ#v8.0.14
Thus it would be useful to know what these operands are in your case.