xref: /PHP-8.0/ext/opcache/tests/bug77743.phpt (revision 7aacc705)
1--TEST--
2Bug #77743: Incorrect pi node insertion for jmpznz with identical successors
3--SKIPIF--
4<?php require_once('skipif.inc'); ?>
5--FILE--
6<?php
7
8function buggy($a) {
9    $id_country = $a;
10    if ($id_country === false) {
11        if (true) {
12        }
13    }
14    var_dump($id_country);
15}
16
17buggy(42);
18?>
19--EXPECT--
20int(42)
21