3v4l.org

run code in 300+ PHP versions simultaneously
<?php $str = '1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,28,29,30,31,32,33,34,35,36,37,38,39,41,45,47,71,73,75,76,77,78,80,81,83,87,88,89,90'; $list = explode(',', $str); array_push($list, 91); $list_new = array_unique($list); var_export($list_new);
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/akrak
function name:  (null)
number of ops:  18
compiled vars:  !0 = $str, !1 = $list, !2 = $list_new
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   ASSIGN                                                   !0, '1%2C2%2C3%2C4%2C5%2C6%2C7%2C8%2C9%2C10%2C11%2C12%2C13%2C14%2C15%2C16%2C17%2C28%2C29%2C30%2C31%2C32%2C33%2C34%2C35%2C36%2C37%2C38%2C39%2C41%2C45%2C47%2C71%2C73%2C75%2C76%2C77%2C78%2C80%2C81%2C83%2C87%2C88%2C89%2C90'
    4     1        INIT_FCALL                                               'explode'
          2        SEND_VAL                                                 '%2C'
          3        SEND_VAR                                                 !0
          4        DO_ICALL                                         $4      
          5        ASSIGN                                                   !1, $4
    5     6        INIT_FCALL                                               'array_push'
          7        SEND_REF                                                 !1
          8        SEND_VAL                                                 91
          9        DO_ICALL                                                 
    6    10        INIT_FCALL                                               'array_unique'
         11        SEND_VAR                                                 !1
         12        DO_ICALL                                         $7      
         13        ASSIGN                                                   !2, $7
    7    14        INIT_FCALL                                               'var_export'
         15        SEND_VAR                                                 !2
         16        DO_ICALL                                                 
         17      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
157.76 ms | 1395 KiB | 21 Q