3v4l.org

run code in 300+ PHP versions simultaneously
<?php $a = Array ( Array ( 'DATE_PIC' => 1364235512, 'LINK_PIC' => "http://distilleryimage11.s3.amazonaws.com/6697e58e957811e28d1322000a1fb079_5.jpg", 'TAG_PIC' => 'pricelessmoscow' ), Array ( 'DATE_PIC' => 1369210746, 'LINK_PIC' => "http://distilleryimage2.s3.amazonaws.com/44f9503ac2b811e2884a22000a9f1588_5.jpg", 'TAG_PIC' => 'pricelessmoscow' ), Array ( 'DATE_PIC' => 1370497637, 'LINK_PIC' => "http://distilleryimage11.s3.amazonaws.com/8bcf5a94ce6c11e28e8222000aa82017_5.jpg", 'TAG_PIC' => 'pricelessmoscow' ), Array ( 'DATE_PIC' => 1380014431, 'LINK_PIC' => "http://distilleryimage2.s3.amazonaws.com/8f1ad9aa24fa11e382b422000a1f9ab7_5.jpg",'TAG_PIC' => 'pricelessmoscow' ), Array ( 'DATE_PIC' => 1377693693, 'LINK_PIC' => "http://distilleryimage2.s3.amazonaws.com/2b7983680fdf11e38c8722000a1faff5_5.jpg",'TAG_PIC' => 'pricelessmoscow' ), Array ( 'DATE_PIC' => 1370708530, 'LINK_PIC' => "http://distilleryimage3.s3.amazonaws.com/91e27672d05711e2867a22000a9f1266_5.jpg",'TAG_PIC' => 'pricelessmoscow' ), Array ( 'DATE_PIC' => 1370013677, 'LINK_PIC' => "http://distilleryimage3.s3.amazonaws.com/bd348016ca0511e2939b22000a1f9251_5.jpg", 'TAG_PIC' => 'pricelessmoscow' ) ); $b = Array ( Array ( 'DATE_PIC' => 1380095187, 'LINK_PIC' => "http://distilleryimage1.s3.amazonaws.com/95567b0025b611e3828a22000a9f191e_5.jpg", 'TAG_PIC' => 'pricelessmoscow' ), Array ( 'DATE_PIC' => 1380077949, 'LINK_PIC' => "http://distilleryimage6.s3.amazonaws.com/72d65c62258e11e3af2822000ab6843e_5.jpg", 'TAG_PIC' => 'pricelessmoscow' ), Array ( 'DATE_PIC' => 1380064601, 'LINK_PIC' => "http://distilleryimage5.s3.amazonaws.com/5ea5e06a256f11e3b8e322000a1f97ed_5.jpg", 'TAG_PIC' => 'pricelessmoscow' ), Array ( 'DATE_PIC' => 1380042830, 'LINK_PIC' => "http://distilleryimage2.s3.amazonaws.com/ae50a416253c11e3a7361231392838b2_5.jpg", 'TAG_PIC' => 'pricelessmoscow' ), Array ( 'DATE_PIC' => 1380059102, 'LINK_PIC' => "http://distilleryimage3.s3.amazonaws.com/90f54f90256211e38be922000aeb0c6a_5.jpg", 'TAG_PIC' => 'pricelessmoscow' ), Array ( 'DATE_PIC' => 1380052285, 'LINK_PIC' => "http://distilleryimage2.s3.amazonaws.com/b207ee00255211e3ade722000a1faea4_5.jpg", 'TAG_PIC' => 'pricelessmoscow' ) ); $buffer = array_map('serialize', array_merge($a, $b)); $result = array_map('unserialize', array_unique($buffer)); print_r($result); ?>
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/M6hQs
function name:  (null)
number of ops:  23
compiled vars:  !0 = $a, !1 = $b, !2 = $buffer, !3 = $result
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   ASSIGN                                                   !0, <array>
   13     1        ASSIGN                                                   !1, <array>
   22     2        INIT_FCALL                                               'array_map'
          3        SEND_VAL                                                 'serialize'
          4        INIT_FCALL                                               'array_merge'
          5        SEND_VAR                                                 !0
          6        SEND_VAR                                                 !1
          7        DO_ICALL                                         $6      
          8        SEND_VAR                                                 $6
          9        DO_ICALL                                         $7      
         10        ASSIGN                                                   !2, $7
   23    11        INIT_FCALL                                               'array_map'
         12        SEND_VAL                                                 'unserialize'
         13        INIT_FCALL                                               'array_unique'
         14        SEND_VAR                                                 !2
         15        DO_ICALL                                         $9      
         16        SEND_VAR                                                 $9
         17        DO_ICALL                                         $10     
         18        ASSIGN                                                   !3, $10
   25    19        INIT_FCALL                                               'print_r'
         20        SEND_VAR                                                 !3
         21        DO_ICALL                                                 
   26    22      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
173.26 ms | 1395 KiB | 21 Q