echo "--- testing: $longVal % $otherVal ---\n";
try {
var_dump($longVal%$otherVal);
- } catch (Exception $e) {
+ } catch (Throwable $e) {
echo "Exception: " . $e->getMessage() . "\n";
}
}
echo "--- testing: $otherVal % $longVal ---\n";
try {
var_dump($otherVal%$longVal);
- } catch (Exception $e) {
+ } catch (Throwable $e) {
echo "Exception: " . $e->getMessage() . "\n";
}
}
===DONE===
--EXPECT--
--- testing: 9223372036854775807 % 0 ---
-Exception: Division by zero
+Exception: Modulo by zero
--- testing: 9223372036854775807 % 1 ---
int(0)
--- testing: 9223372036854775807 % -1 ---
--- testing: 9223372036854775807 % 9223372036854775807 ---
int(0)
--- testing: -9223372036854775808 % 0 ---
-Exception: Division by zero
+Exception: Modulo by zero
--- testing: -9223372036854775808 % 1 ---
int(0)
--- testing: -9223372036854775808 % -1 ---
--- testing: -9223372036854775808 % 9223372036854775807 ---
int(-1)
--- testing: 2147483647 % 0 ---
-Exception: Division by zero
+Exception: Modulo by zero
--- testing: 2147483647 % 1 ---
int(0)
--- testing: 2147483647 % -1 ---
--- testing: 2147483647 % 9223372036854775807 ---
int(2147483647)
--- testing: -2147483648 % 0 ---
-Exception: Division by zero
+Exception: Modulo by zero
--- testing: -2147483648 % 1 ---
int(0)
--- testing: -2147483648 % -1 ---
--- testing: -2147483648 % 9223372036854775807 ---
int(-2147483648)
--- testing: 9223372034707292160 % 0 ---
-Exception: Division by zero
+Exception: Modulo by zero
--- testing: 9223372034707292160 % 1 ---
int(0)
--- testing: 9223372034707292160 % -1 ---
--- testing: 9223372034707292160 % 9223372036854775807 ---
int(9223372034707292160)
--- testing: -9223372034707292160 % 0 ---
-Exception: Division by zero
+Exception: Modulo by zero
--- testing: -9223372034707292160 % 1 ---
int(0)
--- testing: -9223372034707292160 % -1 ---
--- testing: -9223372034707292160 % 9223372036854775807 ---
int(-9223372034707292160)
--- testing: 2147483648 % 0 ---
-Exception: Division by zero
+Exception: Modulo by zero
--- testing: 2147483648 % 1 ---
int(0)
--- testing: 2147483648 % -1 ---
--- testing: 2147483648 % 9223372036854775807 ---
int(2147483648)
--- testing: -2147483649 % 0 ---
-Exception: Division by zero
+Exception: Modulo by zero
--- testing: -2147483649 % 1 ---
int(0)
--- testing: -2147483649 % -1 ---
--- testing: -2147483649 % 9223372036854775807 ---
int(-2147483649)
--- testing: 4294967294 % 0 ---
-Exception: Division by zero
+Exception: Modulo by zero
--- testing: 4294967294 % 1 ---
int(0)
--- testing: 4294967294 % -1 ---
--- testing: 4294967294 % 9223372036854775807 ---
int(4294967294)
--- testing: 4294967295 % 0 ---
-Exception: Division by zero
+Exception: Modulo by zero
--- testing: 4294967295 % 1 ---
int(0)
--- testing: 4294967295 % -1 ---
--- testing: 4294967295 % 9223372036854775807 ---
int(4294967295)
--- testing: 4294967293 % 0 ---
-Exception: Division by zero
+Exception: Modulo by zero
--- testing: 4294967293 % 1 ---
int(0)
--- testing: 4294967293 % -1 ---
--- testing: 4294967293 % 9223372036854775807 ---
int(4294967293)
--- testing: 9223372036854775806 % 0 ---
-Exception: Division by zero
+Exception: Modulo by zero
--- testing: 9223372036854775806 % 1 ---
int(0)
--- testing: 9223372036854775806 % -1 ---
--- testing: 9223372036854775806 % 9223372036854775807 ---
int(9223372036854775806)
--- testing: 9.2233720368548E+18 % 0 ---
-Exception: Division by zero
+Exception: Modulo by zero
--- testing: 9.2233720368548E+18 % 1 ---
int(0)
--- testing: 9.2233720368548E+18 % -1 ---
--- testing: 9.2233720368548E+18 % 9223372036854775807 ---
int(-1)
--- testing: -9223372036854775807 % 0 ---
-Exception: Division by zero
+Exception: Modulo by zero
--- testing: -9223372036854775807 % 1 ---
int(0)
--- testing: -9223372036854775807 % -1 ---
--- testing: -9223372036854775807 % 9223372036854775807 ---
int(0)
--- testing: -9.2233720368548E+18 % 0 ---
-Exception: Division by zero
+Exception: Modulo by zero
--- testing: -9.2233720368548E+18 % 1 ---
int(0)
--- testing: -9.2233720368548E+18 % -1 ---
echo "--- testing: '$strVal' % '$otherVal' ---\n";\r
try {\r
var_dump($strVal%$otherVal);\r
- } catch (Exception $e) {\r
+ } catch (Throwable $e) {\r
echo "Exception: " . $e->getMessage() . "\n";\r
}\r
}\r
?>\r
===DONE===\r
--EXPECT--\r
---- testing: '0' % '0' ---
-Exception: Division by zero
---- testing: '0' % '65' ---
-int(0)
---- testing: '0' % '-44' ---
-int(0)
---- testing: '0' % '1.2' ---
-int(0)
---- testing: '0' % '-7.7' ---
-int(0)
---- testing: '0' % 'abc' ---
-Exception: Division by zero
---- testing: '0' % '123abc' ---
-int(0)
---- testing: '0' % '123e5' ---
-int(0)
---- testing: '0' % '123e5xyz' ---
-int(0)
---- testing: '0' % ' 123abc' ---
-int(0)
---- testing: '0' % '123 abc' ---
-int(0)
---- testing: '0' % '123abc ' ---
-int(0)
---- testing: '0' % '3.4a' ---
-int(0)
---- testing: '0' % 'a5.9' ---
-Exception: Division by zero
---- testing: '65' % '0' ---
-Exception: Division by zero
---- testing: '65' % '65' ---
-int(0)
---- testing: '65' % '-44' ---
-int(21)
---- testing: '65' % '1.2' ---
-int(0)
---- testing: '65' % '-7.7' ---
-int(2)
---- testing: '65' % 'abc' ---
-Exception: Division by zero
---- testing: '65' % '123abc' ---
-int(65)
---- testing: '65' % '123e5' ---
-int(65)
---- testing: '65' % '123e5xyz' ---
-int(65)
---- testing: '65' % ' 123abc' ---
-int(65)
---- testing: '65' % '123 abc' ---
-int(65)
---- testing: '65' % '123abc ' ---
-int(65)
---- testing: '65' % '3.4a' ---
-int(2)
---- testing: '65' % 'a5.9' ---
-Exception: Division by zero
---- testing: '-44' % '0' ---
-Exception: Division by zero
---- testing: '-44' % '65' ---
-int(-44)
---- testing: '-44' % '-44' ---
-int(0)
---- testing: '-44' % '1.2' ---
-int(0)
---- testing: '-44' % '-7.7' ---
-int(-2)
---- testing: '-44' % 'abc' ---
-Exception: Division by zero
---- testing: '-44' % '123abc' ---
-int(-44)
---- testing: '-44' % '123e5' ---
-int(-44)
---- testing: '-44' % '123e5xyz' ---
-int(-44)
---- testing: '-44' % ' 123abc' ---
-int(-44)
---- testing: '-44' % '123 abc' ---
-int(-44)
---- testing: '-44' % '123abc ' ---
-int(-44)
---- testing: '-44' % '3.4a' ---
-int(-2)
---- testing: '-44' % 'a5.9' ---
-Exception: Division by zero
---- testing: '1.2' % '0' ---
-Exception: Division by zero
---- testing: '1.2' % '65' ---
-int(1)
---- testing: '1.2' % '-44' ---
-int(1)
---- testing: '1.2' % '1.2' ---
-int(0)
---- testing: '1.2' % '-7.7' ---
-int(1)
---- testing: '1.2' % 'abc' ---
-Exception: Division by zero
---- testing: '1.2' % '123abc' ---
-int(1)
---- testing: '1.2' % '123e5' ---
-int(1)
---- testing: '1.2' % '123e5xyz' ---
-int(1)
---- testing: '1.2' % ' 123abc' ---
-int(1)
---- testing: '1.2' % '123 abc' ---
-int(1)
---- testing: '1.2' % '123abc ' ---
-int(1)
---- testing: '1.2' % '3.4a' ---
-int(1)
---- testing: '1.2' % 'a5.9' ---
-Exception: Division by zero
---- testing: '-7.7' % '0' ---
-Exception: Division by zero
---- testing: '-7.7' % '65' ---
-int(-7)
---- testing: '-7.7' % '-44' ---
-int(-7)
---- testing: '-7.7' % '1.2' ---
-int(0)
---- testing: '-7.7' % '-7.7' ---
-int(0)
---- testing: '-7.7' % 'abc' ---
-Exception: Division by zero
---- testing: '-7.7' % '123abc' ---
-int(-7)
---- testing: '-7.7' % '123e5' ---
-int(-7)
---- testing: '-7.7' % '123e5xyz' ---
-int(-7)
---- testing: '-7.7' % ' 123abc' ---
-int(-7)
---- testing: '-7.7' % '123 abc' ---
-int(-7)
---- testing: '-7.7' % '123abc ' ---
-int(-7)
---- testing: '-7.7' % '3.4a' ---
-int(-1)
---- testing: '-7.7' % 'a5.9' ---
-Exception: Division by zero
---- testing: 'abc' % '0' ---
-Exception: Division by zero
---- testing: 'abc' % '65' ---
-int(0)
---- testing: 'abc' % '-44' ---
-int(0)
---- testing: 'abc' % '1.2' ---
-int(0)
---- testing: 'abc' % '-7.7' ---
-int(0)
---- testing: 'abc' % 'abc' ---
-Exception: Division by zero
---- testing: 'abc' % '123abc' ---
-int(0)
---- testing: 'abc' % '123e5' ---
-int(0)
---- testing: 'abc' % '123e5xyz' ---
-int(0)
---- testing: 'abc' % ' 123abc' ---
-int(0)
---- testing: 'abc' % '123 abc' ---
-int(0)
---- testing: 'abc' % '123abc ' ---
-int(0)
---- testing: 'abc' % '3.4a' ---
-int(0)
---- testing: 'abc' % 'a5.9' ---
-Exception: Division by zero
---- testing: '123abc' % '0' ---
-Exception: Division by zero
---- testing: '123abc' % '65' ---
-int(58)
---- testing: '123abc' % '-44' ---
-int(35)
---- testing: '123abc' % '1.2' ---
-int(0)
---- testing: '123abc' % '-7.7' ---
-int(4)
---- testing: '123abc' % 'abc' ---
-Exception: Division by zero
---- testing: '123abc' % '123abc' ---
-int(0)
---- testing: '123abc' % '123e5' ---
-int(0)
---- testing: '123abc' % '123e5xyz' ---
-int(0)
---- testing: '123abc' % ' 123abc' ---
-int(0)
---- testing: '123abc' % '123 abc' ---
-int(0)
---- testing: '123abc' % '123abc ' ---
-int(0)
---- testing: '123abc' % '3.4a' ---
-int(0)
---- testing: '123abc' % 'a5.9' ---
-Exception: Division by zero
---- testing: '123e5' % '0' ---
-Exception: Division by zero
---- testing: '123e5' % '65' ---
-int(58)
---- testing: '123e5' % '-44' ---
-int(35)
---- testing: '123e5' % '1.2' ---
-int(0)
---- testing: '123e5' % '-7.7' ---
-int(4)
---- testing: '123e5' % 'abc' ---
-Exception: Division by zero
---- testing: '123e5' % '123abc' ---
-int(0)
---- testing: '123e5' % '123e5' ---
-int(0)
---- testing: '123e5' % '123e5xyz' ---
-int(0)
---- testing: '123e5' % ' 123abc' ---
-int(0)
---- testing: '123e5' % '123 abc' ---
-int(0)
---- testing: '123e5' % '123abc ' ---
-int(0)
---- testing: '123e5' % '3.4a' ---
-int(0)
---- testing: '123e5' % 'a5.9' ---
-Exception: Division by zero
---- testing: '123e5xyz' % '0' ---
-Exception: Division by zero
---- testing: '123e5xyz' % '65' ---
-int(58)
---- testing: '123e5xyz' % '-44' ---
-int(35)
---- testing: '123e5xyz' % '1.2' ---
-int(0)
---- testing: '123e5xyz' % '-7.7' ---
-int(4)
---- testing: '123e5xyz' % 'abc' ---
-Exception: Division by zero
---- testing: '123e5xyz' % '123abc' ---
-int(0)
---- testing: '123e5xyz' % '123e5' ---
-int(0)
---- testing: '123e5xyz' % '123e5xyz' ---
-int(0)
---- testing: '123e5xyz' % ' 123abc' ---
-int(0)
---- testing: '123e5xyz' % '123 abc' ---
-int(0)
---- testing: '123e5xyz' % '123abc ' ---
-int(0)
---- testing: '123e5xyz' % '3.4a' ---
-int(0)
---- testing: '123e5xyz' % 'a5.9' ---
-Exception: Division by zero
---- testing: ' 123abc' % '0' ---
-Exception: Division by zero
---- testing: ' 123abc' % '65' ---
-int(58)
---- testing: ' 123abc' % '-44' ---
-int(35)
---- testing: ' 123abc' % '1.2' ---
-int(0)
---- testing: ' 123abc' % '-7.7' ---
-int(4)
---- testing: ' 123abc' % 'abc' ---
-Exception: Division by zero
---- testing: ' 123abc' % '123abc' ---
-int(0)
---- testing: ' 123abc' % '123e5' ---
-int(0)
---- testing: ' 123abc' % '123e5xyz' ---
-int(0)
---- testing: ' 123abc' % ' 123abc' ---
-int(0)
---- testing: ' 123abc' % '123 abc' ---
-int(0)
---- testing: ' 123abc' % '123abc ' ---
-int(0)
---- testing: ' 123abc' % '3.4a' ---
-int(0)
---- testing: ' 123abc' % 'a5.9' ---
-Exception: Division by zero
---- testing: '123 abc' % '0' ---
-Exception: Division by zero
---- testing: '123 abc' % '65' ---
-int(58)
---- testing: '123 abc' % '-44' ---
-int(35)
---- testing: '123 abc' % '1.2' ---
-int(0)
---- testing: '123 abc' % '-7.7' ---
-int(4)
---- testing: '123 abc' % 'abc' ---
-Exception: Division by zero
---- testing: '123 abc' % '123abc' ---
-int(0)
---- testing: '123 abc' % '123e5' ---
-int(0)
---- testing: '123 abc' % '123e5xyz' ---
-int(0)
---- testing: '123 abc' % ' 123abc' ---
-int(0)
---- testing: '123 abc' % '123 abc' ---
-int(0)
---- testing: '123 abc' % '123abc ' ---
-int(0)
---- testing: '123 abc' % '3.4a' ---
-int(0)
---- testing: '123 abc' % 'a5.9' ---
-Exception: Division by zero
---- testing: '123abc ' % '0' ---
-Exception: Division by zero
---- testing: '123abc ' % '65' ---
-int(58)
---- testing: '123abc ' % '-44' ---
-int(35)
---- testing: '123abc ' % '1.2' ---
-int(0)
---- testing: '123abc ' % '-7.7' ---
-int(4)
---- testing: '123abc ' % 'abc' ---
-Exception: Division by zero
---- testing: '123abc ' % '123abc' ---
-int(0)
---- testing: '123abc ' % '123e5' ---
-int(0)
---- testing: '123abc ' % '123e5xyz' ---
-int(0)
---- testing: '123abc ' % ' 123abc' ---
-int(0)
---- testing: '123abc ' % '123 abc' ---
-int(0)
---- testing: '123abc ' % '123abc ' ---
-int(0)
---- testing: '123abc ' % '3.4a' ---
-int(0)
---- testing: '123abc ' % 'a5.9' ---
-Exception: Division by zero
---- testing: '3.4a' % '0' ---
-Exception: Division by zero
---- testing: '3.4a' % '65' ---
-int(3)
---- testing: '3.4a' % '-44' ---
-int(3)
---- testing: '3.4a' % '1.2' ---
-int(0)
---- testing: '3.4a' % '-7.7' ---
-int(3)
---- testing: '3.4a' % 'abc' ---
-Exception: Division by zero
---- testing: '3.4a' % '123abc' ---
-int(3)
---- testing: '3.4a' % '123e5' ---
-int(3)
---- testing: '3.4a' % '123e5xyz' ---
-int(3)
---- testing: '3.4a' % ' 123abc' ---
-int(3)
---- testing: '3.4a' % '123 abc' ---
-int(3)
---- testing: '3.4a' % '123abc ' ---
-int(3)
---- testing: '3.4a' % '3.4a' ---
-int(0)
---- testing: '3.4a' % 'a5.9' ---
-Exception: Division by zero
---- testing: 'a5.9' % '0' ---
-Exception: Division by zero
---- testing: 'a5.9' % '65' ---
-int(0)
---- testing: 'a5.9' % '-44' ---
-int(0)
---- testing: 'a5.9' % '1.2' ---
-int(0)
---- testing: 'a5.9' % '-7.7' ---
-int(0)
---- testing: 'a5.9' % 'abc' ---
-Exception: Division by zero
---- testing: 'a5.9' % '123abc' ---
-int(0)
---- testing: 'a5.9' % '123e5' ---
-int(0)
---- testing: 'a5.9' % '123e5xyz' ---
-int(0)
---- testing: 'a5.9' % ' 123abc' ---
-int(0)
---- testing: 'a5.9' % '123 abc' ---
-int(0)
---- testing: 'a5.9' % '123abc ' ---
-int(0)
---- testing: 'a5.9' % '3.4a' ---
-int(0)
---- testing: 'a5.9' % 'a5.9' ---
-Exception: Division by zero\r
+--- testing: '0' % '0' ---\r
+Exception: Modulo by zero\r
+--- testing: '0' % '65' ---\r
+int(0)\r
+--- testing: '0' % '-44' ---\r
+int(0)\r
+--- testing: '0' % '1.2' ---\r
+int(0)\r
+--- testing: '0' % '-7.7' ---\r
+int(0)\r
+--- testing: '0' % 'abc' ---\r
+Exception: Modulo by zero\r
+--- testing: '0' % '123abc' ---\r
+int(0)\r
+--- testing: '0' % '123e5' ---\r
+int(0)\r
+--- testing: '0' % '123e5xyz' ---\r
+int(0)\r
+--- testing: '0' % ' 123abc' ---\r
+int(0)\r
+--- testing: '0' % '123 abc' ---\r
+int(0)\r
+--- testing: '0' % '123abc ' ---\r
+int(0)\r
+--- testing: '0' % '3.4a' ---\r
+int(0)\r
+--- testing: '0' % 'a5.9' ---\r
+Exception: Modulo by zero\r
+--- testing: '65' % '0' ---\r
+Exception: Modulo by zero\r
+--- testing: '65' % '65' ---\r
+int(0)\r
+--- testing: '65' % '-44' ---\r
+int(21)\r
+--- testing: '65' % '1.2' ---\r
+int(0)\r
+--- testing: '65' % '-7.7' ---\r
+int(2)\r
+--- testing: '65' % 'abc' ---\r
+Exception: Modulo by zero\r
+--- testing: '65' % '123abc' ---\r
+int(65)\r
+--- testing: '65' % '123e5' ---\r
+int(65)\r
+--- testing: '65' % '123e5xyz' ---\r
+int(65)\r
+--- testing: '65' % ' 123abc' ---\r
+int(65)\r
+--- testing: '65' % '123 abc' ---\r
+int(65)\r
+--- testing: '65' % '123abc ' ---\r
+int(65)\r
+--- testing: '65' % '3.4a' ---\r
+int(2)\r
+--- testing: '65' % 'a5.9' ---\r
+Exception: Modulo by zero\r
+--- testing: '-44' % '0' ---\r
+Exception: Modulo by zero\r
+--- testing: '-44' % '65' ---\r
+int(-44)\r
+--- testing: '-44' % '-44' ---\r
+int(0)\r
+--- testing: '-44' % '1.2' ---\r
+int(0)\r
+--- testing: '-44' % '-7.7' ---\r
+int(-2)\r
+--- testing: '-44' % 'abc' ---\r
+Exception: Modulo by zero\r
+--- testing: '-44' % '123abc' ---\r
+int(-44)\r
+--- testing: '-44' % '123e5' ---\r
+int(-44)\r
+--- testing: '-44' % '123e5xyz' ---\r
+int(-44)\r
+--- testing: '-44' % ' 123abc' ---\r
+int(-44)\r
+--- testing: '-44' % '123 abc' ---\r
+int(-44)\r
+--- testing: '-44' % '123abc ' ---\r
+int(-44)\r
+--- testing: '-44' % '3.4a' ---\r
+int(-2)\r
+--- testing: '-44' % 'a5.9' ---\r
+Exception: Modulo by zero\r
+--- testing: '1.2' % '0' ---\r
+Exception: Modulo by zero\r
+--- testing: '1.2' % '65' ---\r
+int(1)\r
+--- testing: '1.2' % '-44' ---\r
+int(1)\r
+--- testing: '1.2' % '1.2' ---\r
+int(0)\r
+--- testing: '1.2' % '-7.7' ---\r
+int(1)\r
+--- testing: '1.2' % 'abc' ---\r
+Exception: Modulo by zero\r
+--- testing: '1.2' % '123abc' ---\r
+int(1)\r
+--- testing: '1.2' % '123e5' ---\r
+int(1)\r
+--- testing: '1.2' % '123e5xyz' ---\r
+int(1)\r
+--- testing: '1.2' % ' 123abc' ---\r
+int(1)\r
+--- testing: '1.2' % '123 abc' ---\r
+int(1)\r
+--- testing: '1.2' % '123abc ' ---\r
+int(1)\r
+--- testing: '1.2' % '3.4a' ---\r
+int(1)\r
+--- testing: '1.2' % 'a5.9' ---\r
+Exception: Modulo by zero\r
+--- testing: '-7.7' % '0' ---\r
+Exception: Modulo by zero\r
+--- testing: '-7.7' % '65' ---\r
+int(-7)\r
+--- testing: '-7.7' % '-44' ---\r
+int(-7)\r
+--- testing: '-7.7' % '1.2' ---\r
+int(0)\r
+--- testing: '-7.7' % '-7.7' ---\r
+int(0)\r
+--- testing: '-7.7' % 'abc' ---\r
+Exception: Modulo by zero\r
+--- testing: '-7.7' % '123abc' ---\r
+int(-7)\r
+--- testing: '-7.7' % '123e5' ---\r
+int(-7)\r
+--- testing: '-7.7' % '123e5xyz' ---\r
+int(-7)\r
+--- testing: '-7.7' % ' 123abc' ---\r
+int(-7)\r
+--- testing: '-7.7' % '123 abc' ---\r
+int(-7)\r
+--- testing: '-7.7' % '123abc ' ---\r
+int(-7)\r
+--- testing: '-7.7' % '3.4a' ---\r
+int(-1)\r
+--- testing: '-7.7' % 'a5.9' ---\r
+Exception: Modulo by zero\r
+--- testing: 'abc' % '0' ---\r
+Exception: Modulo by zero\r
+--- testing: 'abc' % '65' ---\r
+int(0)\r
+--- testing: 'abc' % '-44' ---\r
+int(0)\r
+--- testing: 'abc' % '1.2' ---\r
+int(0)\r
+--- testing: 'abc' % '-7.7' ---\r
+int(0)\r
+--- testing: 'abc' % 'abc' ---\r
+Exception: Modulo by zero\r
+--- testing: 'abc' % '123abc' ---\r
+int(0)\r
+--- testing: 'abc' % '123e5' ---\r
+int(0)\r
+--- testing: 'abc' % '123e5xyz' ---\r
+int(0)\r
+--- testing: 'abc' % ' 123abc' ---\r
+int(0)\r
+--- testing: 'abc' % '123 abc' ---\r
+int(0)\r
+--- testing: 'abc' % '123abc ' ---\r
+int(0)\r
+--- testing: 'abc' % '3.4a' ---\r
+int(0)\r
+--- testing: 'abc' % 'a5.9' ---\r
+Exception: Modulo by zero\r
+--- testing: '123abc' % '0' ---\r
+Exception: Modulo by zero\r
+--- testing: '123abc' % '65' ---\r
+int(58)\r
+--- testing: '123abc' % '-44' ---\r
+int(35)\r
+--- testing: '123abc' % '1.2' ---\r
+int(0)\r
+--- testing: '123abc' % '-7.7' ---\r
+int(4)\r
+--- testing: '123abc' % 'abc' ---\r
+Exception: Modulo by zero\r
+--- testing: '123abc' % '123abc' ---\r
+int(0)\r
+--- testing: '123abc' % '123e5' ---\r
+int(0)\r
+--- testing: '123abc' % '123e5xyz' ---\r
+int(0)\r
+--- testing: '123abc' % ' 123abc' ---\r
+int(0)\r
+--- testing: '123abc' % '123 abc' ---\r
+int(0)\r
+--- testing: '123abc' % '123abc ' ---\r
+int(0)\r
+--- testing: '123abc' % '3.4a' ---\r
+int(0)\r
+--- testing: '123abc' % 'a5.9' ---\r
+Exception: Modulo by zero\r
+--- testing: '123e5' % '0' ---\r
+Exception: Modulo by zero\r
+--- testing: '123e5' % '65' ---\r
+int(58)\r
+--- testing: '123e5' % '-44' ---\r
+int(35)\r
+--- testing: '123e5' % '1.2' ---\r
+int(0)\r
+--- testing: '123e5' % '-7.7' ---\r
+int(4)\r
+--- testing: '123e5' % 'abc' ---\r
+Exception: Modulo by zero\r
+--- testing: '123e5' % '123abc' ---\r
+int(0)\r
+--- testing: '123e5' % '123e5' ---\r
+int(0)\r
+--- testing: '123e5' % '123e5xyz' ---\r
+int(0)\r
+--- testing: '123e5' % ' 123abc' ---\r
+int(0)\r
+--- testing: '123e5' % '123 abc' ---\r
+int(0)\r
+--- testing: '123e5' % '123abc ' ---\r
+int(0)\r
+--- testing: '123e5' % '3.4a' ---\r
+int(0)\r
+--- testing: '123e5' % 'a5.9' ---\r
+Exception: Modulo by zero\r
+--- testing: '123e5xyz' % '0' ---\r
+Exception: Modulo by zero\r
+--- testing: '123e5xyz' % '65' ---\r
+int(58)\r
+--- testing: '123e5xyz' % '-44' ---\r
+int(35)\r
+--- testing: '123e5xyz' % '1.2' ---\r
+int(0)\r
+--- testing: '123e5xyz' % '-7.7' ---\r
+int(4)\r
+--- testing: '123e5xyz' % 'abc' ---\r
+Exception: Modulo by zero\r
+--- testing: '123e5xyz' % '123abc' ---\r
+int(0)\r
+--- testing: '123e5xyz' % '123e5' ---\r
+int(0)\r
+--- testing: '123e5xyz' % '123e5xyz' ---\r
+int(0)\r
+--- testing: '123e5xyz' % ' 123abc' ---\r
+int(0)\r
+--- testing: '123e5xyz' % '123 abc' ---\r
+int(0)\r
+--- testing: '123e5xyz' % '123abc ' ---\r
+int(0)\r
+--- testing: '123e5xyz' % '3.4a' ---\r
+int(0)\r
+--- testing: '123e5xyz' % 'a5.9' ---\r
+Exception: Modulo by zero\r
+--- testing: ' 123abc' % '0' ---\r
+Exception: Modulo by zero\r
+--- testing: ' 123abc' % '65' ---\r
+int(58)\r
+--- testing: ' 123abc' % '-44' ---\r
+int(35)\r
+--- testing: ' 123abc' % '1.2' ---\r
+int(0)\r
+--- testing: ' 123abc' % '-7.7' ---\r
+int(4)\r
+--- testing: ' 123abc' % 'abc' ---\r
+Exception: Modulo by zero\r
+--- testing: ' 123abc' % '123abc' ---\r
+int(0)\r
+--- testing: ' 123abc' % '123e5' ---\r
+int(0)\r
+--- testing: ' 123abc' % '123e5xyz' ---\r
+int(0)\r
+--- testing: ' 123abc' % ' 123abc' ---\r
+int(0)\r
+--- testing: ' 123abc' % '123 abc' ---\r
+int(0)\r
+--- testing: ' 123abc' % '123abc ' ---\r
+int(0)\r
+--- testing: ' 123abc' % '3.4a' ---\r
+int(0)\r
+--- testing: ' 123abc' % 'a5.9' ---\r
+Exception: Modulo by zero\r
+--- testing: '123 abc' % '0' ---\r
+Exception: Modulo by zero\r
+--- testing: '123 abc' % '65' ---\r
+int(58)\r
+--- testing: '123 abc' % '-44' ---\r
+int(35)\r
+--- testing: '123 abc' % '1.2' ---\r
+int(0)\r
+--- testing: '123 abc' % '-7.7' ---\r
+int(4)\r
+--- testing: '123 abc' % 'abc' ---\r
+Exception: Modulo by zero\r
+--- testing: '123 abc' % '123abc' ---\r
+int(0)\r
+--- testing: '123 abc' % '123e5' ---\r
+int(0)\r
+--- testing: '123 abc' % '123e5xyz' ---\r
+int(0)\r
+--- testing: '123 abc' % ' 123abc' ---\r
+int(0)\r
+--- testing: '123 abc' % '123 abc' ---\r
+int(0)\r
+--- testing: '123 abc' % '123abc ' ---\r
+int(0)\r
+--- testing: '123 abc' % '3.4a' ---\r
+int(0)\r
+--- testing: '123 abc' % 'a5.9' ---\r
+Exception: Modulo by zero\r
+--- testing: '123abc ' % '0' ---\r
+Exception: Modulo by zero\r
+--- testing: '123abc ' % '65' ---\r
+int(58)\r
+--- testing: '123abc ' % '-44' ---\r
+int(35)\r
+--- testing: '123abc ' % '1.2' ---\r
+int(0)\r
+--- testing: '123abc ' % '-7.7' ---\r
+int(4)\r
+--- testing: '123abc ' % 'abc' ---\r
+Exception: Modulo by zero\r
+--- testing: '123abc ' % '123abc' ---\r
+int(0)\r
+--- testing: '123abc ' % '123e5' ---\r
+int(0)\r
+--- testing: '123abc ' % '123e5xyz' ---\r
+int(0)\r
+--- testing: '123abc ' % ' 123abc' ---\r
+int(0)\r
+--- testing: '123abc ' % '123 abc' ---\r
+int(0)\r
+--- testing: '123abc ' % '123abc ' ---\r
+int(0)\r
+--- testing: '123abc ' % '3.4a' ---\r
+int(0)\r
+--- testing: '123abc ' % 'a5.9' ---\r
+Exception: Modulo by zero\r
+--- testing: '3.4a' % '0' ---\r
+Exception: Modulo by zero\r
+--- testing: '3.4a' % '65' ---\r
+int(3)\r
+--- testing: '3.4a' % '-44' ---\r
+int(3)\r
+--- testing: '3.4a' % '1.2' ---\r
+int(0)\r
+--- testing: '3.4a' % '-7.7' ---\r
+int(3)\r
+--- testing: '3.4a' % 'abc' ---\r
+Exception: Modulo by zero\r
+--- testing: '3.4a' % '123abc' ---\r
+int(3)\r
+--- testing: '3.4a' % '123e5' ---\r
+int(3)\r
+--- testing: '3.4a' % '123e5xyz' ---\r
+int(3)\r
+--- testing: '3.4a' % ' 123abc' ---\r
+int(3)\r
+--- testing: '3.4a' % '123 abc' ---\r
+int(3)\r
+--- testing: '3.4a' % '123abc ' ---\r
+int(3)\r
+--- testing: '3.4a' % '3.4a' ---\r
+int(0)\r
+--- testing: '3.4a' % 'a5.9' ---\r
+Exception: Modulo by zero\r
+--- testing: 'a5.9' % '0' ---\r
+Exception: Modulo by zero\r
+--- testing: 'a5.9' % '65' ---\r
+int(0)\r
+--- testing: 'a5.9' % '-44' ---\r
+int(0)\r
+--- testing: 'a5.9' % '1.2' ---\r
+int(0)\r
+--- testing: 'a5.9' % '-7.7' ---\r
+int(0)\r
+--- testing: 'a5.9' % 'abc' ---\r
+Exception: Modulo by zero\r
+--- testing: 'a5.9' % '123abc' ---\r
+int(0)\r
+--- testing: 'a5.9' % '123e5' ---\r
+int(0)\r
+--- testing: 'a5.9' % '123e5xyz' ---\r
+int(0)\r
+--- testing: 'a5.9' % ' 123abc' ---\r
+int(0)\r
+--- testing: 'a5.9' % '123 abc' ---\r
+int(0)\r
+--- testing: 'a5.9' % '123abc ' ---\r
+int(0)\r
+--- testing: 'a5.9' % '3.4a' ---\r
+int(0)\r
+--- testing: 'a5.9' % 'a5.9' ---\r
+Exception: Modulo by zero\r
===DONE===\r