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);
Finding entry points
Branch analysis from position: 0
2 jumps found. (Code = 77) Position 1 = 4, Position 2 = 18
Branch analysis from position: 4
2 jumps found. (Code = 78) Position 1 = 5, Position 2 = 18
Branch analysis from position: 5
2 jumps found. (Code = 77) Position 1 = 7, Position 2 = 16
Branch analysis from position: 7
2 jumps found. (Code = 78) Position 1 = 8, Position 2 = 16
Branch analysis from position: 8
2 jumps found. (Code = 43) Position 1 = 11, Position 2 = 15
Branch analysis from position: 11
2 jumps found. (Code = 43) Position 1 = 13, Position 2 = 15
Branch analysis from position: 13
1 jumps found. (Code = 42) Position 1 = 7
Branch analysis from position: 7
Branch analysis from position: 15
Branch analysis from position: 15
Branch analysis from position: 16
1 jumps found. (Code = 42) Position 1 = 4
Branch analysis from position: 4
Branch analysis from position: 16
Branch analysis from position: 18
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 18
filename:       /in/3cHEt
function name:  (null)
number of ops:  23
compiled vars:  !0 = $rules, !1 = $checks, !2 = $issue, !3 = $i, !4 = $v, !5 = $j, !6 = $w
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   ASSIGN                                                   !0, <array>
   14     1        ASSIGN                                                   !1, <array>
   25     2        ASSIGN                                                   !2, <array>
   26     3      > FE_RESET_R                                       $10     !1, ->18
          4    > > FE_FETCH_R                                       ~11     $10, !3, ->18
          5    >   ASSIGN                                                   !4, ~11
   27     6      > FE_RESET_R                                       $13     !0, ->16
          7    > > FE_FETCH_R                                       ~14     $13, !5, ->16
          8    >   ASSIGN                                                   !6, ~14
   28     9        IS_EQUAL                                                 !4, !6
         10      > JMPZ                                                     ~16, ->15
   29    11    >   IS_NOT_EQUAL                                             !3, !5
         12      > JMPZ                                                     ~17, ->15
   30    13    >   ASSIGN_DIM                                               !2, !4
         14        OP_DATA                                                  !3
   27    15    > > JMP                                                      ->7
         16    >   FE_FREE                                                  $13
   26    17      > JMP                                                      ->4
         18    >   FE_FREE                                                  $10
   35    19        INIT_FCALL                                               'var_dump'
         20        SEND_VAR                                                 !2
         21        DO_ICALL                                                 
         22      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
142.38 ms | 1003 KiB | 14 Q