summaryrefslogtreecommitdiff
path: root/ext/opcache/tests/preload_008.phpt
diff options
context:
space:
mode:
authorNikita Popov <nikita.ppv@gmail.com>2020-03-09 16:17:02 +0100
committerNikita Popov <nikita.ppv@gmail.com>2020-03-09 16:19:48 +0100
commitd9c45d86f9cd3d20f66ebf38384a9f53113415e5 (patch)
treee60a71570f7bcb8de61f5e33d0bb705874ad0448 /ext/opcache/tests/preload_008.phpt
parentb2f7be721465fee1cdfd7d03f4a8234a931e6056 (diff)
downloadphp-git-d9c45d86f9cd3d20f66ebf38384a9f53113415e5.tar.gz
Improve type inference for COALESCE
Place a pi node on the non-null edge to remove a spurious undef/null type. Additionally, adjust the profitability heuristic to be more accurate if the "other predecessor" writes to the variable. Ideally this should not just consider the direct predecessors, but it's sufficient for this case. This partially addresses bug #79353 by removing the discrepancy between ?? and ??=.
Diffstat (limited to 'ext/opcache/tests/preload_008.phpt')
0 files changed, 0 insertions, 0 deletions