3v4l.org

run code in 300+ PHP versions simultaneously
<?php $A = [1 => 1, 2 => 0, 3 => 1]; $B = [1 => 1, 3 => 0, 2 => 1]; var_dump($A > $B); var_dump($B > $A); var_dump($A < $B); var_dump($B < $A);
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/kCOAf
function name:  (null)
number of ops:  19
compiled vars:  !0 = $A, !1 = $B
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   ASSIGN                                                   !0, <array>
    3     1        ASSIGN                                                   !1, <array>
    5     2        INIT_FCALL                                               'var_dump'
          3        IS_SMALLER                                       ~4      !1, !0
          4        SEND_VAL                                                 ~4
          5        DO_ICALL                                                 
    6     6        INIT_FCALL                                               'var_dump'
          7        IS_SMALLER                                       ~6      !0, !1
          8        SEND_VAL                                                 ~6
          9        DO_ICALL                                                 
    9    10        INIT_FCALL                                               'var_dump'
         11        IS_SMALLER                                       ~8      !0, !1
         12        SEND_VAL                                                 ~8
         13        DO_ICALL                                                 
   10    14        INIT_FCALL                                               'var_dump'
         15        IS_SMALLER                                       ~10     !1, !0
         16        SEND_VAL                                                 ~10
         17        DO_ICALL                                                 
         18      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
146.99 ms | 997 KiB | 14 Q