History log of /PHP-8.1/ext/opcache/tests/opt/sccp_032.phpt (Results 1 – 2 of 2)
Revision Date Author Comments
# e9f783fc 01-Apr-2021 Max Semenik

Migrate skip checks to --EXTENSIONS--, p3

For rationale, see #6787

Extensions migrated in part 3:
* ftp
* gmp
* iconv
* opcache
* shmop


# 543684e7 07-Jun-2020 Tyson Andre

Optimize out no-op `yield from` statements

If the array is empty, then I'd expect that the generator is never left,
and that can be converted to a no-op and the return value would always

Optimize out no-op `yield from` statements

If the array is empty, then I'd expect that the generator is never left,
and that can be converted to a no-op and the return value would always be `null`.

Make `yield from [];` as efficient as `if (false) { yield null; }`
when opcache's sccp pass is enabled.

Closes GH-5679

show more ...