diff options
author | Nikita Popov <nikic@php.net> | 2016-12-06 22:25:35 +0100 |
---|---|---|
committer | Nikita Popov <nikic@php.net> | 2016-12-06 22:25:35 +0100 |
commit | 76c4a3db080e347663a3999ae38b78cf26dd4c84 (patch) | |
tree | 1652a83dbffc73137b0069fdf036026528bae0ff /ext/opcache/tests | |
parent | d7e7f74b24dfb85bd373efba94adb9663927e49f (diff) | |
download | php-git-76c4a3db080e347663a3999ae38b78cf26dd4c84.tar.gz |
Fix bug #73668
Not bothering to implement special handling to get an accurate
range for this case.
Diffstat (limited to 'ext/opcache/tests')
-rw-r--r-- | ext/opcache/tests/bug73668.phpt | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/ext/opcache/tests/bug73668.phpt b/ext/opcache/tests/bug73668.phpt new file mode 100644 index 0000000000..aac5c9e65c --- /dev/null +++ b/ext/opcache/tests/bug73668.phpt @@ -0,0 +1,8 @@ +--TEST-- +Bug #73668: "SIGFPE Arithmetic exception" in opcache when divide by minus 1 +--FILE-- +<?php +$a/-1; +?> +--EXPECTF-- +Notice: Undefined variable: a in %s on line %d |