3v4l.org

run code in 300+ PHP versions simultaneously
<?php function oeffne($speicherpfad, $session_name) { echo $session_name; return(true); } function schliesse() { echo 'close'; return(true); } function lese($id) { echo 'read'; return ''; } function schreibe($id, $sess_daten) { echo 'write'; return true; } function loesche($id) { echo 'destory'; return true; } function gc($maxlifetime) { echo 'gc'; return true; } session_set_save_handler("oeffne", "schliesse", "lese", "schreibe", "loesche", "gc"); session_start(); session_write_close(); //session_regenerate_id(true); session_set_save_handler("schliesse", "oeffne", "lese", "loesche", "schreibe", "gc"); session_start();
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/UA1ts
function name:  (null)
number of ops:  23
compiled vars:  none
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
   40     0  E >   INIT_FCALL                                               'session_set_save_handler'
          1        SEND_VAL                                                 'oeffne'
          2        SEND_VAL                                                 'schliesse'
          3        SEND_VAL                                                 'lese'
          4        SEND_VAL                                                 'schreibe'
          5        SEND_VAL                                                 'loesche'
          6        SEND_VAL                                                 'gc'
          7        DO_ICALL                                                 
   42     8        INIT_FCALL                                               'session_start'
          9        DO_ICALL                                                 
   43    10        INIT_FCALL                                               'session_write_close'
         11        DO_ICALL                                                 
   46    12        INIT_FCALL                                               'session_set_save_handler'
         13        SEND_VAL                                                 'schliesse'
         14        SEND_VAL                                                 'oeffne'
         15        SEND_VAL                                                 'lese'
         16        SEND_VAL                                                 'loesche'
         17        SEND_VAL                                                 'schreibe'
         18        SEND_VAL                                                 'gc'
         19        DO_ICALL                                                 
   48    20        INIT_FCALL                                               'session_start'
         21        DO_ICALL                                                 
         22      > RETURN                                                   1

Function oeffne:
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/UA1ts
function name:  oeffne
number of ops:  5
compiled vars:  !0 = $speicherpfad, !1 = $session_name
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    4     0  E >   RECV                                             !0      
          1        RECV                                             !1      
    6     2        ECHO                                                     !1
    7     3      > RETURN                                                   <true>
    8     4*     > RETURN                                                   null

End of function oeffne

Function schliesse:
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/UA1ts
function name:  schliesse
number of ops:  3
compiled vars:  none
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
   12     0  E >   ECHO                                                     'close'
   13     1      > RETURN                                                   <true>
   14     2*     > RETURN                                                   null

End of function schliesse

Function lese:
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/UA1ts
function name:  lese
number of ops:  4
compiled vars:  !0 = $id
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
   16     0  E >   RECV                                             !0      
   18     1        ECHO                                                     'read'
   19     2      > RETURN                                                   ''
   20     3*     > RETURN                                                   null

End of function lese

Function schreibe:
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/UA1ts
function name:  schreibe
number of ops:  5
compiled vars:  !0 = $id, !1 = $sess_daten
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
   22     0  E >   RECV                                             !0      
          1        RECV                                             !1      
   24     2        ECHO                                                     'write'
   25     3      > RETURN                                                   <true>
   26     4*     > RETURN                                                   null

End of function schreibe

Function loesche:
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/UA1ts
function name:  loesche
number of ops:  4
compiled vars:  !0 = $id
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
   28     0  E >   RECV                                             !0      
   30     1        ECHO                                                     'destory'
   31     2      > RETURN                                                   <true>
   32     3*     > RETURN                                                   null

End of function loesche

Function gc:
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/UA1ts
function name:  gc
number of ops:  4
compiled vars:  !0 = $maxlifetime
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
   34     0  E >   RECV                                             !0      
   36     1        ECHO                                                     'gc'
   37     2      > RETURN                                                   <true>
   38     3*     > RETURN                                                   null

End of function gc

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
156.64 ms | 1392 KiB | 19 Q