3v4l.org

run code in 300+ PHP versions simultaneously
<?php $numbers = array("1","3","5","6","12","13","15","20","24","28","32","33","34","42","47","49","50","54","59","79"); $intersect = array_intersect_keys(array_combine($numbers, $numbers), array_fill_keys(range(1, 80), null)); ksort($intersect); var_dump($intersect);
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/UEKrE
function name:  (null)
number of ops:  25
compiled vars:  !0 = $numbers, !1 = $intersect
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   ASSIGN                                                   !0, <array>
    4     1        INIT_FCALL_BY_NAME                                       'array_intersect_keys'
          2        INIT_FCALL                                               'array_combine'
          3        SEND_VAR                                                 !0
          4        SEND_VAR                                                 !0
          5        DO_ICALL                                         $3      
          6        SEND_VAR_NO_REF_EX                                       $3
          7        INIT_FCALL                                               'array_fill_keys'
          8        INIT_FCALL                                               'range'
          9        SEND_VAL                                                 1
         10        SEND_VAL                                                 80
         11        DO_ICALL                                         $4      
         12        SEND_VAR                                                 $4
         13        SEND_VAL                                                 null
         14        DO_ICALL                                         $5      
         15        SEND_VAR_NO_REF_EX                                       $5
         16        DO_FCALL                                      0  $6      
         17        ASSIGN                                                   !1, $6
    5    18        INIT_FCALL                                               'ksort'
         19        SEND_REF                                                 !1
         20        DO_ICALL                                                 
    6    21        INIT_FCALL                                               'var_dump'
         22        SEND_VAR                                                 !1
         23        DO_ICALL                                                 
         24      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
173.38 ms | 1395 KiB | 23 Q