--TEST-- GMP operator overloading does not support float strings --EXTENSIONS-- gmp --FILE-- getMessage(), PHP_EOL; } try { var_dump($num - "2.0"); } catch (Throwable $e) { echo $e::class, ': ', $e->getMessage(), PHP_EOL; } try { var_dump($num * "2.0"); } catch (Throwable $e) { echo $e::class, ': ', $e->getMessage(), PHP_EOL; } try { var_dump($num / "2.0"); } catch (Throwable $e) { echo $e::class, ': ', $e->getMessage(), PHP_EOL; } try { var_dump($num % "2.0"); } catch (Throwable $e) { echo $e::class, ': ', $e->getMessage(), PHP_EOL; } try { var_dump($num ** "2.0"); } catch (Throwable $e) { echo $e::class, ': ', $e->getMessage(), PHP_EOL; } try { var_dump($num | "2.0"); } catch (Throwable $e) { echo $e::class, ': ', $e->getMessage(), PHP_EOL; } try { var_dump($num & "2.0"); } catch (Throwable $e) { echo $e::class, ': ', $e->getMessage(), PHP_EOL; } try { var_dump($num ^ "2.0"); } catch (Throwable $e) { echo $e::class, ': ', $e->getMessage(), PHP_EOL; } try { var_dump($num << "2.0"); } catch (Throwable $e) { echo $e::class, ': ', $e->getMessage(), PHP_EOL; } try { var_dump($num >> "2.0"); } catch (Throwable $e) { echo $e::class, ': ', $e->getMessage(), PHP_EOL; } ?> --EXPECT-- ValueError: Number is not an integer string ValueError: Number is not an integer string ValueError: Number is not an integer string ValueError: Number is not an integer string ValueError: Number is not an integer string ValueError: Number is not an integer string ValueError: Number is not an integer string ValueError: Number is not an integer string ValueError: Number is not an integer string ValueError: Number is not an integer string ValueError: Number is not an integer string