3v4l.org

run code in 500+ PHP versions simultaneously
<?php $a = Array ( 0 => 'there is bald spot on the inside or outside of tyre', 1 => 'uneven tyre wear' ); $b = Array ( 0 => 'uneven tyre wear', 1 => 'there is bald spot on the inside or outside of tyre' ); if(count(array_diff($a,$b)) == 0){ echo "both array are identical"; }
Finding entry points
Branch analysis from position: 0
2 jumps found. (Code = 43) Position 1 = 9, Position 2 = 10
Branch analysis from position: 9
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 10
filename:       /in/vEUiQ
function name:  (null)
number of ops:  11
compiled vars:  !0 = $a, !1 = $b
line      #* E I O op                               fetch          ext  return  operands
-----------------------------------------------------------------------------------------
    3     0  E >   ASSIGN                                                       !0, <array>
    9     1        ASSIGN                                                       !1, <array>
   14     2        INIT_FCALL                                                   'array_diff'
          3        SEND_VAR                                                     !0
          4        SEND_VAR                                                     !1
          5        DO_ICALL                                             $4      
          6        COUNT                                                ~5      $4
          7        IS_EQUAL                                                     ~5, 0
          8      > JMPZ                                                         ~6, ->10
   15     9    >   ECHO                                                         'both+array+are+identical'
   17    10    > > RETURN                                                       1

Generated using Vulcan Logic Dumper, using php 8.5.0


preferences:
162.93 ms | 2090 KiB | 14 Q