3v4l.org

run code in 300+ PHP versions simultaneously
<?php $array = array ( array ( 'record_num' => 18152, 'title' => 'Title of post' ), array ( 'record_num' => 18150, 'title' => 'Title of post 2' ) , array ( 'record_num' => 18134, 'title' => 'Title of post 3' ) , array ( 'record_num' => 18134, 'title' => 'Title of post 3' ) ); print '<pre>'; $result = array_map("unserialize", array_unique(array_map("serialize", $array))); print_r($result); print '</pre>'; ?>
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/PbRAp
function name:  (null)
number of ops:  19
compiled vars:  !0 = $array, !1 = $result
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   ASSIGN                                                   !0, <array>
   27     1        ECHO                                                     '%3Cpre%3E'
   28     2        INIT_FCALL                                               'array_map'
          3        SEND_VAL                                                 'unserialize'
          4        INIT_FCALL                                               'array_unique'
          5        INIT_FCALL                                               'array_map'
          6        SEND_VAL                                                 'serialize'
          7        SEND_VAR                                                 !0
          8        DO_ICALL                                         $3      
          9        SEND_VAR                                                 $3
         10        DO_ICALL                                         $4      
         11        SEND_VAR                                                 $4
         12        DO_ICALL                                         $5      
         13        ASSIGN                                                   !1, $5
   29    14        INIT_FCALL                                               'print_r'
         15        SEND_VAR                                                 !1
         16        DO_ICALL                                                 
   30    17        ECHO                                                     '%3C%2Fpre%3E'
   31    18      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
151.73 ms | 1011 KiB | 16 Q