com php-src: Forgot to commit test file...: ext/opcache/tests/j mpz_jmp_elim.phpt
[email protected] (Nikita Popov)
| Newsgroups | php.cvs |
|---|---|
| Message-ID | <[email protected]> |
Commit: 6e23f2bceb0826e65eb8129fd94c61b7b3a44da7 Author: Nikita Popov <[email protected]> Mon, 10 Apr 2017 22:26:14 +0200 Parents: 6f950e83eb1467521853d6628f514d2eebef7ebb Branches: PHP-7.0 PHP-7.1 master Link: http://git.php.net/?p=php-src.git;a=commitdiff;h=6e23f2bceb0826e65eb8129fd94c61b7b3a44da7 Log: Forgot to commit test file... Changed paths: A ext/opcache/tests/jmpz_jmp_elim.phpt Diff: diff --git a/ext/opcache/tests/jmpz_jmp_elim.phpt b/ext/opcache/tests/jmpz_jmp_elim.phpt new file mode 100644 index 0000000..2749b41 --- /dev/null +++ b/ext/opcache/tests/jmpz_jmp_elim.phpt @@ -0,0 +1,16 @@ +--TEST-- +Edge-cases in elimination of JMPZ JMP with same target +--FILE-- +<?php + +$foo = "foo"; +if ($foo . "bar") { goto label; } +label: +if ($undef) { goto label2; } +label2: +echo "done\n"; + +?> +--EXPECTF-- +Notice: Undefined variable: undef in %s on line %d +done