3v4l.org

run code in 300+ PHP versions simultaneously
<?php $srv = array('build', 'calss'); for ($i = 0; $i < 1000; $i++) { $srv_keys = array_keys($srv); $cant_be_together = array('build', 'class'); if(count(array_intersect($srv_keys, $cant_be_together)) === count($cant_be_together)) { $str = $i; } }
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 42) Position 1 = 18
Branch analysis from position: 18
2 jumps found. (Code = 44) Position 1 = 20, Position 2 = 3
Branch analysis from position: 20
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 3
2 jumps found. (Code = 43) Position 1 = 16, Position 2 = 17
Branch analysis from position: 16
2 jumps found. (Code = 44) Position 1 = 20, Position 2 = 3
Branch analysis from position: 20
Branch analysis from position: 3
Branch analysis from position: 17
filename:       /in/H0gjY
function name:  (null)
number of ops:  21
compiled vars:  !0 = $srv, !1 = $i, !2 = $srv_keys, !3 = $cant_be_together, !4 = $str
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   ASSIGN                                                   !0, <array>
    3     1        ASSIGN                                                   !1, 0
          2      > JMP                                                      ->18
    4     3    >   INIT_FCALL                                               'array_keys'
          4        SEND_VAR                                                 !0
          5        DO_ICALL                                         $7      
          6        ASSIGN                                                   !2, $7
    5     7        ASSIGN                                                   !3, <array>
    6     8        INIT_FCALL                                               'array_intersect'
          9        SEND_VAR                                                 !2
         10        SEND_VAR                                                 !3
         11        DO_ICALL                                         $10     
         12        COUNT                                            ~11     $10
         13        COUNT                                            ~12     !3
         14        IS_IDENTICAL                                             ~11, ~12
         15      > JMPZ                                                     ~13, ->17
         16    >   ASSIGN                                                   !4, !1
    3    17    >   PRE_INC                                                  !1
         18    >   IS_SMALLER                                               !1, 1000
         19      > JMPNZ                                                    ~16, ->3
    7    20    > > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
174.25 ms | 1395 KiB | 17 Q