3v4l.org

run code in 300+ PHP versions simultaneously
<?php $shm_key = ftok(__FILE__, 't'); $shm_id = shmop_open($shm_key, "c", 0644, 100); var_dump($shm_id); ?>
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/v7RKe
function name:  (null)
number of ops:  16
compiled vars:  !0 = $shm_key, !1 = $shm_id
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   INIT_FCALL                                               'ftok'
          1        SEND_VAL                                                 '%2Fin%2Fv7RKe'
          2        SEND_VAL                                                 't'
          3        DO_ICALL                                         $2      
          4        ASSIGN                                                   !0, $2
    3     5        INIT_FCALL_BY_NAME                                       'shmop_open'
          6        SEND_VAR_EX                                              !0
          7        SEND_VAL_EX                                              'c'
          8        SEND_VAL_EX                                              420
          9        SEND_VAL_EX                                              100
         10        DO_FCALL                                      0  $4      
         11        ASSIGN                                                   !1, $4
    4    12        INIT_FCALL                                               'var_dump'
         13        SEND_VAR                                                 !1
         14        DO_ICALL                                                 
    5    15      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
146.51 ms | 1394 KiB | 17 Q