3v4l.org

run code in 300+ PHP versions simultaneously
<?php $array = array("hi" => "Ali", "You" => "Ali", "C" => "APPLE"); $result = array_unique($array); print_r($result); foreach($result as $user) { echo $user . "_"; } ?>
Finding entry points
Branch analysis from position: 0
2 jumps found. (Code = 77) Position 1 = 9, Position 2 = 13
Branch analysis from position: 9
2 jumps found. (Code = 78) Position 1 = 10, Position 2 = 13
Branch analysis from position: 10
1 jumps found. (Code = 42) Position 1 = 9
Branch analysis from position: 9
Branch analysis from position: 13
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 13
filename:       /in/DCm1D
function name:  (null)
number of ops:  15
compiled vars:  !0 = $array, !1 = $result, !2 = $user
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   ASSIGN                                                   !0, <array>
    3     1        INIT_FCALL                                               'array_unique'
          2        SEND_VAR                                                 !0
          3        DO_ICALL                                         $4      
          4        ASSIGN                                                   !1, $4
    4     5        INIT_FCALL                                               'print_r'
          6        SEND_VAR                                                 !1
          7        DO_ICALL                                                 
    5     8      > FE_RESET_R                                       $7      !1, ->13
          9    > > FE_FETCH_R                                               $7, !2, ->13
    7    10    >   CONCAT                                           ~8      !2, '_'
         11        ECHO                                                     ~8
    5    12      > JMP                                                      ->9
         13    >   FE_FREE                                                  $7
    9    14      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
149.49 ms | 1394 KiB | 17 Q