3v4l.org

run code in 300+ PHP versions simultaneously
<?php $rules = [ "is_www" => true, "no_encoding_meta_tag" => true, "https_to_http_links" => false, "has_render_blocking_resources" => false, "low_content_rate" => false, "title_too_short" => false, "no_description" => false, "no_favicon" => false ]; $checks = [ "is_www" => false, "no_encoding_meta_tag" => false, "https_to_http_links" => true, "has_render_blocking_resources" => true, "low_content_rate" => false, "title_too_short" => false, "no_description" => false, "no_favicon" => false ]; $issue = []; foreach ($checks as $v => $i) { foreach ($rules as $w => $j) { if ($v == $w) { if ($i != $j) { $issue[$v] = $i; } } } } var_dump($issue);
Output for 8.0.1 - 8.0.30, 8.1.0 - 8.1.33, 8.2.0 - 8.2.29, 8.3.0 - 8.3.27, 8.4.1 - 8.4.14
array(4) { ["is_www"]=> bool(false) ["no_encoding_meta_tag"]=> bool(false) ["https_to_http_links"]=> bool(true) ["has_render_blocking_resources"]=> bool(true) }

preferences:
107.72 ms | 407 KiB | 5 Q